POST api/Ticket/CreateTickets
Request Information
URI Parameters
None.
Body Parameters
Ticket| Name | Description | Type | Additional information |
|---|---|---|---|
| ticketId | integer |
None. |
|
| ticket_date | string |
None. |
|
| ticket_clientId | string |
None. |
|
| ticket_clientName | string |
None. |
|
| ticket_senderName | string |
None. |
|
| ticket_senderId | integer |
None. |
|
| ticket_senderDesig | string |
None. |
|
| ticket_department | string |
None. |
|
| ticket_subject | string |
None. |
|
| ticket_priority | string |
None. |
|
| ticket_description | string |
None. |
|
| ticket_from | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ticketId": 1,
"ticket_date": "sample string 2",
"ticket_clientId": "sample string 3",
"ticket_clientName": "sample string 4",
"ticket_senderName": "sample string 5",
"ticket_senderId": 6,
"ticket_senderDesig": "sample string 7",
"ticket_department": "sample string 8",
"ticket_subject": "sample string 9",
"ticket_priority": "sample string 10",
"ticket_description": "sample string 11",
"ticket_from": "sample string 12"
}
application/xml, text/xml
Sample:
<Ticket xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities"> <ticketId>1</ticketId> <ticket_clientId>sample string 3</ticket_clientId> <ticket_clientName>sample string 4</ticket_clientName> <ticket_date>sample string 2</ticket_date> <ticket_department>sample string 8</ticket_department> <ticket_description>sample string 11</ticket_description> <ticket_from>sample string 12</ticket_from> <ticket_priority>sample string 10</ticket_priority> <ticket_senderDesig>sample string 7</ticket_senderDesig> <ticket_senderId>6</ticket_senderId> <ticket_senderName>sample string 5</ticket_senderName> <ticket_subject>sample string 9</ticket_subject> </Ticket>
application/x-www-form-urlencoded
Sample:
Sample not available.
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. |