api-helpdesk-ticket-create.helpdesk-ticket-create¶
Service to create a Helpdesk Ticket.
This class provides a method to create a helpdesk ticket in the system based on the information provided in the request.
Channel POST /helpdesk/{version}/ticket
- This class creates a helpdesk ticket with the following steps:
TODO : Check if the resources provided are valid
TODO : Create a ticket in Odoo Helpdesk
Create a Ticket in the database
Create an associated ProcessingBasis in the database
TODO : Create an interaction event in the database
- Returns:
- HTTP status code:
201: If all the ressources were created successfully
403: A ticket with the same primary_id already exists
500: If an error occurred while creating the ressources
- JSON: payload with the Ticket object
Ticket (Ticket)
Input¶
Name |
Datatype |
Required |
Description |
|---|---|---|---|
processing_basis |
ProcessingBasis |
Yes |
— |
ticket |
Ticket |
Yes |
— |
Output¶
Name |
Datatype |
Required |
Description |
|---|---|---|---|
category |
string |
— |
— |
closed |
string |
— |
— |
comment_pubid |
string |
— |
Accepted values: ACCESS, RECTIFICATION, DELETION |
comment_puburl |
string |
— |
— |
contact |
string |
— |
Accepted values: B2C_CONTACT, B2C_SUPPORT, B2C_KIT, B2C_REVIEW, B2C_PROFILE, B2B_CONTACT, RGPD |
contact_address |
Address |
— |
— |
contact_email |
string |
— |
— |
contact_firstname |
string |
— |
— |
contact_lastname |
string |
— |
— |
contact_mobile |
string |
— |
— |
created |
string |
— |
— |
description |
string |
— |
— |
identifier |
TicketIdentifierSlices |
— |
— |
kit_brochures |
integer |
— |
— |
kit_posters |
integer |
— |
— |
name |
string |
— |
— |
profile_adminurl |
string |
— |
— |
profile_id |
string |
— |
— |
rgpd_bases |
string |
— |
processing_basis primary_id value |
rgpd_type |
string |
— |
— |
stage |
string |
— |
— |
stage_cancel_reason |
string |
— |
— |
team |
HelpDeskTeam |
— |
— |
updated |
string |
— |
— |
user |
string |
— |
Object Person |