GET/production-api/polygondepartment/getbyid

Retrieve a ProductionPolygonDepartment by its ID

AuthorizationBearer <token>

Access Token used to access this API (JWT bearer token).

In: header

Query Parameters

id*integer

The ID of the desired ProductionPolygonDepartment

Response Body

application/json

curl -X GET "https://example.com/production-api/polygondepartment/getbyid?id=0"
{  "id": 0,  "startAt": "2019-08-24T14:15:22Z",  "finishAt": "2019-08-24T14:15:22Z",  "deliverAt": "2019-08-24T14:15:22Z",  "productionValue": 0,  "productionPolygonId": 0,  "productionDepartmentId": 0,  "productionPackageId": 0}
Empty
Empty
GET/production-api/polygondepartment/getbydepartment

Retrieve all ProductionPolygonDepartment belonging to a specific ProductionDepartment

AuthorizationBearer <token>

Access Token used to access this API (JWT bearer token).

In: header

Query Parameters

productionDepartmentId*integer

The ID of the ProductionDepartment

Response Body

application/json

curl -X GET "https://example.com/production-api/polygondepartment/getbydepartment?productionDepartmentId=0"
[  {    "id": 0,    "startAt": "2019-08-24T14:15:22Z",    "finishAt": "2019-08-24T14:15:22Z",    "deliverAt": "2019-08-24T14:15:22Z",    "productionValue": 0,    "productionPolygonId": 0,    "productionDepartmentId": 0,    "productionPackageId": 0  }]
Empty
GET/production-api/polygondepartment/getbypolygon

Retrieve all ProductionPolygonDepartment belonging to a specific ProductionPolygon

AuthorizationBearer <token>

Access Token used to access this API (JWT bearer token).

In: header

Query Parameters

productionPolygonId*integer

The ID of the ProductionPolygon

Response Body

application/json

curl -X GET "https://example.com/production-api/polygondepartment/getbypolygon?productionPolygonId=0"
[  {    "id": 0,    "startAt": "2019-08-24T14:15:22Z",    "finishAt": "2019-08-24T14:15:22Z",    "deliverAt": "2019-08-24T14:15:22Z",    "productionValue": 0,    "productionPolygonId": 0,    "productionDepartmentId": 0,    "productionPackageId": 0  }]
Empty
PUT/production-api/polygondepartment/create

Creates a new ProductionPolygonDepartment

AuthorizationBearer <token>

Access Token used to access this API (JWT bearer token).

In: header

Request Body

The desired ProductionPolygonDepartment

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PUT "https://example.com/production-api/polygondepartment/create" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": 0,  "startAt": "2019-08-24T14:15:22Z",  "finishAt": "2019-08-24T14:15:22Z",  "deliverAt": "2019-08-24T14:15:22Z",  "productionValue": 0,  "productionPolygonId": 0,  "productionDepartmentId": 0,  "productionPackageId": 0}
Empty
Empty
PATCH/production-api/polygondepartment/update

Updates an existing ProductionPolygonDepartment

AuthorizationBearer <token>

Access Token used to access this API (JWT bearer token).

In: header

Request Body

The updated ProductionPolygonDepartment model

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PATCH "https://example.com/production-api/polygondepartment/update" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": 0,  "startAt": "2019-08-24T14:15:22Z",  "finishAt": "2019-08-24T14:15:22Z",  "deliverAt": "2019-08-24T14:15:22Z",  "productionValue": 0,  "productionPolygonId": 0,  "productionDepartmentId": 0,  "productionPackageId": 0}
Empty
Empty
DELETE/production-api/polygondepartment/delete

Deletes an existing ProductionPolygonDepartment

AuthorizationBearer <token>

Access Token used to access this API (JWT bearer token).

In: header

Query Parameters

id*integer

The ProductionPolygonDepartment ID

Response Body

curl -X DELETE "https://example.com/production-api/polygondepartment/delete?id=0"
Empty
Empty
Empty

On this page