POST retailers/shopdetail

Request Information

URI Parameters

None.

Body Parameters

ShopDetailRequest
NameDescriptionTypeAdditional 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": "a8172bd6-6e6e-45f2-a3f2-caa008e21bda",
  "ApplicationVersion": 3,
  "Udid": "sample string 4",
  "UserID": "1292c95f-d5f7-4c54-a45b-b3705fb7a3f8",
  "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>a8172bd6-6e6e-45f2-a3f2-caa008e21bda</ApiKey>
  <ApplicationVersion>3</ApplicationVersion>
  <Udid>sample string 4</Udid>
  <UserID>1292c95f-d5f7-4c54-a45b-b3705fb7a3f8</UserID>
  <ZoneID>6</ZoneID>
  <LeafletShopSlug>sample string 1</LeafletShopSlug>
</ShopDetailRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ShopDetailRequest'.

Response Information

Resource Description

ShopDetailResult
NameDescriptionTypeAdditional 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": "27a5f955-fe09-49af-9429-0fb417c5d327",
  "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>27a5f955-fe09-49af-9429-0fb417c5d327</RetailerID>
  <Street>sample string 8</Street>
  <Success>true</Success>
  <Zip>sample string 9</Zip>
</ShopDetailResult>