Create Ticket Export
POST {{baseUrl}}/ticket-exports
Create a new export job to download tickets. Use the exportId
provided in a successful response to begin polling for the export status.
A single user is allowed to have 3 running exports at a given time. The API returns 409 error if a new export request is sent when there are already 3 running exports. You should wait for one of them to finish before creating a new export.
Request Body
{"fileType"=>"json", "filename"=>"<string>", "delimiter"=>";", "decimalSeparator"=>",", "sourceIds"=>["<string>", "<string>"], "ticketStatusIds"=>["<integer>", "<integer>"], "priorityIds"=>["<integer>", "<integer>"], "ownerIds"=>["<string>", "<string>"], "roleIds"=>["<string>", "<string>"], "ticketGroupIds"=>["<string>", "<string>"], "createdAtDates"=>{"startDate"=>"1970-01-01T01:00:00Z", "endDate"=>"2100-01-01T01:00:00Z"}, "updatedAtDates"=>{"startDate"=>"1970-01-01T01:00:00Z", "endDate"=>"2100-01-01T01:00:00Z"}, "timezone"=>"UTC"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"meta":{"httpStatus":"\u003cstring\u003e","requestId":"\u003cstring\u003e","notice":"\u003cstring\u003e"},"result":{"exportId":"\u003cstring\u003e"}}