Búsquedas recientes
No hay búsquedas recientes
Ticket creation API
Publicado 23 oct 2023
Dear team
I need help with ticket creation in zendesk by API, I send a ticket request creation by the postman in the URL {{baseUrl}}/api/v2/tickets, the ticket POST request is creating the tickets normally, but I can't find where I set the group were the ticket will be open.
Post request sample
{
"ticket": {
"comment": {
"body": "The smoke is very colorful."
},
"priority": "urgent",
"subject": "My printer is on fire!"
}
}
Other problem I can't insert new arguments from other sources like the example below:
{
"alert_id": "{{ alert.id }}",
"alert_name": "{{ alert.name }}",
"alert_body": "{{ alert.body }}",
"alert_endpoint": "{{ alert.endpoint }}",
"alert_headers": "{{ alert.headers }}",
"alert_method": "{{ alert.method }}",
"alert_type": "{{ alert.type }}",
"alert_evidence_permalink": "{{ alert.permalink }}",
"wire_id": "{{ wire.id }}",
"wire_title": "{{ wire.title }}",
"wire_description": "{{ wire.description }}",
"wire_comments": "{{ wire.comments }}",
"wire_status": "{{ wire.status }}",
"wire_priority": "{{ wire.priority }}",
"wire_url": "{{ wire.url }}"
}
"alert_id": "{{ alert.id }}",
"alert_name": "{{ alert.name }}",
"alert_body": "{{ alert.body }}",
"alert_endpoint": "{{ alert.endpoint }}",
"alert_headers": "{{ alert.headers }}",
"alert_method": "{{ alert.method }}",
"alert_type": "{{ alert.type }}",
"alert_evidence_permalink": "{{ alert.permalink }}",
"wire_id": "{{ wire.id }}",
"wire_title": "{{ wire.title }}",
"wire_description": "{{ wire.description }}",
"wire_comments": "{{ wire.comments }}",
"wire_status": "{{ wire.status }}",
"wire_priority": "{{ wire.priority }}",
"wire_url": "{{ wire.url }}"
}
I need to put all this arguments in the body of the zendesk ticket.
0
0
0 comentarios
Iniciar sesión para dejar un comentario.