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.PostedListingsName | Description | Type | Additional 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": "2025-01-18T03:56:51.7808478+00:00" }, { "EskimoListingID": 1, "ExternalListingID": "sample string 2", "DateListed": "2025-01-18T03:56:51.7808478+00: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>2025-01-18T03:56:51.7808478+00:00</DateListed> <EskimoListingID>1</EskimoListingID> <ExternalListingID>sample string 2</ExternalListingID> </PostedListing> <PostedListing> <DateListed>2025-01-18T03:56:51.7808478+00: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.HttpResponseMessageName | Description | Type | Additional 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. |