POST api/Images/UpdateCartIDs

Updates the Eskimo database with the IDs used by the Website.

Request Information

URI Parameters

None.

Body Parameters

A collection of entries containing the Primary Key information to update Eskimo with

Collection of EskimoClassLibraries.ImageID
NameDescriptionTypeAdditional information
Eskimo_Image_ID

string

String length: inclusive between 0 and 200

Web_Image_ID

string

String length: inclusive between 0 and 200

MarkAsReceived

Setting this value to true will mark the image in Eskimo as having been received. Subsequent calls to GET api/Images/All will then exclude this image.

boolean

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Eskimo_Image_ID": "sample string 1",
    "Web_Image_ID": "sample string 2",
    "MarkAsReceived": true
  },
  {
    "Eskimo_Image_ID": "sample string 1",
    "Web_Image_ID": "sample string 2",
    "MarkAsReceived": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfImageID xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EskimoClassLibraries">
  <ImageID>
    <Eskimo_Image_ID>sample string 1</Eskimo_Image_ID>
    <MarkAsReceived>true</MarkAsReceived>
    <Web_Image_ID>sample string 2</Web_Image_ID>
  </ImageID>
  <ImageID>
    <Eskimo_Image_ID>sample string 1</Eskimo_Image_ID>
    <MarkAsReceived>true</MarkAsReceived>
    <Web_Image_ID>sample string 2</Web_Image_ID>
  </ImageID>
</ArrayOfImageID>

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.