Purchase Order Status Resourceยถ
Get Purchase Order Statusยถ
HTTP Request
GET /api/purchaseOrderStatus/{id}
๐ Description: Retrieves the status of a specific purchase order identified by the provided ID, enabling users to monitor order progress and ensure timely fulfillment.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
id |
path |
integer(int64) |
true |
Unique identifier for the resource |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "id": 0,
3 "createdBy": "string",
4 "createdAt": "2019-08-24T14:15:22Z",
5 "displayId": "string",
6 "name": "string",
7 "isDefault": true
8}
Update Purchase Order Statusยถ
HTTP Request
PUT /api/purchaseOrderStatus/{id}
๐ Description: Updates the status of a specified purchase order, allowing businesses to efficiently manage order fulfillment and track progress in real-time.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
id |
path |
integer(int64) |
true |
Unique identifier for the resource |
body |
body |
true |
Request body containing updated purchase order status information, including relevant details such as status, comments, and timestamps for effective order management. |
Body Parameters
1{
2 "id": 0,
3 "createdBy": "string",
4 "createdAt": "2019-08-24T14:15:22Z",
5 "displayId": "string",
6 "name": "string",
7 "isDefault": true
8}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
None |
Delete Purchase Order Statusยถ
HTTP Request
DELETE /api/purchaseOrderStatus/{id}
๐ Description: Deletes a specified purchase order status, ensuring the removal of outdated or incorrect entries from the system, thereby maintaining accurate order management.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
id |
path |
integer(int64) |
true |
Unique identifier for the resource |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
204 |
No Content |
None |
Get All Purchase Order Statusesยถ
HTTP Request
GET /api/purchaseOrderStatus
๐ Description: Retrieves the current status of purchase orders, providing insights into order fulfillment and inventory management.
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Inline |
Example Responses
1[
2 {
3 "id": 0,
4 "createdBy": "string",
5 "createdAt": "2019-08-24T14:15:22Z",
6 "displayId": "string",
7 "name": "string",
8 "isDefault": true
9 }
10]
Response Schema
Status Code 200
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
anonymous |
false |
none |
[Data transfer object representing the status of a purchase order, including relevant metadata to facilitate tracking and management within the procurement process.] |
|
ยป id |
integer(int64) |
false |
none |
Unique identifier for the resource |
ยป createdBy |
string |
false |
none |
Username of who created this resource |
ยป createdAt |
string(date-time) |
false |
none |
Timestamp when this resource was created |
ยป displayId |
string |
false |
none |
Unique identifier for the display |
ยป name |
string |
true |
none |
Name of the resource |
ยป isDefault |
boolean |
false |
none |
Whether the resource is default |
Create Purchase Order Statusยถ
HTTP Request
POST /api/purchaseOrderStatus
๐ Description: Submits a purchase order status update, enabling businesses to track and manage their procurement processes efficiently.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
Request body containing the purchase order status update data, including order ID, status, and relevant timestamps for tracking and reporting purposes. |
Body Parameters
1{
2 "id": 0,
3 "createdBy": "string",
4 "createdAt": "2019-08-24T14:15:22Z",
5 "displayId": "string",
6 "name": "string",
7 "isDefault": true
8}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
201 |
Created |
integer |
Example Responses
10