Purchase Order Item Resource

Attach Asset Part To Purchase Order

HTTP Request

POST /api/purchaseOrderItems/{id}/assetParts/{assetPartId}/{quantity}

📋 Description: Creates a new asset part entry for a specified purchase order item, allowing users to allocate a defined quantity of the asset part to enhance inventory management and streamline procurement processes.

Parameters

Name

In

Type

Required

Description

id

path

integer(int64)

true

Unique identifier for the resource

assetPartId

path

integer(int64)

true

Unique identifier for the asset part

quantity

path

integer(int64)

true

Quantity value

Responses

Status

Meaning

Description

Schema

200

OK

OK

None

Get All Purchase Order Items

HTTP Request

GET /api/purchaseOrderItems

📋 Description: Retrieves a list of purchase order items, providing essential details for inventory management and procurement analysis.

Responses

Status

Meaning

Description

Schema

200

OK

OK

Inline

Response Schema

Status Code 200

Name

Type

Required

Restrictions

Description

anonymous

[PurchaseOrderItemDTO]

false

none

[Data transfer object representing an individual item within a purchase order, including details such as quantity, price, and associated product information, facilitating efficient order management and procurement processes.]

» 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

» quantity

integer(int64)

false

none

Quantity value

» price

string

false

none

Represents the monetary value of the item in the purchase order, expressed as a string to accommodate various currency formats.

» purchaseOrder

integer(int64)

false

none

Unique identifier for the purchase order associated with the item, facilitating tracking and management of procurement activities.

» assetPartId

string

false

none

Unique identifier for the asset part

» name

string

false

none

Name of the resource

» model

string

false

none

Specifies the model associated with the purchase order item, providing essential details for inventory and procurement management.

» unitCost

string

false

none

Represents the cost per unit of the item in the purchase order, essential for calculating total expenses and budget management.

» materialType

string

false

none

Type of the material

» assetPartType

string

false

none

Type of the asset part

» assetPartTypeId

integer(int64)

false

none

Unique identifier for the asset part type

Get Purchase Order Item

HTTP Request

GET /api/purchaseOrderItems/{id}

📋 Description: Retrieves detailed information about a specific purchase order item identified by its unique ID, facilitating effective inventory and procurement management.

Parameters

Name

In

Type

Required

Description

id

path

integer(int64)

true

Unique identifier for the resource

Responses

Status

Meaning

Description

Schema

200

OK

OK

PurchaseOrderItemDTO

Get All Asset Parts By Purchase Order

HTTP Request

GET /api/purchaseOrderItems/{id}/assetParts

📋 Description: Fetches the asset parts associated with a specific purchase order item, providing essential details for inventory management and asset tracking.

Parameters

Name

In

Type

Required

Description

id

path

integer(int64)

true

Unique identifier for the resource

Responses

Status

Meaning

Description

Schema

200

OK

OK

Inline

Response Schema

Status Code 200

Name

Type

Required

Restrictions

Description

anonymous

[PurchaseOrderItemDTO]

false

none

[Data transfer object representing an individual item within a purchase order, including details such as quantity, price, and associated product information, facilitating efficient order management and procurement processes.]

» 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

» quantity

integer(int64)

false

none

Quantity value

» price

string

false

none

Represents the monetary value of the item in the purchase order, expressed as a string to accommodate various currency formats.

» purchaseOrder

integer(int64)

false

none

Unique identifier for the purchase order associated with the item, facilitating tracking and management of procurement activities.

» assetPartId

string

false

none

Unique identifier for the asset part

» name

string

false

none

Name of the resource

» model

string

false

none

Specifies the model associated with the purchase order item, providing essential details for inventory and procurement management.

» unitCost

string

false

none

Represents the cost per unit of the item in the purchase order, essential for calculating total expenses and budget management.

» materialType

string

false

none

Type of the material

» assetPartType

string

false

none

Type of the asset part

» assetPartTypeId

integer(int64)

false

none

Unique identifier for the asset part type

Detach Asset Part From Purchase Order

HTTP Request

DELETE /api/purchaseOrderItems/{id}/assetParts/{assetPartId}

📋 Description: Deletes a specific asset part associated with a purchase order item, ensuring accurate inventory management and streamlined procurement processes.

Parameters

Name

In

Type

Required

Description

id

path

integer(int64)

true

Unique identifier for the resource

assetPartId

path

integer(int64)

true

Unique identifier for the asset part

Responses

Status

Meaning

Description

Schema

200

OK

OK

None