Cancel Tender

PEAK Connect Cancel Tender allows for previously submitted pickup requests (tenders) to be canceled.

Resource URL

QA: http(s)://connect.ascentgl.com/v1/canceltender.{xml , json}

Production: http(s)://qa-connect.ascentgl.com/v1/canceltender.{xml , json}

Request/Response Examples

JSON

Request JSON

{
“accessToken”:”str1234″,
“shipmentNumber”:”1234567890″
}

Response JSON

{
“tenderNumber”: “236789”,
“shipmentNumber”: “1234567890”,
“statusDetails”: {
“statusCode”: “CANCELLED”,
“statusType”: “EDI”,
“statusMessage”: “Pickup request has been cancelled with the carrier”,
“statusDate”: “2018-05-01T12:12:12”
},
“errors”: [
{
“code”: “0”,
“message”: “No Errors”
}
]
}

XML

Request XML

<?xml version=”1.0″ encoding=”utf-8″?>
<CancelTender>
<accessToken>str1234</accessToken>
<shipmentNumber>str1234</shipmentNumber>
</CancelTender>

Response XML

<CancelTenderResponse xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xmlns:xsd=”http://www.w3.org/2001/XMLSchema”>
<tenderNumber>236789</tenderNumber>
<shipmentNumber>1234567890</shipmentNumber>
<statusDetails>
<statusCode>CANCELLED</statusCode>
<statusType>EDI</statusType>
<statusMessage>Pickup request has been cancelled with the carrier</statusMessage>
<statusDate>2018-05-01T12:12:12</statusDate>
</statusDetails>
<errors>
<error>
<code>0</code>
<message>No Errors</message>
</error>
</errors>
</CancelTenderResponse>

Menu