GET/production-api/package/getall

Retrieves all active ProductionPackages

AuthorizationBearer <token>

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

In: header

Response Body

application/json

curl -X GET "https://example.com/production-api/package/getall"
[  {    "id": 0,    "code": "string",    "descriptions": {      "property1": "string",      "property2": "string"    },    "packageKind": 0  }]
Empty
GET/production-api/package/getbyid

Retrieve a ProductionPackage 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 ProductionPackage

Response Body

application/json

curl -X GET "https://example.com/production-api/package/getbyid?id=0"
[  {    "id": 0,    "code": "string",    "descriptions": {      "property1": "string",      "property2": "string"    },    "packageKind": 0  }]
Empty
Empty
PUT/production-api/package/create

Creates a new ProductionPackage

AuthorizationBearer <token>

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

In: header

Request Body

The desired ProductionPackage

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PUT "https://example.com/production-api/package/create" \  -H "Content-Type: application/json" \  -d '{    "code": "string",    "descriptions": {      "property1": "string",      "property2": "string"    },    "packageKind": 0  }'
{  "id": 0,  "code": "string",  "descriptions": {    "property1": "string",    "property2": "string"  },  "packageKind": 0}
Empty
Empty
PATCH/production-api/package/update

Updates an existing ProductionPackage

AuthorizationBearer <token>

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

In: header

Request Body

The updated ProductionPackage model

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PATCH "https://example.com/production-api/package/update" \  -H "Content-Type: application/json" \  -d '{    "code": "string",    "descriptions": {      "property1": "string",      "property2": "string"    },    "packageKind": 0  }'
{  "id": 0,  "code": "string",  "descriptions": {    "property1": "string",    "property2": "string"  },  "packageKind": 0}
Empty
Empty
DELETE/production-api/package/delete

Deletes an existing ProductionPackage

AuthorizationBearer <token>

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

In: header

Query Parameters

id*integer

The ProductionDepartment.Id

Response Body

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

On this page