POST api/ticket/{unitID}/create
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| unitID | integer |
Required |
Body Parameters
TicketMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Text | string |
Required |
|
| Type | string |
Required |
|
| MessageID | integer |
None. |
|
| TicketID | integer |
None. |
|
| TimeStamp | date |
None. |
|
| UserID | integer |
None. |
|
| Error | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Text": "sample string 1",
"Type": "sample string 2",
"MessageID": 3,
"TicketID": 4,
"TimeStamp": "2025-12-06T04:28:32.0819398+00:00",
"UserID": 6,
"Error": "sample string 7"
}
application/xml, text/xml
Sample:
<TicketMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WisspNetApi.Models"> <Error>sample string 7</Error> <MessageID>3</MessageID> <Text>sample string 1</Text> <TicketID>4</TicketID> <TimeStamp>2025-12-06T04:28:32.0819398+00:00</TimeStamp> <Type>sample string 2</Type> <UserID>6</UserID> </TicketMessage>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.