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 .xml suffix or ?format=xml

HTTP + XML

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: api.redpoint.com.au 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ArrayOfLeadTimeRow xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel">
  <LeadTimeRow>
    <_x003C_CreditorAccountNo_x003E_k__BackingField>String</_x003C_CreditorAccountNo_x003E_k__BackingField>
    <_x003C_CreditorID_x003E_k__BackingField>String</_x003C_CreditorID_x003E_k__BackingField>
    <_x003C_CreditorName_x003E_k__BackingField>String</_x003C_CreditorName_x003E_k__BackingField>
    <_x003C_GroupID_x003E_k__BackingField>String</_x003C_GroupID_x003E_k__BackingField>
    <_x003C_Lines_x003E_k__BackingField>0</_x003C_Lines_x003E_k__BackingField>
    <_x003C_MaxDays_x003E_k__BackingField>0</_x003C_MaxDays_x003E_k__BackingField>
    <_x003C_MeanDays_x003E_k__BackingField>0</_x003C_MeanDays_x003E_k__BackingField>
    <_x003C_MedianDays_x003E_k__BackingField>0</_x003C_MedianDays_x003E_k__BackingField>
    <_x003C_MinDays_x003E_k__BackingField>0</_x003C_MinDays_x003E_k__BackingField>
    <_x003C_P90Days_x003E_k__BackingField>0</_x003C_P90Days_x003E_k__BackingField>
    <_x003C_PartDeliveredCount_x003E_k__BackingField>0</_x003C_PartDeliveredCount_x003E_k__BackingField>
    <_x003C_PhysicalID_x003E_k__BackingField>String</_x003C_PhysicalID_x003E_k__BackingField>
    <_x003C_RetrospectiveCount_x003E_k__BackingField>0</_x003C_RetrospectiveCount_x003E_k__BackingField>
    <_x003C_SampleCount_x003E_k__BackingField>0</_x003C_SampleCount_x003E_k__BackingField>
    <_x003C_StatedDays_x003E_k__BackingField>0</_x003C_StatedDays_x003E_k__BackingField>
    <_x003C_StatedSource_x003E_k__BackingField>String</_x003C_StatedSource_x003E_k__BackingField>
  </LeadTimeRow>
</ArrayOfLeadTimeRow>