POST api/Listings/MarkAsListed

Marks a listing a 'listed'. This means that is has been posted onto the external site whether that be eBay or Amazon.

Request Information

URI Parameters

None.

Body Parameters

The array of listings that needs to be updated.

EskimoClassLibraries.PostedListings
NameDescriptionTypeAdditional information
Listings

The array of listings that needs to be updated

Collection of EskimoClassLibraries.PostedListing

None.

Request Formats

application/json, text/json

Sample:
{
  "Listings": [
    {
      "EskimoListingID": 1,
      "ExternalListingID": "sample string 2",
      "DateListed": "2024-05-03T15:25:16.8209688+01:00"
    },
    {
      "EskimoListingID": 1,
      "ExternalListingID": "sample string 2",
      "DateListed": "2024-05-03T15:25:16.8209688+01:00"
    }
  ]
}

application/xml, text/xml

Sample:
<PostedListings xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EskimoClassLibraries">
  <Listings>
    <PostedListing>
      <DateListed>2024-05-03T15:25:16.8209688+01:00</DateListed>
      <EskimoListingID>1</EskimoListingID>
      <ExternalListingID>sample string 2</ExternalListingID>
    </PostedListing>
    <PostedListing>
      <DateListed>2024-05-03T15:25:16.8209688+01:00</DateListed>
      <EskimoListingID>1</EskimoListingID>
      <ExternalListingID>sample string 2</ExternalListingID>
    </PostedListing>
  </Listings>
</PostedListings>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional information
Version

System.Version

None.

Content

System.Net.Http.HttpContent

None.

StatusCode

System.Net.HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

System.Net.Http.HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.