POST api/Invoices/MarkError
Used to give the row a error message.
One of the following values will be returned:
Required Headers:
Authorization: Basic Http Authorization with valid Sertica credentials
Returns:
200 OK – Invoice was found and the error information has been registered.
401 Unauthorized - If credentials are invalid
404 NotFound - If no Invoice was found in the SERTICA staging table that matches the InvoiceGuid
500 Internal Server Error - Something unexpected failed. A logentry is saved in SERTICA System Log if possible
Request Information
URI Parameters
None.
Body Parameters
InvoiceMarkError| Name | Description | Type | Additional information |
|---|---|---|---|
| InvoiceGuid | string |
None. |
|
| Error | string |
None. |
Request Formats
application/json, text/json
{
"InvoiceGuid": "sample string 1",
"Error": "sample string 2"
}
application/xml, text/xml
<InvoiceMarkError xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <InvoiceGuid>sample string 1</InvoiceGuid> <Error>sample string 2</Error> </InvoiceMarkError>
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. |