v1

latestOpenAPI 3.0.02026-07-2455104.8 MB
Product

View productions positions

Returns a list of given Products' positions in Productions

get/api/v1/products/{id}/productionsPositions

Path parameters

idstring required

Resource identifier.

Example:17

The resource's identifier.

Query parameters

numberstring required

Page number should be an integer greater than or equal to 1

sizestring required

Page size should usually be an integer between 10 and 50.

field'id' | 'amount'
dir'asc' | 'desc'

Response

Success

Example response

{
  "data": [
    {
      "id": "17",
      "amount": "25.00",
      "product": {
        "id": "12345"
      },
      "production": {
        "id": "12345",
        "number": "PROD-001",
        "status": "pending",
        "customer": {
          "id": "67890",
          "name": "John Doe"
        }
      }
    }
  ],
  "extra": {
    "page": {
      "number": 1,
      "size": 10
    }
  }
}