Finds the available time ranges for qualified field resources to carry out a given type of work order. Given a work order type and a location, the service allows to find the available intervals during which field resources possessing the needed skills have enough time to travel to the work order site from the previous site, perform the work order, and travel to the site of the next work order.
Use https://availableslots-production-1.praxedo.com/rest/v3/slots/search for EU instances.
Use https://availableslots-production-2.praxedo.com/rest/v3/slots/search for AM2.
Use https://availableslots-production-3.praxedo.com/rest/v3/slots/search for AM1.
Responses
-
OK
-
Bad request
-
The work order type is missing
-
A list of time ranges or a an appointment date is missing
-
Received a request requesting slots related to field resources in charge of an area (enableZoneFilter = 'true'). However, no zip code has been provided to help identify the area in which the work order will take place
-
The provided work order type does not exist
-
At least one of the provided offices does not exist
-
The provided dates are in the past
-
The end date of the search interval is earlier than the start date
-
The slot search period is too long. The maximum is 200 weeks
-
The 'offices' list accepts either 'codes' or 'ids', but not both. Please provide only one
-
The provided areas do not exist
-
Maximal value for maximumSlotNumber is 700
-
The skills list accepts either 'codes' or 'ids', but not both. Please provide only on
-
The 'workOrder' can either be a code or an id. Please provide only one
-
Invalid value '%s' for parameter 'areaScope'. Allowed values are: 'RESOURCE', 'TIMESLOT'
-
The parameter 'customerPortalUser' cannot be used with the 'RESOURCE' area scopes
-
The parameter 'values' of 'startingHours' cannot be used with the 'FIRST_OF_THE_DAY' "perResource" option
-
The parameter 'appointmentDate' of 'availabilities' cannot be used with the 'FIRST_OF_THE_DAY' "perResource" option
-
The provided address couldn't be geocoded
-
The provided [latitude, longitude] is out of range : [%s, %s]. Expected values : -90 < latitude < 90 and -180 < longitude < 180
-
Coordinates (0,0) are not accepted
-
The travel times and distances could not be computed
-
No route could be found to reach the work order destination (e.g. closed road, unreachable area)
curl \
--request POST 'https://ws-eu1.praxedo.com/rest/v3/slots/search' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{
"endCustomer": {
"need": {
"workOrder": {
"code": "MAINTENANCE"
},
"dispatchLocation": {
"address": "28 rue de Mogador, 75009 Paris"
}
},
"availabilities": {
"appointmentDate": "2026-11-03 08:00:00 UTC"
}
}
}'
{
"endCustomer": {
"need": {
"workOrder": {
"code": "MAINTENANCE"
},
"dispatchLocation": {
"address": "28 rue de Mogador, 75009 Paris"
}
},
"availabilities": {
"appointmentDate": "2026-11-03 08:00:00 UTC"
}
}
}
{
"endCustomer": {
"need": {
"workOrder": {
"code": "FIBER_INSTALL",
"overrides": {
"duration": "PT1H30M",
"skillsRequirement": {
"additionalSkills": [
{
"code": "FIBER",
"constraint": "MANDATORY"
}
]
}
}
},
"dispatchLocation": {
"coordinates": {
"latitude": 48.8755905,
"longitude": 2.3287881
}
}
},
"availabilities": {
"ranges": [
{
"start": "2026-11-03 07:00:00 UTC",
"end": "2026-11-03 17:00:00 UTC"
},
{
"start": "2026-11-04 07:00:00 UTC",
"end": "2026-11-04 12:00:00 UTC"
}
]
}
},
"schedulerRequirements": {
"fieldResourceWorkingFor": {
"offices": [
{
"code": "PARIS_NORD"
}
],
"childrenOfficesIncluded": true
},
"workingHours": {
"ignoreFieldResourceBreak": false
}
}
}
{
"endCustomer": {
"need": {
"workOrder": {
"code": "MAINTENANCE"
},
"dispatchLocation": {
"address": "1 Place de la Comedie, 34000 Montpellier"
}
},
"availabilities": {
"ranges": [
{
"start": "2026-11-10 08:00:00 UTC",
"end": "2026-11-14 18:00:00 UTC"
}
]
}
},
"slotSearchConfiguration": {
"searchSize": {
"maximumSlotNumber": 100
},
"servedSlots": {
"perTimeInterval": "BEST"
},
"mustExplainResults": false
}
}
{
"endCustomer": {
"need": {
"workOrder": {
"code": "MAINTENANCE"
},
"dispatchLocation": {
"address": "28 rue de Mogador, 75009 Paris"
}
},
"availabilities": {
"ranges": [
{
"start": "2026-11-03 07:00:00 UTC",
"end": "2026-11-03 17:00:00 UTC"
}
]
}
},
"schedulerRequirements": {
"workingHours": {
"ignoreFieldResourceCapacityModel": true
}
}
}
{
"slots": [
{
"start": "2023-08-03T06:00:00Z",
"end": "2023-08-03T06:00:00Z",
"fieldResources": [
{
"fieldResource": {},
"teamSize": 42,
"availableTeammates": [
{}
],
"hasActivatedSubscription": "string"
}
],
"availableResourceCount": 42
}
],
"searchReport": "string"
}
{
"errorCode": "string",
"errorMessage": "string"
}
{
"errorCode": "string",
"errorMessage": "string"
}
{
"errorCode": "string",
"errorMessage": "string"
}
{
"errorCode": "string",
"errorMessage": "string"
}
{
"errorCode": "string",
"errorMessage": "string"
}
{
"errorCode": "string",
"errorMessage": "string"
}
{
"errorCode": "string",
"errorMessage": "string"
}
{
"errorCode": "string",
"errorMessage": "string"
}
{
"errorCode": "string",
"errorMessage": "string"
}
{
"errorCode": "string",
"errorMessage": "string"
}
{
"errorCode": "string",
"errorMessage": "string"
}
{
"errorCode": "string",
"errorMessage": "string"
}
{
"errorCode": "string",
"errorMessage": "string"
}
{
"errorCode": "string",
"errorMessage": "string"
}
{
"errorCode": "string",
"errorMessage": "string"
}
{
"errorCode": "string",
"errorMessage": "string"
}
{
"errorCode": "string",
"errorMessage": "string"
}
{
"errorCode": "string",
"errorMessage": "string"
}
{
"errorCode": "string",
"errorMessage": "string"
}
{
"errorCode": "string",
"errorMessage": "string"
}
{
"errorCode": "string",
"errorMessage": "string"
}
{
"errorCode": "string",
"errorMessage": "string"
}
{
"errorCode": "string",
"errorMessage": "string"
}