POST ticket/createTicket
Request Information
URI Parameters
None.
Body Parameters
CreateTicketObject| Name | Description | Type | Additional information |
|---|---|---|---|
| ObjectType | string |
None. |
|
| ObjectId | integer |
None. |
|
| TicketTypeId | integer |
None. |
|
| TenantId | integer |
None. |
|
| UserId | integer |
None. |
|
| TicketSource | string |
None. |
|
| CustId | integer |
None. |
|
| ContactId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ObjectType": "sample string 1",
"ObjectId": 2,
"TicketTypeId": 3,
"TenantId": 4,
"UserId": 5,
"TicketSource": "sample string 6",
"CustId": 7,
"ContactId": 1
}
text/html
Sample:
{"ObjectType":"sample string 1","ObjectId":2,"TicketTypeId":3,"TenantId":4,"UserId":5,"TicketSource":"sample string 6","CustId":7,"ContactId":1}
application/xml, text/xml
Sample:
<CreateTicketObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Ticket"> <ContactId>1</ContactId> <CustId>7</CustId> <ObjectId>2</ObjectId> <ObjectType>sample string 1</ObjectType> <TenantId>4</TenantId> <TicketSource>sample string 6</TicketSource> <TicketTypeId>3</TicketTypeId> <UserId>5</UserId> </CreateTicketObject>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.