An outsourced ticket is a ticket for which you have requested a partnered provider to execute one or more products for you.
id | string <uuid> Ticket identifier. |
created_at | string <date-time> Date and time of creation. |
customer_id | string <uuid> Identifier of the customer for whom the ticket was created. |
ticket_number | integer <int64> Human-readable ticket identifier. |
vehicle_model_id | integer <int64> Identifier of the vehicle model on the ticket. |
vin | string = 17 characters Vehicle Identification Number (VIN) of the vehicle on the ticket. |
outsource_provider_id | string <uuid> Identifier of the provider of the outsource. |
outsource_ticket_id | string <uuid> Identifier of ticket at outsource provider. |
reclaimable | boolean Whether this ticket can be reclaimed. This is only possible if the outsource ticket is not yet in-progress. |
voucher_code | string or null [ 4 .. 8 ] characters [A-Z0-9] Voucher code. |
connection_id | string or null <uuid> Identifier of the connection. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "ticket_number": 7440303,
- "vehicle_model_id": 0,
- "vin": "JH4KA7630PC007649",
- "outsource_provider_id": "bb1d5cca-3595-41db-afc4-9023f6904f93",
- "outsource_ticket_id": "d751d57a-0733-4a09-874a-f41c0ff94e2f",
- "reclaimable": true,
- "voucher_code": "WQ4MM3",
- "connection_id": "d3547de1-d1f2-4344-b4c2-17169b7526f9"
}
Retrieve a list of 'Outsourced' tickets.
Successful response.
An error occurred - see status code and problem response for more information.
{- "query": {
- "limit": 25,
- "offset": 0
}, - "result": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "ticket_number": 7440303,
- "vehicle_model_id": 0,
- "vin": "JH4KA7630PC007649",
- "outsource_provider_id": "bb1d5cca-3595-41db-afc4-9023f6904f93",
- "outsource_ticket_id": "d751d57a-0733-4a09-874a-f41c0ff94e2f",
- "reclaimable": true,
- "voucher_code": "WQ4MM3",
- "connection_id": "d3547de1-d1f2-4344-b4c2-17169b7526f9"
}
], - "total": 3255
}
Retrieve a single 'Outsourced' ticket by its identifier.
Successful response.
id | string <uuid> Ticket identifier. |
created_at | string <date-time> Date and time of creation. |
customer_id | string <uuid> Identifier of the customer for whom the ticket was created. |
ticket_number | integer <int64> Human-readable ticket identifier. |
vehicle_model_id | integer <int64> Identifier of the vehicle model on the ticket. |
vin | string = 17 characters Vehicle Identification Number (VIN) of the vehicle on the ticket. |
outsource_provider_id | string <uuid> Identifier of the provider of the outsource. |
outsource_ticket_id | string <uuid> Identifier of ticket at outsource provider. |
reclaimable | boolean Whether this ticket can be reclaimed. This is only possible if the outsource ticket is not yet in-progress. |
voucher_code | string or null [ 4 .. 8 ] characters [A-Z0-9] Voucher code. |
connection_id | string or null <uuid> Identifier of the connection. |
An error occurred - see status code and problem response for more information.
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "ticket_number": 7440303,
- "vehicle_model_id": 0,
- "vin": "JH4KA7630PC007649",
- "outsource_provider_id": "bb1d5cca-3595-41db-afc4-9023f6904f93",
- "outsource_ticket_id": "d751d57a-0733-4a09-874a-f41c0ff94e2f",
- "reclaimable": true,
- "voucher_code": "WQ4MM3",
- "connection_id": "d3547de1-d1f2-4344-b4c2-17169b7526f9"
}
Transition a single 'Outsourced' ticket by its identifier.
The changes you wish to make.
required | Reclaim (object) Transition this ticket to a different state. |
One of: Reclaim an outsourced ticket. Reclaiming cancels the outsource-process and removes the outsourced ticket from the targeted outsource provider's dashboard. It can only be reclaimed if it's not yet picked up by an operator at the targeted outsource provider. |
{- "transition": {
- "type": "reclaim"
}
}
{- "status": 403,
- "type": "about:blank",
- "title": "Forbidden",
- "detail": "You are not authorized to access this resource."
}