Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

HTTP
Method

/<service>/<version>/<parameters>

POST

/api/receipts/v3/{asnNumber}/delete


Environment

Request URL

UAT

https://ihubuat.supplystream.com:8081/api/receipts/v3/{asnNumber}/delete?api_key=<api_Key>

Live

https://ihub.supplystream.com:8081/api/receipts/v3/{asnNumber}/delete?api_key=<api_Key>


Header

Requirement

JSON

XML

Accept

Optional. Returns XML if undefined.

Accept: application/json

Accept: application/xml


Request URL examples with parameters

Description

Parameters

Request URL

Includes an ASN Number

Sales order number: ASNTest123

https://ihubuat.supplystream.com:8081/api/receipts/v3/ASNTest123 /delete?api_key=21121212


API call formatting

XML Format


Body

N/A

Example success Response Body

<Response>
<CallStatus>
<Success>false</Success>
<Code>100</Code>
<Message>Error. Receipt does not exist with a Create status.</Message>
</CallStatus>
<GUID />
</Response>

Example failure Response Body

<Response>
<CallStatus>
<Success>true</Success>
<Code>0</Code>
<Message></Message>
</CallStatus>
<GUID />
</Response>


JSON Format


Body

N/A

Example success Response Body

{
"CallStatus": {
"Success": true,
"Code": 0,
"Message": ""
},
"GUID": null
}

Example failure Response Body

{
"CallStatus": {
"Success": false,
"Code": 100,
"Message": "Error. Receipt does not exist with a Create status."
},
"GUID": null
}



  • No labels