POST api/CreateTicketJSON
Request Information
URI Parameters
None.
Body Parameters
TicketData| Name | Description | Type | Additional information |
|---|---|---|---|
| AffectedEndUserID | integer |
Required |
|
| CategoryID | integer |
Required |
|
| SubCategoryID | integer |
Required |
|
| Name | string |
Required |
|
| Description | string |
None. |
|
| Type | integer |
Required |
|
| Priority | integer |
Required |
|
| CreatedBy | integer |
Required |
Request Formats
application/json, text/json
Sample:
{
"AffectedEndUserID": 1,
"CategoryID": 2,
"SubCategoryID": 3,
"Name": "sample string 4",
"Description": "sample string 5",
"Type": 6,
"Priority": 7,
"CreatedBy": 8
}
application/xml, text/xml
Sample:
<TicketData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ITMS_API.Models"> <AffectedEndUserID>1</AffectedEndUserID> <CategoryID>2</CategoryID> <CreatedBy>8</CreatedBy> <Description>sample string 5</Description> <Name>sample string 4</Name> <Priority>7</Priority> <SubCategoryID>3</SubCategoryID> <Type>6</Type> </TicketData>
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. |