Returns the crews active over the requested period, with the participation intervals of each resource, so that you can match technician time with equipment time (for invoicing, for instance).
Rules
- Crews carrying a disabling date, or whose main resource is inactive, are not returned.
- A crew is returned when at least one of its resources belongs to the office of the OAuth2 application or below. Secondary resources outside that hierarchy are hidden; the main resource is always shown.
- The main resource is not repeated among the secondary resources. The report filler is not part of a crew.
- Past periods can be queried: crews are returned as they are stored at call time.
Rate limit range : High
Query parameters
-
Start of the requested period, inclusive. RFC 3339 date-time with an offset.
-
End of the requested period, exclusive. RFC 3339 date-time with an offset. Must be after
startDate, at most 366 days later. -
The continuation token which was received in the previous request. It contains information on the page to fetch. If not present, then the first page of results will be returned.
-
Maximum number of crews returned per page. A value above 200 is capped to 200.
Minimum value is
1, maximum value is200. Default value is200.
GET
/eTech/rest/ws/rostering/v1/crews
curl \
--request GET 'https://ws-eu1.praxedo.com/eTech/rest/ws/rostering/v1/crews?startDate=2026-09-21T00%3A00%3A00Z&endDate=2026-09-26T00%3A00%3A00Z' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
Full page, a continuation token is returned
{
"continuationToken": "eyJsYXN0SW5kZXgiOnsic3RhcnREYXRlIjoiMjAyNi0wOS0yM1QwNjowMDowMFoiLCJjcmV3SWQiOjEwNTA2MH19",
"data": [
{
"mainResource": {
"code": "T-LEA",
"type": "technician",
"intervals": [
{
"startDate": "2026-09-21 06:00:00 UTC",
"endDate": "2026-09-23 00:00:00 UTC"
}
]
},
"secondaryResources": {
"technicians": [
{
"code": "T-DUBOIS",
"intervals": [
{
"startDate": "2026-09-21 06:00:00 UTC",
"endDate": "2026-09-23 00:00:00 UTC"
}
]
}
],
"equipments": [
{
"code": "truck-04",
"intervals": [
{
"startDate": "2026-09-21 06:00:00 UTC",
"endDate": "2026-09-23 00:00:00 UTC"
}
]
}
]
}
},
{
"mainResource": {
"code": "T-DAVID",
"type": "technician",
"intervals": [
{
"startDate": "2026-09-23 06:00:00 UTC",
"endDate": "2026-09-26 00:00:00 UTC"
}
]
},
"secondaryResources": {
"technicians": [],
"equipments": [
{
"code": "truck-04",
"intervals": [
{
"startDate": "2026-09-23 06:00:00 UTC",
"endDate": "2026-09-24 00:00:00 UTC"
},
{
"startDate": "2026-09-25 06:00:00 UTC",
"endDate": "2026-09-26 00:00:00 UTC"
}
]
}
]
}
}
]
}
{
"continuationToken": null,
"data": [
{
"mainResource": {
"code": "crane-02",
"type": "equipment",
"intervals": [
{
"startDate": "2026-09-22 06:00:00 UTC",
"endDate": null
}
]
},
"secondaryResources": {
"technicians": [
{
"code": "T-MARTIN",
"intervals": [
{
"startDate": "2026-09-22 06:00:00 UTC",
"endDate": "2026-10-01 00:00:00 UTC"
}
]
}
],
"equipments": []
}
}
]
}
{
"continuationToken": null,
"data": []
}
Response examples (400)
Missing period
{
"errors": [
{
"code": "rostering.crews.period.missing",
"message": "startDate and endDate are mandatory"
}
],
"errorReference": "923e4567-e89b-12d3-a456-426614174000"
}
{
"errors": [
{
"code": "rostering.crews.period.invalid",
"message": "startDate and endDate must be ISO 8601 dates, and endDate must be after startDate"
}
],
"errorReference": "923e4567-e89b-12d3-a456-426614174000"
}
{
"errors": [
{
"code": "rostering.crews.period.tooLong",
"message": "The requested period cannot exceed one year"
}
],
"errorReference": "923e4567-e89b-12d3-a456-426614174000"
}
{
"errors": [
{
"code": "rostering.crews.size.invalid",
"message": "size must be a positive integer"
}
],
"errorReference": "923e4567-e89b-12d3-a456-426614174000"
}
{
"errors": [
{
"code": "rostering.crews.continuationToken.invalid",
"message": "The continuation token is malformed or expired"
}
],
"errorReference": "923e4567-e89b-12d3-a456-426614174000"
}
Response examples (401)
401 unauthorized
{
"errors": [
{
"code": "unauthorized.nocredentials",
"message": "No credentials."
}
],
"errorReference": "f939c6b8c15045c9a70f500fdb570555"
}
{
"errors": [
{
"code": "unauthorized.badcredentials",
"message": "Bad Credentials."
}
],
"errorReference": "f1028f99811b422eb21f5ff176664069"
}
Response examples (403)
{
"errors": [
{
"code": "access.forbiden",
"message": "You don't have the rights to access this resource."
}
],
"errorReference": "a745dc4c5a2b473aaf8ce94c9260aa8f"
}
Response examples (429)
{
"errors": [
{
"code": "ratelimiter.toomanyrequest",
"message": "Rejected because of the rate limit definition."
}
],
"errorReference": "973326230a3f44daba6cc34a5939b4fb"
}
Response examples (500)
{
"errors": [
{
"code": "internal.server.error",
"message": "Something went wrong."
}
],
"errorReference": "6377010431314bf6b0b95ec4d32ddae0"
}