PUT v1/Shops/{shopId}/Ticket
Add a new ticket.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| shopId |
The id of the shop to create the ticket for. |
integer |
Required. |
Body Parameters
The ticket data
TicketChanges| Name | Description | Type | Additional information |
|---|---|---|---|
| ShopId |
Gets or sets the shop identifier. |
integer |
Required |
| CustomerId |
Gets or sets the customer identifier. |
integer |
None. |
| CustomerCode |
Gets or sets the CustomerCode, as defined for the Customer. |
string |
None. |
| Categories |
Gets or sets the categories. |
Collection of MessageCategory |
None. |
| Params |
The Ticket Paramters. |
Collection of Parameter |
None. |
| Prio |
The Priority of the Ticket, higher is more prio. |
integer |
None. |
| HandlingEmployeeId |
The Ticket is currently handled by this Employee. |
integer |
None. |
| TicketTypeId |
The Ticket Type. |
integer |
Required |
| HandlingEmployeeGroupId |
The Ticket is currently handled by this EmployeeGroup. |
integer |
None. |
| ParentTicketId |
The Parent Ticket Id. |
integer |
None. |
| OrderReturnId |
The related Return Id. |
integer |
None. |
| OrderReturnCode |
The related Return Code. |
string |
None. |
| Rating |
The customer rating for the Ticket |
integer |
None. |
| OrderId |
The related Order Id. |
integer |
None. |
| OrderCode |
The related Order Code. |
string |
None. |
| OfferId |
The related Offer Id. |
integer |
None. |
| OfferCode |
The related Offer Code. |
string |
None. |
| ProductId |
The related Product Id. |
integer |
None. |
| ProductCode |
The related Product Code. |
string |
None. |
| TicketIdleMailId |
When the Ticket is idle for a (configured) amount of time, there will be a auto generated mail send to the Customer. |
integer |
None. |
| Title |
The Title of the Ticket. |
string |
Max length: 100 |
| MainStatusId |
The MainStatus Id of the Ticket. |
integer |
None. |
| PreviousMainStatusId |
The Previous MainStatus Id of the Ticket. |
integer |
None. |
| PreviousMainStatusName |
The Previous Mainstatus Name of the Ticket. |
string |
None. |
| ServiceContractId |
The ServiceContract that the Ticket is assigned to. |
integer |
None. |
Request Formats
application/json, text/json
{
"MainStatusId": 1,
"ParentTicketId": 1,
"ShopId": 1,
"CustomerId": 1,
"CustomerCode": "sample string 2",
"Categories": null,
"Params": [
{
"Key": "sample string 1",
"Value": "sample string 2",
"DataType": 0,
"DataTypeName": "String"
},
{
"Key": "sample string 1",
"Value": "sample string 2",
"DataType": 0,
"DataTypeName": "String"
}
],
"Prio": 1,
"HandlingEmployeeId": 1,
"TicketTypeId": 3,
"HandlingEmployeeGroupId": 1,
"OrderReturnId": 1,
"OrderReturnCode": "sample string 4",
"Rating": 1,
"OrderId": 1,
"OrderCode": "sample string 5",
"OfferId": 1,
"OfferCode": "sample string 6",
"ProductId": 1,
"ProductCode": "sample string 7",
"TicketIdleMailId": 1,
"Title": "sample string 8",
"PreviousMainStatusId": 1,
"PreviousMainStatusName": "sample string 9",
"ServiceContractId": 1
}
Response Information
Resource Description
The ticket object.
Ticket| Name | Description | Type | Additional information |
|---|---|---|---|
| ShopId |
Gets or sets the shop identifier. |
integer |
Required |
| CustomerId |
Gets or sets the customer identifier. |
integer |
None. |
| CustomerCode |
Gets or sets the CustomerCode, as defined for the Customer. |
string |
None. |
| Categories |
Gets or sets the categories. |
Collection of MessageCategory |
None. |
| Params |
The Ticket Paramters. |
Collection of Parameter |
None. |
| OpenEmployeeId |
The Ticket was opened by this Employe (Id). |
integer |
None. |
| OpenEmployeeFullName |
The Ticket was opened by this Employe (Name). |
string |
None. |
| CloseEmployeeId |
The Ticket was closed by this Employe. |
integer |
None. |
| CloseEmployeeFullName |
The Ticket was closed by this Employe (Name). |
string |
None. |
| Prio |
The Priority of the Ticket, higher is more prio. |
integer |
None. |
| HandlingEmployeeId |
The Ticket is currently handled by this Employee. |
integer |
None. |
| HandlingEmployeeFullName |
The Ticket is being handled by this Employe (Name). |
string |
None. |
| TicketTypeId |
The Ticket Type. |
integer |
Required |
| MailCount |
The Nr of Mails (IN and OUT) connected to the Ticket. |
integer |
Required |
| VoipCallCount |
The Nr of Calls (IN and OUT) connected to the Ticket. |
integer |
Required |
| ChatCount |
The Nr of Chats connected to the Ticket. |
integer |
Required |
| RemoveFromFollowUpDate |
The Timestamp when the Ticket should be removed from FollowUp and set to Open. |
date |
None. |
| HandlingEmployeeGroupId |
The Ticket is currently handled by this EmployeeGroup. |
integer |
None. |
| ParentTicketId |
The Parent Ticket Id. |
integer |
None. |
| OrderReturnId |
The related Return Id. |
integer |
None. |
| OrderReturnCode |
The related Return Code. |
string |
None. |
| CreateTimestamp |
The create timestamp of the Ticket. |
date |
None. |
| SlaEndTimestamp |
The Timestamp the Ticket will be out of the SLA. |
date |
None. |
| TotalOpenMinutes |
The total minutes the Ticket has (had) the Open status. |
integer |
Required |
| CloseToOpenCount |
The nr of times the Ticket Main status changed from Close to Open again. |
integer |
Required |
| Rating |
The customer rating for the Ticket |
integer |
None. |
| OrderId |
The related Order Id. |
integer |
None. |
| OrderCode |
The related Order Code. |
string |
None. |
| OfferId |
The related Offer Id. |
integer |
None. |
| OfferCode |
The related Offer Code. |
string |
None. |
| ProductId |
The related Product Id. |
integer |
None. |
| ProductCode |
The related Product Code. |
string |
None. |
| HandlingEmployeeGroupChangedTimestamp |
The Timestamp the EmployeeGroup was changed for the Ticket. |
date |
None. |
| FirstResponseTimestamp |
The Timestamp the first response was done for the Ticket (Autoy-reply will not set this field). |
date |
None. |
| TaskCount |
The nr of Tasks assigned to the Ticket. |
integer |
Required |
| TicketIdleMailId |
When the Ticket is idle for a (configured) amount of time, there will be a auto generated mail send to the Customer. |
integer |
None. |
| Id |
The Id of the Ticket. |
integer |
Required |
| TicketCode |
The Code of the Ticket. |
integer |
Required |
| Title |
The Title of the Ticket. |
string |
Max length: 100 |
| OpenDate |
The Open Date of the Ticket. |
date |
Required |
| CloseDate |
The Close Date of the Ticket. |
date |
None. |
| ChangedTimestamp |
The Last Changed Timestamp of the Ticket. |
date |
None. |
| MainStatusId |
The MainStatus Id of the Ticket. |
integer |
None. |
| MainStatusName |
The Mainstatus Name of the Ticket. |
string |
None. |
| PreviousMainStatusId |
The Previous MainStatus Id of the Ticket. |
integer |
None. |
| PreviousMainStatusName |
The Previous Mainstatus Name of the Ticket. |
string |
None. |
| ServiceContractId |
The ServiceContract that the Ticket is assigned to. |
integer |
None. |
Response Formats
application/json, text/json
{
"ShopId": 1,
"CustomerId": 1,
"CustomerCode": "sample string 2",
"Categories": null,
"Params": [
{
"Key": "sample string 1",
"Value": "sample string 2",
"DataType": 0,
"DataTypeName": "String"
},
{
"Key": "sample string 1",
"Value": "sample string 2",
"DataType": 0,
"DataTypeName": "String"
}
],
"OpenEmployeeId": 1,
"OpenEmployeeFullName": "sample string 3",
"CloseEmployeeId": 1,
"CloseEmployeeFullName": "sample string 4",
"Prio": 1,
"HandlingEmployeeId": 1,
"HandlingEmployeeFullName": "sample string 5",
"TicketTypeId": 6,
"MailCount": 7,
"VoipCallCount": 8,
"ChatCount": 9,
"RemoveFromFollowUpDate": "2026-01-11T16:15:01.7475561+01:00",
"HandlingEmployeeGroupId": 1,
"ParentTicketId": 1,
"OrderReturnId": 1,
"OrderReturnCode": "sample string 10",
"CreateTimestamp": "2026-01-11T16:15:01.7475561+01:00",
"SlaEndTimestamp": "2026-01-11T16:15:01.7475561+01:00",
"TotalOpenMinutes": 11,
"CloseToOpenCount": 12,
"Rating": 1,
"OrderId": 1,
"OrderCode": "sample string 13",
"OfferId": 1,
"OfferCode": "sample string 14",
"ProductId": 1,
"ProductCode": "sample string 15",
"HandlingEmployeeGroupChangedTimestamp": "2026-01-11T16:15:01.7475561+01:00",
"FirstResponseTimestamp": "2026-01-11T16:15:01.7475561+01:00",
"TaskCount": 16,
"TicketIdleMailId": 1,
"Id": 17,
"TicketCode": 18,
"Title": "sample string 19",
"OpenDate": "2026-01-11T16:15:01.7475561+01:00",
"CloseDate": "2026-01-11T16:15:01.7475561+01:00",
"ChangedTimestamp": "2026-01-11T16:15:01.7475561+01:00",
"MainStatusId": 1,
"MainStatusName": "sample string 21",
"PreviousMainStatusId": 1,
"PreviousMainStatusName": "sample string 22",
"ServiceContractId": 1
}