📡Disposition API: get all plies

  • Endpoint: /dispositions

  • Method: GET

  • Query Parameters:

    • zstart (required): The starting point on the Z axis.

    • zend (required): The ending point on the Z axis.

    • xstart (required): The starting point on the X axis.

    • xend (required): The ending point on the X axis.

  • Success Response:

    • Code: 200 OK

    • Content: A JSON object with the following structure:

{
  "areaName": "String",
  "areaDesc": "String",
  "repairMethod": "String",
  "repairType": "String",
  "plies": [
    {
      "name": "String",
      "plySequence": "Number",
      "plyNumber": "String",
      "status": "String | null"
    },
    ...
  ]
}
  • Error Response:

    • Code: 4XX/5XX (depending on the error type)

    • Content: { error: "error message" }

  • Notes:

    • This API is used to fetch detailed information about a specific area's disposition within a 3D coordinate system based on the provided start and end points on X and Z axes.

    • The response includes both the overall area details and a detailed breakdown of each ply within the specified coordinates.

Last updated