Purchase Orders

API Methods ››
Parent Previous Next

Get purchase orders by filter

GET ./api/purchaseorders?[PurchaseOrderFilter]

PurchaseOrderFilter parameters:

Guid                        PurchaseOrderId (optional)

string                        OrderNo

Guid                        SupplierId (optional)

Guid                        ProjectId (optional)

DateTime                        EarliestRaisedDateUtc (optional)

DateTime                        LatestRaisedDateUtc (optional)

List<int>                ReceivedStatues

List<int>                InvoicedStatuses

string                        SimpleSearch

DateTime                        EarliestExpectedDeliveryDateUtc (optional)

DateTime                        LatestExpectedDeliveryDateUtc (optional)

PurchasedOrderOrder        Order (optional)

int                        Page (optional)

int                        PageSize (optional)

bool                        IncludeLines

bool                        IncludeFreightItems


Get purchase orders by ID

GET ./api/purchaseorders/{id}


Count purchase orders

GET ./api/purchaseorders/count?[PurchaseOrderFilter]


Create purchase order

PUT ./api/purchaseorders

(You can GET an example object to see what the POSTed object should look like.)


Update purchase order

PUT ./api/purchaseorders/{id}

(You can GET an example object to see what the POSTed object should look like.)