POST api/Ticket/AddCommentsToClaim
Request Information
URI Parameters
None.
Body Parameters
CommentModel| Name | Description | Type | Additional information |
|---|---|---|---|
| subject | string |
None. |
|
| description | string |
None. |
|
| regardingobjectid_incident@odata.bind | string |
None. |
|
| scn_contact | string |
None. |
|
| scn_user | string |
None. |
|
| statecode | integer |
None. |
|
| statuscode | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"subject": "sample string 1",
"description": "sample string 2",
"regardingobjectid_incident@odata.bind": "sample string 3",
"scn_contact": "sample string 4",
"scn_user": "sample string 5",
"statecode": 6,
"statuscode": 7
}
application/xml, text/xml
Sample:
<CommentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAL.API.Repository.Models"> <Description>sample string 2</Description> <From>sample string 4</From> <RegardingObjectId>sample string 3</RegardingObjectId> <StateCode>6</StateCode> <StatusCode>7</StatusCode> <Subject>sample string 1</Subject> <To>sample string 5</To> </CommentModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
SALError| Name | Description | Type | Additional information |
|---|---|---|---|
| code | integer |
None. |
|
| message | string |
None. |
|
| incidentid | string |
None. |
|
| ldv_awbnumberexists | boolean |
None. |
|
| objectid | string |
None. |
|
| casenumber | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"code": 1,
"message": "sample string 2",
"incidentid": "sample string 3",
"ldv_awbnumberexists": true,
"objectid": "sample string 5",
"casenumber": "sample string 6"
}
application/xml, text/xml
Sample:
<SALError xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAL.API.Repository.Models"> <CaseNumber>sample string 6</CaseNumber> <Code>1</Code> <IncidentId>sample string 3</IncidentId> <LdvAwbNumberExists>true</LdvAwbNumberExists> <Message>sample string 2</Message> <ObjectId>sample string 5</ObjectId> </SALError>