POST | /api/reports/incidentLogs | Submit Incident Log(s) to Coruson | Submit Incident Log(s) to Coruson by providing the data in XML format as a parameter in this request. |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
IncidentLogXml | body | string | Yes | The XML data of Incident Logs to send to Coruson |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Version | form | int | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
StatusDescription | form | string | No | |
ResponseStatus | form | ResponseStatus | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /json/reply/SubmitIncidentLogs HTTP/1.1
Host: platform.gaelenlighten.com
Content-Type: application/json
Content-Length: length
{"IncidentLogXml":"String","Version":0}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"StatusDescription":"String","ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}