Version: 202201
Procurement List
GET/openapi/2022-01/center/procurements
Request
Query Parameters
state string
Status of the procurement order
created_at_min string
Filter procurement orders created at or after date, for example: 2016-01-18T23:41:00Z
created_at_max string
Filter procurement orders created at or before date, for example: 2016-01-18T23:41:00Z
updated_at_min string
Filter procurement orders last updated at or after date, for example: 2016-01-18T23:41:00Z
updated_at_max string
Filter procurement orders last updated at or before date, for example: 2016-01-18T23:41:00Z
page string
Page number
limit string
Limit per page
ids string
Procurement order ids. eg: 395544340488797681,395544340488797682
Responses
- 200
200
- application/json
- Schema
- Example
- Result
Schema
- Array [
- ]
countinteger
Default value:
0Example:
1procurements object[]
idinteger
Default value:
0Example:
395544340488797700procurement_snstring
Example:
00000334source_idinteger
Default value:
0Example:
385324610498871200location_idinteger
Default value:
0Example:
329868727321378750notestring
Example:
stateinteger
Default value:
0Example:
1pending_quantityinteger
Default value:
0Example:
1received_quantityinteger
Default value:
0Example:
0rejected_quantityinteger
Default value:
0Example:
0transfer_quantityinteger
Default value:
0Example:
1created_bystring
Example:
[email protected]created_atstring
Example:
2024-06-26T11:52:00Zupdated_atstring
Example:
2024-06-26T11:52:00Zsource_typeinteger
Default value:
0Example:
1procurement_nostring
Example:
20240626supplier_namestring
Example:
2222222tracking_numberstring
Example:
estimated_delivery_timestring
Example:
{
"count": 1,
"procurements": [
{
"id": 395544340488797700,
"procurement_sn": "00000334",
"source_id": 385324610498871200,
"location_id": 329868727321378750,
"note": "",
"state": 1,
"pending_quantity": 1,
"received_quantity": 0,
"rejected_quantity": 0,
"transfer_quantity": 1,
"created_at": "2024-06-26T11:52:00Z",
"updated_at": "2024-06-26T11:52:00Z",
"source_type": 1,
"procurement_no": "20240626",
"supplier_name": "2222222",
"tracking_number": "",
"estimated_delivery_time": ""
}
]
}
{
"count": 1,
"procurements": [
{
"id": 395544340488797681,
"procurement_sn": "00000334",
"source_id": 385324610498871153,
"location_id": 329868727321378760,
"note": "",
"state": 1,
"pending_quantity": 1,
"received_quantity": 0,
"rejected_quantity": 0,
"transfer_quantity": 1,
"created_at": "2024-06-26T11:52:00Z",
"updated_at": "2024-06-26T11:52:00Z",
"source_type": 1,
"procurement_no": "20240626",
"supplier_name": "2222222",
"tracking_number": "",
"estimated_delivery_time": ""
}
]
}