Ticket

/api/v1/ticket

GET
Retrieve single ticket details

Request
Parameters

Name Located in Required Description Default Schema

ticketId

query

yes

Id of the ticket to retrieve

-

integer (int32)

 

Response
Content-Type: application/json

Status Code Reason Response Model

200

Success

Ticket Details

400

Bad Request

-

401

Unauthorized

-

500

Failure

-

 

PUT
Update single ticket

Request
Parameters

Name Located in Required Description Default Schema

ticket

body

yes

See Ticket Details to determine which fields are used for each service type.

Examples:

{application/json=[{ "id": 123, "contactId": 12345, "datacenter":
"NJ01", "expectedDeliveryDate": "10/21/2020", "newMessage":
"Another comment about ticket processing", "serviceType":
"SHIPPING", "shipmentDirection": "TO_VXCHNGE",
"shippingAccountNumber": "SH12345", "shippingCarrier": "USPS",
"shippingQuantity": 5, "shippingRecipient": "John Doe", "subject":
"Ship Cables, Power and Network", "trackingNumber": "123456"
}}

-

Ticket Details

 

Response
Content-Type: application/json

Status Code Reason Response Model

200

Success

Ticket Details

400

Bad Request

-

401

Unauthorized

-

500

Failure

-

 

POST
Create a new ticket

Request
Parameters

Name Located in Required Description Default Schema

ticket

body

yes

See Ticket Details to determine which fields are used for each
service type.
Examples:
{application/json={ "contactId": 12345, "datacenterId": "NJ01",
"expectedDeliveryDate": "10/21/2020", "newMessage": "A
comment about ticket processing", "otherCarrierName":
"Lasership", "serviceType": "SHIPPING", "shipmentDirectionId":
"TO_VXCHNGE", "shippingAccountNumber": "SH12345",
"shippingCarrier": "OTHER", "shippingQuantity": 5,
"shippingRecipient": "John Doe", "subject": "Ship Cables, Power
and Network", "trackingNumber": "123456" }}

-

Ticket Details

 

Response
Content-Type: application/json

Status Code Reason Response Model

200

Success

Ticket Details

400

Bad Request

-

401

Unauthorized

-

500

Failure

-