phpAx / Support API / Ticket Bulk Import
Back to Collection Items
<?php
// This example assumes the Chilkat API to have been previously unlocked.
// See Global Unlock Sample for sample code.
// For versions of Chilkat < 10.0.0, use new COM('Chilkat_9_5_0.Chilkat.Http')
$http = new COM("Chilkat.Http");
$http->BasicAuth = 1;
$http->Login = 'login';
$http->Password = 'password';
// Use this online tool to generate code from sample JSON: Generate Code to Create JSON
// The following JSON is sent in the request body.
// {
// "tickets": [
// {
// "assignee_id": "<integer>",
// "comments": [
// {
// "value": "<string>",
// "attachments": [
// {
// "content_type": "<string>",
// "content_url": "<string>",
// "deleted": "<boolean>",
// "file_name": "<string>",
// "height": "<string>",
// "id": "<integer>",
// "inline": "<boolean>",
// "malware_access_override": "<boolean>",
// "malware_scan_result": "<string>",
// "mapped_content_url": "<string>",
// "size": "<integer>",
// "url": "<string>",
// "width": "<string>",
// "thumbnails": [
// {
// "content_type": "<string>",
// "content_url": "<string>",
// "deleted": "<boolean>",
// "file_name": "<string>",
// "height": "<string>",
// "id": "<integer>",
// "inline": "<boolean>",
// "malware_access_override": "<boolean>",
// "malware_scan_result": "<string>",
// "mapped_content_url": "<string>",
// "size": "<integer>",
// "url": "<string>",
// "width": "<string>"
// },
// {
// "content_type": "<string>",
// "content_url": "<string>",
// "deleted": "<boolean>",
// "file_name": "<string>",
// "height": "<string>",
// "id": "<integer>",
// "inline": "<boolean>",
// "malware_access_override": "<boolean>",
// "malware_scan_result": "<string>",
// "mapped_content_url": "<string>",
// "size": "<integer>",
// "url": "<string>",
// "width": "<string>"
// }
// ]
// },
// {
// "content_type": "<string>",
// "content_url": "<string>",
// "deleted": "<boolean>",
// "file_name": "<string>",
// "height": "<string>",
// "id": "<integer>",
// "inline": "<boolean>",
// "malware_access_override": "<boolean>",
// "malware_scan_result": "<string>",
// "mapped_content_url": "<string>",
// "size": "<integer>",
// "url": "<string>",
// "width": "<string>",
// "thumbnails": [
// {
// "content_type": "<string>",
// "content_url": "<string>",
// "deleted": "<boolean>",
// "file_name": "<string>",
// "height": "<string>",
// "id": "<integer>",
// "inline": "<boolean>",
// "malware_access_override": "<boolean>",
// "malware_scan_result": "<string>",
// "mapped_content_url": "<string>",
// "size": "<integer>",
// "url": "<string>",
// "width": "<string>"
// },
// {
// "content_type": "<string>",
// "content_url": "<string>",
// "deleted": "<boolean>",
// "file_name": "<string>",
// "height": "<string>",
// "id": "<integer>",
// "inline": "<boolean>",
// "malware_access_override": "<boolean>",
// "malware_scan_result": "<string>",
// "mapped_content_url": "<string>",
// "size": "<integer>",
// "url": "<string>",
// "width": "<string>"
// }
// ]
// }
// ],
// "audit_id": "<integer>",
// "author_id": "<integer>",
// "body": "<string>",
// "created_at": "<dateTime>",
// "html_body": "<string>",
// "id": "<integer>",
// "metadata": {
// "est49": true,
// "Ut_9": 31888260.42276767,
// "quis_46_": 51904738
// },
// "plain_body": "<string>",
// "public": "<boolean>",
// "type": "<string>",
// "uploads": [
// "<string>",
// "<string>"
// ],
// "via": {
// "channel": "<string>",
// "source": {
// "commodoa03": false
// }
// }
// },
// {
// "value": "<string>",
// "attachments": [
// {
// "content_type": "<string>",
// "content_url": "<string>",
// "deleted": "<boolean>",
// "file_name": "<string>",
// "height": "<string>",
// "id": "<integer>",
// "inline": "<boolean>",
// "malware_access_override": "<boolean>",
// "malware_scan_result": "<string>",
// "mapped_content_url": "<string>",
// "size": "<integer>",
// "url": "<string>",
// "width": "<string>",
// "thumbnails": [
// {
// "content_type": "<string>",
// "content_url": "<string>",
// "deleted": "<boolean>",
// "file_name": "<string>",
// "height": "<string>",
// "id": "<integer>",
// "inline": "<boolean>",
// "malware_access_override": "<boolean>",
// "malware_scan_result": "<string>",
// "mapped_content_url": "<string>",
// "size": "<integer>",
// "url": "<string>",
// "width": "<string>"
// },
// {
// "content_type": "<string>",
// "content_url": "<string>",
// "deleted": "<boolean>",
// "file_name": "<string>",
// "height": "<string>",
// "id": "<integer>",
// "inline": "<boolean>",
// "malware_access_override": "<boolean>",
// "malware_scan_result": "<string>",
// "mapped_content_url": "<string>",
// "size": "<integer>",
// "url": "<string>",
// "width": "<string>"
// }
// ]
// },
// {
// "content_type": "<string>",
// "content_url": "<string>",
// "deleted": "<boolean>",
// "file_name": "<string>",
// "height": "<string>",
// "id": "<integer>",
// "inline": "<boolean>",
// "malware_access_override": "<boolean>",
// "malware_scan_result": "<string>",
// "mapped_content_url": "<string>",
// "size": "<integer>",
// "url": "<string>",
// "width": "<string>",
// "thumbnails": [
// {
// "content_type": "<string>",
// "content_url": "<string>",
// "deleted": "<boolean>",
// "file_name": "<string>",
// "height": "<string>",
// "id": "<integer>",
// "inline": "<boolean>",
// "malware_access_override": "<boolean>",
// "malware_scan_result": "<string>",
// "mapped_content_url": "<string>",
// "size": "<integer>",
// "url": "<string>",
// "width": "<string>"
// },
// {
// "content_type": "<string>",
// "content_url": "<string>",
// "deleted": "<boolean>",
// "file_name": "<string>",
// "height": "<string>",
// "id": "<integer>",
// "inline": "<boolean>",
// "malware_access_override": "<boolean>",
// "malware_scan_result": "<string>",
// "mapped_content_url": "<string>",
// "size": "<integer>",
// "url": "<string>",
// "width": "<string>"
// }
// ]
// }
// ],
// "audit_id": "<integer>",
// "author_id": "<integer>",
// "body": "<string>",
// "created_at": "<dateTime>",
// "html_body": "<string>",
// "id": "<integer>",
// "metadata": {
// "deserunt_98": "dolore labore quis",
// "proident4": true
// },
// "plain_body": "<string>",
// "public": "<boolean>",
// "type": "<string>",
// "uploads": [
// "<string>",
// "<string>"
// ],
// "via": {
// "channel": "<string>",
// "source": {
// "sunt13": "qui eiusmod",
// "proident_c27": "cillum ea nisi qui",
// "Excepteur_7": -87227930.77827667,
// "officia_18": "exercitation in adipisicing do"
// }
// }
// }
// ],
// "description": "<string>",
// "requester_id": "<integer>",
// "subject": "<string>",
// "tags": [
// "<string>",
// "<string>"
// ]
// },
// {
// "assignee_id": "<integer>",
// "comments": [
// {
// "value": "<string>",
// "attachments": [
// {
// "content_type": "<string>",
// "content_url": "<string>",
// "deleted": "<boolean>",
// "file_name": "<string>",
// "height": "<string>",
// "id": "<integer>",
// "inline": "<boolean>",
// "malware_access_override": "<boolean>",
// "malware_scan_result": "<string>",
// "mapped_content_url": "<string>",
// "size": "<integer>",
// "url": "<string>",
// "width": "<string>",
// "thumbnails": [
// {
// "content_type": "<string>",
// "content_url": "<string>",
// "deleted": "<boolean>",
// "file_name": "<string>",
// "height": "<string>",
// "id": "<integer>",
// "inline": "<boolean>",
// "malware_access_override": "<boolean>",
// "malware_scan_result": "<string>",
// "mapped_content_url": "<string>",
// "size": "<integer>",
// "url": "<string>",
// "width": "<string>"
// },
// {
// "content_type": "<string>",
// "content_url": "<string>",
// "deleted": "<boolean>",
// "file_name": "<string>",
// "height": "<string>",
// "id": "<integer>",
// "inline": "<boolean>",
// "malware_access_override": "<boolean>",
// "malware_scan_result": "<string>",
// "mapped_content_url": "<string>",
// "size": "<integer>",
// "url": "<string>",
// "width": "<string>"
// }
// ]
// },
// {
// "content_type": "<string>",
// "content_url": "<string>",
// "deleted": "<boolean>",
// "file_name": "<string>",
// "height": "<string>",
// "id": "<integer>",
// "inline": "<boolean>",
// "malware_access_override": "<boolean>",
// "malware_scan_result": "<string>",
// "mapped_content_url": "<string>",
// "size": "<integer>",
// "url": "<string>",
// "width": "<string>",
// "thumbnails": [
// {
// "content_type": "<string>",
// "content_url": "<string>",
// "deleted": "<boolean>",
// "file_name": "<string>",
// "height": "<string>",
// "id": "<integer>",
// "inline": "<boolean>",
// "malware_access_override": "<boolean>",
// "malware_scan_result": "<string>",
// "mapped_content_url": "<string>",
// "size": "<integer>",
// "url": "<string>",
// "width": "<string>"
// },
// {
// "content_type": "<string>",
// "content_url": "<string>",
// "deleted": "<boolean>",
// "file_name": "<string>",
// "height": "<string>",
// "id": "<integer>",
// "inline": "<boolean>",
// "malware_access_override": "<boolean>",
// "malware_scan_result": "<string>",
// "mapped_content_url": "<string>",
// "size": "<integer>",
// "url": "<string>",
// "width": "<string>"
// }
// ]
// }
// ],
// "audit_id": "<integer>",
// "author_id": "<integer>",
// "body": "<string>",
// "created_at": "<dateTime>",
// "html_body": "<string>",
// "id": "<integer>",
// "metadata": {
// "Excepteurd24": false
// },
// "plain_body": "<string>",
// "public": "<boolean>",
// "type": "<string>",
// "uploads": [
// "<string>",
// "<string>"
// ],
// "via": {
// "channel": "<string>",
// "source": {
// "laboris6": true
// }
// }
// },
// {
// "value": "<string>",
// "attachments": [
// {
// "content_type": "<string>",
// "content_url": "<string>",
// "deleted": "<boolean>",
// "file_name": "<string>",
// "height": "<string>",
// "id": "<integer>",
// "inline": "<boolean>",
// "malware_access_override": "<boolean>",
// "malware_scan_result": "<string>",
// "mapped_content_url": "<string>",
// "size": "<integer>",
// "url": "<string>",
// "width": "<string>",
// "thumbnails": [
// {
// "content_type": "<string>",
// "content_url": "<string>",
// "deleted": "<boolean>",
// "file_name": "<string>",
// "height": "<string>",
// "id": "<integer>",
// "inline": "<boolean>",
// "malware_access_override": "<boolean>",
// "malware_scan_result": "<string>",
// "mapped_content_url": "<string>",
// "size": "<integer>",
// "url": "<string>",
// "width": "<string>"
// },
// {
// "content_type": "<string>",
// "content_url": "<string>",
// "deleted": "<boolean>",
// "file_name": "<string>",
// "height": "<string>",
// "id": "<integer>",
// "inline": "<boolean>",
// "malware_access_override": "<boolean>",
// "malware_scan_result": "<string>",
// "mapped_content_url": "<string>",
// "size": "<integer>",
// "url": "<string>",
// "width": "<string>"
// }
// ]
// },
// {
// "content_type": "<string>",
// "content_url": "<string>",
// "deleted": "<boolean>",
// "file_name": "<string>",
// "height": "<string>",
// "id": "<integer>",
// "inline": "<boolean>",
// "malware_access_override": "<boolean>",
// "malware_scan_result": "<string>",
// "mapped_content_url": "<string>",
// "size": "<integer>",
// "url": "<string>",
// "width": "<string>",
// "thumbnails": [
// {
// "content_type": "<string>",
// "content_url": "<string>",
// "deleted": "<boolean>",
// "file_name": "<string>",
// "height": "<string>",
// "id": "<integer>",
// "inline": "<boolean>",
// "malware_access_override": "<boolean>",
// "malware_scan_result": "<string>",
// "mapped_content_url": "<string>",
// "size": "<integer>",
// "url": "<string>",
// "width": "<string>"
// },
// {
// "content_type": "<string>",
// "content_url": "<string>",
// "deleted": "<boolean>",
// "file_name": "<string>",
// "height": "<string>",
// "id": "<integer>",
// "inline": "<boolean>",
// "malware_access_override": "<boolean>",
// "malware_scan_result": "<string>",
// "mapped_content_url": "<string>",
// "size": "<integer>",
// "url": "<string>",
// "width": "<string>"
// }
// ]
// }
// ],
// "audit_id": "<integer>",
// "author_id": "<integer>",
// "body": "<string>",
// "created_at": "<dateTime>",
// "html_body": "<string>",
// "id": "<integer>",
// "metadata": {
// "eu_2": "irure mollit nostrud",
// "commodo_9": true,
// "Duisd18": false
// },
// "plain_body": "<string>",
// "public": "<boolean>",
// "type": "<string>",
// "uploads": [
// "<string>",
// "<string>"
// ],
// "via": {
// "channel": "<string>",
// "source": {
// "non_e": -89999146.24756724,
// "ut_88": 65824663.58327252
// }
// }
// }
// ],
// "description": "<string>",
// "requester_id": "<integer>",
// "subject": "<string>",
// "tags": [
// "<string>",
// "<string>"
// ]
// }
// ]
// }
// For versions of Chilkat < 10.0.0, use new COM('Chilkat_9_5_0.Chilkat.JsonObject')
$json = new COM("Chilkat.JsonObject");
$json->UpdateString('tickets[0].assignee_id','<integer>');
$json->UpdateString('tickets[0].comments[0].value','<string>');
$json->UpdateString('tickets[0].comments[0].attachments[0].content_type','<string>');
$json->UpdateString('tickets[0].comments[0].attachments[0].content_url','<string>');
$json->UpdateString('tickets[0].comments[0].attachments[0].deleted','<boolean>');
$json->UpdateString('tickets[0].comments[0].attachments[0].file_name','<string>');
$json->UpdateString('tickets[0].comments[0].attachments[0].height','<string>');
$json->UpdateString('tickets[0].comments[0].attachments[0].id','<integer>');
$json->UpdateString('tickets[0].comments[0].attachments[0].inline','<boolean>');
$json->UpdateString('tickets[0].comments[0].attachments[0].malware_access_override','<boolean>');
$json->UpdateString('tickets[0].comments[0].attachments[0].malware_scan_result','<string>');
$json->UpdateString('tickets[0].comments[0].attachments[0].mapped_content_url','<string>');
$json->UpdateString('tickets[0].comments[0].attachments[0].size','<integer>');
$json->UpdateString('tickets[0].comments[0].attachments[0].url','<string>');
$json->UpdateString('tickets[0].comments[0].attachments[0].width','<string>');
$json->UpdateString('tickets[0].comments[0].attachments[0].thumbnails[0].content_type','<string>');
$json->UpdateString('tickets[0].comments[0].attachments[0].thumbnails[0].content_url','<string>');
$json->UpdateString('tickets[0].comments[0].attachments[0].thumbnails[0].deleted','<boolean>');
$json->UpdateString('tickets[0].comments[0].attachments[0].thumbnails[0].file_name','<string>');
$json->UpdateString('tickets[0].comments[0].attachments[0].thumbnails[0].height','<string>');
$json->UpdateString('tickets[0].comments[0].attachments[0].thumbnails[0].id','<integer>');
$json->UpdateString('tickets[0].comments[0].attachments[0].thumbnails[0].inline','<boolean>');
$json->UpdateString('tickets[0].comments[0].attachments[0].thumbnails[0].malware_access_override','<boolean>');
$json->UpdateString('tickets[0].comments[0].attachments[0].thumbnails[0].malware_scan_result','<string>');
$json->UpdateString('tickets[0].comments[0].attachments[0].thumbnails[0].mapped_content_url','<string>');
$json->UpdateString('tickets[0].comments[0].attachments[0].thumbnails[0].size','<integer>');
$json->UpdateString('tickets[0].comments[0].attachments[0].thumbnails[0].url','<string>');
$json->UpdateString('tickets[0].comments[0].attachments[0].thumbnails[0].width','<string>');
$json->UpdateString('tickets[0].comments[0].attachments[0].thumbnails[1].content_type','<string>');
$json->UpdateString('tickets[0].comments[0].attachments[0].thumbnails[1].content_url','<string>');
$json->UpdateString('tickets[0].comments[0].attachments[0].thumbnails[1].deleted','<boolean>');
$json->UpdateString('tickets[0].comments[0].attachments[0].thumbnails[1].file_name','<string>');
$json->UpdateString('tickets[0].comments[0].attachments[0].thumbnails[1].height','<string>');
$json->UpdateString('tickets[0].comments[0].attachments[0].thumbnails[1].id','<integer>');
$json->UpdateString('tickets[0].comments[0].attachments[0].thumbnails[1].inline','<boolean>');
$json->UpdateString('tickets[0].comments[0].attachments[0].thumbnails[1].malware_access_override','<boolean>');
$json->UpdateString('tickets[0].comments[0].attachments[0].thumbnails[1].malware_scan_result','<string>');
$json->UpdateString('tickets[0].comments[0].attachments[0].thumbnails[1].mapped_content_url','<string>');
$json->UpdateString('tickets[0].comments[0].attachments[0].thumbnails[1].size','<integer>');
$json->UpdateString('tickets[0].comments[0].attachments[0].thumbnails[1].url','<string>');
$json->UpdateString('tickets[0].comments[0].attachments[0].thumbnails[1].width','<string>');
$json->UpdateString('tickets[0].comments[0].attachments[1].content_type','<string>');
$json->UpdateString('tickets[0].comments[0].attachments[1].content_url','<string>');
$json->UpdateString('tickets[0].comments[0].attachments[1].deleted','<boolean>');
$json->UpdateString('tickets[0].comments[0].attachments[1].file_name','<string>');
$json->UpdateString('tickets[0].comments[0].attachments[1].height','<string>');
$json->UpdateString('tickets[0].comments[0].attachments[1].id','<integer>');
$json->UpdateString('tickets[0].comments[0].attachments[1].inline','<boolean>');
$json->UpdateString('tickets[0].comments[0].attachments[1].malware_access_override','<boolean>');
$json->UpdateString('tickets[0].comments[0].attachments[1].malware_scan_result','<string>');
$json->UpdateString('tickets[0].comments[0].attachments[1].mapped_content_url','<string>');
$json->UpdateString('tickets[0].comments[0].attachments[1].size','<integer>');
$json->UpdateString('tickets[0].comments[0].attachments[1].url','<string>');
$json->UpdateString('tickets[0].comments[0].attachments[1].width','<string>');
$json->UpdateString('tickets[0].comments[0].attachments[1].thumbnails[0].content_type','<string>');
$json->UpdateString('tickets[0].comments[0].attachments[1].thumbnails[0].content_url','<string>');
$json->UpdateString('tickets[0].comments[0].attachments[1].thumbnails[0].deleted','<boolean>');
$json->UpdateString('tickets[0].comments[0].attachments[1].thumbnails[0].file_name','<string>');
$json->UpdateString('tickets[0].comments[0].attachments[1].thumbnails[0].height','<string>');
$json->UpdateString('tickets[0].comments[0].attachments[1].thumbnails[0].id','<integer>');
$json->UpdateString('tickets[0].comments[0].attachments[1].thumbnails[0].inline','<boolean>');
$json->UpdateString('tickets[0].comments[0].attachments[1].thumbnails[0].malware_access_override','<boolean>');
$json->UpdateString('tickets[0].comments[0].attachments[1].thumbnails[0].malware_scan_result','<string>');
$json->UpdateString('tickets[0].comments[0].attachments[1].thumbnails[0].mapped_content_url','<string>');
$json->UpdateString('tickets[0].comments[0].attachments[1].thumbnails[0].size','<integer>');
$json->UpdateString('tickets[0].comments[0].attachments[1].thumbnails[0].url','<string>');
$json->UpdateString('tickets[0].comments[0].attachments[1].thumbnails[0].width','<string>');
$json->UpdateString('tickets[0].comments[0].attachments[1].thumbnails[1].content_type','<string>');
$json->UpdateString('tickets[0].comments[0].attachments[1].thumbnails[1].content_url','<string>');
$json->UpdateString('tickets[0].comments[0].attachments[1].thumbnails[1].deleted','<boolean>');
$json->UpdateString('tickets[0].comments[0].attachments[1].thumbnails[1].file_name','<string>');
$json->UpdateString('tickets[0].comments[0].attachments[1].thumbnails[1].height','<string>');
$json->UpdateString('tickets[0].comments[0].attachments[1].thumbnails[1].id','<integer>');
$json->UpdateString('tickets[0].comments[0].attachments[1].thumbnails[1].inline','<boolean>');
$json->UpdateString('tickets[0].comments[0].attachments[1].thumbnails[1].malware_access_override','<boolean>');
$json->UpdateString('tickets[0].comments[0].attachments[1].thumbnails[1].malware_scan_result','<string>');
$json->UpdateString('tickets[0].comments[0].attachments[1].thumbnails[1].mapped_content_url','<string>');
$json->UpdateString('tickets[0].comments[0].attachments[1].thumbnails[1].size','<integer>');
$json->UpdateString('tickets[0].comments[0].attachments[1].thumbnails[1].url','<string>');
$json->UpdateString('tickets[0].comments[0].attachments[1].thumbnails[1].width','<string>');
$json->UpdateString('tickets[0].comments[0].audit_id','<integer>');
$json->UpdateString('tickets[0].comments[0].author_id','<integer>');
$json->UpdateString('tickets[0].comments[0].body','<string>');
$json->UpdateString('tickets[0].comments[0].created_at','<dateTime>');
$json->UpdateString('tickets[0].comments[0].html_body','<string>');
$json->UpdateString('tickets[0].comments[0].id','<integer>');
$json->UpdateBool('tickets[0].comments[0].metadata.est49',1);
$json->UpdateNumber('tickets[0].comments[0].metadata.Ut_9','31888260.42276767');
$json->UpdateInt('tickets[0].comments[0].metadata.quis_46_',51904738);
$json->UpdateString('tickets[0].comments[0].plain_body','<string>');
$json->UpdateString('tickets[0].comments[0].public','<boolean>');
$json->UpdateString('tickets[0].comments[0].type','<string>');
$json->UpdateString('tickets[0].comments[0].uploads[0]','<string>');
$json->UpdateString('tickets[0].comments[0].uploads[1]','<string>');
$json->UpdateString('tickets[0].comments[0].via.channel','<string>');
$json->UpdateBool('tickets[0].comments[0].via.source.commodoa03',0);
$json->UpdateString('tickets[0].comments[1].value','<string>');
$json->UpdateString('tickets[0].comments[1].attachments[0].content_type','<string>');
$json->UpdateString('tickets[0].comments[1].attachments[0].content_url','<string>');
$json->UpdateString('tickets[0].comments[1].attachments[0].deleted','<boolean>');
$json->UpdateString('tickets[0].comments[1].attachments[0].file_name','<string>');
$json->UpdateString('tickets[0].comments[1].attachments[0].height','<string>');
$json->UpdateString('tickets[0].comments[1].attachments[0].id','<integer>');
$json->UpdateString('tickets[0].comments[1].attachments[0].inline','<boolean>');
$json->UpdateString('tickets[0].comments[1].attachments[0].malware_access_override','<boolean>');
$json->UpdateString('tickets[0].comments[1].attachments[0].malware_scan_result','<string>');
$json->UpdateString('tickets[0].comments[1].attachments[0].mapped_content_url','<string>');
$json->UpdateString('tickets[0].comments[1].attachments[0].size','<integer>');
$json->UpdateString('tickets[0].comments[1].attachments[0].url','<string>');
$json->UpdateString('tickets[0].comments[1].attachments[0].width','<string>');
$json->UpdateString('tickets[0].comments[1].attachments[0].thumbnails[0].content_type','<string>');
$json->UpdateString('tickets[0].comments[1].attachments[0].thumbnails[0].content_url','<string>');
$json->UpdateString('tickets[0].comments[1].attachments[0].thumbnails[0].deleted','<boolean>');
$json->UpdateString('tickets[0].comments[1].attachments[0].thumbnails[0].file_name','<string>');
$json->UpdateString('tickets[0].comments[1].attachments[0].thumbnails[0].height','<string>');
$json->UpdateString('tickets[0].comments[1].attachments[0].thumbnails[0].id','<integer>');
$json->UpdateString('tickets[0].comments[1].attachments[0].thumbnails[0].inline','<boolean>');
$json->UpdateString('tickets[0].comments[1].attachments[0].thumbnails[0].malware_access_override','<boolean>');
$json->UpdateString('tickets[0].comments[1].attachments[0].thumbnails[0].malware_scan_result','<string>');
$json->UpdateString('tickets[0].comments[1].attachments[0].thumbnails[0].mapped_content_url','<string>');
$json->UpdateString('tickets[0].comments[1].attachments[0].thumbnails[0].size','<integer>');
$json->UpdateString('tickets[0].comments[1].attachments[0].thumbnails[0].url','<string>');
$json->UpdateString('tickets[0].comments[1].attachments[0].thumbnails[0].width','<string>');
$json->UpdateString('tickets[0].comments[1].attachments[0].thumbnails[1].content_type','<string>');
$json->UpdateString('tickets[0].comments[1].attachments[0].thumbnails[1].content_url','<string>');
$json->UpdateString('tickets[0].comments[1].attachments[0].thumbnails[1].deleted','<boolean>');
$json->UpdateString('tickets[0].comments[1].attachments[0].thumbnails[1].file_name','<string>');
$json->UpdateString('tickets[0].comments[1].attachments[0].thumbnails[1].height','<string>');
$json->UpdateString('tickets[0].comments[1].attachments[0].thumbnails[1].id','<integer>');
$json->UpdateString('tickets[0].comments[1].attachments[0].thumbnails[1].inline','<boolean>');
$json->UpdateString('tickets[0].comments[1].attachments[0].thumbnails[1].malware_access_override','<boolean>');
$json->UpdateString('tickets[0].comments[1].attachments[0].thumbnails[1].malware_scan_result','<string>');
$json->UpdateString('tickets[0].comments[1].attachments[0].thumbnails[1].mapped_content_url','<string>');
$json->UpdateString('tickets[0].comments[1].attachments[0].thumbnails[1].size','<integer>');
$json->UpdateString('tickets[0].comments[1].attachments[0].thumbnails[1].url','<string>');
$json->UpdateString('tickets[0].comments[1].attachments[0].thumbnails[1].width','<string>');
$json->UpdateString('tickets[0].comments[1].attachments[1].content_type','<string>');
$json->UpdateString('tickets[0].comments[1].attachments[1].content_url','<string>');
$json->UpdateString('tickets[0].comments[1].attachments[1].deleted','<boolean>');
$json->UpdateString('tickets[0].comments[1].attachments[1].file_name','<string>');
$json->UpdateString('tickets[0].comments[1].attachments[1].height','<string>');
$json->UpdateString('tickets[0].comments[1].attachments[1].id','<integer>');
$json->UpdateString('tickets[0].comments[1].attachments[1].inline','<boolean>');
$json->UpdateString('tickets[0].comments[1].attachments[1].malware_access_override','<boolean>');
$json->UpdateString('tickets[0].comments[1].attachments[1].malware_scan_result','<string>');
$json->UpdateString('tickets[0].comments[1].attachments[1].mapped_content_url','<string>');
$json->UpdateString('tickets[0].comments[1].attachments[1].size','<integer>');
$json->UpdateString('tickets[0].comments[1].attachments[1].url','<string>');
$json->UpdateString('tickets[0].comments[1].attachments[1].width','<string>');
$json->UpdateString('tickets[0].comments[1].attachments[1].thumbnails[0].content_type','<string>');
$json->UpdateString('tickets[0].comments[1].attachments[1].thumbnails[0].content_url','<string>');
$json->UpdateString('tickets[0].comments[1].attachments[1].thumbnails[0].deleted','<boolean>');
$json->UpdateString('tickets[0].comments[1].attachments[1].thumbnails[0].file_name','<string>');
$json->UpdateString('tickets[0].comments[1].attachments[1].thumbnails[0].height','<string>');
$json->UpdateString('tickets[0].comments[1].attachments[1].thumbnails[0].id','<integer>');
$json->UpdateString('tickets[0].comments[1].attachments[1].thumbnails[0].inline','<boolean>');
$json->UpdateString('tickets[0].comments[1].attachments[1].thumbnails[0].malware_access_override','<boolean>');
$json->UpdateString('tickets[0].comments[1].attachments[1].thumbnails[0].malware_scan_result','<string>');
$json->UpdateString('tickets[0].comments[1].attachments[1].thumbnails[0].mapped_content_url','<string>');
$json->UpdateString('tickets[0].comments[1].attachments[1].thumbnails[0].size','<integer>');
$json->UpdateString('tickets[0].comments[1].attachments[1].thumbnails[0].url','<string>');
$json->UpdateString('tickets[0].comments[1].attachments[1].thumbnails[0].width','<string>');
$json->UpdateString('tickets[0].comments[1].attachments[1].thumbnails[1].content_type','<string>');
$json->UpdateString('tickets[0].comments[1].attachments[1].thumbnails[1].content_url','<string>');
$json->UpdateString('tickets[0].comments[1].attachments[1].thumbnails[1].deleted','<boolean>');
$json->UpdateString('tickets[0].comments[1].attachments[1].thumbnails[1].file_name','<string>');
$json->UpdateString('tickets[0].comments[1].attachments[1].thumbnails[1].height','<string>');
$json->UpdateString('tickets[0].comments[1].attachments[1].thumbnails[1].id','<integer>');
$json->UpdateString('tickets[0].comments[1].attachments[1].thumbnails[1].inline','<boolean>');
$json->UpdateString('tickets[0].comments[1].attachments[1].thumbnails[1].malware_access_override','<boolean>');
$json->UpdateString('tickets[0].comments[1].attachments[1].thumbnails[1].malware_scan_result','<string>');
$json->UpdateString('tickets[0].comments[1].attachments[1].thumbnails[1].mapped_content_url','<string>');
$json->UpdateString('tickets[0].comments[1].attachments[1].thumbnails[1].size','<integer>');
$json->UpdateString('tickets[0].comments[1].attachments[1].thumbnails[1].url','<string>');
$json->UpdateString('tickets[0].comments[1].attachments[1].thumbnails[1].width','<string>');
$json->UpdateString('tickets[0].comments[1].audit_id','<integer>');
$json->UpdateString('tickets[0].comments[1].author_id','<integer>');
$json->UpdateString('tickets[0].comments[1].body','<string>');
$json->UpdateString('tickets[0].comments[1].created_at','<dateTime>');
$json->UpdateString('tickets[0].comments[1].html_body','<string>');
$json->UpdateString('tickets[0].comments[1].id','<integer>');
$json->UpdateString('tickets[0].comments[1].metadata.deserunt_98','dolore labore quis');
$json->UpdateBool('tickets[0].comments[1].metadata.proident4',1);
$json->UpdateString('tickets[0].comments[1].plain_body','<string>');
$json->UpdateString('tickets[0].comments[1].public','<boolean>');
$json->UpdateString('tickets[0].comments[1].type','<string>');
$json->UpdateString('tickets[0].comments[1].uploads[0]','<string>');
$json->UpdateString('tickets[0].comments[1].uploads[1]','<string>');
$json->UpdateString('tickets[0].comments[1].via.channel','<string>');
$json->UpdateString('tickets[0].comments[1].via.source.sunt13','qui eiusmod');
$json->UpdateString('tickets[0].comments[1].via.source.proident_c27','cillum ea nisi qui');
$json->UpdateNumber('tickets[0].comments[1].via.source.Excepteur_7','-87227930.77827667');
$json->UpdateString('tickets[0].comments[1].via.source.officia_18','exercitation in adipisicing do');
$json->UpdateString('tickets[0].description','<string>');
$json->UpdateString('tickets[0].requester_id','<integer>');
$json->UpdateString('tickets[0].subject','<string>');
$json->UpdateString('tickets[0].tags[0]','<string>');
$json->UpdateString('tickets[0].tags[1]','<string>');
$json->UpdateString('tickets[1].assignee_id','<integer>');
$json->UpdateString('tickets[1].comments[0].value','<string>');
$json->UpdateString('tickets[1].comments[0].attachments[0].content_type','<string>');
$json->UpdateString('tickets[1].comments[0].attachments[0].content_url','<string>');
$json->UpdateString('tickets[1].comments[0].attachments[0].deleted','<boolean>');
$json->UpdateString('tickets[1].comments[0].attachments[0].file_name','<string>');
$json->UpdateString('tickets[1].comments[0].attachments[0].height','<string>');
$json->UpdateString('tickets[1].comments[0].attachments[0].id','<integer>');
$json->UpdateString('tickets[1].comments[0].attachments[0].inline','<boolean>');
$json->UpdateString('tickets[1].comments[0].attachments[0].malware_access_override','<boolean>');
$json->UpdateString('tickets[1].comments[0].attachments[0].malware_scan_result','<string>');
$json->UpdateString('tickets[1].comments[0].attachments[0].mapped_content_url','<string>');
$json->UpdateString('tickets[1].comments[0].attachments[0].size','<integer>');
$json->UpdateString('tickets[1].comments[0].attachments[0].url','<string>');
$json->UpdateString('tickets[1].comments[0].attachments[0].width','<string>');
$json->UpdateString('tickets[1].comments[0].attachments[0].thumbnails[0].content_type','<string>');
$json->UpdateString('tickets[1].comments[0].attachments[0].thumbnails[0].content_url','<string>');
$json->UpdateString('tickets[1].comments[0].attachments[0].thumbnails[0].deleted','<boolean>');
$json->UpdateString('tickets[1].comments[0].attachments[0].thumbnails[0].file_name','<string>');
$json->UpdateString('tickets[1].comments[0].attachments[0].thumbnails[0].height','<string>');
$json->UpdateString('tickets[1].comments[0].attachments[0].thumbnails[0].id','<integer>');
$json->UpdateString('tickets[1].comments[0].attachments[0].thumbnails[0].inline','<boolean>');
$json->UpdateString('tickets[1].comments[0].attachments[0].thumbnails[0].malware_access_override','<boolean>');
$json->UpdateString('tickets[1].comments[0].attachments[0].thumbnails[0].malware_scan_result','<string>');
$json->UpdateString('tickets[1].comments[0].attachments[0].thumbnails[0].mapped_content_url','<string>');
$json->UpdateString('tickets[1].comments[0].attachments[0].thumbnails[0].size','<integer>');
$json->UpdateString('tickets[1].comments[0].attachments[0].thumbnails[0].url','<string>');
$json->UpdateString('tickets[1].comments[0].attachments[0].thumbnails[0].width','<string>');
$json->UpdateString('tickets[1].comments[0].attachments[0].thumbnails[1].content_type','<string>');
$json->UpdateString('tickets[1].comments[0].attachments[0].thumbnails[1].content_url','<string>');
$json->UpdateString('tickets[1].comments[0].attachments[0].thumbnails[1].deleted','<boolean>');
$json->UpdateString('tickets[1].comments[0].attachments[0].thumbnails[1].file_name','<string>');
$json->UpdateString('tickets[1].comments[0].attachments[0].thumbnails[1].height','<string>');
$json->UpdateString('tickets[1].comments[0].attachments[0].thumbnails[1].id','<integer>');
$json->UpdateString('tickets[1].comments[0].attachments[0].thumbnails[1].inline','<boolean>');
$json->UpdateString('tickets[1].comments[0].attachments[0].thumbnails[1].malware_access_override','<boolean>');
$json->UpdateString('tickets[1].comments[0].attachments[0].thumbnails[1].malware_scan_result','<string>');
$json->UpdateString('tickets[1].comments[0].attachments[0].thumbnails[1].mapped_content_url','<string>');
$json->UpdateString('tickets[1].comments[0].attachments[0].thumbnails[1].size','<integer>');
$json->UpdateString('tickets[1].comments[0].attachments[0].thumbnails[1].url','<string>');
$json->UpdateString('tickets[1].comments[0].attachments[0].thumbnails[1].width','<string>');
$json->UpdateString('tickets[1].comments[0].attachments[1].content_type','<string>');
$json->UpdateString('tickets[1].comments[0].attachments[1].content_url','<string>');
$json->UpdateString('tickets[1].comments[0].attachments[1].deleted','<boolean>');
$json->UpdateString('tickets[1].comments[0].attachments[1].file_name','<string>');
$json->UpdateString('tickets[1].comments[0].attachments[1].height','<string>');
$json->UpdateString('tickets[1].comments[0].attachments[1].id','<integer>');
$json->UpdateString('tickets[1].comments[0].attachments[1].inline','<boolean>');
$json->UpdateString('tickets[1].comments[0].attachments[1].malware_access_override','<boolean>');
$json->UpdateString('tickets[1].comments[0].attachments[1].malware_scan_result','<string>');
$json->UpdateString('tickets[1].comments[0].attachments[1].mapped_content_url','<string>');
$json->UpdateString('tickets[1].comments[0].attachments[1].size','<integer>');
$json->UpdateString('tickets[1].comments[0].attachments[1].url','<string>');
$json->UpdateString('tickets[1].comments[0].attachments[1].width','<string>');
$json->UpdateString('tickets[1].comments[0].attachments[1].thumbnails[0].content_type','<string>');
$json->UpdateString('tickets[1].comments[0].attachments[1].thumbnails[0].content_url','<string>');
$json->UpdateString('tickets[1].comments[0].attachments[1].thumbnails[0].deleted','<boolean>');
$json->UpdateString('tickets[1].comments[0].attachments[1].thumbnails[0].file_name','<string>');
$json->UpdateString('tickets[1].comments[0].attachments[1].thumbnails[0].height','<string>');
$json->UpdateString('tickets[1].comments[0].attachments[1].thumbnails[0].id','<integer>');
$json->UpdateString('tickets[1].comments[0].attachments[1].thumbnails[0].inline','<boolean>');
$json->UpdateString('tickets[1].comments[0].attachments[1].thumbnails[0].malware_access_override','<boolean>');
$json->UpdateString('tickets[1].comments[0].attachments[1].thumbnails[0].malware_scan_result','<string>');
$json->UpdateString('tickets[1].comments[0].attachments[1].thumbnails[0].mapped_content_url','<string>');
$json->UpdateString('tickets[1].comments[0].attachments[1].thumbnails[0].size','<integer>');
$json->UpdateString('tickets[1].comments[0].attachments[1].thumbnails[0].url','<string>');
$json->UpdateString('tickets[1].comments[0].attachments[1].thumbnails[0].width','<string>');
$json->UpdateString('tickets[1].comments[0].attachments[1].thumbnails[1].content_type','<string>');
$json->UpdateString('tickets[1].comments[0].attachments[1].thumbnails[1].content_url','<string>');
$json->UpdateString('tickets[1].comments[0].attachments[1].thumbnails[1].deleted','<boolean>');
$json->UpdateString('tickets[1].comments[0].attachments[1].thumbnails[1].file_name','<string>');
$json->UpdateString('tickets[1].comments[0].attachments[1].thumbnails[1].height','<string>');
$json->UpdateString('tickets[1].comments[0].attachments[1].thumbnails[1].id','<integer>');
$json->UpdateString('tickets[1].comments[0].attachments[1].thumbnails[1].inline','<boolean>');
$json->UpdateString('tickets[1].comments[0].attachments[1].thumbnails[1].malware_access_override','<boolean>');
$json->UpdateString('tickets[1].comments[0].attachments[1].thumbnails[1].malware_scan_result','<string>');
$json->UpdateString('tickets[1].comments[0].attachments[1].thumbnails[1].mapped_content_url','<string>');
$json->UpdateString('tickets[1].comments[0].attachments[1].thumbnails[1].size','<integer>');
$json->UpdateString('tickets[1].comments[0].attachments[1].thumbnails[1].url','<string>');
$json->UpdateString('tickets[1].comments[0].attachments[1].thumbnails[1].width','<string>');
$json->UpdateString('tickets[1].comments[0].audit_id','<integer>');
$json->UpdateString('tickets[1].comments[0].author_id','<integer>');
$json->UpdateString('tickets[1].comments[0].body','<string>');
$json->UpdateString('tickets[1].comments[0].created_at','<dateTime>');
$json->UpdateString('tickets[1].comments[0].html_body','<string>');
$json->UpdateString('tickets[1].comments[0].id','<integer>');
$json->UpdateBool('tickets[1].comments[0].metadata.Excepteurd24',0);
$json->UpdateString('tickets[1].comments[0].plain_body','<string>');
$json->UpdateString('tickets[1].comments[0].public','<boolean>');
$json->UpdateString('tickets[1].comments[0].type','<string>');
$json->UpdateString('tickets[1].comments[0].uploads[0]','<string>');
$json->UpdateString('tickets[1].comments[0].uploads[1]','<string>');
$json->UpdateString('tickets[1].comments[0].via.channel','<string>');
$json->UpdateBool('tickets[1].comments[0].via.source.laboris6',1);
$json->UpdateString('tickets[1].comments[1].value','<string>');
$json->UpdateString('tickets[1].comments[1].attachments[0].content_type','<string>');
$json->UpdateString('tickets[1].comments[1].attachments[0].content_url','<string>');
$json->UpdateString('tickets[1].comments[1].attachments[0].deleted','<boolean>');
$json->UpdateString('tickets[1].comments[1].attachments[0].file_name','<string>');
$json->UpdateString('tickets[1].comments[1].attachments[0].height','<string>');
$json->UpdateString('tickets[1].comments[1].attachments[0].id','<integer>');
$json->UpdateString('tickets[1].comments[1].attachments[0].inline','<boolean>');
$json->UpdateString('tickets[1].comments[1].attachments[0].malware_access_override','<boolean>');
$json->UpdateString('tickets[1].comments[1].attachments[0].malware_scan_result','<string>');
$json->UpdateString('tickets[1].comments[1].attachments[0].mapped_content_url','<string>');
$json->UpdateString('tickets[1].comments[1].attachments[0].size','<integer>');
$json->UpdateString('tickets[1].comments[1].attachments[0].url','<string>');
$json->UpdateString('tickets[1].comments[1].attachments[0].width','<string>');
$json->UpdateString('tickets[1].comments[1].attachments[0].thumbnails[0].content_type','<string>');
$json->UpdateString('tickets[1].comments[1].attachments[0].thumbnails[0].content_url','<string>');
$json->UpdateString('tickets[1].comments[1].attachments[0].thumbnails[0].deleted','<boolean>');
$json->UpdateString('tickets[1].comments[1].attachments[0].thumbnails[0].file_name','<string>');
$json->UpdateString('tickets[1].comments[1].attachments[0].thumbnails[0].height','<string>');
$json->UpdateString('tickets[1].comments[1].attachments[0].thumbnails[0].id','<integer>');
$json->UpdateString('tickets[1].comments[1].attachments[0].thumbnails[0].inline','<boolean>');
$json->UpdateString('tickets[1].comments[1].attachments[0].thumbnails[0].malware_access_override','<boolean>');
$json->UpdateString('tickets[1].comments[1].attachments[0].thumbnails[0].malware_scan_result','<string>');
$json->UpdateString('tickets[1].comments[1].attachments[0].thumbnails[0].mapped_content_url','<string>');
$json->UpdateString('tickets[1].comments[1].attachments[0].thumbnails[0].size','<integer>');
$json->UpdateString('tickets[1].comments[1].attachments[0].thumbnails[0].url','<string>');
$json->UpdateString('tickets[1].comments[1].attachments[0].thumbnails[0].width','<string>');
$json->UpdateString('tickets[1].comments[1].attachments[0].thumbnails[1].content_type','<string>');
$json->UpdateString('tickets[1].comments[1].attachments[0].thumbnails[1].content_url','<string>');
$json->UpdateString('tickets[1].comments[1].attachments[0].thumbnails[1].deleted','<boolean>');
$json->UpdateString('tickets[1].comments[1].attachments[0].thumbnails[1].file_name','<string>');
$json->UpdateString('tickets[1].comments[1].attachments[0].thumbnails[1].height','<string>');
$json->UpdateString('tickets[1].comments[1].attachments[0].thumbnails[1].id','<integer>');
$json->UpdateString('tickets[1].comments[1].attachments[0].thumbnails[1].inline','<boolean>');
$json->UpdateString('tickets[1].comments[1].attachments[0].thumbnails[1].malware_access_override','<boolean>');
$json->UpdateString('tickets[1].comments[1].attachments[0].thumbnails[1].malware_scan_result','<string>');
$json->UpdateString('tickets[1].comments[1].attachments[0].thumbnails[1].mapped_content_url','<string>');
$json->UpdateString('tickets[1].comments[1].attachments[0].thumbnails[1].size','<integer>');
$json->UpdateString('tickets[1].comments[1].attachments[0].thumbnails[1].url','<string>');
$json->UpdateString('tickets[1].comments[1].attachments[0].thumbnails[1].width','<string>');
$json->UpdateString('tickets[1].comments[1].attachments[1].content_type','<string>');
$json->UpdateString('tickets[1].comments[1].attachments[1].content_url','<string>');
$json->UpdateString('tickets[1].comments[1].attachments[1].deleted','<boolean>');
$json->UpdateString('tickets[1].comments[1].attachments[1].file_name','<string>');
$json->UpdateString('tickets[1].comments[1].attachments[1].height','<string>');
$json->UpdateString('tickets[1].comments[1].attachments[1].id','<integer>');
$json->UpdateString('tickets[1].comments[1].attachments[1].inline','<boolean>');
$json->UpdateString('tickets[1].comments[1].attachments[1].malware_access_override','<boolean>');
$json->UpdateString('tickets[1].comments[1].attachments[1].malware_scan_result','<string>');
$json->UpdateString('tickets[1].comments[1].attachments[1].mapped_content_url','<string>');
$json->UpdateString('tickets[1].comments[1].attachments[1].size','<integer>');
$json->UpdateString('tickets[1].comments[1].attachments[1].url','<string>');
$json->UpdateString('tickets[1].comments[1].attachments[1].width','<string>');
$json->UpdateString('tickets[1].comments[1].attachments[1].thumbnails[0].content_type','<string>');
$json->UpdateString('tickets[1].comments[1].attachments[1].thumbnails[0].content_url','<string>');
$json->UpdateString('tickets[1].comments[1].attachments[1].thumbnails[0].deleted','<boolean>');
$json->UpdateString('tickets[1].comments[1].attachments[1].thumbnails[0].file_name','<string>');
$json->UpdateString('tickets[1].comments[1].attachments[1].thumbnails[0].height','<string>');
$json->UpdateString('tickets[1].comments[1].attachments[1].thumbnails[0].id','<integer>');
$json->UpdateString('tickets[1].comments[1].attachments[1].thumbnails[0].inline','<boolean>');
$json->UpdateString('tickets[1].comments[1].attachments[1].thumbnails[0].malware_access_override','<boolean>');
$json->UpdateString('tickets[1].comments[1].attachments[1].thumbnails[0].malware_scan_result','<string>');
$json->UpdateString('tickets[1].comments[1].attachments[1].thumbnails[0].mapped_content_url','<string>');
$json->UpdateString('tickets[1].comments[1].attachments[1].thumbnails[0].size','<integer>');
$json->UpdateString('tickets[1].comments[1].attachments[1].thumbnails[0].url','<string>');
$json->UpdateString('tickets[1].comments[1].attachments[1].thumbnails[0].width','<string>');
$json->UpdateString('tickets[1].comments[1].attachments[1].thumbnails[1].content_type','<string>');
$json->UpdateString('tickets[1].comments[1].attachments[1].thumbnails[1].content_url','<string>');
$json->UpdateString('tickets[1].comments[1].attachments[1].thumbnails[1].deleted','<boolean>');
$json->UpdateString('tickets[1].comments[1].attachments[1].thumbnails[1].file_name','<string>');
$json->UpdateString('tickets[1].comments[1].attachments[1].thumbnails[1].height','<string>');
$json->UpdateString('tickets[1].comments[1].attachments[1].thumbnails[1].id','<integer>');
$json->UpdateString('tickets[1].comments[1].attachments[1].thumbnails[1].inline','<boolean>');
$json->UpdateString('tickets[1].comments[1].attachments[1].thumbnails[1].malware_access_override','<boolean>');
$json->UpdateString('tickets[1].comments[1].attachments[1].thumbnails[1].malware_scan_result','<string>');
$json->UpdateString('tickets[1].comments[1].attachments[1].thumbnails[1].mapped_content_url','<string>');
$json->UpdateString('tickets[1].comments[1].attachments[1].thumbnails[1].size','<integer>');
$json->UpdateString('tickets[1].comments[1].attachments[1].thumbnails[1].url','<string>');
$json->UpdateString('tickets[1].comments[1].attachments[1].thumbnails[1].width','<string>');
$json->UpdateString('tickets[1].comments[1].audit_id','<integer>');
$json->UpdateString('tickets[1].comments[1].author_id','<integer>');
$json->UpdateString('tickets[1].comments[1].body','<string>');
$json->UpdateString('tickets[1].comments[1].created_at','<dateTime>');
$json->UpdateString('tickets[1].comments[1].html_body','<string>');
$json->UpdateString('tickets[1].comments[1].id','<integer>');
$json->UpdateString('tickets[1].comments[1].metadata.eu_2','irure mollit nostrud');
$json->UpdateBool('tickets[1].comments[1].metadata.commodo_9',1);
$json->UpdateBool('tickets[1].comments[1].metadata.Duisd18',0);
$json->UpdateString('tickets[1].comments[1].plain_body','<string>');
$json->UpdateString('tickets[1].comments[1].public','<boolean>');
$json->UpdateString('tickets[1].comments[1].type','<string>');
$json->UpdateString('tickets[1].comments[1].uploads[0]','<string>');
$json->UpdateString('tickets[1].comments[1].uploads[1]','<string>');
$json->UpdateString('tickets[1].comments[1].via.channel','<string>');
$json->UpdateNumber('tickets[1].comments[1].via.source.non_e','-89999146.24756724');
$json->UpdateNumber('tickets[1].comments[1].via.source.ut_88','65824663.58327252');
$json->UpdateString('tickets[1].description','<string>');
$json->UpdateString('tickets[1].requester_id','<integer>');
$json->UpdateString('tickets[1].subject','<string>');
$json->UpdateString('tickets[1].tags[0]','<string>');
$json->UpdateString('tickets[1].tags[1]','<string>');
$http->SetRequestHeader('Content-Type','application/json');
$http->SetRequestHeader('Accept','application/json');
// resp is a Chilkat.HttpResponse
$resp = $http->PostJson3('https://example.zendesk.com/api/v2/imports/tickets/create_many?archive_immediately=<boolean>','application/json',$json);
if ($http->LastMethodSuccess == 0) {
print $http->LastErrorText . "\n";
exit;
}
// For versions of Chilkat < 10.0.0, use new COM('Chilkat_9_5_0.Chilkat.StringBuilder')
$sbResponseBody = new COM("Chilkat.StringBuilder");
$resp->GetBodySb($sbResponseBody);
// For versions of Chilkat < 10.0.0, use new COM('Chilkat_9_5_0.Chilkat.JsonObject')
$jResp = new COM("Chilkat.JsonObject");
$jResp->LoadSb($sbResponseBody);
$jResp->EmitCompact = 0;
print 'Response Body:' . "\n";
print $jResp->emit() . "\n";
$respStatusCode = $resp->StatusCode;
print 'Response Status Code = ' . $respStatusCode . "\n";
if ($respStatusCode >= 400) {
print 'Response Header:' . "\n";
print $resp->Header . "\n";
print 'Failed.' . "\n";
exit;
}
// Sample JSON response:
// (Sample code for parsing the JSON response is shown below)
// {
// "job_status": {
// "id": "<string>",
// "message": "<string>",
// "progress": "<integer>",
// "results": [
// {
// "id": "<integer>",
// "index": "<integer>"
// },
// {
// "id": "<integer>",
// "index": "<integer>"
// }
// ],
// "status": "<string>",
// "total": "<integer>",
// "url": "<string>"
// }
// }
// Sample code for parsing the JSON response...
// Use this online tool to generate parsing code from sample JSON: Generate JSON Parsing Code
$Id = $jResp->stringOf('job_status.id');
$Message = $jResp->stringOf('job_status.message');
$Progress = $jResp->stringOf('job_status.progress');
$Status = $jResp->stringOf('job_status.status');
$Total = $jResp->stringOf('job_status.total');
$v_Url = $jResp->stringOf('job_status.url');
$i = 0;
$count_i = $jResp->SizeOfArray('job_status.results');
while ($i < $count_i) {
$jResp->I = $i;
$id = $jResp->stringOf('job_status.results[i].id');
$index = $jResp->stringOf('job_status.results[i].index');
$i = $i + 1;
}
?>
Curl Command
curl -u login:password -X POST
-H "Content-Type: application/json"
-H "Accept: application/json"
-d '{
"tickets": [
{
"assignee_id": "<integer>",
"comments": [
{
"value": "<string>",
"attachments": [
{
"content_type": "<string>",
"content_url": "<string>",
"deleted": "<boolean>",
"file_name": "<string>",
"height": "<string>",
"id": "<integer>",
"inline": "<boolean>",
"malware_access_override": "<boolean>",
"malware_scan_result": "<string>",
"mapped_content_url": "<string>",
"size": "<integer>",
"url": "<string>",
"width": "<string>",
"thumbnails": [
{
"content_type": "<string>",
"content_url": "<string>",
"deleted": "<boolean>",
"file_name": "<string>",
"height": "<string>",
"id": "<integer>",
"inline": "<boolean>",
"malware_access_override": "<boolean>",
"malware_scan_result": "<string>",
"mapped_content_url": "<string>",
"size": "<integer>",
"url": "<string>",
"width": "<string>"
},
{
"content_type": "<string>",
"content_url": "<string>",
"deleted": "<boolean>",
"file_name": "<string>",
"height": "<string>",
"id": "<integer>",
"inline": "<boolean>",
"malware_access_override": "<boolean>",
"malware_scan_result": "<string>",
"mapped_content_url": "<string>",
"size": "<integer>",
"url": "<string>",
"width": "<string>"
}
]
},
{
"content_type": "<string>",
"content_url": "<string>",
"deleted": "<boolean>",
"file_name": "<string>",
"height": "<string>",
"id": "<integer>",
"inline": "<boolean>",
"malware_access_override": "<boolean>",
"malware_scan_result": "<string>",
"mapped_content_url": "<string>",
"size": "<integer>",
"url": "<string>",
"width": "<string>",
"thumbnails": [
{
"content_type": "<string>",
"content_url": "<string>",
"deleted": "<boolean>",
"file_name": "<string>",
"height": "<string>",
"id": "<integer>",
"inline": "<boolean>",
"malware_access_override": "<boolean>",
"malware_scan_result": "<string>",
"mapped_content_url": "<string>",
"size": "<integer>",
"url": "<string>",
"width": "<string>"
},
{
"content_type": "<string>",
"content_url": "<string>",
"deleted": "<boolean>",
"file_name": "<string>",
"height": "<string>",
"id": "<integer>",
"inline": "<boolean>",
"malware_access_override": "<boolean>",
"malware_scan_result": "<string>",
"mapped_content_url": "<string>",
"size": "<integer>",
"url": "<string>",
"width": "<string>"
}
]
}
],
"audit_id": "<integer>",
"author_id": "<integer>",
"body": "<string>",
"created_at": "<dateTime>",
"html_body": "<string>",
"id": "<integer>",
"metadata": {
"est49": true,
"Ut_9": 31888260.42276767,
"quis_46_": 51904738
},
"plain_body": "<string>",
"public": "<boolean>",
"type": "<string>",
"uploads": [
"<string>",
"<string>"
],
"via": {
"channel": "<string>",
"source": {
"commodoa03": false
}
}
},
{
"value": "<string>",
"attachments": [
{
"content_type": "<string>",
"content_url": "<string>",
"deleted": "<boolean>",
"file_name": "<string>",
"height": "<string>",
"id": "<integer>",
"inline": "<boolean>",
"malware_access_override": "<boolean>",
"malware_scan_result": "<string>",
"mapped_content_url": "<string>",
"size": "<integer>",
"url": "<string>",
"width": "<string>",
"thumbnails": [
{
"content_type": "<string>",
"content_url": "<string>",
"deleted": "<boolean>",
"file_name": "<string>",
"height": "<string>",
"id": "<integer>",
"inline": "<boolean>",
"malware_access_override": "<boolean>",
"malware_scan_result": "<string>",
"mapped_content_url": "<string>",
"size": "<integer>",
"url": "<string>",
"width": "<string>"
},
{
"content_type": "<string>",
"content_url": "<string>",
"deleted": "<boolean>",
"file_name": "<string>",
"height": "<string>",
"id": "<integer>",
"inline": "<boolean>",
"malware_access_override": "<boolean>",
"malware_scan_result": "<string>",
"mapped_content_url": "<string>",
"size": "<integer>",
"url": "<string>",
"width": "<string>"
}
]
},
{
"content_type": "<string>",
"content_url": "<string>",
"deleted": "<boolean>",
"file_name": "<string>",
"height": "<string>",
"id": "<integer>",
"inline": "<boolean>",
"malware_access_override": "<boolean>",
"malware_scan_result": "<string>",
"mapped_content_url": "<string>",
"size": "<integer>",
"url": "<string>",
"width": "<string>",
"thumbnails": [
{
"content_type": "<string>",
"content_url": "<string>",
"deleted": "<boolean>",
"file_name": "<string>",
"height": "<string>",
"id": "<integer>",
"inline": "<boolean>",
"malware_access_override": "<boolean>",
"malware_scan_result": "<string>",
"mapped_content_url": "<string>",
"size": "<integer>",
"url": "<string>",
"width": "<string>"
},
{
"content_type": "<string>",
"content_url": "<string>",
"deleted": "<boolean>",
"file_name": "<string>",
"height": "<string>",
"id": "<integer>",
"inline": "<boolean>",
"malware_access_override": "<boolean>",
"malware_scan_result": "<string>",
"mapped_content_url": "<string>",
"size": "<integer>",
"url": "<string>",
"width": "<string>"
}
]
}
],
"audit_id": "<integer>",
"author_id": "<integer>",
"body": "<string>",
"created_at": "<dateTime>",
"html_body": "<string>",
"id": "<integer>",
"metadata": {
"deserunt_98": "dolore labore quis",
"proident4": true
},
"plain_body": "<string>",
"public": "<boolean>",
"type": "<string>",
"uploads": [
"<string>",
"<string>"
],
"via": {
"channel": "<string>",
"source": {
"sunt13": "qui eiusmod",
"proident_c27": "cillum ea nisi qui",
"Excepteur_7": -87227930.77827667,
"officia_18": "exercitation in adipisicing do"
}
}
}
],
"description": "<string>",
"requester_id": "<integer>",
"subject": "<string>",
"tags": [
"<string>",
"<string>"
]
},
{
"assignee_id": "<integer>",
"comments": [
{
"value": "<string>",
"attachments": [
{
"content_type": "<string>",
"content_url": "<string>",
"deleted": "<boolean>",
"file_name": "<string>",
"height": "<string>",
"id": "<integer>",
"inline": "<boolean>",
"malware_access_override": "<boolean>",
"malware_scan_result": "<string>",
"mapped_content_url": "<string>",
"size": "<integer>",
"url": "<string>",
"width": "<string>",
"thumbnails": [
{
"content_type": "<string>",
"content_url": "<string>",
"deleted": "<boolean>",
"file_name": "<string>",
"height": "<string>",
"id": "<integer>",
"inline": "<boolean>",
"malware_access_override": "<boolean>",
"malware_scan_result": "<string>",
"mapped_content_url": "<string>",
"size": "<integer>",
"url": "<string>",
"width": "<string>"
},
{
"content_type": "<string>",
"content_url": "<string>",
"deleted": "<boolean>",
"file_name": "<string>",
"height": "<string>",
"id": "<integer>",
"inline": "<boolean>",
"malware_access_override": "<boolean>",
"malware_scan_result": "<string>",
"mapped_content_url": "<string>",
"size": "<integer>",
"url": "<string>",
"width": "<string>"
}
]
},
{
"content_type": "<string>",
"content_url": "<string>",
"deleted": "<boolean>",
"file_name": "<string>",
"height": "<string>",
"id": "<integer>",
"inline": "<boolean>",
"malware_access_override": "<boolean>",
"malware_scan_result": "<string>",
"mapped_content_url": "<string>",
"size": "<integer>",
"url": "<string>",
"width": "<string>",
"thumbnails": [
{
"content_type": "<string>",
"content_url": "<string>",
"deleted": "<boolean>",
"file_name": "<string>",
"height": "<string>",
"id": "<integer>",
"inline": "<boolean>",
"malware_access_override": "<boolean>",
"malware_scan_result": "<string>",
"mapped_content_url": "<string>",
"size": "<integer>",
"url": "<string>",
"width": "<string>"
},
{
"content_type": "<string>",
"content_url": "<string>",
"deleted": "<boolean>",
"file_name": "<string>",
"height": "<string>",
"id": "<integer>",
"inline": "<boolean>",
"malware_access_override": "<boolean>",
"malware_scan_result": "<string>",
"mapped_content_url": "<string>",
"size": "<integer>",
"url": "<string>",
"width": "<string>"
}
]
}
],
"audit_id": "<integer>",
"author_id": "<integer>",
"body": "<string>",
"created_at": "<dateTime>",
"html_body": "<string>",
"id": "<integer>",
"metadata": {
"Excepteurd24": false
},
"plain_body": "<string>",
"public": "<boolean>",
"type": "<string>",
"uploads": [
"<string>",
"<string>"
],
"via": {
"channel": "<string>",
"source": {
"laboris6": true
}
}
},
{
"value": "<string>",
"attachments": [
{
"content_type": "<string>",
"content_url": "<string>",
"deleted": "<boolean>",
"file_name": "<string>",
"height": "<string>",
"id": "<integer>",
"inline": "<boolean>",
"malware_access_override": "<boolean>",
"malware_scan_result": "<string>",
"mapped_content_url": "<string>",
"size": "<integer>",
"url": "<string>",
"width": "<string>",
"thumbnails": [
{
"content_type": "<string>",
"content_url": "<string>",
"deleted": "<boolean>",
"file_name": "<string>",
"height": "<string>",
"id": "<integer>",
"inline": "<boolean>",
"malware_access_override": "<boolean>",
"malware_scan_result": "<string>",
"mapped_content_url": "<string>",
"size": "<integer>",
"url": "<string>",
"width": "<string>"
},
{
"content_type": "<string>",
"content_url": "<string>",
"deleted": "<boolean>",
"file_name": "<string>",
"height": "<string>",
"id": "<integer>",
"inline": "<boolean>",
"malware_access_override": "<boolean>",
"malware_scan_result": "<string>",
"mapped_content_url": "<string>",
"size": "<integer>",
"url": "<string>",
"width": "<string>"
}
]
},
{
"content_type": "<string>",
"content_url": "<string>",
"deleted": "<boolean>",
"file_name": "<string>",
"height": "<string>",
"id": "<integer>",
"inline": "<boolean>",
"malware_access_override": "<boolean>",
"malware_scan_result": "<string>",
"mapped_content_url": "<string>",
"size": "<integer>",
"url": "<string>",
"width": "<string>",
"thumbnails": [
{
"content_type": "<string>",
"content_url": "<string>",
"deleted": "<boolean>",
"file_name": "<string>",
"height": "<string>",
"id": "<integer>",
"inline": "<boolean>",
"malware_access_override": "<boolean>",
"malware_scan_result": "<string>",
"mapped_content_url": "<string>",
"size": "<integer>",
"url": "<string>",
"width": "<string>"
},
{
"content_type": "<string>",
"content_url": "<string>",
"deleted": "<boolean>",
"file_name": "<string>",
"height": "<string>",
"id": "<integer>",
"inline": "<boolean>",
"malware_access_override": "<boolean>",
"malware_scan_result": "<string>",
"mapped_content_url": "<string>",
"size": "<integer>",
"url": "<string>",
"width": "<string>"
}
]
}
],
"audit_id": "<integer>",
"author_id": "<integer>",
"body": "<string>",
"created_at": "<dateTime>",
"html_body": "<string>",
"id": "<integer>",
"metadata": {
"eu_2": "irure mollit nostrud",
"commodo_9": true,
"Duisd18": false
},
"plain_body": "<string>",
"public": "<boolean>",
"type": "<string>",
"uploads": [
"<string>",
"<string>"
],
"via": {
"channel": "<string>",
"source": {
"non_e": -89999146.24756724,
"ut_88": 65824663.58327252
}
}
}
],
"description": "<string>",
"requester_id": "<integer>",
"subject": "<string>",
"tags": [
"<string>",
"<string>"
]
}
]
}'
https://example.zendesk.com/api/v2/imports/tickets/create_many?archive_immediately=<boolean>
Postman Collection Item JSON
{
"name": "Ticket Bulk Import",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"tickets\": [\n {\n \"assignee_id\": \"<integer>\",\n \"comments\": [\n {\n \"value\": \"<string>\",\n \"attachments\": [\n {\n \"content_type\": \"<string>\",\n \"content_url\": \"<string>\",\n \"deleted\": \"<boolean>\",\n \"file_name\": \"<string>\",\n \"height\": \"<string>\",\n \"id\": \"<integer>\",\n \"inline\": \"<boolean>\",\n \"malware_access_override\": \"<boolean>\",\n \"malware_scan_result\": \"<string>\",\n \"mapped_content_url\": \"<string>\",\n \"size\": \"<integer>\",\n \"url\": \"<string>\",\n \"width\": \"<string>\",\n \"thumbnails\": [\n {\n \"content_type\": \"<string>\",\n \"content_url\": \"<string>\",\n \"deleted\": \"<boolean>\",\n \"file_name\": \"<string>\",\n \"height\": \"<string>\",\n \"id\": \"<integer>\",\n \"inline\": \"<boolean>\",\n \"malware_access_override\": \"<boolean>\",\n \"malware_scan_result\": \"<string>\",\n \"mapped_content_url\": \"<string>\",\n \"size\": \"<integer>\",\n \"url\": \"<string>\",\n \"width\": \"<string>\"\n },\n {\n \"content_type\": \"<string>\",\n \"content_url\": \"<string>\",\n \"deleted\": \"<boolean>\",\n \"file_name\": \"<string>\",\n \"height\": \"<string>\",\n \"id\": \"<integer>\",\n \"inline\": \"<boolean>\",\n \"malware_access_override\": \"<boolean>\",\n \"malware_scan_result\": \"<string>\",\n \"mapped_content_url\": \"<string>\",\n \"size\": \"<integer>\",\n \"url\": \"<string>\",\n \"width\": \"<string>\"\n }\n ]\n },\n {\n \"content_type\": \"<string>\",\n \"content_url\": \"<string>\",\n \"deleted\": \"<boolean>\",\n \"file_name\": \"<string>\",\n \"height\": \"<string>\",\n \"id\": \"<integer>\",\n \"inline\": \"<boolean>\",\n \"malware_access_override\": \"<boolean>\",\n \"malware_scan_result\": \"<string>\",\n \"mapped_content_url\": \"<string>\",\n \"size\": \"<integer>\",\n \"url\": \"<string>\",\n \"width\": \"<string>\",\n \"thumbnails\": [\n {\n \"content_type\": \"<string>\",\n \"content_url\": \"<string>\",\n \"deleted\": \"<boolean>\",\n \"file_name\": \"<string>\",\n \"height\": \"<string>\",\n \"id\": \"<integer>\",\n \"inline\": \"<boolean>\",\n \"malware_access_override\": \"<boolean>\",\n \"malware_scan_result\": \"<string>\",\n \"mapped_content_url\": \"<string>\",\n \"size\": \"<integer>\",\n \"url\": \"<string>\",\n \"width\": \"<string>\"\n },\n {\n \"content_type\": \"<string>\",\n \"content_url\": \"<string>\",\n \"deleted\": \"<boolean>\",\n \"file_name\": \"<string>\",\n \"height\": \"<string>\",\n \"id\": \"<integer>\",\n \"inline\": \"<boolean>\",\n \"malware_access_override\": \"<boolean>\",\n \"malware_scan_result\": \"<string>\",\n \"mapped_content_url\": \"<string>\",\n \"size\": \"<integer>\",\n \"url\": \"<string>\",\n \"width\": \"<string>\"\n }\n ]\n }\n ],\n \"audit_id\": \"<integer>\",\n \"author_id\": \"<integer>\",\n \"body\": \"<string>\",\n \"created_at\": \"<dateTime>\",\n \"html_body\": \"<string>\",\n \"id\": \"<integer>\",\n \"metadata\": {\n \"est49\": true,\n \"Ut_9\": 31888260.42276767,\n \"quis_46_\": 51904738\n },\n \"plain_body\": \"<string>\",\n \"public\": \"<boolean>\",\n \"type\": \"<string>\",\n \"uploads\": [\n \"<string>\",\n \"<string>\"\n ],\n \"via\": {\n \"channel\": \"<string>\",\n \"source\": {\n \"commodoa03\": false\n }\n }\n },\n {\n \"value\": \"<string>\",\n \"attachments\": [\n {\n \"content_type\": \"<string>\",\n \"content_url\": \"<string>\",\n \"deleted\": \"<boolean>\",\n \"file_name\": \"<string>\",\n \"height\": \"<string>\",\n \"id\": \"<integer>\",\n \"inline\": \"<boolean>\",\n \"malware_access_override\": \"<boolean>\",\n \"malware_scan_result\": \"<string>\",\n \"mapped_content_url\": \"<string>\",\n \"size\": \"<integer>\",\n \"url\": \"<string>\",\n \"width\": \"<string>\",\n \"thumbnails\": [\n {\n \"content_type\": \"<string>\",\n \"content_url\": \"<string>\",\n \"deleted\": \"<boolean>\",\n \"file_name\": \"<string>\",\n \"height\": \"<string>\",\n \"id\": \"<integer>\",\n \"inline\": \"<boolean>\",\n \"malware_access_override\": \"<boolean>\",\n \"malware_scan_result\": \"<string>\",\n \"mapped_content_url\": \"<string>\",\n \"size\": \"<integer>\",\n \"url\": \"<string>\",\n \"width\": \"<string>\"\n },\n {\n \"content_type\": \"<string>\",\n \"content_url\": \"<string>\",\n \"deleted\": \"<boolean>\",\n \"file_name\": \"<string>\",\n \"height\": \"<string>\",\n \"id\": \"<integer>\",\n \"inline\": \"<boolean>\",\n \"malware_access_override\": \"<boolean>\",\n \"malware_scan_result\": \"<string>\",\n \"mapped_content_url\": \"<string>\",\n \"size\": \"<integer>\",\n \"url\": \"<string>\",\n \"width\": \"<string>\"\n }\n ]\n },\n {\n \"content_type\": \"<string>\",\n \"content_url\": \"<string>\",\n \"deleted\": \"<boolean>\",\n \"file_name\": \"<string>\",\n \"height\": \"<string>\",\n \"id\": \"<integer>\",\n \"inline\": \"<boolean>\",\n \"malware_access_override\": \"<boolean>\",\n \"malware_scan_result\": \"<string>\",\n \"mapped_content_url\": \"<string>\",\n \"size\": \"<integer>\",\n \"url\": \"<string>\",\n \"width\": \"<string>\",\n \"thumbnails\": [\n {\n \"content_type\": \"<string>\",\n \"content_url\": \"<string>\",\n \"deleted\": \"<boolean>\",\n \"file_name\": \"<string>\",\n \"height\": \"<string>\",\n \"id\": \"<integer>\",\n \"inline\": \"<boolean>\",\n \"malware_access_override\": \"<boolean>\",\n \"malware_scan_result\": \"<string>\",\n \"mapped_content_url\": \"<string>\",\n \"size\": \"<integer>\",\n \"url\": \"<string>\",\n \"width\": \"<string>\"\n },\n {\n \"content_type\": \"<string>\",\n \"content_url\": \"<string>\",\n \"deleted\": \"<boolean>\",\n \"file_name\": \"<string>\",\n \"height\": \"<string>\",\n \"id\": \"<integer>\",\n \"inline\": \"<boolean>\",\n \"malware_access_override\": \"<boolean>\",\n \"malware_scan_result\": \"<string>\",\n \"mapped_content_url\": \"<string>\",\n \"size\": \"<integer>\",\n \"url\": \"<string>\",\n \"width\": \"<string>\"\n }\n ]\n }\n ],\n \"audit_id\": \"<integer>\",\n \"author_id\": \"<integer>\",\n \"body\": \"<string>\",\n \"created_at\": \"<dateTime>\",\n \"html_body\": \"<string>\",\n \"id\": \"<integer>\",\n \"metadata\": {\n \"deserunt_98\": \"dolore labore quis\",\n \"proident4\": true\n },\n \"plain_body\": \"<string>\",\n \"public\": \"<boolean>\",\n \"type\": \"<string>\",\n \"uploads\": [\n \"<string>\",\n \"<string>\"\n ],\n \"via\": {\n \"channel\": \"<string>\",\n \"source\": {\n \"sunt13\": \"qui eiusmod\",\n \"proident_c27\": \"cillum ea nisi qui\",\n \"Excepteur_7\": -87227930.77827667,\n \"officia_18\": \"exercitation in adipisicing do\"\n }\n }\n }\n ],\n \"description\": \"<string>\",\n \"requester_id\": \"<integer>\",\n \"subject\": \"<string>\",\n \"tags\": [\n \"<string>\",\n \"<string>\"\n ]\n },\n {\n \"assignee_id\": \"<integer>\",\n \"comments\": [\n {\n \"value\": \"<string>\",\n \"attachments\": [\n {\n \"content_type\": \"<string>\",\n \"content_url\": \"<string>\",\n \"deleted\": \"<boolean>\",\n \"file_name\": \"<string>\",\n \"height\": \"<string>\",\n \"id\": \"<integer>\",\n \"inline\": \"<boolean>\",\n \"malware_access_override\": \"<boolean>\",\n \"malware_scan_result\": \"<string>\",\n \"mapped_content_url\": \"<string>\",\n \"size\": \"<integer>\",\n \"url\": \"<string>\",\n \"width\": \"<string>\",\n \"thumbnails\": [\n {\n \"content_type\": \"<string>\",\n \"content_url\": \"<string>\",\n \"deleted\": \"<boolean>\",\n \"file_name\": \"<string>\",\n \"height\": \"<string>\",\n \"id\": \"<integer>\",\n \"inline\": \"<boolean>\",\n \"malware_access_override\": \"<boolean>\",\n \"malware_scan_result\": \"<string>\",\n \"mapped_content_url\": \"<string>\",\n \"size\": \"<integer>\",\n \"url\": \"<string>\",\n \"width\": \"<string>\"\n },\n {\n \"content_type\": \"<string>\",\n \"content_url\": \"<string>\",\n \"deleted\": \"<boolean>\",\n \"file_name\": \"<string>\",\n \"height\": \"<string>\",\n \"id\": \"<integer>\",\n \"inline\": \"<boolean>\",\n \"malware_access_override\": \"<boolean>\",\n \"malware_scan_result\": \"<string>\",\n \"mapped_content_url\": \"<string>\",\n \"size\": \"<integer>\",\n \"url\": \"<string>\",\n \"width\": \"<string>\"\n }\n ]\n },\n {\n \"content_type\": \"<string>\",\n \"content_url\": \"<string>\",\n \"deleted\": \"<boolean>\",\n \"file_name\": \"<string>\",\n \"height\": \"<string>\",\n \"id\": \"<integer>\",\n \"inline\": \"<boolean>\",\n \"malware_access_override\": \"<boolean>\",\n \"malware_scan_result\": \"<string>\",\n \"mapped_content_url\": \"<string>\",\n \"size\": \"<integer>\",\n \"url\": \"<string>\",\n \"width\": \"<string>\",\n \"thumbnails\": [\n {\n \"content_type\": \"<string>\",\n \"content_url\": \"<string>\",\n \"deleted\": \"<boolean>\",\n \"file_name\": \"<string>\",\n \"height\": \"<string>\",\n \"id\": \"<integer>\",\n \"inline\": \"<boolean>\",\n \"malware_access_override\": \"<boolean>\",\n \"malware_scan_result\": \"<string>\",\n \"mapped_content_url\": \"<string>\",\n \"size\": \"<integer>\",\n \"url\": \"<string>\",\n \"width\": \"<string>\"\n },\n {\n \"content_type\": \"<string>\",\n \"content_url\": \"<string>\",\n \"deleted\": \"<boolean>\",\n \"file_name\": \"<string>\",\n \"height\": \"<string>\",\n \"id\": \"<integer>\",\n \"inline\": \"<boolean>\",\n \"malware_access_override\": \"<boolean>\",\n \"malware_scan_result\": \"<string>\",\n \"mapped_content_url\": \"<string>\",\n \"size\": \"<integer>\",\n \"url\": \"<string>\",\n \"width\": \"<string>\"\n }\n ]\n }\n ],\n \"audit_id\": \"<integer>\",\n \"author_id\": \"<integer>\",\n \"body\": \"<string>\",\n \"created_at\": \"<dateTime>\",\n \"html_body\": \"<string>\",\n \"id\": \"<integer>\",\n \"metadata\": {\n \"Excepteurd24\": false\n },\n \"plain_body\": \"<string>\",\n \"public\": \"<boolean>\",\n \"type\": \"<string>\",\n \"uploads\": [\n \"<string>\",\n \"<string>\"\n ],\n \"via\": {\n \"channel\": \"<string>\",\n \"source\": {\n \"laboris6\": true\n }\n }\n },\n {\n \"value\": \"<string>\",\n \"attachments\": [\n {\n \"content_type\": \"<string>\",\n \"content_url\": \"<string>\",\n \"deleted\": \"<boolean>\",\n \"file_name\": \"<string>\",\n \"height\": \"<string>\",\n \"id\": \"<integer>\",\n \"inline\": \"<boolean>\",\n \"malware_access_override\": \"<boolean>\",\n \"malware_scan_result\": \"<string>\",\n \"mapped_content_url\": \"<string>\",\n \"size\": \"<integer>\",\n \"url\": \"<string>\",\n \"width\": \"<string>\",\n \"thumbnails\": [\n {\n \"content_type\": \"<string>\",\n \"content_url\": \"<string>\",\n \"deleted\": \"<boolean>\",\n \"file_name\": \"<string>\",\n \"height\": \"<string>\",\n \"id\": \"<integer>\",\n \"inline\": \"<boolean>\",\n \"malware_access_override\": \"<boolean>\",\n \"malware_scan_result\": \"<string>\",\n \"mapped_content_url\": \"<string>\",\n \"size\": \"<integer>\",\n \"url\": \"<string>\",\n \"width\": \"<string>\"\n },\n {\n \"content_type\": \"<string>\",\n \"content_url\": \"<string>\",\n \"deleted\": \"<boolean>\",\n \"file_name\": \"<string>\",\n \"height\": \"<string>\",\n \"id\": \"<integer>\",\n \"inline\": \"<boolean>\",\n \"malware_access_override\": \"<boolean>\",\n \"malware_scan_result\": \"<string>\",\n \"mapped_content_url\": \"<string>\",\n \"size\": \"<integer>\",\n \"url\": \"<string>\",\n \"width\": \"<string>\"\n }\n ]\n },\n {\n \"content_type\": \"<string>\",\n \"content_url\": \"<string>\",\n \"deleted\": \"<boolean>\",\n \"file_name\": \"<string>\",\n \"height\": \"<string>\",\n \"id\": \"<integer>\",\n \"inline\": \"<boolean>\",\n \"malware_access_override\": \"<boolean>\",\n \"malware_scan_result\": \"<string>\",\n \"mapped_content_url\": \"<string>\",\n \"size\": \"<integer>\",\n \"url\": \"<string>\",\n \"width\": \"<string>\",\n \"thumbnails\": [\n {\n \"content_type\": \"<string>\",\n \"content_url\": \"<string>\",\n \"deleted\": \"<boolean>\",\n \"file_name\": \"<string>\",\n \"height\": \"<string>\",\n \"id\": \"<integer>\",\n \"inline\": \"<boolean>\",\n \"malware_access_override\": \"<boolean>\",\n \"malware_scan_result\": \"<string>\",\n \"mapped_content_url\": \"<string>\",\n \"size\": \"<integer>\",\n \"url\": \"<string>\",\n \"width\": \"<string>\"\n },\n {\n \"content_type\": \"<string>\",\n \"content_url\": \"<string>\",\n \"deleted\": \"<boolean>\",\n \"file_name\": \"<string>\",\n \"height\": \"<string>\",\n \"id\": \"<integer>\",\n \"inline\": \"<boolean>\",\n \"malware_access_override\": \"<boolean>\",\n \"malware_scan_result\": \"<string>\",\n \"mapped_content_url\": \"<string>\",\n \"size\": \"<integer>\",\n \"url\": \"<string>\",\n \"width\": \"<string>\"\n }\n ]\n }\n ],\n \"audit_id\": \"<integer>\",\n \"author_id\": \"<integer>\",\n \"body\": \"<string>\",\n \"created_at\": \"<dateTime>\",\n \"html_body\": \"<string>\",\n \"id\": \"<integer>\",\n \"metadata\": {\n \"eu_2\": \"irure mollit nostrud\",\n \"commodo_9\": true,\n \"Duisd18\": false\n },\n \"plain_body\": \"<string>\",\n \"public\": \"<boolean>\",\n \"type\": \"<string>\",\n \"uploads\": [\n \"<string>\",\n \"<string>\"\n ],\n \"via\": {\n \"channel\": \"<string>\",\n \"source\": {\n \"non_e\": -89999146.24756724,\n \"ut_88\": 65824663.58327252\n }\n }\n }\n ],\n \"description\": \"<string>\",\n \"requester_id\": \"<integer>\",\n \"subject\": \"<string>\",\n \"tags\": [\n \"<string>\",\n \"<string>\"\n ]\n }\n ]\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/api/v2/imports/tickets/create_many?archive_immediately=<boolean>",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"v2",
"imports",
"tickets",
"create_many"
],
"query": [
{
"key": "archive_immediately",
"value": "<boolean>",
"description": "If `true`, any ticket created with a `closed` status bypasses the normal ticket lifecycle and will be created directly in your ticket archive"
}
]
},
"description": "Accepts an array of up to 100 ticket objects.\n\n#### Allowed For\n\n* Admins"
},
"response": [
{
"name": "Successful response",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: basic",
"key": "Authorization",
"value": "Basic <credentials>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"tickets\": [\n {\n \"assignee_id\": \"<integer>\",\n \"comments\": [\n {\n \"value\": \"<string>\",\n \"attachments\": [\n {\n \"content_type\": \"<string>\",\n \"content_url\": \"<string>\",\n \"deleted\": \"<boolean>\",\n \"file_name\": \"<string>\",\n \"height\": \"<string>\",\n \"id\": \"<integer>\",\n \"inline\": \"<boolean>\",\n \"malware_access_override\": \"<boolean>\",\n \"malware_scan_result\": \"<string>\",\n \"mapped_content_url\": \"<string>\",\n \"size\": \"<integer>\",\n \"url\": \"<string>\",\n \"width\": \"<string>\",\n \"thumbnails\": [\n {\n \"content_type\": \"<string>\",\n \"content_url\": \"<string>\",\n \"deleted\": \"<boolean>\",\n \"file_name\": \"<string>\",\n \"height\": \"<string>\",\n \"id\": \"<integer>\",\n \"inline\": \"<boolean>\",\n \"malware_access_override\": \"<boolean>\",\n \"malware_scan_result\": \"<string>\",\n \"mapped_content_url\": \"<string>\",\n \"size\": \"<integer>\",\n \"url\": \"<string>\",\n \"width\": \"<string>\"\n },\n {\n \"content_type\": \"<string>\",\n \"content_url\": \"<string>\",\n \"deleted\": \"<boolean>\",\n \"file_name\": \"<string>\",\n \"height\": \"<string>\",\n \"id\": \"<integer>\",\n \"inline\": \"<boolean>\",\n \"malware_access_override\": \"<boolean>\",\n \"malware_scan_result\": \"<string>\",\n \"mapped_content_url\": \"<string>\",\n \"size\": \"<integer>\",\n \"url\": \"<string>\",\n \"width\": \"<string>\"\n }\n ]\n },\n {\n \"content_type\": \"<string>\",\n \"content_url\": \"<string>\",\n \"deleted\": \"<boolean>\",\n \"file_name\": \"<string>\",\n \"height\": \"<string>\",\n \"id\": \"<integer>\",\n \"inline\": \"<boolean>\",\n \"malware_access_override\": \"<boolean>\",\n \"malware_scan_result\": \"<string>\",\n \"mapped_content_url\": \"<string>\",\n \"size\": \"<integer>\",\n \"url\": \"<string>\",\n \"width\": \"<string>\",\n \"thumbnails\": [\n {\n \"content_type\": \"<string>\",\n \"content_url\": \"<string>\",\n \"deleted\": \"<boolean>\",\n \"file_name\": \"<string>\",\n \"height\": \"<string>\",\n \"id\": \"<integer>\",\n \"inline\": \"<boolean>\",\n \"malware_access_override\": \"<boolean>\",\n \"malware_scan_result\": \"<string>\",\n \"mapped_content_url\": \"<string>\",\n \"size\": \"<integer>\",\n \"url\": \"<string>\",\n \"width\": \"<string>\"\n },\n {\n \"content_type\": \"<string>\",\n \"content_url\": \"<string>\",\n \"deleted\": \"<boolean>\",\n \"file_name\": \"<string>\",\n \"height\": \"<string>\",\n \"id\": \"<integer>\",\n \"inline\": \"<boolean>\",\n \"malware_access_override\": \"<boolean>\",\n \"malware_scan_result\": \"<string>\",\n \"mapped_content_url\": \"<string>\",\n \"size\": \"<integer>\",\n \"url\": \"<string>\",\n \"width\": \"<string>\"\n }\n ]\n }\n ],\n \"audit_id\": \"<integer>\",\n \"author_id\": \"<integer>\",\n \"body\": \"<string>\",\n \"created_at\": \"<dateTime>\",\n \"html_body\": \"<string>\",\n \"id\": \"<integer>\",\n \"metadata\": {\n \"est49\": true,\n \"Ut_9\": 31888260.42276767,\n \"quis_46_\": 51904738\n },\n \"plain_body\": \"<string>\",\n \"public\": \"<boolean>\",\n \"type\": \"<string>\",\n \"uploads\": [\n \"<string>\",\n \"<string>\"\n ],\n \"via\": {\n \"channel\": \"<string>\",\n \"source\": {\n \"commodoa03\": false\n }\n }\n },\n {\n \"value\": \"<string>\",\n \"attachments\": [\n {\n \"content_type\": \"<string>\",\n \"content_url\": \"<string>\",\n \"deleted\": \"<boolean>\",\n \"file_name\": \"<string>\",\n \"height\": \"<string>\",\n \"id\": \"<integer>\",\n \"inline\": \"<boolean>\",\n \"malware_access_override\": \"<boolean>\",\n \"malware_scan_result\": \"<string>\",\n \"mapped_content_url\": \"<string>\",\n \"size\": \"<integer>\",\n \"url\": \"<string>\",\n \"width\": \"<string>\",\n \"thumbnails\": [\n {\n \"content_type\": \"<string>\",\n \"content_url\": \"<string>\",\n \"deleted\": \"<boolean>\",\n \"file_name\": \"<string>\",\n \"height\": \"<string>\",\n \"id\": \"<integer>\",\n \"inline\": \"<boolean>\",\n \"malware_access_override\": \"<boolean>\",\n \"malware_scan_result\": \"<string>\",\n \"mapped_content_url\": \"<string>\",\n \"size\": \"<integer>\",\n \"url\": \"<string>\",\n \"width\": \"<string>\"\n },\n {\n \"content_type\": \"<string>\",\n \"content_url\": \"<string>\",\n \"deleted\": \"<boolean>\",\n \"file_name\": \"<string>\",\n \"height\": \"<string>\",\n \"id\": \"<integer>\",\n \"inline\": \"<boolean>\",\n \"malware_access_override\": \"<boolean>\",\n \"malware_scan_result\": \"<string>\",\n \"mapped_content_url\": \"<string>\",\n \"size\": \"<integer>\",\n \"url\": \"<string>\",\n \"width\": \"<string>\"\n }\n ]\n },\n {\n \"content_type\": \"<string>\",\n \"content_url\": \"<string>\",\n \"deleted\": \"<boolean>\",\n \"file_name\": \"<string>\",\n \"height\": \"<string>\",\n \"id\": \"<integer>\",\n \"inline\": \"<boolean>\",\n \"malware_access_override\": \"<boolean>\",\n \"malware_scan_result\": \"<string>\",\n \"mapped_content_url\": \"<string>\",\n \"size\": \"<integer>\",\n \"url\": \"<string>\",\n \"width\": \"<string>\",\n \"thumbnails\": [\n {\n \"content_type\": \"<string>\",\n \"content_url\": \"<string>\",\n \"deleted\": \"<boolean>\",\n \"file_name\": \"<string>\",\n \"height\": \"<string>\",\n \"id\": \"<integer>\",\n \"inline\": \"<boolean>\",\n \"malware_access_override\": \"<boolean>\",\n \"malware_scan_result\": \"<string>\",\n \"mapped_content_url\": \"<string>\",\n \"size\": \"<integer>\",\n \"url\": \"<string>\",\n \"width\": \"<string>\"\n },\n {\n \"content_type\": \"<string>\",\n \"content_url\": \"<string>\",\n \"deleted\": \"<boolean>\",\n \"file_name\": \"<string>\",\n \"height\": \"<string>\",\n \"id\": \"<integer>\",\n \"inline\": \"<boolean>\",\n \"malware_access_override\": \"<boolean>\",\n \"malware_scan_result\": \"<string>\",\n \"mapped_content_url\": \"<string>\",\n \"size\": \"<integer>\",\n \"url\": \"<string>\",\n \"width\": \"<string>\"\n }\n ]\n }\n ],\n \"audit_id\": \"<integer>\",\n \"author_id\": \"<integer>\",\n \"body\": \"<string>\",\n \"created_at\": \"<dateTime>\",\n \"html_body\": \"<string>\",\n \"id\": \"<integer>\",\n \"metadata\": {\n \"deserunt_98\": \"dolore labore quis\",\n \"proident4\": true\n },\n \"plain_body\": \"<string>\",\n \"public\": \"<boolean>\",\n \"type\": \"<string>\",\n \"uploads\": [\n \"<string>\",\n \"<string>\"\n ],\n \"via\": {\n \"channel\": \"<string>\",\n \"source\": {\n \"sunt13\": \"qui eiusmod\",\n \"proident_c27\": \"cillum ea nisi qui\",\n \"Excepteur_7\": -87227930.77827667,\n \"officia_18\": \"exercitation in adipisicing do\"\n }\n }\n }\n ],\n \"description\": \"<string>\",\n \"requester_id\": \"<integer>\",\n \"subject\": \"<string>\",\n \"tags\": [\n \"<string>\",\n \"<string>\"\n ]\n },\n {\n \"assignee_id\": \"<integer>\",\n \"comments\": [\n {\n \"value\": \"<string>\",\n \"attachments\": [\n {\n \"content_type\": \"<string>\",\n \"content_url\": \"<string>\",\n \"deleted\": \"<boolean>\",\n \"file_name\": \"<string>\",\n \"height\": \"<string>\",\n \"id\": \"<integer>\",\n \"inline\": \"<boolean>\",\n \"malware_access_override\": \"<boolean>\",\n \"malware_scan_result\": \"<string>\",\n \"mapped_content_url\": \"<string>\",\n \"size\": \"<integer>\",\n \"url\": \"<string>\",\n \"width\": \"<string>\",\n \"thumbnails\": [\n {\n \"content_type\": \"<string>\",\n \"content_url\": \"<string>\",\n \"deleted\": \"<boolean>\",\n \"file_name\": \"<string>\",\n \"height\": \"<string>\",\n \"id\": \"<integer>\",\n \"inline\": \"<boolean>\",\n \"malware_access_override\": \"<boolean>\",\n \"malware_scan_result\": \"<string>\",\n \"mapped_content_url\": \"<string>\",\n \"size\": \"<integer>\",\n \"url\": \"<string>\",\n \"width\": \"<string>\"\n },\n {\n \"content_type\": \"<string>\",\n \"content_url\": \"<string>\",\n \"deleted\": \"<boolean>\",\n \"file_name\": \"<string>\",\n \"height\": \"<string>\",\n \"id\": \"<integer>\",\n \"inline\": \"<boolean>\",\n \"malware_access_override\": \"<boolean>\",\n \"malware_scan_result\": \"<string>\",\n \"mapped_content_url\": \"<string>\",\n \"size\": \"<integer>\",\n \"url\": \"<string>\",\n \"width\": \"<string>\"\n }\n ]\n },\n {\n \"content_type\": \"<string>\",\n \"content_url\": \"<string>\",\n \"deleted\": \"<boolean>\",\n \"file_name\": \"<string>\",\n \"height\": \"<string>\",\n \"id\": \"<integer>\",\n \"inline\": \"<boolean>\",\n \"malware_access_override\": \"<boolean>\",\n \"malware_scan_result\": \"<string>\",\n \"mapped_content_url\": \"<string>\",\n \"size\": \"<integer>\",\n \"url\": \"<string>\",\n \"width\": \"<string>\",\n \"thumbnails\": [\n {\n \"content_type\": \"<string>\",\n \"content_url\": \"<string>\",\n \"deleted\": \"<boolean>\",\n \"file_name\": \"<string>\",\n \"height\": \"<string>\",\n \"id\": \"<integer>\",\n \"inline\": \"<boolean>\",\n \"malware_access_override\": \"<boolean>\",\n \"malware_scan_result\": \"<string>\",\n \"mapped_content_url\": \"<string>\",\n \"size\": \"<integer>\",\n \"url\": \"<string>\",\n \"width\": \"<string>\"\n },\n {\n \"content_type\": \"<string>\",\n \"content_url\": \"<string>\",\n \"deleted\": \"<boolean>\",\n \"file_name\": \"<string>\",\n \"height\": \"<string>\",\n \"id\": \"<integer>\",\n \"inline\": \"<boolean>\",\n \"malware_access_override\": \"<boolean>\",\n \"malware_scan_result\": \"<string>\",\n \"mapped_content_url\": \"<string>\",\n \"size\": \"<integer>\",\n \"url\": \"<string>\",\n \"width\": \"<string>\"\n }\n ]\n }\n ],\n \"audit_id\": \"<integer>\",\n \"author_id\": \"<integer>\",\n \"body\": \"<string>\",\n \"created_at\": \"<dateTime>\",\n \"html_body\": \"<string>\",\n \"id\": \"<integer>\",\n \"metadata\": {\n \"Excepteurd24\": false\n },\n \"plain_body\": \"<string>\",\n \"public\": \"<boolean>\",\n \"type\": \"<string>\",\n \"uploads\": [\n \"<string>\",\n \"<string>\"\n ],\n \"via\": {\n \"channel\": \"<string>\",\n \"source\": {\n \"laboris6\": true\n }\n }\n },\n {\n \"value\": \"<string>\",\n \"attachments\": [\n {\n \"content_type\": \"<string>\",\n \"content_url\": \"<string>\",\n \"deleted\": \"<boolean>\",\n \"file_name\": \"<string>\",\n \"height\": \"<string>\",\n \"id\": \"<integer>\",\n \"inline\": \"<boolean>\",\n \"malware_access_override\": \"<boolean>\",\n \"malware_scan_result\": \"<string>\",\n \"mapped_content_url\": \"<string>\",\n \"size\": \"<integer>\",\n \"url\": \"<string>\",\n \"width\": \"<string>\",\n \"thumbnails\": [\n {\n \"content_type\": \"<string>\",\n \"content_url\": \"<string>\",\n \"deleted\": \"<boolean>\",\n \"file_name\": \"<string>\",\n \"height\": \"<string>\",\n \"id\": \"<integer>\",\n \"inline\": \"<boolean>\",\n \"malware_access_override\": \"<boolean>\",\n \"malware_scan_result\": \"<string>\",\n \"mapped_content_url\": \"<string>\",\n \"size\": \"<integer>\",\n \"url\": \"<string>\",\n \"width\": \"<string>\"\n },\n {\n \"content_type\": \"<string>\",\n \"content_url\": \"<string>\",\n \"deleted\": \"<boolean>\",\n \"file_name\": \"<string>\",\n \"height\": \"<string>\",\n \"id\": \"<integer>\",\n \"inline\": \"<boolean>\",\n \"malware_access_override\": \"<boolean>\",\n \"malware_scan_result\": \"<string>\",\n \"mapped_content_url\": \"<string>\",\n \"size\": \"<integer>\",\n \"url\": \"<string>\",\n \"width\": \"<string>\"\n }\n ]\n },\n {\n \"content_type\": \"<string>\",\n \"content_url\": \"<string>\",\n \"deleted\": \"<boolean>\",\n \"file_name\": \"<string>\",\n \"height\": \"<string>\",\n \"id\": \"<integer>\",\n \"inline\": \"<boolean>\",\n \"malware_access_override\": \"<boolean>\",\n \"malware_scan_result\": \"<string>\",\n \"mapped_content_url\": \"<string>\",\n \"size\": \"<integer>\",\n \"url\": \"<string>\",\n \"width\": \"<string>\",\n \"thumbnails\": [\n {\n \"content_type\": \"<string>\",\n \"content_url\": \"<string>\",\n \"deleted\": \"<boolean>\",\n \"file_name\": \"<string>\",\n \"height\": \"<string>\",\n \"id\": \"<integer>\",\n \"inline\": \"<boolean>\",\n \"malware_access_override\": \"<boolean>\",\n \"malware_scan_result\": \"<string>\",\n \"mapped_content_url\": \"<string>\",\n \"size\": \"<integer>\",\n \"url\": \"<string>\",\n \"width\": \"<string>\"\n },\n {\n \"content_type\": \"<string>\",\n \"content_url\": \"<string>\",\n \"deleted\": \"<boolean>\",\n \"file_name\": \"<string>\",\n \"height\": \"<string>\",\n \"id\": \"<integer>\",\n \"inline\": \"<boolean>\",\n \"malware_access_override\": \"<boolean>\",\n \"malware_scan_result\": \"<string>\",\n \"mapped_content_url\": \"<string>\",\n \"size\": \"<integer>\",\n \"url\": \"<string>\",\n \"width\": \"<string>\"\n }\n ]\n }\n ],\n \"audit_id\": \"<integer>\",\n \"author_id\": \"<integer>\",\n \"body\": \"<string>\",\n \"created_at\": \"<dateTime>\",\n \"html_body\": \"<string>\",\n \"id\": \"<integer>\",\n \"metadata\": {\n \"eu_2\": \"irure mollit nostrud\",\n \"commodo_9\": true,\n \"Duisd18\": false\n },\n \"plain_body\": \"<string>\",\n \"public\": \"<boolean>\",\n \"type\": \"<string>\",\n \"uploads\": [\n \"<string>\",\n \"<string>\"\n ],\n \"via\": {\n \"channel\": \"<string>\",\n \"source\": {\n \"non_e\": -89999146.24756724,\n \"ut_88\": 65824663.58327252\n }\n }\n }\n ],\n \"description\": \"<string>\",\n \"requester_id\": \"<integer>\",\n \"subject\": \"<string>\",\n \"tags\": [\n \"<string>\",\n \"<string>\"\n ]\n }\n ]\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/api/v2/imports/tickets/create_many?archive_immediately=<boolean>",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"v2",
"imports",
"tickets",
"create_many"
],
"query": [
{
"key": "archive_immediately",
"value": "<boolean>",
"description": "If `true`, any ticket created with a `closed` status bypasses the normal ticket lifecycle and will be created directly in your ticket archive"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [
],
"body": "{\n \"job_status\": {\n \"id\": \"<string>\",\n \"message\": \"<string>\",\n \"progress\": \"<integer>\",\n \"results\": [\n {\n \"id\": \"<integer>\",\n \"index\": \"<integer>\"\n },\n {\n \"id\": \"<integer>\",\n \"index\": \"<integer>\"\n }\n ],\n \"status\": \"<string>\",\n \"total\": \"<integer>\",\n \"url\": \"<string>\"\n }\n}"
}
]
}