POST api/Incident

Imports the Incident(s) supplied into Sertica Sync Incident Import Queue

Required Headers:
Authorization: Basic Http Authorization with valid Sertica credentials

Returns:
200 OK - Incident(s) has been accepted.
400 Bad Request - If the received Validation fails to validate. Reason will be supplied in Response Phrase
401 Unauthorized - If credentials are invalid
500 Internal Server Error - Something unexpected failed. A logentry is saved in Sertica System Log if possible

Request Information

URI Parameters

None.

Body Parameters

Incidents
NameDescriptionTypeAdditional information
Incident

Collection of Incident

None.

Request Formats

application/json, text/json

Sample:
{
  "Incident": [
    {
      "IncidentNo": "sample string 1",
      "Category": "sample string 2",
      "Description": "sample string 3",
      "Inactive": true
    },
    {
      "IncidentNo": "sample string 1",
      "Category": "sample string 2",
      "Description": "sample string 3",
      "Inactive": true
    }
  ]
}

application/xml, text/xml

Sample:
<Incidents xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <listOfIncidents>
    <Incident>
      <IncidentNo>sample string 1</IncidentNo>
      <Category>sample string 2</Category>
      <Description>sample string 3</Description>
      <Inactive>true</Inactive>
    </Incident>
    <Incident>
      <IncidentNo>sample string 1</IncidentNo>
      <Category>sample string 2</Category>
      <Description>sample string 3</Description>
      <Inactive>true</Inactive>
    </Incident>
  </listOfIncidents>
</Incidents>

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.