NOTE: This is an article for the legacy API. To access updated information on this endpoint, please reference the HTML guide attached to the bottom of the REST API Access document
Description: Returns Average Lead Time details from the Average Lead Time tab in the Vendor Scorecard screen in the Supply module
Resource: AverageLeadTime/
Verb: GET
Query String Arguments
-
interval (required):
- 2 = Weekly
- 4 = Monthly
- 8 = Quarterly
- 32 = Yearly
Returns: JSON Array containing records matching Average Lead Time details
Example Response JSON:
[{
"PeriodDate": "2023/02/01",
"AdminLeadTime": 0,
"VendorLeadTime": 16,
"ShippingLeadTime": 6,
"PlanningLeadTime": 16,
"PutawayLeadTime": 0,
"SampleCount": 78
},
{
"PeriodDate": "2023/03/01",
"AdminLeadTime": 0,
"VendorLeadTime": 2,
"PlanningLeadTime": 2,
"PutawayLeadTime": 0,
"SampleCount": 1
},
...
]