POST retailers/shopdetail
Request Information
URI Parameters
None.
Body Parameters
ShopDetailRequestName | Description | Type | Additional information |
---|---|---|---|
LeafletShopSlug | string |
Required |
|
ApiKey | globally unique identifier |
Required |
|
ApplicationVersion | integer |
Required |
|
Udid | string |
Required |
|
UserID | globally unique identifier |
Required |
|
ZoneID | integer |
Required |
Request Formats
application/json, text/json
Sample:
{ "LeafletShopSlug": "sample string 1", "ApiKey": "855a5817-1913-4249-97fc-a8e4abe71af1", "ApplicationVersion": 3, "Udid": "sample string 4", "UserID": "f4edf304-de1d-4114-b0b8-e4ffd7f2e04e", "ZoneID": 6 }
application/xml, text/xml
Sample:
<ShopDetailRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/agilys.myshopi.mvc.leaflets.services.Models.Retailers"> <ApiKey>855a5817-1913-4249-97fc-a8e4abe71af1</ApiKey> <ApplicationVersion>3</ApplicationVersion> <Udid>sample string 4</Udid> <UserID>f4edf304-de1d-4114-b0b8-e4ffd7f2e04e</UserID> <ZoneID>6</ZoneID> <LeafletShopSlug>sample string 1</LeafletShopSlug> </ShopDetailRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ShopDetailResultName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
City | string |
None. |
|
Latitude | decimal number |
None. |
|
Longitude | decimal number |
None. |
|
Name | string |
None. |
|
Phone | string |
None. |
|
RetailerID | globally unique identifier |
None. |
|
Street | string |
None. |
|
Zip | string |
None. |
|
OpenningHours | Collection of LeafletShopModelHour |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "City": "sample string 2", "Latitude": 3.0, "Longitude": 4.0, "Name": "sample string 5", "Phone": "sample string 6", "RetailerID": "1dc4549b-d50f-4284-8e0d-21536efc512b", "Street": "sample string 8", "Zip": "sample string 9", "OpenningHours": [ { "AMOpening": "00:00:00.1234567", "AMClosing": "00:00:00.1234567", "PMOpening": "00:00:00.1234567", "PMClosing": "00:00:00.1234567", "DayOfWeek": 1 }, { "AMOpening": "00:00:00.1234567", "AMClosing": "00:00:00.1234567", "PMOpening": "00:00:00.1234567", "PMClosing": "00:00:00.1234567", "DayOfWeek": 1 } ] }
application/xml, text/xml
Sample:
<ShopDetailResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/agilys.myshopi.mvc.leaflets.services.Models.Retailers"> <City>sample string 2</City> <Latitude>3</Latitude> <Longitude>4</Longitude> <Name>sample string 5</Name> <OpenningHours xmlns:d2p1="http://schemas.datacontract.org/2004/07/agilys.myshopi.mvc.leaflets.services.Models.Leaflets.LeafletShop"> <d2p1:LeafletShopModelHour> <d2p1:AMClosing>PT0.1234567S</d2p1:AMClosing> <d2p1:AMOpening>PT0.1234567S</d2p1:AMOpening> <d2p1:DayOfWeek>1</d2p1:DayOfWeek> <d2p1:PMClosing>PT0.1234567S</d2p1:PMClosing> <d2p1:PMOpening>PT0.1234567S</d2p1:PMOpening> </d2p1:LeafletShopModelHour> <d2p1:LeafletShopModelHour> <d2p1:AMClosing>PT0.1234567S</d2p1:AMClosing> <d2p1:AMOpening>PT0.1234567S</d2p1:AMOpening> <d2p1:DayOfWeek>1</d2p1:DayOfWeek> <d2p1:PMClosing>PT0.1234567S</d2p1:PMClosing> <d2p1:PMOpening>PT0.1234567S</d2p1:PMOpening> </d2p1:LeafletShopModelHour> </OpenningHours> <Phone>sample string 6</Phone> <RetailerID>1dc4549b-d50f-4284-8e0d-21536efc512b</RetailerID> <Street>sample string 8</Street> <Success>true</Success> <Zip>sample string 9</Zip> </ShopDetailResult>