Delete Purchase Order Association
DELETEhttps://sight.inspectorio.com/api/v2/purchase-order-associations/:from_po_number/:to_po_number
Delete Purchase Order Association
Request​
Path Parameters
from_po_number stringrequired
From PO number
to_po_number stringrequired
To PO number
Responses​
- 204
- 400
- 401
- 429
- 500
No Content
- application/json
- Schema
Schema
Bad request
- application/json
- Schema
- Example (auto)
Schema
errorCodestring
Example:
Generic
messagestring
Example:
Bad Request
{
"errorCode": "Generic",
"message": "Bad Request"
}
Unauthorized
- application/json
- Schema
- Example (auto)
Schema
errorCodestring
Example:
Generic
messagestring
Example:
Cannot retrieve session data because of expired token
{
"errorCode": "Generic",
"message": "Cannot retrieve session data because of expired token"
}
Rate-limiting Error
- application/json
- Schema
- Example (auto)
Schema
errorCodestring
Example:
Generic
messagestring
Example:
Too many requests
{
"errorCode": "Generic",
"message": "Too many requests"
}
Internal Error
- application/json
- Schema
- Example (auto)
Schema
errorCodestring
Example:
Generic
errorsobject
Example:
{"system":["Internal error detail message"]}
messagestring
Example:
Internal server error
{
"errorCode": "Generic",
"errors": {
"system": [
"Internal error detail message"
]
},
"message": "Internal server error"
}
Authorization: apiKey
name: apiKeytype: apiKeyin: header
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X DELETE 'https://sight.inspectorio.com/api/v2/purchase-order-associations/:from_po_number/:to_po_number' \
-H 'Accept: application/json' \
-H 'apiKey: <apiKey>'
ResponseClear