Get scheduling data of a work order

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://developers.praxedo.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "public-rest-apis MCP server": {
    "url": "https://developers.praxedo.com/mcp"
  }
}

Close
GET /eTech/rest/ws/scheduling/v1/workOrders/code:{workOrderCode}

Returns the scheduling data for a work order identified by its business code, provided the work order status is SCHEDULED or later.

Pair this endpoint with the status.scheduled webhook to react in near real-time when a work order is scheduled.

Rate limit range : High

Path parameters

  • workOrderCode string Required

    Business code of the work order. Case insensitive.

Responses

  • 200 application/json

    OK – Scheduling data for the requested work order.

    Hide response attributes Show response attributes object
    • schedule object Required

      Core scheduling block — time window and assigned field resources.

      Hide schedule attributes Show schedule attributes object
      • timeWindow object Required

        The time window during which the work order is planned to be executed. Both dates are in UTC, RFC 3339 format.

        Hide timeWindow attributes Show timeWindow attributes object
        • startDate string(date-time) Required

          Scheduled start date-time of the work order, UTC date-time notation as defined by RFC 3339, section 5.6.

        • endDate string(date-time) Required

          Scheduled end date-time of the work order, UTC date-time notation as defined by RFC 3339, section 5.6.

      • fieldResources object Required

        Field resources assigned to the work order. The main resource may be either a technician or a piece of equipment. Crew arrays are null when no additional resources are assigned.

        Hide fieldResources attributes Show fieldResources attributes object
        • mainResourceCode string Required

          Business code of the main resource assigned to the work order. Can be a technician code or an equipment code.

        • technicianCrewCodes array[string] | null

          Business codes of the additional technicians assigned alongside the main resource. Null when no additional technicians are assigned.

        • equipmentCrewCodes array[string] | null

          Business codes of the equipment assigned alongside the main resource. Null when no equipment is assigned.

    • customer object | null

      Customer-facing scheduling information: geolocated intervention site and appointment details communicated to the customer. The entire object is null when no customer-facing data is available. Individual fields are also independently nullable.

      Hide customer attributes Show customer attributes object | null
      • geolocation object | null

        GPS coordinates of the intervention site. Null when geolocation could not be determined.

        Hide geolocation attributes Show geolocation attributes object | null
        • lat number(double) Required

          Latitude of the intervention site.

        • lng number(double) Required

          Longitude of the intervention site.

      • appointment object | null

        Appointment details communicated to the customer. date and slot are independently nullable — one, both, or neither may be set depending on the scheduling configuration.

        Hide appointment attributes Show appointment attributes object | null
        • date string(date-time) | null

          Exact appointment date-time promised to the customer. Null if no precise appointment time was defined.

        • slot object | null

          Time slot communicated to the customer (e.g. "morning", "afternoon"). Null if no slot was defined.

          Hide slot attributes Show slot attributes object | null
          • startDate string(date-time) Required

            Start of the appointment slot, UTC date-time notation as defined by RFC 3339, section 5.6.

          • endDate string(date-time) Required

            End of the appointment slot, UTC date-time notation as defined by RFC 3339, section 5.6.

  • 400 application/json

    Bad Request – The request is structurally invalid. For the uuid: variant, this is returned when the provided value is not a valid UUID format.

    Hide response attributes Show response attributes object
    • errors array[object]

      Array of errors. Contains at least one element.

      Hide errors attributes Show errors attributes object

      Contains code and message for error.

      • code string Required
      • message string Required
    • errorReference string Required

      Error unique reference. Communicated to support, this will help to locate the issue.

      Format should match the following pattern: [0-1a-z].

  • 401 application/json

    Unauthorized - authentication issue.

    Hide response attributes Show response attributes object
    • errors array[object]

      Array of errors. Contains at least one element.

      Hide errors attributes Show errors attributes object

      Contains code and message for error.

      • code string Required
      • message string Required
    • errorReference string Required

      Error unique reference. Communicated to support, this will help to locate the issue.

      Format should match the following pattern: [0-1a-z].

  • 403 application/json

    Forbidden - not enough rights.

    Hide response attributes Show response attributes object
    • errors array[object]

      Array of errors. Contains at least one element.

      Hide errors attributes Show errors attributes object

      Contains code and message for error.

      • code string Required
      • message string Required
    • errorReference string Required

      Error unique reference. Communicated to support, this will help to locate the issue.

      Format should match the following pattern: [0-1a-z].

  • 404 application/json

    Not Found – Work order does not exist, or exists but is not yet scheduled (status ≤ PRE-SCHEDULED).

    Hide response attributes Show response attributes object
    • errors array[object]

      Array of errors. Contains at least one element.

      Hide errors attributes Show errors attributes object

      Contains code and message for error.

      • code string Required
      • message string Required
    • errorReference string Required

      Error unique reference. Communicated to support, this will help to locate the issue.

      Format should match the following pattern: [0-1a-z].

  • 429 application/json

    Too Many Requests.

    Hide response attributes Show response attributes object
    • errors array[object]

      Array of errors. Contains at least one element.

      Hide errors attributes Show errors attributes object

      Contains code and message for error.

      • code string Required
      • message string Required
    • errorReference string Required

      Error unique reference. Communicated to support, this will help to locate the issue.

      Format should match the following pattern: [0-1a-z].

  • 500 application/json

    Internal server error.

    Hide response attributes Show response attributes object
    • errors array[object]

      Array of errors. Contains at least one element.

      Hide errors attributes Show errors attributes object

      Contains code and message for error.

      • code string Required
      • message string Required
    • errorReference string Required

      Error unique reference. Communicated to support, this will help to locate the issue.

      Format should match the following pattern: [0-1a-z].

GET /eTech/rest/ws/scheduling/v1/workOrders/code:{workOrderCode}
curl \
 --request GET 'https://ws-eu1.praxedo.com/eTech/rest/ws/scheduling/v1/workOrders/code:WO-2026-00123' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "schedule": {
    "timeWindow": {
      "startDate": "2026-04-10 09:00:00 UTC",
      "endDate": "2026-04-10 10:00:00 UTC"
    },
    "fieldResources": {
      "mainResourceCode": "tech-55",
      "technicianCrewCodes": [
        "tech-88",
        "tech-98"
      ],
      "equipmentCrewCodes": [
        "truck-04"
      ]
    }
  },
  "customer": {
    "geolocation": {
      "lat": 48.8566,
      "lng": 2.3522
    },
    "appointment": {
      "date": "2026-04-10 10:00:00 UTC",
      "slot": {
        "startDate": "2026-04-10 08:00:00 UTC",
        "endDate": "2026-04-10 12:00:00 UTC"
      }
    }
  }
}
{
  "schedule": {
    "timeWindow": {
      "startDate": "2026-04-10 14:00:00 UTC",
      "endDate": "2026-04-10 16:00:00 UTC"
    },
    "fieldResources": {
      "mainResourceCode": "tech-55",
      "technicianCrewCodes": null,
      "equipmentCrewCodes": null
    }
  },
  "customer": {
    "geolocation": {
      "lat": 48.8566,
      "lng": 2.3522
    },
    "appointment": null
  }
}
{
  "schedule": {
    "timeWindow": {
      "startDate": "2026-04-11 08:00:00 UTC",
      "endDate": "2026-04-11 09:30:00 UTC"
    },
    "fieldResources": {
      "mainResourceCode": "truck-04",
      "technicianCrewCodes": [
        "tech-55"
      ],
      "equipmentCrewCodes": null
    }
  },
  "customer": {
    "geolocation": null,
    "appointment": {
      "date": null,
      "slot": {
        "startDate": "2026-04-11 08:00:00 UTC",
        "endDate": "2026-04-11 12:00:00 UTC"
      }
    }
  }
}
{
  "schedule": {
    "timeWindow": {
      "startDate": "2026-04-12 10:00:00 UTC",
      "endDate": "2026-04-12 11:00:00 UTC"
    },
    "fieldResources": {
      "mainResourceCode": "tech-55",
      "technicianCrewCodes": null,
      "equipmentCrewCodes": null
    }
  },
  "customer": null
}
Response examples (400)
{
  "errors": [
    {
      "code": "scheduling.workorder.uuid.invalid",
      "message": "The value 'not-a-uuid' is not a valid UUID."
    }
  ],
  "errorReference": "abcdefghij0123456789"
}
Response examples (401)
{
  "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 (404)
{
  "errors": [
    {
      "code": "scheduling.workorder.notfound",
      "message": "Work order with code 'WO-2026-00123' not found."
    }
  ],
  "errorReference": "abcdefghij0123456789"
}
{
  "errors": [
    {
      "code": "scheduling.workorder.notscheduled",
      "message": "Work order with code 'WO-2026-00123' is not yet scheduled."
    }
  ],
  "errorReference": "abcdefghij0123456789"
}
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"
}