Get Associations of Purchase Order
GET/api/v1/purchase-order-associations/:po_number
List Associations of Purchase Order
Request​
Path Parameters
po_number stringrequired
Responses​
- 200
- 400
- 401
- 429
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
associations
object[]
List of purchase order associations
associationType stringrequired
Possible values: [linked
]
fromPoNumber stringrequired
Possible values: non-empty
toPoNumber stringrequired
Possible values: non-empty
createdDate date-timenullable
The creation date of the Purchase Order Association
{
"associations": [
{
"associationType": "linked",
"fromPoNumber": "string",
"toPoNumber": "string",
"createdDate": "2023-02-10 10:00:00"
}
]
}
Bad request
- application/json
- Schema
- Example (from schema)
Schema
errorCode string
message string
{
"errorCode": "Generic",
"message": "Bad Request"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
errorCode string
message string
{
"errorCode": "Generic",
"message": "Cannot retrieve session data because of expired token"
}
Rate-limiting Error
- application/json
- Schema
- Example (from schema)
Schema
errorCode string
message string
{
"errorCode": "Generic",
"message": "Too many requests"
}
Internal Error
- application/json
- Schema
- Example (from schema)
Schema
errorCode string
errors object
message string
{
"errorCode": "Generic",
"errors": {
"system": [
"Internal error detail message"
]
},
"message": "Internal server error"
}
Loading...