JiwaAPI

<back to all web services

PurchasingLeadTimesGetRequest

Requires Authentication
The following routes are available for this service:
GET/Purchasing/LeadTimesLead time statistics (median, 90th percentile, mean, minimum, maximum and sample counts) per creditor and inventory classification or category, over a window of receipt dates, in one response.
GET/Purchasing/WarehouseLeadTimesLead time statistics per creditor and inventory classification or category, optionally filtered to physical warehouses (PhysicalIDs) and split by the receiving warehouse (SplitByWarehouse).
PurchasingLeadTimesGetRequest Parameters:
NameParameterData TypeRequiredDescription
DateFromquerystringNo
DateToquerystringNo
GroupByquerystringNo
CreditorIDquerystringNo
MinHoursquerystringNo
PhysicalIDsquerystringNo
SplitByWarehousequerystringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /Purchasing/LeadTimes HTTP/1.1 
Host: testapi.redpoint.com.au 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

[{"CreditorID":"String","CreditorAccountNo":"String","CreditorName":"String","PhysicalID":"String","GroupID":"String","MeanDays":0,"MedianDays":0,"P90Days":0,"MinDays":0,"MaxDays":0,"StatedDays":0,"StatedSource":"String"}]