# Retrieve SLA analytics data Endpoint: POST /analytics/sla Version: 1.0.0 Security: M2X_auth_application ## Request fields (application/json): - `start` (string, required) RFC3339 start of the window Example: "2021-01-01T12:00:00.000Z" - `end` (string, required) RFC3339 end of the window Example: "2021-06-30T11:59:59.999Z" - `fromType` (string) From type Enum: "region", "district", "location", "locationGroup" - `endType` (string) End type Enum: "region", "district", "location", "locationGroup" - `fromId` (string,null) Id of the pickup grouping entity, - `endId` (string,null) Id of the delivery grouping entity - `groups` (array) Grouping entities - `groups.type` (string) Enum: "region", "district", "location", "locationGroup" - `groups.deliveries` (boolean) - `groups.pickups` (boolean) - `groups.ids` (array) - `productCodeIds` (array) Product code ids - `productTypes` (array) Product types Example: ["Livestock"] - `type` (string) Type of delay analysis, eg. daily, hourly Enum: "daily", "hourly" ## Response 200 fields (application/json): - `status` (object) - `status.breached` (object) - `status.breached.jobs` (number) - `status.breached.quantity` (number) - `status.breached.weightKg` (number) - `status.none` (object) - `status.respected` (object) - `status.totalJobs` (number) - `status.totalQuantity` (number) - `status.totalWeightKg` (number) - `slaOverTime` (array) - `slaOverTime.key` (number) - `slaOverTime.title` (string) - `slaDelaySplits` (array)