POST api/Items/MarkReceived
Takes list of Guids and marks corresponding Items ans ItemSuppliers as received
Returns:
200 OK - Item was found and has been marked as Received.
208 Already Reported - The Item was found but it was already marked as Received.
401 Unauthorized - If credentials are invalid
404 NotFound - If no item with specific guid was found
Required Headers:
Authorization: Basic Http Authorization with valid Sertica credentials
Request Information
URI Parameters
None.
Body Parameters
List of strings containing ItemGuids of Items to mark as received
Collection of stringRequest Formats
application/json, text/json
Sample:
[ "sample string 1", "sample string 2" ]
application/xml, text/xml
Sample:
<ArrayOfString xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <string>sample string 1</string> <string>sample string 2</string> </ArrayOfString>
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |