Download OpenAPI specification:Download
This is the official Quasydoc API documentation.
Get a list of customers
filter[reference] | string Only get the customer that matches given reference |
page | integer >= 1 The page of the result set. When not specified the first page will be returned |
per_page | integer [ 1 .. 50 ] The number of objects per page of the result set |
include | string Enum: "customer_type" "language" "currency" "account_manager" "customer_service_mananger" Customise which related resources should be returned. Include one or more from the given options comma separated |
Array of objects (Customer) | |
Array of CustomerType (object) or I18nLanguage (object) or Currency (object) or User (object) unique | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "customers",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "alt_name": "string",
- "is_prospect": true,
- "is_active": true,
- "emergency_phone_nr": "string",
- "emergency_contact": "string",
- "credit_limit_used": 0,
- "expired_invoices_total": 0,
- "modified_date": "string"
}, - "relationships": {
- "customer_type": {
- "data": {
- "type": "customer_types",
- "id": 0
}
}, - "language": {
- "data": {
- "type": "languages",
- "id": 0
}
}, - "currency": {
- "data": {
- "type": "currencies",
- "id": 0
}
}, - "account_manager": {
- "data": {
- "type": "users",
- "id": 0
}
}, - "customer_service_manager": {
- "data": {
- "type": "users",
- "id": 0
}
}
}
}
], - "included": [
- {
- "type": "customer_types",
- "id": 0,
- "attributes": {
- "reference": 0,
- "import_reference": "string",
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "modified_date": "string"
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Add a customer
Customer to add
object (Customer) |
object (Customer) |
{- "data": {
- "type": "customers",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "alt_name": "string",
- "is_prospect": true,
- "is_active": true,
- "emergency_phone_nr": "string",
- "emergency_contact": "string",
- "credit_limit_used": 0,
- "expired_invoices_total": 0,
- "modified_date": "string"
}, - "relationships": {
- "customer_type": {
- "data": {
- "type": "customer_types",
- "id": 0
}
}, - "language": {
- "data": {
- "type": "languages",
- "id": 0
}
}, - "currency": {
- "data": {
- "type": "currencies",
- "id": 0
}
}, - "account_manager": {
- "data": {
- "type": "users",
- "id": 0
}
}, - "customer_service_manager": {
- "data": {
- "type": "users",
- "id": 0
}
}
}
}
}
{- "data": {
- "type": "customers",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "alt_name": "string",
- "is_prospect": true,
- "is_active": true,
- "emergency_phone_nr": "string",
- "emergency_contact": "string",
- "credit_limit_used": 0,
- "expired_invoices_total": 0,
- "modified_date": "string"
}, - "relationships": {
- "customer_type": {
- "data": {
- "type": "customer_types",
- "id": 0
}
}, - "language": {
- "data": {
- "type": "languages",
- "id": 0
}
}, - "currency": {
- "data": {
- "type": "currencies",
- "id": 0
}
}, - "account_manager": {
- "data": {
- "type": "users",
- "id": 0
}
}, - "customer_service_manager": {
- "data": {
- "type": "users",
- "id": 0
}
}
}
}
}
Get a single customer by its id
id required | integer Id of the customer |
include | string Enum: "customer_type" "language" "currency" "account_manager" "customer_service_manager" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Customer) | |
Array of CustomerType (object) or I18nLanguage (object) or Currency (object) or User (object) unique |
{- "data": {
- "type": "customers",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "alt_name": "string",
- "is_prospect": true,
- "is_active": true,
- "emergency_phone_nr": "string",
- "emergency_contact": "string",
- "credit_limit_used": 0,
- "expired_invoices_total": 0,
- "modified_date": "string"
}, - "relationships": {
- "customer_type": {
- "data": {
- "type": "customer_types",
- "id": 0
}
}, - "language": {
- "data": {
- "type": "languages",
- "id": 0
}
}, - "currency": {
- "data": {
- "type": "currencies",
- "id": 0
}
}, - "account_manager": {
- "data": {
- "type": "users",
- "id": 0
}
}, - "customer_service_manager": {
- "data": {
- "type": "users",
- "id": 0
}
}
}
}, - "included": [
- {
- "type": "customer_types",
- "id": 0,
- "attributes": {
- "reference": 0,
- "import_reference": "string",
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "modified_date": "string"
}
}
]
}
Update a customer by its id. Only given properties will be updated
id required | integer Id of the customer |
Customer properties to update
object (Customer) |
object (Customer) |
{- "data": {
- "type": "customers",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "alt_name": "string",
- "is_prospect": true,
- "is_active": true,
- "emergency_phone_nr": "string",
- "emergency_contact": "string",
- "credit_limit_used": 0,
- "expired_invoices_total": 0,
- "modified_date": "string"
}, - "relationships": {
- "customer_type": {
- "data": {
- "type": "customer_types",
- "id": 0
}
}, - "language": {
- "data": {
- "type": "languages",
- "id": 0
}
}, - "currency": {
- "data": {
- "type": "currencies",
- "id": 0
}
}, - "account_manager": {
- "data": {
- "type": "users",
- "id": 0
}
}, - "customer_service_manager": {
- "data": {
- "type": "users",
- "id": 0
}
}
}
}
}
{- "data": {
- "type": "customers",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "alt_name": "string",
- "is_prospect": true,
- "is_active": true,
- "emergency_phone_nr": "string",
- "emergency_contact": "string",
- "credit_limit_used": 0,
- "expired_invoices_total": 0,
- "modified_date": "string"
}, - "relationships": {
- "customer_type": {
- "data": {
- "type": "customer_types",
- "id": 0
}
}, - "language": {
- "data": {
- "type": "languages",
- "id": 0
}
}, - "currency": {
- "data": {
- "type": "currencies",
- "id": 0
}
}, - "account_manager": {
- "data": {
- "type": "users",
- "id": 0
}
}, - "customer_service_manager": {
- "data": {
- "type": "users",
- "id": 0
}
}
}
}
}
Get the current customer_type relationship of the customer
id required | integer Id of the customer |
include | string Value: "customer_type" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (CustomerTypeRelation) | |
Array of objects (CustomerType) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "customer_types",
- "id": 0
}, - "included": [
- {
- "type": "customer_types",
- "id": 0,
- "attributes": {
- "reference": 0,
- "import_reference": "string",
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "modified_date": "string"
}
}
]
}
Update a customer_type of a customer. This is a to-one relationship that cannot be removed.
id required | integer Id of the customer |
Customer type object identifier. This is a to-one relationship that cannot be removed.
object (CustomerTypeRelation) |
{- "data": {
- "type": "customer_types",
- "id": 0
}
}
{- "errors": {
- "status": 404,
- "detail": "Resource Not Found"
}
}
Get the current customer_type of the customer
id required | integer Id of the customer |
object (CustomerType) |
{- "data": {
- "type": "customer_types",
- "id": 0,
- "attributes": {
- "reference": 0,
- "import_reference": "string",
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "modified_date": "string"
}
}
}
Get the current language relationship of the customer
id required | integer Id of the customer |
include | string Value: "language" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (I18nLanguageRelation) | |
Array of objects (I18nLanguage) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "languages",
- "id": 0
}, - "included": [
- {
- "type": "languages",
- "id": 0,
- "attributes": {
- "description": "string",
- "alpha_2_code": "string"
}
}
]
}
Update a language of a customer. This is a to-one relationship that cannot be removed.
id required | integer Id of the customer |
Language object identifier. This is a to-one relationship that cannot be removed.
object (I18nLanguageRelation) |
{- "data": {
- "type": "languages",
- "id": 0
}
}
{- "errors": {
- "status": 404,
- "detail": "Resource Not Found"
}
}
Get the current language of the customer
id required | integer Id of the customer |
object (I18nLanguage) |
{- "data": {
- "type": "languages",
- "id": 0,
- "attributes": {
- "description": "string",
- "alpha_2_code": "string"
}
}
}
Get the current currency relationship of the customer
id required | integer Id of the customer |
include | string Value: "currency" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (CurrencyRelation) | |
Array of objects (Currency) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "currencies",
- "id": 0
}, - "included": [
- {
- "type": "currencies",
- "id": 0,
- "attributes": {
- "symbol": "string",
- "alpha_3_code": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
]
}
Update a currency of a customer. This is a to-one relationship that cannot be removed.
id required | integer Id of the customer |
Currency object identifier. This is a to-one relationship that cannot be removed.
object (CurrencyRelation) |
{- "data": {
- "type": "currencies",
- "id": 0
}
}
{- "errors": {
- "status": 404,
- "detail": "Resource Not Found"
}
}
Get the current currency of the customer
id required | integer Id of the customer |
object (Currency) |
{- "data": {
- "type": "currencies",
- "id": 0,
- "attributes": {
- "symbol": "string",
- "alpha_3_code": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
}
Get the current account manager relationship of the customer
id required | integer Id of the customer |
include | string Value: "account_manager" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (UserRelation) | |
Array of objects (User) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "users",
- "id": 0
}, - "included": [
- {
- "type": "users",
- "id": 0,
- "attributes": {
- "username": "string",
- "modified_date": "string"
}
}
]
}
Update a account manager of a customer. This is a to-one relationship that cannot be removed.
id required | integer Id of the customer |
Account manager object identifier. This is a to-one relationship that cannot be removed.
object (UserRelation) |
{- "data": {
- "type": "users",
- "id": 0
}
}
{- "errors": {
- "status": 404,
- "detail": "Resource Not Found"
}
}
Get the current account manager of the customer
id required | integer Id of the customer |
object (User) |
{- "data": {
- "type": "users",
- "id": 0,
- "attributes": {
- "username": "string",
- "modified_date": "string"
}
}
}
Get the current customer service manager relationship of the customer
id required | integer Id of the customer |
include | string Value: "customer_service_manager" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (UserRelation) | |
Array of objects (User) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "users",
- "id": 0
}, - "included": [
- {
- "type": "users",
- "id": 0,
- "attributes": {
- "username": "string",
- "modified_date": "string"
}
}
]
}
Update a customer service manager of a customer. This is a to-one relationship that cannot be removed.
id required | integer Id of the customer |
Customer service manager object identifier. This is a to-one relationship that cannot be removed.
object (UserRelation) |
{- "data": {
- "type": "users",
- "id": 0
}
}
{- "errors": {
- "status": 404,
- "detail": "Resource Not Found"
}
}
Get the current customer service manager of the customer
id required | integer Id of the customer |
object (User) |
{- "data": {
- "type": "users",
- "id": 0,
- "attributes": {
- "username": "string",
- "modified_date": "string"
}
}
}
Get a list of customer products
include | string Enum: "customer" "product" Customise which related resources should be returned. Include one or more from the given options comma separated |
page | integer >= 1 The page of the result set. When not specified the first page will be returned |
per_page | integer [ 1 .. 50 ] The number of objects per page of the result set |
Array of objects (CustomerProduct) | |
Array of Customer (object) or Product (object) unique | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "customer_products",
- "id": 0,
- "attributes": {
- "external_reference": "string",
- "external_product_name": "string"
}, - "relationships": {
- "customer": {
- "data": {
- "type": "customers",
- "id": 0
}
}, - "product": {
- "data": {
- "type": "products",
- "id": 0
}
}
}
}
], - "included": [
- {
- "type": "customers",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "alt_name": "string",
- "is_prospect": true,
- "is_active": true,
- "emergency_phone_nr": "string",
- "emergency_contact": "string",
- "credit_limit_used": 0,
- "expired_invoices_total": 0,
- "modified_date": "string"
}, - "relationships": {
- "customer_type": {
- "data": {
- "type": "customer_types",
- "id": 0
}
}, - "language": {
- "data": {
- "type": "languages",
- "id": 0
}
}, - "currency": {
- "data": {
- "type": "currencies",
- "id": 0
}
}, - "account_manager": {
- "data": {
- "type": "users",
- "id": 0
}
}, - "customer_service_manager": {
- "data": {
- "type": "users",
- "id": 0
}
}
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Add a customer product
Customer product to add
object (CustomerProduct) |
object (CustomerProduct) |
{- "data": {
- "type": "customer_products",
- "id": 0,
- "attributes": {
- "external_reference": "string",
- "external_product_name": "string"
}, - "relationships": {
- "customer": {
- "data": {
- "type": "customers",
- "id": 0
}
}, - "product": {
- "data": {
- "type": "products",
- "id": 0
}
}
}
}
}
{- "data": {
- "type": "customer_products",
- "id": 0,
- "attributes": {
- "external_reference": "string",
- "external_product_name": "string"
}, - "relationships": {
- "customer": {
- "data": {
- "type": "customers",
- "id": 0
}
}, - "product": {
- "data": {
- "type": "products",
- "id": 0
}
}
}
}
}
Get a single customer product by its id
id required | integer Id of the customer product |
include | string Enum: "customer" "product" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (CustomerProduct) | |
Array of Customer (object) or Product (object) unique |
{- "data": {
- "type": "customer_products",
- "id": 0,
- "attributes": {
- "external_reference": "string",
- "external_product_name": "string"
}, - "relationships": {
- "customer": {
- "data": {
- "type": "customers",
- "id": 0
}
}, - "product": {
- "data": {
- "type": "products",
- "id": 0
}
}
}
}, - "included": [
- {
- "type": "customers",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "alt_name": "string",
- "is_prospect": true,
- "is_active": true,
- "emergency_phone_nr": "string",
- "emergency_contact": "string",
- "credit_limit_used": 0,
- "expired_invoices_total": 0,
- "modified_date": "string"
}, - "relationships": {
- "customer_type": {
- "data": {
- "type": "customer_types",
- "id": 0
}
}, - "language": {
- "data": {
- "type": "languages",
- "id": 0
}
}, - "currency": {
- "data": {
- "type": "currencies",
- "id": 0
}
}, - "account_manager": {
- "data": {
- "type": "users",
- "id": 0
}
}, - "customer_service_manager": {
- "data": {
- "type": "users",
- "id": 0
}
}
}
}
]
}
Update a customer product by its id. Only given properties will be updated
id required | integer Id of the customer product |
Customer product properties to update
object (CustomerProduct) |
object (CustomerProduct) |
{- "data": {
- "type": "customer_products",
- "id": 0,
- "attributes": {
- "external_reference": "string",
- "external_product_name": "string"
}, - "relationships": {
- "customer": {
- "data": {
- "type": "customers",
- "id": 0
}
}, - "product": {
- "data": {
- "type": "products",
- "id": 0
}
}
}
}
}
{- "data": {
- "type": "customer_products",
- "id": 0,
- "attributes": {
- "external_reference": "string",
- "external_product_name": "string"
}, - "relationships": {
- "customer": {
- "data": {
- "type": "customers",
- "id": 0
}
}, - "product": {
- "data": {
- "type": "products",
- "id": 0
}
}
}
}
}
Deleting a customer product relation is not implemented
id required | integer Id of the customer product |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current customer relationship of the customer product
id required | integer Id of the customer product |
include | string Value: "customer" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (CustomerRelation) | |
Array of objects (Customer) unique | |
object (Links) |
{- "data": {
- "type": "customers",
- "id": 0
}, - "included": [
- {
- "type": "customers",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "alt_name": "string",
- "is_prospect": true,
- "is_active": true,
- "emergency_phone_nr": "string",
- "emergency_contact": "string",
- "credit_limit_used": 0,
- "expired_invoices_total": 0,
- "modified_date": "string"
}, - "relationships": {
- "customer_type": {
- "data": {
- "type": "customer_types",
- "id": 0
}
}, - "language": {
- "data": {
- "type": "languages",
- "id": 0
}
}, - "currency": {
- "data": {
- "type": "currencies",
- "id": 0
}
}, - "account_manager": {
- "data": {
- "type": "users",
- "id": 0
}
}, - "customer_service_manager": {
- "data": {
- "type": "users",
- "id": 0
}
}
}
}
], - "links": {
- "self": "string",
- "related": "string"
}
}
Updating a customer of a customer product relation is not allowed
id required | integer Id of the customer product |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current customer of the customer product
id required | integer Id of the customer product |
object (Customer) |
{- "data": {
- "type": "customers",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "alt_name": "string",
- "is_prospect": true,
- "is_active": true,
- "emergency_phone_nr": "string",
- "emergency_contact": "string",
- "credit_limit_used": 0,
- "expired_invoices_total": 0,
- "modified_date": "string"
}, - "relationships": {
- "customer_type": {
- "data": {
- "type": "customer_types",
- "id": 0
}
}, - "language": {
- "data": {
- "type": "languages",
- "id": 0
}
}, - "currency": {
- "data": {
- "type": "currencies",
- "id": 0
}
}, - "account_manager": {
- "data": {
- "type": "users",
- "id": 0
}
}, - "customer_service_manager": {
- "data": {
- "type": "users",
- "id": 0
}
}
}
}
}
Get the current product relationship of the customer product
id required | integer Id of the customer product |
include | string Value: "product" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (ProductRelation) | |
Array of objects (Product) unique | |
object (Links) |
{- "data": {
- "type": "products",
- "id": 0
}, - "included": [
- {
- "type": "products",
- "id": 0,
- "attributes": {
- "reference": "string",
- "is_active": true,
- "is_sales": true,
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "legal_name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "gtin": "string",
- "intrastat_code": "string",
- "gross_weight_in_kilogram": 0,
- "net_weight_in_kilogram": 0,
- "drained_weight_in_kilogram": 0,
- "production_efficiency_per_hour": 0,
- "production_report_type_component": "None",
- "production_report_type_byprod": "None",
- "product_structure_quantity": 0,
- "is_lotcontrolled": true,
- "nlc": 0,
- "shelf_life": {
- "value": 0,
- "interval": "Days"
}, - "modified_date": "string"
}, - "relationships": {
- "unit": {
- "data": {
- "type": "units",
- "id": 0
}
}, - "product_group": {
- "data": {
- "type": "product_groups",
- "id": 0
}
}
}
}
], - "links": {
- "self": "string",
- "related": "string"
}
}
Updating a product of a customer product relation is not allowed
id required | integer Id of the customer product |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current product of the customer product
id required | integer Id of the customer product |
object (Links) | |
object (Product) | |
Array of objects (Product) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "products",
- "id": 0,
- "attributes": {
- "reference": "string",
- "is_active": true,
- "is_sales": true,
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "legal_name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "gtin": "string",
- "intrastat_code": "string",
- "gross_weight_in_kilogram": 0,
- "net_weight_in_kilogram": 0,
- "drained_weight_in_kilogram": 0,
- "production_efficiency_per_hour": 0,
- "production_report_type_component": "None",
- "production_report_type_byprod": "None",
- "product_structure_quantity": 0,
- "is_lotcontrolled": true,
- "nlc": 0,
- "shelf_life": {
- "value": 0,
- "interval": "Days"
}, - "modified_date": "string"
}, - "relationships": {
- "unit": {
- "data": {
- "type": "units",
- "id": 0
}
}, - "product_group": {
- "data": {
- "type": "product_groups",
- "id": 0
}
}
}
}, - "included": [
- {
- "type": "products",
- "id": 0,
- "attributes": {
- "reference": "string",
- "is_active": true,
- "is_sales": true,
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "legal_name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "gtin": "string",
- "intrastat_code": "string",
- "gross_weight_in_kilogram": 0,
- "net_weight_in_kilogram": 0,
- "drained_weight_in_kilogram": 0,
- "production_efficiency_per_hour": 0,
- "production_report_type_component": "None",
- "production_report_type_byprod": "None",
- "product_structure_quantity": 0,
- "is_lotcontrolled": true,
- "nlc": 0,
- "shelf_life": {
- "value": 0,
- "interval": "Days"
}, - "modified_date": "string"
}, - "relationships": {
- "unit": {
- "data": {
- "type": "units",
- "id": 0
}
}, - "product_group": {
- "data": {
- "type": "product_groups",
- "id": 0
}
}
}
}
]
}
Get a list of customer types
page | integer >= 1 The page of the result set. When not specified the first page will be returned |
per_page | integer [ 1 .. 50 ] The number of objects per page of the result set |
Array of objects (CustomerType) | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "customer_types",
- "id": 0,
- "attributes": {
- "reference": 0,
- "import_reference": "string",
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "modified_date": "string"
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Add a customer type
Customer type to add
object (CustomerType) |
object (CustomerType) |
{- "data": {
- "type": "customer_types",
- "id": 0,
- "attributes": {
- "reference": 0,
- "import_reference": "string",
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "modified_date": "string"
}
}
}
{- "data": {
- "type": "customer_types",
- "id": 0,
- "attributes": {
- "reference": 0,
- "import_reference": "string",
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "modified_date": "string"
}
}
}
Get a single customer type by its id
id required | integer Id of the customer type |
object (CustomerType) |
{- "data": {
- "type": "customer_types",
- "id": 0,
- "attributes": {
- "reference": 0,
- "import_reference": "string",
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "modified_date": "string"
}
}
}
Update a customer type by its id. Only given properties will be updated
id required | integer Id of the customer type |
Customer type properties to update
object (CustomerType) |
object (CustomerType) |
{- "data": {
- "type": "customer_types",
- "id": 0,
- "attributes": {
- "reference": 0,
- "import_reference": "string",
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "modified_date": "string"
}
}
}
{- "data": {
- "type": "customer_types",
- "id": 0,
- "attributes": {
- "reference": 0,
- "import_reference": "string",
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "modified_date": "string"
}
}
}
Get a list of products
include | string Enum: "unit" "product_group" "product_structure" Customise which related resources should be returned. Include one or more from the given options comma separated |
sales | integer Enum: 0 1 Only get the sales products? |
active | integer Enum: 0 1 Only get the active products? |
gtin | integer Only get the product that matches the gtin |
product_group_id | integer Only get the products that match the product group |
page | integer >= 1 The page of the result set. When not specified the first page will be returned |
per_page | integer [ 1 .. 50 ] The number of objects per page of the result set |
Array of objects (Product) | |
Array of Unit (object) or ProductGroup (object) unique | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "products",
- "id": 0,
- "attributes": {
- "reference": "string",
- "is_active": true,
- "is_sales": true,
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "legal_name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "gtin": "string",
- "intrastat_code": "string",
- "gross_weight_in_kilogram": 0,
- "net_weight_in_kilogram": 0,
- "drained_weight_in_kilogram": 0,
- "production_efficiency_per_hour": 0,
- "production_report_type_component": "None",
- "production_report_type_byprod": "None",
- "product_structure_quantity": 0,
- "is_lotcontrolled": true,
- "nlc": 0,
- "shelf_life": {
- "value": 0,
- "interval": "Days"
}, - "modified_date": "string"
}, - "relationships": {
- "unit": {
- "data": {
- "type": "units",
- "id": 0
}
}, - "product_group": {
- "data": {
- "type": "product_groups",
- "id": 0
}
}
}
}
], - "included": [
- {
- "type": "units",
- "id": 0,
- "attributes": {
- "reference": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "modified_date": "string"
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Add a product
Product to add
object (Product) |
object (Product) | |
Array of Unit (object) or ProductGroup (object) unique |
{- "data": {
- "type": "products",
- "id": 0,
- "attributes": {
- "reference": "string",
- "is_active": true,
- "is_sales": true,
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "legal_name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "gtin": "string",
- "intrastat_code": "string",
- "gross_weight_in_kilogram": 0,
- "net_weight_in_kilogram": 0,
- "drained_weight_in_kilogram": 0,
- "production_efficiency_per_hour": 0,
- "production_report_type_component": "None",
- "production_report_type_byprod": "None",
- "product_structure_quantity": 0,
- "is_lotcontrolled": true,
- "nlc": 0,
- "shelf_life": {
- "value": 0,
- "interval": "Days"
}, - "modified_date": "string"
}, - "relationships": {
- "unit": {
- "data": {
- "type": "units",
- "id": 0
}
}, - "product_group": {
- "data": {
- "type": "product_groups",
- "id": 0
}
}
}
}
}
{- "data": {
- "type": "products",
- "id": 0,
- "attributes": {
- "reference": "string",
- "is_active": true,
- "is_sales": true,
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "legal_name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "gtin": "string",
- "intrastat_code": "string",
- "gross_weight_in_kilogram": 0,
- "net_weight_in_kilogram": 0,
- "drained_weight_in_kilogram": 0,
- "production_efficiency_per_hour": 0,
- "production_report_type_component": "None",
- "production_report_type_byprod": "None",
- "product_structure_quantity": 0,
- "is_lotcontrolled": true,
- "nlc": 0,
- "shelf_life": {
- "value": 0,
- "interval": "Days"
}, - "modified_date": "string"
}, - "relationships": {
- "unit": {
- "data": {
- "type": "units",
- "id": 0
}
}, - "product_group": {
- "data": {
- "type": "product_groups",
- "id": 0
}
}
}
}, - "included": [
- {
- "type": "units",
- "id": 0,
- "attributes": {
- "reference": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "modified_date": "string"
}
}
]
}
Get a single product by its id
id required | integer Id of the product |
include | string Enum: "unit" "product_group" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Product) | |
Array of Unit (object) or ProductGroup (object) unique |
{- "data": {
- "type": "products",
- "id": 0,
- "attributes": {
- "reference": "string",
- "is_active": true,
- "is_sales": true,
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "legal_name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "gtin": "string",
- "intrastat_code": "string",
- "gross_weight_in_kilogram": 0,
- "net_weight_in_kilogram": 0,
- "drained_weight_in_kilogram": 0,
- "production_efficiency_per_hour": 0,
- "production_report_type_component": "None",
- "production_report_type_byprod": "None",
- "product_structure_quantity": 0,
- "is_lotcontrolled": true,
- "nlc": 0,
- "shelf_life": {
- "value": 0,
- "interval": "Days"
}, - "modified_date": "string"
}, - "relationships": {
- "unit": {
- "data": {
- "type": "units",
- "id": 0
}
}, - "product_group": {
- "data": {
- "type": "product_groups",
- "id": 0
}
}
}
}, - "included": [
- {
- "type": "units",
- "id": 0,
- "attributes": {
- "reference": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "modified_date": "string"
}
}
]
}
Update a product by its id. Only given properties will be updated
id required | integer Id of the product |
Product properties to update
object (Product) |
object (Product) | |
Array of Unit (object) or ProductGroup (object) unique |
{- "data": {
- "type": "products",
- "id": 0,
- "attributes": {
- "reference": "string",
- "is_active": true,
- "is_sales": true,
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "legal_name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "gtin": "string",
- "intrastat_code": "string",
- "gross_weight_in_kilogram": 0,
- "net_weight_in_kilogram": 0,
- "drained_weight_in_kilogram": 0,
- "production_efficiency_per_hour": 0,
- "production_report_type_component": "None",
- "production_report_type_byprod": "None",
- "product_structure_quantity": 0,
- "is_lotcontrolled": true,
- "nlc": 0,
- "shelf_life": {
- "value": 0,
- "interval": "Days"
}, - "modified_date": "string"
}, - "relationships": {
- "unit": {
- "data": {
- "type": "units",
- "id": 0
}
}, - "product_group": {
- "data": {
- "type": "product_groups",
- "id": 0
}
}
}
}
}
{- "data": {
- "type": "products",
- "id": 0,
- "attributes": {
- "reference": "string",
- "is_active": true,
- "is_sales": true,
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "legal_name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "gtin": "string",
- "intrastat_code": "string",
- "gross_weight_in_kilogram": 0,
- "net_weight_in_kilogram": 0,
- "drained_weight_in_kilogram": 0,
- "production_efficiency_per_hour": 0,
- "production_report_type_component": "None",
- "production_report_type_byprod": "None",
- "product_structure_quantity": 0,
- "is_lotcontrolled": true,
- "nlc": 0,
- "shelf_life": {
- "value": 0,
- "interval": "Days"
}, - "modified_date": "string"
}, - "relationships": {
- "unit": {
- "data": {
- "type": "units",
- "id": 0
}
}, - "product_group": {
- "data": {
- "type": "product_groups",
- "id": 0
}
}
}
}, - "included": [
- {
- "type": "units",
- "id": 0,
- "attributes": {
- "reference": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "modified_date": "string"
}
}
]
}
Get the current unit relationship of the product
id required | integer Id of the product |
include | string Value: "unit" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (UnitRelation) | |
Array of objects (Unit) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "units",
- "id": 0
}, - "included": [
- {
- "type": "units",
- "id": 0,
- "attributes": {
- "reference": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "modified_date": "string"
}
}
]
}
Get the current unit of the product
id required | integer Id of the product |
object (Unit) |
{- "data": {
- "type": "units",
- "id": 0,
- "attributes": {
- "reference": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "modified_date": "string"
}
}
}
Get the current product group relation of the product
id required | integer Id of the product |
include | string Value: "product_group" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object or null (ProductGroupRelation) | |
Array of objects (ProductGroup) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "product_groups",
- "id": 0
}, - "included": [
- {
- "type": "product_groups",
- "id": 0,
- "attributes": {
- "is_active": true,
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "import_reference": "string",
- "inform_days_bbd": 0,
- "allow_only_one_unit": true,
- "remark": "string",
- "label_color": "string",
- "transport_packaging_settings": {
- "remove_stock_when_picked": true,
- "rounding": "up"
}, - "modified_date": "string"
}, - "relationships": {
- "type": {
- "data": {
- "type": "product_group_types",
- "id": 0
}
}
}
}
]
}
Update a product's product group relation
id required | integer Id of the product |
Product group object identifier. This is a to-one relationship. To remove the relationship, set the id to null.
object or null (ProductGroupRelation) |
{- "data": {
- "type": "product_groups",
- "id": 0
}
}
{- "errors": {
- "status": 404,
- "detail": "Resource Not Found"
}
}
Get the current product group of the product
id required | integer Id of the product |
include | string Value: "type" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (ProductGroup) | |
Array of objects (ProductGroupType) unique |
{- "data": {
- "type": "product_groups",
- "id": 0,
- "attributes": {
- "is_active": true,
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "import_reference": "string",
- "inform_days_bbd": 0,
- "allow_only_one_unit": true,
- "remark": "string",
- "label_color": "string",
- "transport_packaging_settings": {
- "remove_stock_when_picked": true,
- "rounding": "up"
}, - "modified_date": "string"
}, - "relationships": {
- "type": {
- "data": {
- "type": "product_group_types",
- "id": 0
}
}
}
}, - "included": [
- {
- "type": "product_group_types",
- "id": 0,
- "attributes": {
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
]
}
Get the current product structure relation of the product
id required | integer Id of the product |
include | string Value: "product_structure" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object or null (ProductStructureRelation) | |
Array of objects (ProductStructure) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "product_structures",
- "id": 0
}, - "included": [
- {
- "type": "product_structures",
- "id": 0,
- "attributes": {
- "quantity": 0,
- "modified_date": "string"
}, - "relationships": {
- "items": {
- "data": [
- {
- "type": "product_structure_items",
- "id": 0
}
]
}
}
}
]
}
Update a product's product structure relation
id required | integer Id of the product |
Product structure object identifier. This is a to-one relationship.
object or null (ProductStructureRelation) |
{- "data": {
- "type": "product_structures",
- "id": 0
}
}
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current product structure of the product
id required | integer Id of the product |
include | string Value: "items" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (ProductStructure) | |
Array of objects (ProductStructureItem) unique |
{- "data": {
- "type": "product_structures",
- "id": 0,
- "attributes": {
- "quantity": 0,
- "modified_date": "string"
}, - "relationships": {
- "items": {
- "data": [
- {
- "type": "product_structure_items",
- "id": 0
}
]
}
}
}, - "included": [
- {
- "type": "product_structure_items",
- "id": 0,
- "attributes": {
- "net_quantity": 0,
- "gross_quantity": 0,
- "loss_percentage": 0,
- "is_phantom": true,
- "is_processing_agent": true,
- "skip_grain_component_calculation": true,
- "modified_date": "string"
}, - "relationships": {
- "product": {
- "data": {
- "type": "products",
- "id": 0
}
}, - "unit": {
- "data": {
- "type": "units",
- "id": 0
}
}, - "type": {
- "data": {
- "type": "product_structure_item_types",
- "id": 0
}
}, - "calculation_method": {
- "data": {
- "type": "product_structure_item_calculation_methods",
- "id": 0
}
}
}
}
]
}
Add a product's product structure
id required | integer Id of the product |
Product structure object
object (ProductStructure) |
object (ProductStructure) | |
Array of objects (ProductStructureItem) unique |
{- "data": {
- "type": "product_structures",
- "id": 0,
- "attributes": {
- "quantity": 0,
- "modified_date": "string"
}, - "relationships": {
- "items": {
- "data": [
- {
- "type": "product_structure_items",
- "id": 0
}
]
}
}
}
}
{- "data": {
- "type": "product_structures",
- "id": 0,
- "attributes": {
- "quantity": 0,
- "modified_date": "string"
}, - "relationships": {
- "items": {
- "data": [
- {
- "type": "product_structure_items",
- "id": 0
}
]
}
}
}, - "included": [
- {
- "type": "product_structure_items",
- "id": 0,
- "attributes": {
- "net_quantity": 0,
- "gross_quantity": 0,
- "loss_percentage": 0,
- "is_phantom": true,
- "is_processing_agent": true,
- "skip_grain_component_calculation": true,
- "modified_date": "string"
}, - "relationships": {
- "product": {
- "data": {
- "type": "products",
- "id": 0
}
}, - "unit": {
- "data": {
- "type": "units",
- "id": 0
}
}, - "type": {
- "data": {
- "type": "product_structure_item_types",
- "id": 0
}
}, - "calculation_method": {
- "data": {
- "type": "product_structure_item_calculation_methods",
- "id": 0
}
}
}
}
]
}
Get a list of product groups
include | string Value: "type" Customise which related resources should be returned. Include one or more from the given options comma separated |
active | integer Enum: 0 1 Only get the active product_groups |
product_group_type_id | integer Only get the product groups that are part of the given product group type |
page | integer >= 1 The page of the result set. When not specified the first page will be returned |
per_page | integer [ 1 .. 50 ] The number of objects per page of the result set |
Array of objects (ProductGroup) | |
Array of objects (ProductGroupType) unique | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "product_groups",
- "id": 0,
- "attributes": {
- "is_active": true,
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "import_reference": "string",
- "inform_days_bbd": 0,
- "allow_only_one_unit": true,
- "remark": "string",
- "label_color": "string",
- "transport_packaging_settings": {
- "remove_stock_when_picked": true,
- "rounding": "up"
}, - "modified_date": "string"
}, - "relationships": {
- "type": {
- "data": {
- "type": "product_group_types",
- "id": 0
}
}
}
}
], - "included": [
- {
- "type": "product_group_types",
- "id": 0,
- "attributes": {
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Add a product group
Product group to add
object (ProductGroup) |
object (ProductGroup) | |
Array of objects (ProductGroupType) unique |
{- "data": {
- "type": "product_groups",
- "id": 0,
- "attributes": {
- "is_active": true,
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "import_reference": "string",
- "inform_days_bbd": 0,
- "allow_only_one_unit": true,
- "remark": "string",
- "label_color": "string",
- "transport_packaging_settings": {
- "remove_stock_when_picked": true,
- "rounding": "up"
}, - "modified_date": "string"
}, - "relationships": {
- "type": {
- "data": {
- "type": "product_group_types",
- "id": 0
}
}
}
}
}
{- "data": {
- "type": "product_groups",
- "id": 0,
- "attributes": {
- "is_active": true,
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "import_reference": "string",
- "inform_days_bbd": 0,
- "allow_only_one_unit": true,
- "remark": "string",
- "label_color": "string",
- "transport_packaging_settings": {
- "remove_stock_when_picked": true,
- "rounding": "up"
}, - "modified_date": "string"
}, - "relationships": {
- "type": {
- "data": {
- "type": "product_group_types",
- "id": 0
}
}
}
}, - "included": [
- {
- "type": "product_group_types",
- "id": 0,
- "attributes": {
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
]
}
Get a single product group by its id
id required | integer Id of the product group |
include | string Value: "type" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (ProductGroup) | |
Array of objects (ProductGroupType) unique |
{- "data": {
- "type": "product_groups",
- "id": 0,
- "attributes": {
- "is_active": true,
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "import_reference": "string",
- "inform_days_bbd": 0,
- "allow_only_one_unit": true,
- "remark": "string",
- "label_color": "string",
- "transport_packaging_settings": {
- "remove_stock_when_picked": true,
- "rounding": "up"
}, - "modified_date": "string"
}, - "relationships": {
- "type": {
- "data": {
- "type": "product_group_types",
- "id": 0
}
}
}
}, - "included": [
- {
- "type": "product_group_types",
- "id": 0,
- "attributes": {
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
]
}
Update a product group. Only given properties will be updated
id required | integer Id of the product group |
Product group properties to update
object (ProductGroup) |
object (ProductGroup) | |
Array of objects (ProductGroupType) unique |
{- "data": {
- "type": "product_groups",
- "id": 0,
- "attributes": {
- "is_active": true,
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "import_reference": "string",
- "inform_days_bbd": 0,
- "allow_only_one_unit": true,
- "remark": "string",
- "label_color": "string",
- "transport_packaging_settings": {
- "remove_stock_when_picked": true,
- "rounding": "up"
}, - "modified_date": "string"
}, - "relationships": {
- "type": {
- "data": {
- "type": "product_group_types",
- "id": 0
}
}
}
}
}
{- "data": {
- "type": "product_groups",
- "id": 0,
- "attributes": {
- "is_active": true,
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "import_reference": "string",
- "inform_days_bbd": 0,
- "allow_only_one_unit": true,
- "remark": "string",
- "label_color": "string",
- "transport_packaging_settings": {
- "remove_stock_when_picked": true,
- "rounding": "up"
}, - "modified_date": "string"
}, - "relationships": {
- "type": {
- "data": {
- "type": "product_group_types",
- "id": 0
}
}
}
}, - "included": [
- {
- "type": "product_group_types",
- "id": 0,
- "attributes": {
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
]
}
Get the current type relationship of the productgroup
id required | integer Id of the product group |
include | string Value: "type" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (ProductGroupTypeRelation) | |
Array of objects (ProductGroupType) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "product_group_types",
- "id": 0
}, - "included": [
- {
- "type": "product_group_types",
- "id": 0,
- "attributes": {
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
]
}
Update a product group type of a productgroup. This is a to-one relationship that cannot be removed.
id required | integer Id of the product group |
Product group type object identifier. This is a to-one relationship that cannot be removed.
object (ProductGroupTypeRelation) |
{- "data": {
- "type": "product_group_types",
- "id": 0
}
}
{- "errors": {
- "status": 404,
- "detail": "Resource Not Found"
}
}
Get the current type of the productgroup
id required | integer Id of the product group |
object (ProductGroupType) |
{- "data": {
- "type": "product_group_types",
- "id": 0,
- "attributes": {
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
}
Get a list of product structures
include | string Value: "items" Customise which related resources should be returned. Include one or more from the given options comma separated |
Array of objects (ProductStructure) | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "product_structures",
- "id": 0,
- "attributes": {
- "quantity": 0,
- "modified_date": "string"
}, - "relationships": {
- "items": {
- "data": [
- {
- "type": "product_structure_items",
- "id": 0
}
]
}
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Adding a product structure is forbidden this way, use products/{product_id}/product_structure endpoint.
Product structure object to add
object (ProductStructure) |
{- "data": {
- "type": "product_structures",
- "id": 0,
- "attributes": {
- "quantity": 0,
- "modified_date": "string"
}, - "relationships": {
- "items": {
- "data": [
- {
- "type": "product_structure_items",
- "id": 0
}
]
}
}
}
}
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get a single product structure by its id
id required | integer Id of the product structure |
include | string Value: "type" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (ProductStructure) | |
Array of objects (ProductStructureItem) unique |
{- "data": {
- "type": "product_structures",
- "id": 0,
- "attributes": {
- "quantity": 0,
- "modified_date": "string"
}, - "relationships": {
- "items": {
- "data": [
- {
- "type": "product_structure_items",
- "id": 0
}
]
}
}
}, - "included": [
- {
- "type": "product_structure_items",
- "id": 0,
- "attributes": {
- "net_quantity": 0,
- "gross_quantity": 0,
- "loss_percentage": 0,
- "is_phantom": true,
- "is_processing_agent": true,
- "skip_grain_component_calculation": true,
- "modified_date": "string"
}, - "relationships": {
- "product": {
- "data": {
- "type": "products",
- "id": 0
}
}, - "unit": {
- "data": {
- "type": "units",
- "id": 0
}
}, - "type": {
- "data": {
- "type": "product_structure_item_types",
- "id": 0
}
}, - "calculation_method": {
- "data": {
- "type": "product_structure_item_calculation_methods",
- "id": 0
}
}
}
}
]
}
Update a product structure. Only given properties will be updated
id required | integer Id of the product structure |
Product structure properties to update
object (ProductStructure) |
object (ProductStructure) | |
Array of objects (ProductStructureItem) unique |
{- "data": {
- "type": "product_structures",
- "id": 0,
- "attributes": {
- "quantity": 0,
- "modified_date": "string"
}, - "relationships": {
- "items": {
- "data": [
- {
- "type": "product_structure_items",
- "id": 0
}
]
}
}
}
}
{- "data": {
- "type": "product_structures",
- "id": 0,
- "attributes": {
- "quantity": 0,
- "modified_date": "string"
}, - "relationships": {
- "items": {
- "data": [
- {
- "type": "product_structure_items",
- "id": 0
}
]
}
}
}, - "included": [
- {
- "type": "product_structure_items",
- "id": 0,
- "attributes": {
- "net_quantity": 0,
- "gross_quantity": 0,
- "loss_percentage": 0,
- "is_phantom": true,
- "is_processing_agent": true,
- "skip_grain_component_calculation": true,
- "modified_date": "string"
}, - "relationships": {
- "product": {
- "data": {
- "type": "products",
- "id": 0
}
}, - "unit": {
- "data": {
- "type": "units",
- "id": 0
}
}, - "type": {
- "data": {
- "type": "product_structure_item_types",
- "id": 0
}
}, - "calculation_method": {
- "data": {
- "type": "product_structure_item_calculation_methods",
- "id": 0
}
}
}
}
]
}
Get the current items relationship of the product structure
id required | integer Id of the product structure |
include | string Value: "items" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
Array of objects or null (ProductStructureItemRelation) unique | |
Array of objects (ProductStructureItem) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": [
- {
- "type": "product_structure_items",
- "id": 0
}
], - "included": [
- {
- "type": "product_structure_items",
- "id": 0,
- "attributes": {
- "net_quantity": 0,
- "gross_quantity": 0,
- "loss_percentage": 0,
- "is_phantom": true,
- "is_processing_agent": true,
- "skip_grain_component_calculation": true,
- "modified_date": "string"
}, - "relationships": {
- "product": {
- "data": {
- "type": "products",
- "id": 0
}
}, - "unit": {
- "data": {
- "type": "units",
- "id": 0
}
}, - "type": {
- "data": {
- "type": "product_structure_item_types",
- "id": 0
}
}, - "calculation_method": {
- "data": {
- "type": "product_structure_item_calculation_methods",
- "id": 0
}
}
}
}
]
}
Add items relations to the product structure
id required | integer Id of the product structure |
Product structure item relation objects.
Array of objects or null (ProductStructureItemRelation) unique |
{- "data": [
- {
- "type": "product_structure_items",
- "id": 0
}
]
}
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Update a product structure items relation
id required | integer Id of the product structure |
Product structure item objects. This is a to-many relationship and given items will be replacing existing ones
Array of objects (ProductStructureItem) unique |
object (Links) | |
object or null (ProductStructureItemRelation) | |
Array of objects (ProductStructureItem) unique |
{- "data": [
- {
- "type": "product_structure_items",
- "id": 0,
- "attributes": {
- "net_quantity": 0,
- "gross_quantity": 0,
- "loss_percentage": 0,
- "is_phantom": true,
- "is_processing_agent": true,
- "skip_grain_component_calculation": true,
- "modified_date": "string"
}, - "relationships": {
- "product": {
- "data": {
- "type": "products",
- "id": 0
}
}, - "unit": {
- "data": {
- "type": "units",
- "id": 0
}
}, - "type": {
- "data": {
- "type": "product_structure_item_types",
- "id": 0
}
}, - "calculation_method": {
- "data": {
- "type": "product_structure_item_calculation_methods",
- "id": 0
}
}
}
}
]
}
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "product_structure_items",
- "id": 0
}, - "included": [
- {
- "type": "product_structure_items",
- "id": 0,
- "attributes": {
- "net_quantity": 0,
- "gross_quantity": 0,
- "loss_percentage": 0,
- "is_phantom": true,
- "is_processing_agent": true,
- "skip_grain_component_calculation": true,
- "modified_date": "string"
}, - "relationships": {
- "product": {
- "data": {
- "type": "products",
- "id": 0
}
}, - "unit": {
- "data": {
- "type": "units",
- "id": 0
}
}, - "type": {
- "data": {
- "type": "product_structure_item_types",
- "id": 0
}
}, - "calculation_method": {
- "data": {
- "type": "product_structure_item_calculation_methods",
- "id": 0
}
}
}
}
]
}
Delete items from a product structure
id required | integer Id of the product structure |
Product structure item object identifiers. This is a to-many relationship and given items will be removed from the product structure
Array of objects or null (ProductStructureItemRelation) unique |
object (Links) | |
object or null (ProductStructureItemRelation) | |
Array of objects (ProductStructureItem) unique |
{- "data": [
- {
- "type": "product_structure_items",
- "id": 0
}
]
}
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "product_structure_items",
- "id": 0
}, - "included": [
- {
- "type": "product_structure_items",
- "id": 0,
- "attributes": {
- "net_quantity": 0,
- "gross_quantity": 0,
- "loss_percentage": 0,
- "is_phantom": true,
- "is_processing_agent": true,
- "skip_grain_component_calculation": true,
- "modified_date": "string"
}, - "relationships": {
- "product": {
- "data": {
- "type": "products",
- "id": 0
}
}, - "unit": {
- "data": {
- "type": "units",
- "id": 0
}
}, - "type": {
- "data": {
- "type": "product_structure_item_types",
- "id": 0
}
}, - "calculation_method": {
- "data": {
- "type": "product_structure_item_calculation_methods",
- "id": 0
}
}
}
}
]
}
Get the current items of the product structure
id required | integer Id of the product structure |
Array of objects (ProductStructureItem) unique |
{- "data": [
- {
- "type": "product_structure_items",
- "id": 0,
- "attributes": {
- "net_quantity": 0,
- "gross_quantity": 0,
- "loss_percentage": 0,
- "is_phantom": true,
- "is_processing_agent": true,
- "skip_grain_component_calculation": true,
- "modified_date": "string"
}, - "relationships": {
- "product": {
- "data": {
- "type": "products",
- "id": 0
}
}, - "unit": {
- "data": {
- "type": "units",
- "id": 0
}
}, - "type": {
- "data": {
- "type": "product_structure_item_types",
- "id": 0
}
}, - "calculation_method": {
- "data": {
- "type": "product_structure_item_calculation_methods",
- "id": 0
}
}
}
}
]
}
Add items to the product structure
id required | integer Id of the product structure |
Product structure item objects. This is a to-many relationship and given items will be added but not replace existing ones
Array of objects (ProductStructureItem) unique |
object (Links) | |
object or null (ProductStructureItemRelation) | |
Array of objects (ProductStructureItem) unique |
{- "data": [
- {
- "type": "product_structure_items",
- "id": 0,
- "attributes": {
- "net_quantity": 0,
- "gross_quantity": 0,
- "loss_percentage": 0,
- "is_phantom": true,
- "is_processing_agent": true,
- "skip_grain_component_calculation": true,
- "modified_date": "string"
}, - "relationships": {
- "product": {
- "data": {
- "type": "products",
- "id": 0
}
}, - "unit": {
- "data": {
- "type": "units",
- "id": 0
}
}, - "type": {
- "data": {
- "type": "product_structure_item_types",
- "id": 0
}
}, - "calculation_method": {
- "data": {
- "type": "product_structure_item_calculation_methods",
- "id": 0
}
}
}
}
]
}
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "product_structure_items",
- "id": 0
}, - "included": [
- {
- "type": "product_structure_items",
- "id": 0,
- "attributes": {
- "net_quantity": 0,
- "gross_quantity": 0,
- "loss_percentage": 0,
- "is_phantom": true,
- "is_processing_agent": true,
- "skip_grain_component_calculation": true,
- "modified_date": "string"
}, - "relationships": {
- "product": {
- "data": {
- "type": "products",
- "id": 0
}
}, - "unit": {
- "data": {
- "type": "units",
- "id": 0
}
}, - "type": {
- "data": {
- "type": "product_structure_item_types",
- "id": 0
}
}, - "calculation_method": {
- "data": {
- "type": "product_structure_item_calculation_methods",
- "id": 0
}
}
}
}
]
}
Get a list of product structure items
include | string Enum: "product" "unit" "type" "calculation_method" Customise which related resources should be returned. Include one or more from the given options comma separated |
page | integer >= 1 The page of the result set. When not specified the first page will be returned |
per_page | integer [ 1 .. 50 ] The number of objects per page of the result set |
Array of objects (ProductStructureItem) | |
Array of Product (object) or Unit (object) or ProductStructureItemType (object) or ProductStructureItemCalculationMethod (object) unique | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "product_structure_items",
- "id": 0,
- "attributes": {
- "net_quantity": 0,
- "gross_quantity": 0,
- "loss_percentage": 0,
- "is_phantom": true,
- "is_processing_agent": true,
- "skip_grain_component_calculation": true,
- "modified_date": "string"
}, - "relationships": {
- "product": {
- "data": {
- "type": "products",
- "id": 0
}
}, - "unit": {
- "data": {
- "type": "units",
- "id": 0
}
}, - "type": {
- "data": {
- "type": "product_structure_item_types",
- "id": 0
}
}, - "calculation_method": {
- "data": {
- "type": "product_structure_item_calculation_methods",
- "id": 0
}
}
}
}
], - "included": [
- {
- "type": "products",
- "id": 0,
- "attributes": {
- "reference": "string",
- "is_active": true,
- "is_sales": true,
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "legal_name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "gtin": "string",
- "intrastat_code": "string",
- "gross_weight_in_kilogram": 0,
- "net_weight_in_kilogram": 0,
- "drained_weight_in_kilogram": 0,
- "production_efficiency_per_hour": 0,
- "production_report_type_component": "None",
- "production_report_type_byprod": "None",
- "product_structure_quantity": 0,
- "is_lotcontrolled": true,
- "nlc": 0,
- "shelf_life": {
- "value": 0,
- "interval": "Days"
}, - "modified_date": "string"
}, - "relationships": {
- "unit": {
- "data": {
- "type": "units",
- "id": 0
}
}, - "product_group": {
- "data": {
- "type": "product_groups",
- "id": 0
}
}
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Adding a product structure item is forbidden this way, use product_structures/{product_structure_id}/items endpoint.
Product structure item object to add
object (ProductStructureItem) |
{- "data": {
- "type": "product_structure_items",
- "id": 0,
- "attributes": {
- "net_quantity": 0,
- "gross_quantity": 0,
- "loss_percentage": 0,
- "is_phantom": true,
- "is_processing_agent": true,
- "skip_grain_component_calculation": true,
- "modified_date": "string"
}, - "relationships": {
- "product": {
- "data": {
- "type": "products",
- "id": 0
}
}, - "unit": {
- "data": {
- "type": "units",
- "id": 0
}
}, - "type": {
- "data": {
- "type": "product_structure_item_types",
- "id": 0
}
}, - "calculation_method": {
- "data": {
- "type": "product_structure_item_calculation_methods",
- "id": 0
}
}
}
}
}
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get a single product structure item by its id
id required | integer Id of the product structure item |
include | string Enum: "product" "unit" "type" "calculation_method" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (ProductStructureItem) | |
Array of Product (object) or Unit (object) or ProductStructureItemType (object) or ProductStructureItemCalculationMethod (object) unique |
{- "data": {
- "type": "product_structure_items",
- "id": 0,
- "attributes": {
- "net_quantity": 0,
- "gross_quantity": 0,
- "loss_percentage": 0,
- "is_phantom": true,
- "is_processing_agent": true,
- "skip_grain_component_calculation": true,
- "modified_date": "string"
}, - "relationships": {
- "product": {
- "data": {
- "type": "products",
- "id": 0
}
}, - "unit": {
- "data": {
- "type": "units",
- "id": 0
}
}, - "type": {
- "data": {
- "type": "product_structure_item_types",
- "id": 0
}
}, - "calculation_method": {
- "data": {
- "type": "product_structure_item_calculation_methods",
- "id": 0
}
}
}
}, - "included": [
- {
- "type": "products",
- "id": 0,
- "attributes": {
- "reference": "string",
- "is_active": true,
- "is_sales": true,
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "legal_name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "gtin": "string",
- "intrastat_code": "string",
- "gross_weight_in_kilogram": 0,
- "net_weight_in_kilogram": 0,
- "drained_weight_in_kilogram": 0,
- "production_efficiency_per_hour": 0,
- "production_report_type_component": "None",
- "production_report_type_byprod": "None",
- "product_structure_quantity": 0,
- "is_lotcontrolled": true,
- "nlc": 0,
- "shelf_life": {
- "value": 0,
- "interval": "Days"
}, - "modified_date": "string"
}, - "relationships": {
- "unit": {
- "data": {
- "type": "units",
- "id": 0
}
}, - "product_group": {
- "data": {
- "type": "product_groups",
- "id": 0
}
}
}
}
]
}
Update a product structure item
id required | integer Id of the product structure item |
Product structure item to update
object (ProductStructureItem) |
object (ProductStructureItem) |
{- "data": {
- "type": "product_structure_items",
- "id": 0,
- "attributes": {
- "net_quantity": 0,
- "gross_quantity": 0,
- "loss_percentage": 0,
- "is_phantom": true,
- "is_processing_agent": true,
- "skip_grain_component_calculation": true,
- "modified_date": "string"
}, - "relationships": {
- "product": {
- "data": {
- "type": "products",
- "id": 0
}
}, - "unit": {
- "data": {
- "type": "units",
- "id": 0
}
}, - "type": {
- "data": {
- "type": "product_structure_item_types",
- "id": 0
}
}, - "calculation_method": {
- "data": {
- "type": "product_structure_item_calculation_methods",
- "id": 0
}
}
}
}
}
{- "data": {
- "type": "product_structure_items",
- "id": 0,
- "attributes": {
- "net_quantity": 0,
- "gross_quantity": 0,
- "loss_percentage": 0,
- "is_phantom": true,
- "is_processing_agent": true,
- "skip_grain_component_calculation": true,
- "modified_date": "string"
}, - "relationships": {
- "product": {
- "data": {
- "type": "products",
- "id": 0
}
}, - "unit": {
- "data": {
- "type": "units",
- "id": 0
}
}, - "type": {
- "data": {
- "type": "product_structure_item_types",
- "id": 0
}
}, - "calculation_method": {
- "data": {
- "type": "product_structure_item_calculation_methods",
- "id": 0
}
}
}
}
}
Get the current product relationship of the product structure item
id required | integer Id of the product structure item |
include | string Value: "product" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (ProductRelation) | |
Array of objects (Product) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "products",
- "id": 0
}, - "included": [
- {
- "type": "products",
- "id": 0,
- "attributes": {
- "reference": "string",
- "is_active": true,
- "is_sales": true,
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "legal_name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "gtin": "string",
- "intrastat_code": "string",
- "gross_weight_in_kilogram": 0,
- "net_weight_in_kilogram": 0,
- "drained_weight_in_kilogram": 0,
- "production_efficiency_per_hour": 0,
- "production_report_type_component": "None",
- "production_report_type_byprod": "None",
- "product_structure_quantity": 0,
- "is_lotcontrolled": true,
- "nlc": 0,
- "shelf_life": {
- "value": 0,
- "interval": "Days"
}, - "modified_date": "string"
}, - "relationships": {
- "unit": {
- "data": {
- "type": "units",
- "id": 0
}
}, - "product_group": {
- "data": {
- "type": "product_groups",
- "id": 0
}
}
}
}
]
}
Updating a product structure item product relation is currently not supported
id required | integer Id of the product structure item |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current product of the product structure item
id required | integer Id of the product structure item |
object (Product) |
{- "data": {
- "type": "products",
- "id": 0,
- "attributes": {
- "reference": "string",
- "is_active": true,
- "is_sales": true,
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "legal_name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "gtin": "string",
- "intrastat_code": "string",
- "gross_weight_in_kilogram": 0,
- "net_weight_in_kilogram": 0,
- "drained_weight_in_kilogram": 0,
- "production_efficiency_per_hour": 0,
- "production_report_type_component": "None",
- "production_report_type_byprod": "None",
- "product_structure_quantity": 0,
- "is_lotcontrolled": true,
- "nlc": 0,
- "shelf_life": {
- "value": 0,
- "interval": "Days"
}, - "modified_date": "string"
}, - "relationships": {
- "unit": {
- "data": {
- "type": "units",
- "id": 0
}
}, - "product_group": {
- "data": {
- "type": "product_groups",
- "id": 0
}
}
}
}
}
Get the current unit relationship of the product structure item
id required | integer Id of the product structure item |
include | string Value: "unit" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (UnitRelation) | |
Array of objects (Unit) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "units",
- "id": 0
}, - "included": [
- {
- "type": "units",
- "id": 0,
- "attributes": {
- "reference": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "modified_date": "string"
}
}
]
}
Update a product structure item unit relation
id required | integer Id of the product structure item |
Unit object identifier. This is a to-one relationship.
object (UnitRelation) |
{- "data": {
- "type": "units",
- "id": 0
}
}
{- "errors": {
- "status": 404,
- "detail": "Resource Not Found"
}
}
Get the current unit of the product structure item
id required | integer Id of the product structure item |
object (Unit) |
{- "data": {
- "type": "units",
- "id": 0,
- "attributes": {
- "reference": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "modified_date": "string"
}
}
}
Get the current type relationship of the product structure item
id required | integer Id of the product structure item |
include | string Value: "type" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (ProductStructureItemTypeRelation) | |
Array of objects (ProductStructureItemType) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "product_structure_item_types",
- "id": 0
}, - "included": [
- {
- "type": "product_structure_item_types",
- "id": 0,
- "attributes": {
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
]
}
Update a product structure item type relation
id required | integer Id of the product structure item |
Type object identifier. This is a to-one relationship.
object (ProductStructureItemTypeRelation) |
{- "data": {
- "type": "product_structure_item_types",
- "id": 0
}
}
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current type of the product structure item
id required | integer Id of the product structure item |
object (ProductStructureItemType) |
{- "data": {
- "type": "product_structure_item_types",
- "id": 0,
- "attributes": {
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
}
Get the current calculation method relationship of the product structure item
id required | integer Id of the product structure item |
include | string Value: "calculation_method" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (ProductStructureItemCalculationMethodRelation) | |
Array of objects (ProductStructureItemCalculationMethod) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "product_structure_item_calculation_methods",
- "id": 0
}, - "included": [
- {
- "type": "product_structure_item_calculation_methods",
- "id": 0,
- "attributes": {
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
]
}
Update a product structure item calculation method relation
id required | integer Id of the product structure item |
Calculation method object identifier. This is a to-one relationship.
object (ProductStructureItemCalculationMethodRelation) |
{- "data": {
- "type": "product_structure_item_calculation_methods",
- "id": 0
}
}
{- "errors": {
- "status": 404,
- "detail": "Resource Not Found"
}
}
Get the current calculation method of the product structure item
id required | integer Id of the product structure item |
object (ProductStructureItemCalculationMethod) |
{- "data": {
- "type": "product_structure_item_calculation_methods",
- "id": 0,
- "attributes": {
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
}
Get a list of units
page | integer >= 1 The page of the result set. When not specified the first page will be returned |
per_page | integer [ 1 .. 50 ] The number of objects per page of the result set |
Array of objects (Unit) | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "units",
- "id": 0,
- "attributes": {
- "reference": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "modified_date": "string"
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Add a unit
Unit to add
object (Unit) |
object (Unit) |
{- "data": {
- "type": "units",
- "id": 0,
- "attributes": {
- "reference": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "modified_date": "string"
}
}
}
{- "data": {
- "type": "units",
- "id": 0,
- "attributes": {
- "reference": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "modified_date": "string"
}
}
}
Get a single unit by its id
id required | integer Id of the unit |
object (Unit) |
{- "data": {
- "type": "units",
- "id": 0,
- "attributes": {
- "reference": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "modified_date": "string"
}
}
}
Update a unit. Only given properties will be updated
id required | integer Id of the unit |
Unit properties to update
object (Unit) |
object (Unit) |
{- "data": {
- "type": "units",
- "id": 0,
- "attributes": {
- "reference": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "modified_date": "string"
}
}
}
{- "data": {
- "type": "units",
- "id": 0,
- "attributes": {
- "reference": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "modified_date": "string"
}
}
}
Get a list of suppliers
include | string Enum: "types" "currency" "buyer" "key_user" Customise which related resources should be returned. Include one or more from the given options comma separated |
page | integer >= 1 The page of the result set. When not specified the first page will be returned |
per_page | integer [ 1 .. 50 ] The number of objects per page of the result set |
Array of objects (Supplier) | |
Array of SupplierType (object) or Currency (object) or User (object) unique | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "suppliers",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "is_active": true,
- "is_receival_vat_exclusive": true,
- "currency": "string",
- "gln": "string",
- "is_emergency_number_mandatory": true,
- "emergency_number": "string",
- "emergency_contact": "string",
- "modified_date": "string"
}, - "relationships": {
- "types": {
- "data": [
- {
- "type": "supplier_types",
- "id": 0
}
]
}, - "currency": {
- "data": {
- "type": "currencies",
- "id": 0
}
}, - "buyer": {
- "data": {
- "type": "users",
- "id": 0
}
}, - "key_user": {
- "data": {
- "type": "users",
- "id": 0
}
}
}
}
], - "included": [
- {
- "type": "supplier_types",
- "id": 0,
- "attributes": {
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "is_emergency_number_required": true,
- "request_certificates": true,
- "modified_date": "string"
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Add a supplier
Supplier to add
object (Supplier) |
object (Supplier) | |
Array of SupplierType (object) or Currency (object) or User (object) unique |
{- "data": {
- "type": "suppliers",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "is_active": true,
- "is_receival_vat_exclusive": true,
- "currency": "string",
- "gln": "string",
- "is_emergency_number_mandatory": true,
- "emergency_number": "string",
- "emergency_contact": "string",
- "modified_date": "string"
}, - "relationships": {
- "types": {
- "data": [
- {
- "type": "supplier_types",
- "id": 0
}
]
}, - "currency": {
- "data": {
- "type": "currencies",
- "id": 0
}
}, - "buyer": {
- "data": {
- "type": "users",
- "id": 0
}
}, - "key_user": {
- "data": {
- "type": "users",
- "id": 0
}
}
}
}
}
{- "data": {
- "type": "suppliers",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "is_active": true,
- "is_receival_vat_exclusive": true,
- "currency": "string",
- "gln": "string",
- "is_emergency_number_mandatory": true,
- "emergency_number": "string",
- "emergency_contact": "string",
- "modified_date": "string"
}, - "relationships": {
- "types": {
- "data": [
- {
- "type": "supplier_types",
- "id": 0
}
]
}, - "currency": {
- "data": {
- "type": "currencies",
- "id": 0
}
}, - "buyer": {
- "data": {
- "type": "users",
- "id": 0
}
}, - "key_user": {
- "data": {
- "type": "users",
- "id": 0
}
}
}
}, - "included": [
- {
- "type": "supplier_types",
- "id": 0,
- "attributes": {
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "is_emergency_number_required": true,
- "request_certificates": true,
- "modified_date": "string"
}
}
]
}
Get a single supplier by its id
id required | integer Id of the supplier |
include | string Enum: "types" "currency" "buyer" "key_user" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Supplier) | |
Array of SupplierType (object) or Currency (object) or User (object) unique |
{- "data": {
- "type": "suppliers",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "is_active": true,
- "is_receival_vat_exclusive": true,
- "currency": "string",
- "gln": "string",
- "is_emergency_number_mandatory": true,
- "emergency_number": "string",
- "emergency_contact": "string",
- "modified_date": "string"
}, - "relationships": {
- "types": {
- "data": [
- {
- "type": "supplier_types",
- "id": 0
}
]
}, - "currency": {
- "data": {
- "type": "currencies",
- "id": 0
}
}, - "buyer": {
- "data": {
- "type": "users",
- "id": 0
}
}, - "key_user": {
- "data": {
- "type": "users",
- "id": 0
}
}
}
}, - "included": [
- {
- "type": "supplier_types",
- "id": 0,
- "attributes": {
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "is_emergency_number_required": true,
- "request_certificates": true,
- "modified_date": "string"
}
}
]
}
Update a supplier by its id. Only given properties will be updated
id required | integer Id of the supplier |
Supplier properties to update
object (Supplier) |
object (Supplier) | |
Array of SupplierType (object) or Currency (object) or User (object) unique |
{- "data": {
- "type": "suppliers",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "is_active": true,
- "is_receival_vat_exclusive": true,
- "currency": "string",
- "gln": "string",
- "is_emergency_number_mandatory": true,
- "emergency_number": "string",
- "emergency_contact": "string",
- "modified_date": "string"
}, - "relationships": {
- "types": {
- "data": [
- {
- "type": "supplier_types",
- "id": 0
}
]
}, - "currency": {
- "data": {
- "type": "currencies",
- "id": 0
}
}, - "buyer": {
- "data": {
- "type": "users",
- "id": 0
}
}, - "key_user": {
- "data": {
- "type": "users",
- "id": 0
}
}
}
}
}
{- "data": {
- "type": "suppliers",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "is_active": true,
- "is_receival_vat_exclusive": true,
- "currency": "string",
- "gln": "string",
- "is_emergency_number_mandatory": true,
- "emergency_number": "string",
- "emergency_contact": "string",
- "modified_date": "string"
}, - "relationships": {
- "types": {
- "data": [
- {
- "type": "supplier_types",
- "id": 0
}
]
}, - "currency": {
- "data": {
- "type": "currencies",
- "id": 0
}
}, - "buyer": {
- "data": {
- "type": "users",
- "id": 0
}
}, - "key_user": {
- "data": {
- "type": "users",
- "id": 0
}
}
}
}, - "included": [
- {
- "type": "supplier_types",
- "id": 0,
- "attributes": {
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "is_emergency_number_required": true,
- "request_certificates": true,
- "modified_date": "string"
}
}
]
}
Get the current types relationship of the supplier
id required | integer Id of the supplier |
include | string Value: "types" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (SupplierTypeRelation) | |
Array of objects (SupplierType) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "supplier_types",
- "id": 0
}, - "included": [
- {
- "type": "supplier_types",
- "id": 0,
- "attributes": {
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "is_emergency_number_required": true,
- "request_certificates": true,
- "modified_date": "string"
}
}
]
}
Add types relations to the supplier
id required | integer Id of the supplier |
Supplier type object identifiers. This is a to-many relationship and given types will be added but not replace existing ones
Array of objects (SupplierTypeRelation) unique |
object (Links) | |
Array of objects (SupplierTypeRelation) unique |
{- "data": [
- {
- "type": "supplier_types",
- "id": 0
}
]
}
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": [
- {
- "type": "supplier_types",
- "id": 0
}
]
}
Update a suppliers' type relation
id required | integer Id of the supplier |
Supplier type object identifiers. This is a to-many relationship and will replace the types by the given types
Array of objects (SupplierTypeRelation) unique |
{- "data": [
- {
- "type": "supplier_types",
- "id": 0
}
]
}
{- "errors": {
- "status": 404,
- "detail": "Resource Not Found"
}
}
Delete a type from a supplier
id required | integer Id of the supplier |
Supplier type object identifiers. This is a to-many relationship and given types will be removed from the supplier
Array of objects (SupplierTypeRelation) unique |
object (Links) | |
Array of objects (SupplierTypeRelation) unique |
{- "data": [
- {
- "type": "supplier_types",
- "id": 0
}
]
}
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": [
- {
- "type": "supplier_types",
- "id": 0
}
]
}
Get the current types of the supplier
id required | integer Id of the supplier |
Array of objects (SupplierType) unique |
{- "data": [
- {
- "type": "supplier_types",
- "id": 0,
- "attributes": {
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "is_emergency_number_required": true,
- "request_certificates": true,
- "modified_date": "string"
}
}
]
}
Get the current currency relationship of the supplier
id required | integer Id of the supplier |
include | string Value: "currency" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (CurrencyRelation) | |
Array of objects (Currency) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "currencies",
- "id": 0
}, - "included": [
- {
- "type": "currencies",
- "id": 0,
- "attributes": {
- "symbol": "string",
- "alpha_3_code": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
]
}
Update a currency of a supplier. This is a to-one relationship that cannot be removed.
id required | integer Id of the supplier |
Currency object identifier. This is a to-one relationship that cannot be removed.
object (CurrencyRelation) |
{- "data": {
- "type": "currencies",
- "id": 0
}
}
{- "errors": {
- "status": 404,
- "detail": "Resource Not Found"
}
}
Get the current currency of the supplier
id required | integer Id of the supplier |
object (Currency) |
{- "data": {
- "type": "currencies",
- "id": 0,
- "attributes": {
- "symbol": "string",
- "alpha_3_code": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
}
Get the current buyer relationship of the supplier
id required | integer Id of the supplier |
include | string Value: "buyer" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (UserRelation) | |
Array of objects (User) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "users",
- "id": 0
}, - "included": [
- {
- "type": "users",
- "id": 0,
- "attributes": {
- "username": "string",
- "modified_date": "string"
}
}
]
}
Update a buyer of a supplier. This is a to-one relationship that cannot be removed.
id required | integer Id of the supplier |
Buyer object identifier. This is a to-one relationship that cannot be removed.
object (UserRelation) |
{- "data": {
- "type": "users",
- "id": 0
}
}
{- "errors": {
- "status": 404,
- "detail": "Resource Not Found"
}
}
Get the current buyer of the supplier
id required | integer Id of the supplier |
object (User) |
{- "data": {
- "type": "users",
- "id": 0,
- "attributes": {
- "username": "string",
- "modified_date": "string"
}
}
}
Get the current key user relationship of the supplier
id required | integer Id of the supplier |
include | string Value: "key_user" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (UserRelation) | |
Array of objects (User) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "users",
- "id": 0
}, - "included": [
- {
- "type": "users",
- "id": 0,
- "attributes": {
- "username": "string",
- "modified_date": "string"
}
}
]
}
Update a key user of a supplier. This is a to-one relationship that cannot be removed.
id required | integer Id of the supplier |
Key user object identifier. This is a to-one relationship that cannot be removed.
object (UserRelation) |
{- "data": {
- "type": "users",
- "id": 0
}
}
{- "errors": {
- "status": 404,
- "detail": "Resource Not Found"
}
}
Get the current key_user of the supplier
id required | integer Id of the supplier |
object (User) |
{- "data": {
- "type": "users",
- "id": 0,
- "attributes": {
- "username": "string",
- "modified_date": "string"
}
}
}
Get a list of supplier types
page | integer >= 1 The page of the result set. When not specified the first page will be returned |
per_page | integer [ 1 .. 50 ] The number of objects per page of the result set |
Array of objects (SupplierType) | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "supplier_types",
- "id": 0,
- "attributes": {
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "is_emergency_number_required": true,
- "request_certificates": true,
- "modified_date": "string"
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Add a supplier type
Supplier type to add
object (SupplierType) |
object (SupplierType) |
{- "data": {
- "type": "supplier_types",
- "id": 0,
- "attributes": {
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "is_emergency_number_required": true,
- "request_certificates": true,
- "modified_date": "string"
}
}
}
{- "data": {
- "type": "supplier_types",
- "id": 0,
- "attributes": {
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "is_emergency_number_required": true,
- "request_certificates": true,
- "modified_date": "string"
}
}
}
Get a single supplier type by its id
id required | integer Id of the supplier type |
object (SupplierType) |
{- "data": {
- "type": "supplier_types",
- "id": 0,
- "attributes": {
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "is_emergency_number_required": true,
- "request_certificates": true,
- "modified_date": "string"
}
}
}
Update a supplier type. Only given properties will be updated
id required | integer Id of the supplier type |
Supplier type properties to update
object (SupplierType) |
object (SupplierType) |
{- "data": {
- "type": "supplier_types",
- "id": 0,
- "attributes": {
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "is_emergency_number_required": true,
- "request_certificates": true,
- "modified_date": "string"
}
}
}
{- "data": {
- "type": "supplier_types",
- "id": 0,
- "attributes": {
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "is_emergency_number_required": true,
- "request_certificates": true,
- "modified_date": "string"
}
}
}
Get a list of supplier products
include | string Enum: "supplier" "product" "order_unit" Customise which related resources should be returned. Include one or more from the given options comma separated |
supplier_id | integer Only get the supplier products that match the supplier |
product_id | integer Only get the supplier products that match the product |
page | integer >= 1 The page of the result set. When not specified the first page will be returned |
per_page | integer [ 1 .. 50 ] The number of objects per page of the result set |
Array of objects (SupplierProduct) | |
Array of Supplier (object) or Product (object) or Unit (object) unique | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "supplier_products",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "order_unit_numerator": 0,
- "order_unit_denominator": 0,
- "vat_percentage": 0,
- "gross_weight_in_gram": 0,
- "net_weight_in_gram": 0,
- "drained_weight_in_gram": 0,
- "shelf_life": {
- "value": 0,
- "interval": "Days"
}, - "minimal_shelf_life_on_delivery": {
- "value": 0,
- "interval": "Days"
}, - "delivery_term_in_days": 0,
- "order_multiple": 0,
- "minimum_order_quantity": 0,
- "is_available": true,
- "is_variable_weight": true,
- "is_portionable": true,
- "modified_date": "string"
}, - "relationships": {
- "supplier": {
- "data": {
- "type": "suppliers",
- "id": 0
}
}, - "product": {
- "data": {
- "type": "products",
- "id": 0
}
}, - "order_unit": {
- "data": {
- "type": "units",
- "id": 0
}
}
}
}
], - "included": [
- {
- "type": "suppliers",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "is_active": true,
- "is_receival_vat_exclusive": true,
- "currency": "string",
- "gln": "string",
- "is_emergency_number_mandatory": true,
- "emergency_number": "string",
- "emergency_contact": "string",
- "modified_date": "string"
}, - "relationships": {
- "types": {
- "data": [
- {
- "type": "supplier_types",
- "id": 0
}
]
}, - "currency": {
- "data": {
- "type": "currencies",
- "id": 0
}
}, - "buyer": {
- "data": {
- "type": "users",
- "id": 0
}
}, - "key_user": {
- "data": {
- "type": "users",
- "id": 0
}
}
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Add a supplier product
Supplier product to add
object (SupplierProduct) |
object (SupplierProduct) | |
Array of Supplier (object) or Product (object) or Unit (object) unique |
{- "data": {
- "type": "supplier_products",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "order_unit_numerator": 0,
- "order_unit_denominator": 0,
- "vat_percentage": 0,
- "gross_weight_in_gram": 0,
- "net_weight_in_gram": 0,
- "drained_weight_in_gram": 0,
- "shelf_life": {
- "value": 0,
- "interval": "Days"
}, - "minimal_shelf_life_on_delivery": {
- "value": 0,
- "interval": "Days"
}, - "delivery_term_in_days": 0,
- "order_multiple": 0,
- "minimum_order_quantity": 0,
- "is_available": true,
- "is_variable_weight": true,
- "is_portionable": true,
- "modified_date": "string"
}, - "relationships": {
- "supplier": {
- "data": {
- "type": "suppliers",
- "id": 0
}
}, - "product": {
- "data": {
- "type": "products",
- "id": 0
}
}, - "order_unit": {
- "data": {
- "type": "units",
- "id": 0
}
}
}
}
}
{- "data": {
- "type": "supplier_products",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "order_unit_numerator": 0,
- "order_unit_denominator": 0,
- "vat_percentage": 0,
- "gross_weight_in_gram": 0,
- "net_weight_in_gram": 0,
- "drained_weight_in_gram": 0,
- "shelf_life": {
- "value": 0,
- "interval": "Days"
}, - "minimal_shelf_life_on_delivery": {
- "value": 0,
- "interval": "Days"
}, - "delivery_term_in_days": 0,
- "order_multiple": 0,
- "minimum_order_quantity": 0,
- "is_available": true,
- "is_variable_weight": true,
- "is_portionable": true,
- "modified_date": "string"
}, - "relationships": {
- "supplier": {
- "data": {
- "type": "suppliers",
- "id": 0
}
}, - "product": {
- "data": {
- "type": "products",
- "id": 0
}
}, - "order_unit": {
- "data": {
- "type": "units",
- "id": 0
}
}
}
}, - "included": [
- {
- "type": "suppliers",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "is_active": true,
- "is_receival_vat_exclusive": true,
- "currency": "string",
- "gln": "string",
- "is_emergency_number_mandatory": true,
- "emergency_number": "string",
- "emergency_contact": "string",
- "modified_date": "string"
}, - "relationships": {
- "types": {
- "data": [
- {
- "type": "supplier_types",
- "id": 0
}
]
}, - "currency": {
- "data": {
- "type": "currencies",
- "id": 0
}
}, - "buyer": {
- "data": {
- "type": "users",
- "id": 0
}
}, - "key_user": {
- "data": {
- "type": "users",
- "id": 0
}
}
}
}
]
}
Get a single supplier product by its id
id required | integer Id of the supplier product |
include | string Enum: "supplier" "product" "order_unit" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (SupplierProduct) | |
Array of Supplier (object) or Product (object) or Unit (object) unique |
{- "data": {
- "type": "supplier_products",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "order_unit_numerator": 0,
- "order_unit_denominator": 0,
- "vat_percentage": 0,
- "gross_weight_in_gram": 0,
- "net_weight_in_gram": 0,
- "drained_weight_in_gram": 0,
- "shelf_life": {
- "value": 0,
- "interval": "Days"
}, - "minimal_shelf_life_on_delivery": {
- "value": 0,
- "interval": "Days"
}, - "delivery_term_in_days": 0,
- "order_multiple": 0,
- "minimum_order_quantity": 0,
- "is_available": true,
- "is_variable_weight": true,
- "is_portionable": true,
- "modified_date": "string"
}, - "relationships": {
- "supplier": {
- "data": {
- "type": "suppliers",
- "id": 0
}
}, - "product": {
- "data": {
- "type": "products",
- "id": 0
}
}, - "order_unit": {
- "data": {
- "type": "units",
- "id": 0
}
}
}
}, - "included": [
- {
- "type": "suppliers",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "is_active": true,
- "is_receival_vat_exclusive": true,
- "currency": "string",
- "gln": "string",
- "is_emergency_number_mandatory": true,
- "emergency_number": "string",
- "emergency_contact": "string",
- "modified_date": "string"
}, - "relationships": {
- "types": {
- "data": [
- {
- "type": "supplier_types",
- "id": 0
}
]
}, - "currency": {
- "data": {
- "type": "currencies",
- "id": 0
}
}, - "buyer": {
- "data": {
- "type": "users",
- "id": 0
}
}, - "key_user": {
- "data": {
- "type": "users",
- "id": 0
}
}
}
}
]
}
Update a supplier product by its id. Only given properties will be updated
id required | integer Id of the supplier product |
Supplier product properties to update
object (SupplierProduct) |
object (SupplierProduct) | |
Array of Supplier (object) or Product (object) or Unit (object) unique |
{- "data": {
- "type": "supplier_products",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "order_unit_numerator": 0,
- "order_unit_denominator": 0,
- "vat_percentage": 0,
- "gross_weight_in_gram": 0,
- "net_weight_in_gram": 0,
- "drained_weight_in_gram": 0,
- "shelf_life": {
- "value": 0,
- "interval": "Days"
}, - "minimal_shelf_life_on_delivery": {
- "value": 0,
- "interval": "Days"
}, - "delivery_term_in_days": 0,
- "order_multiple": 0,
- "minimum_order_quantity": 0,
- "is_available": true,
- "is_variable_weight": true,
- "is_portionable": true,
- "modified_date": "string"
}, - "relationships": {
- "supplier": {
- "data": {
- "type": "suppliers",
- "id": 0
}
}, - "product": {
- "data": {
- "type": "products",
- "id": 0
}
}, - "order_unit": {
- "data": {
- "type": "units",
- "id": 0
}
}
}
}
}
{- "data": {
- "type": "supplier_products",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "order_unit_numerator": 0,
- "order_unit_denominator": 0,
- "vat_percentage": 0,
- "gross_weight_in_gram": 0,
- "net_weight_in_gram": 0,
- "drained_weight_in_gram": 0,
- "shelf_life": {
- "value": 0,
- "interval": "Days"
}, - "minimal_shelf_life_on_delivery": {
- "value": 0,
- "interval": "Days"
}, - "delivery_term_in_days": 0,
- "order_multiple": 0,
- "minimum_order_quantity": 0,
- "is_available": true,
- "is_variable_weight": true,
- "is_portionable": true,
- "modified_date": "string"
}, - "relationships": {
- "supplier": {
- "data": {
- "type": "suppliers",
- "id": 0
}
}, - "product": {
- "data": {
- "type": "products",
- "id": 0
}
}, - "order_unit": {
- "data": {
- "type": "units",
- "id": 0
}
}
}
}, - "included": [
- {
- "type": "suppliers",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "is_active": true,
- "is_receival_vat_exclusive": true,
- "currency": "string",
- "gln": "string",
- "is_emergency_number_mandatory": true,
- "emergency_number": "string",
- "emergency_contact": "string",
- "modified_date": "string"
}, - "relationships": {
- "types": {
- "data": [
- {
- "type": "supplier_types",
- "id": 0
}
]
}, - "currency": {
- "data": {
- "type": "currencies",
- "id": 0
}
}, - "buyer": {
- "data": {
- "type": "users",
- "id": 0
}
}, - "key_user": {
- "data": {
- "type": "users",
- "id": 0
}
}
}
}
]
}
Get the current supplier relationship of the supplier product
id required | integer Id of the supplier product |
include | string Value: "supplier" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (SupplierRelation) | |
Array of objects (Supplier) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "suppliers",
- "id": 0
}, - "included": [
- {
- "type": "suppliers",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "is_active": true,
- "is_receival_vat_exclusive": true,
- "currency": "string",
- "gln": "string",
- "is_emergency_number_mandatory": true,
- "emergency_number": "string",
- "emergency_contact": "string",
- "modified_date": "string"
}, - "relationships": {
- "types": {
- "data": [
- {
- "type": "supplier_types",
- "id": 0
}
]
}, - "currency": {
- "data": {
- "type": "currencies",
- "id": 0
}
}, - "buyer": {
- "data": {
- "type": "users",
- "id": 0
}
}, - "key_user": {
- "data": {
- "type": "users",
- "id": 0
}
}
}
}
]
}
Updating a supplier product's supplier relation is forbidden
id required | integer Id of the supplier product |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current supplier of the supplier product
id required | integer Id of the supplier product |
object (Supplier) |
{- "data": {
- "type": "suppliers",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "is_active": true,
- "is_receival_vat_exclusive": true,
- "currency": "string",
- "gln": "string",
- "is_emergency_number_mandatory": true,
- "emergency_number": "string",
- "emergency_contact": "string",
- "modified_date": "string"
}, - "relationships": {
- "types": {
- "data": [
- {
- "type": "supplier_types",
- "id": 0
}
]
}, - "currency": {
- "data": {
- "type": "currencies",
- "id": 0
}
}, - "buyer": {
- "data": {
- "type": "users",
- "id": 0
}
}, - "key_user": {
- "data": {
- "type": "users",
- "id": 0
}
}
}
}
}
Get the current product relationship of the supplier product
id required | integer Id of the supplier product |
include | string Value: "product" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (ProductRelation) | |
Array of objects (Product) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "products",
- "id": 0
}, - "included": [
- {
- "type": "products",
- "id": 0,
- "attributes": {
- "reference": "string",
- "is_active": true,
- "is_sales": true,
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "legal_name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "gtin": "string",
- "intrastat_code": "string",
- "gross_weight_in_kilogram": 0,
- "net_weight_in_kilogram": 0,
- "drained_weight_in_kilogram": 0,
- "production_efficiency_per_hour": 0,
- "production_report_type_component": "None",
- "production_report_type_byprod": "None",
- "product_structure_quantity": 0,
- "is_lotcontrolled": true,
- "nlc": 0,
- "shelf_life": {
- "value": 0,
- "interval": "Days"
}, - "modified_date": "string"
}, - "relationships": {
- "unit": {
- "data": {
- "type": "units",
- "id": 0
}
}, - "product_group": {
- "data": {
- "type": "product_groups",
- "id": 0
}
}
}
}
]
}
Updating a supplier product's product relation is forbidden
id required | integer Id of the supplier product |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current product of the supplier product
id required | integer Id of the supplier product |
object (Product) |
{- "data": {
- "type": "products",
- "id": 0,
- "attributes": {
- "reference": "string",
- "is_active": true,
- "is_sales": true,
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "legal_name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "gtin": "string",
- "intrastat_code": "string",
- "gross_weight_in_kilogram": 0,
- "net_weight_in_kilogram": 0,
- "drained_weight_in_kilogram": 0,
- "production_efficiency_per_hour": 0,
- "production_report_type_component": "None",
- "production_report_type_byprod": "None",
- "product_structure_quantity": 0,
- "is_lotcontrolled": true,
- "nlc": 0,
- "shelf_life": {
- "value": 0,
- "interval": "Days"
}, - "modified_date": "string"
}, - "relationships": {
- "unit": {
- "data": {
- "type": "units",
- "id": 0
}
}, - "product_group": {
- "data": {
- "type": "product_groups",
- "id": 0
}
}
}
}
}
Get the current order unit relationship of the supplier product
id required | integer Id of the supplier product |
include | string Value: "unit" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (UnitRelation) | |
Array of objects (Unit) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "units",
- "id": 0
}, - "included": [
- {
- "type": "units",
- "id": 0,
- "attributes": {
- "reference": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "modified_date": "string"
}
}
]
}
Update the order unit of a supplier product. This is a to-one relationship that cannot be removed.
id required | integer Id of the supplier product |
Order unit object identifier
object (UnitRelation) |
{- "data": {
- "type": "units",
- "id": 0
}
}
{- "errors": {
- "status": 404,
- "detail": "Resource Not Found"
}
}
Get the current order unit of the supplier product
id required | integer Id of the supplier product |
object (Unit) |
{- "data": {
- "type": "units",
- "id": 0,
- "attributes": {
- "reference": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "modified_date": "string"
}
}
}
Get a list of stock locations
page | integer >= 1 The page of the result set. When not specified the first page will be returned |
per_page | integer [ 1 .. 50 ] The number of objects per page of the result set |
Array of objects (StockLocation) | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "stock_locations",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "modified_date": "string"
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Get a single stock location by its id
id required | integer Id of the stock location |
object (StockLocation) |
{- "data": {
- "type": "stock_locations",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "modified_date": "string"
}
}
}
Get a list of interventions
include | string Enum: "machine" "requester" "executer" "type" "category" "priority" "status" "actions" Customise which related resources should be returned. Include one or more from the given options comma separated |
filter[status] | string Enum: "not_completed" "temporarily_fixed" "completed" "requested" Only get interventions that match given status. Multiple statusses can be given separated by comma |
filter[actions.status] | string Enum: "not_completed" "in_progress" "completed" Only get interventions that have actions matching the given status. Multiple statusses can be given separated by comma |
filter[actions.action_by] | string Only get interventions that have actions where this user has to take action. Value has to be a valid username. This filter also implies filtering on actions that are not completed yet. Using this filter will also limit the actions returned for the interventions to the ones that match! |
filter[machine.internal_reference] | string Only get interventions that have a machine linked with this internal reference |
filter[actions.time_registrations.from_date_from] | string <DateTime ATOM> Only get interventions that have time registrations on actions for which the from date comes before or is the same as the given date. Value has to be a valid ATOM string. |
filter[actions.time_registrations.from_date_until] | string <DateTime ATOM> Only get interventions that have time registrations on actions for which the from date comes before or is the same as the given date. Value has to be a valid ATOM string. |
filter[actions.time_registrations.to_date_from] | string <DateTime ATOM> Only get interventions that have time registrations on actions for which the to date comes after or is the same as the given date. Value has to be a valid ATOM string. |
filter[actions.time_registrations.to_date_until] | string <DateTime ATOM> Only get interventions that have time registrations on actions for which the to date comes before or is the same as the given date. Value has to be a valid ATOM string. |
filter[actions.time_registrations.user_id] | string Only get interventions that have time registrations on actions for which the user registered time registrations. |
page | integer >= 1 The page of the result set. When not specified the first page will be returned |
per_page | integer [ 1 .. 50 ] The number of objects per page of the result set |
Array of objects (Intervention) | |
Array of Machine (object) or InterventionPriority (object) or InterventionStatus (object) or InterventionAction (object) unique | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "interventions",
- "id": 0,
- "attributes": {
- "reference": 0,
- "description_short": "string",
- "description_long": "string",
- "is_not_executed": true,
- "requested_date": "string",
- "planned_date": "string",
- "completed_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "machine": {
- "data": {
- "type": "machines",
- "id": 0
}
}, - "priority": {
- "data": {
- "type": "intervention_priorities",
- "id": 0
}
}, - "status": {
- "data": {
- "type": "intervention_status",
- "id": 0
}
}, - "requester": {
- "data": {
- "type": "users",
- "id": 0
}
}, - "executer": {
- "data": {
- "type": "users",
- "id": 0
}
}, - "type": {
- "data": {
- "type": "intervention_types",
- "id": 0
}
}, - "category": {
- "data": {
- "type": "intervention_categories",
- "id": 0
}
}, - "actions": {
- "data": [
- {
- "type": "intervention_actions",
- "id": 0
}
]
}
}
}
], - "included": [
- {
- "type": "machines",
- "id": 0,
- "attributes": {
- "reference": "string",
- "internal_reference": "string",
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "serial_number": "string",
- "construction_year": "string",
- "in_use_since_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "status": {
- "data": {
- "type": "machine_status",
- "id": 0
}
}, - "department_corporate_group": {
- "data": {
- "type": "department_corporate_groups",
- "id": 0
}
}
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Add an intervention
Intervention to add
object (Intervention) |
object (Intervention) |
{- "data": {
- "type": "interventions",
- "id": 0,
- "attributes": {
- "reference": 0,
- "description_short": "string",
- "description_long": "string",
- "is_not_executed": true,
- "requested_date": "string",
- "planned_date": "string",
- "completed_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "machine": {
- "data": {
- "type": "machines",
- "id": 0
}
}, - "priority": {
- "data": {
- "type": "intervention_priorities",
- "id": 0
}
}, - "status": {
- "data": {
- "type": "intervention_status",
- "id": 0
}
}, - "requester": {
- "data": {
- "type": "users",
- "id": 0
}
}, - "executer": {
- "data": {
- "type": "users",
- "id": 0
}
}, - "type": {
- "data": {
- "type": "intervention_types",
- "id": 0
}
}, - "category": {
- "data": {
- "type": "intervention_categories",
- "id": 0
}
}, - "actions": {
- "data": [
- {
- "type": "intervention_actions",
- "id": 0
}
]
}
}
}
}
{- "data": {
- "type": "interventions",
- "id": 0,
- "attributes": {
- "reference": 0,
- "description_short": "string",
- "description_long": "string",
- "is_not_executed": true,
- "requested_date": "string",
- "planned_date": "string",
- "completed_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "machine": {
- "data": {
- "type": "machines",
- "id": 0
}
}, - "priority": {
- "data": {
- "type": "intervention_priorities",
- "id": 0
}
}, - "status": {
- "data": {
- "type": "intervention_status",
- "id": 0
}
}, - "requester": {
- "data": {
- "type": "users",
- "id": 0
}
}, - "executer": {
- "data": {
- "type": "users",
- "id": 0
}
}, - "type": {
- "data": {
- "type": "intervention_types",
- "id": 0
}
}, - "category": {
- "data": {
- "type": "intervention_categories",
- "id": 0
}
}, - "actions": {
- "data": [
- {
- "type": "intervention_actions",
- "id": 0
}
]
}
}
}
}
Get a single intervention by its id
id required | integer Id of the intervention |
include | string Enum: "machine" "requester" "executer" "type" "category" "priority" "status" "actions" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Intervention) | |
Array of Machine (object) or InterventionPriority (object) or InterventionStatus (object) or InterventionAction (object) unique |
{- "data": {
- "type": "interventions",
- "id": 0,
- "attributes": {
- "reference": 0,
- "description_short": "string",
- "description_long": "string",
- "is_not_executed": true,
- "requested_date": "string",
- "planned_date": "string",
- "completed_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "machine": {
- "data": {
- "type": "machines",
- "id": 0
}
}, - "priority": {
- "data": {
- "type": "intervention_priorities",
- "id": 0
}
}, - "status": {
- "data": {
- "type": "intervention_status",
- "id": 0
}
}, - "requester": {
- "data": {
- "type": "users",
- "id": 0
}
}, - "executer": {
- "data": {
- "type": "users",
- "id": 0
}
}, - "type": {
- "data": {
- "type": "intervention_types",
- "id": 0
}
}, - "category": {
- "data": {
- "type": "intervention_categories",
- "id": 0
}
}, - "actions": {
- "data": [
- {
- "type": "intervention_actions",
- "id": 0
}
]
}
}
}, - "included": [
- {
- "type": "machines",
- "id": 0,
- "attributes": {
- "reference": "string",
- "internal_reference": "string",
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "serial_number": "string",
- "construction_year": "string",
- "in_use_since_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "status": {
- "data": {
- "type": "machine_status",
- "id": 0
}
}, - "department_corporate_group": {
- "data": {
- "type": "department_corporate_groups",
- "id": 0
}
}
}
}
]
}
Get the current machine relationship of the intervention
id required | integer Id of the intervention |
include | string Value: "machine" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (MachineRelation) | |
Array of objects (Machine) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "machines",
- "id": 0
}, - "included": [
- {
- "type": "machines",
- "id": 0,
- "attributes": {
- "reference": "string",
- "internal_reference": "string",
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "serial_number": "string",
- "construction_year": "string",
- "in_use_since_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "status": {
- "data": {
- "type": "machine_status",
- "id": 0
}
}, - "department_corporate_group": {
- "data": {
- "type": "department_corporate_groups",
- "id": 0
}
}
}
}
]
}
Updating an intervention's machine relation is currently not supported
id required | integer Id of the intervention |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current machine of the intervention
id required | integer Id of the intervention |
object (Machine) |
{- "data": {
- "type": "machines",
- "id": 0,
- "attributes": {
- "reference": "string",
- "internal_reference": "string",
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "serial_number": "string",
- "construction_year": "string",
- "in_use_since_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "status": {
- "data": {
- "type": "machine_status",
- "id": 0
}
}, - "department_corporate_group": {
- "data": {
- "type": "department_corporate_groups",
- "id": 0
}
}
}
}
}
Get the current requester relationship of the intervention
id required | integer Id of the intervention |
include | string Value: "requester" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (UserRelation) | |
Array of objects (User) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "users",
- "id": 0
}, - "included": [
- {
- "type": "users",
- "id": 0,
- "attributes": {
- "username": "string",
- "modified_date": "string"
}
}
]
}
Updating an intervention's requester relation is currently not supported
id required | integer Id of the intervention |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current requester of the intervention
id required | integer Id of the intervention |
object (User) |
{- "data": {
- "type": "users",
- "id": 0,
- "attributes": {
- "username": "string",
- "modified_date": "string"
}
}
}
Get the current executer relationship of the intervention
id required | integer Id of the intervention |
include | string Value: "executer" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (UserRelation) | |
Array of objects (User) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "users",
- "id": 0
}, - "included": [
- {
- "type": "users",
- "id": 0,
- "attributes": {
- "username": "string",
- "modified_date": "string"
}
}
]
}
Updating an intervention's executer relation is currently not supported
id required | integer Id of the intervention |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current executer of the intervention
id required | integer Id of the intervention |
object (User) |
{- "data": {
- "type": "users",
- "id": 0,
- "attributes": {
- "username": "string",
- "modified_date": "string"
}
}
}
Get the current type relationship of the intervention
id required | integer Id of the intervention |
include | string Value: "type" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (InterventionTypeRelation) | |
Array of objects (InterventionType) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "intervention_types",
- "id": 0
}, - "included": [
- {
- "type": "intervention_types",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
]
}
Updating an intervention's type relation is currently not supported
id required | integer Id of the intervention |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current type of the intervention
id required | integer Id of the intervention |
object (InterventionType) |
{- "data": {
- "type": "intervention_types",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
}
Get the current category relationship of the intervention
id required | integer Id of the intervention |
include | string Value: "category" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (InterventionCategoryRelation) | |
Array of objects (InterventionCategory) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "intervention_categories",
- "id": 0
}, - "included": [
- {
- "type": "intervention_categories",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
]
}
Updating an intervention's category relation is currently not supported
id required | integer Id of the intervention |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current category of the intervention
id required | integer Id of the intervention |
object (InterventionCategory) |
{- "data": {
- "type": "intervention_categories",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
}
Get the current priority relationship of the intervention
id required | integer Id of the intervention |
include | string Value: "priority" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (InterventionPriorityRelation) | |
Array of objects (InterventionPriority) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "intervention_priorities",
- "id": 0
}, - "included": [
- {
- "type": "intervention_priorities",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
]
}
Updating an intervention's priority relation is currently not supported
id required | integer Id of the intervention |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current priority of the intervention
id required | integer Id of the intervention |
object (InterventionPriority) |
{- "data": {
- "type": "intervention_priorities",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
}
Get the current status relationship of the intervention
id required | integer Id of the intervention |
include | string Value: "status" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (InterventionStatusRelation) | |
Array of objects (InterventionStatus) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "intervention_status",
- "id": 0
}, - "included": [
- {
- "type": "intervention_status",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
]
}
Updating an intervention's status relation is currently not supported
id required | integer Id of the intervention |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current status of the intervention
id required | integer Id of the intervention |
object (InterventionStatus) |
{- "data": {
- "type": "intervention_status",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
}
Get the current actions relationship of the intervention
id required | integer Id of the intervention |
include | string Value: "actions" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
Array of objects (InterventionActionRelation) unique | |
Array of objects (InterventionAction) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": [
- {
- "type": "intervention_actions",
- "id": 0
}
], - "included": [
- {
- "type": "intervention_actions",
- "id": 0,
- "attributes": {
- "reference": 0,
- "description_short": "string",
- "description_long": "string",
- "action_by": "string",
- "action_by_function_corporate_group": 0,
- "remark": "string",
- "clean_before_reuse": true,
- "cleaning_method": "string",
- "is_cleaning_executed": true,
- "cleaning_not_executed_reason": "string",
- "release_for_production": true,
- "duration_in_minutes": 0,
- "completed_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "status": {
- "data": {
- "type": "intervention_action_status",
- "id": 0
}
}, - "release_signature": {
- "data": {
- "type": "signatures",
- "id": 0
}
}, - "time_registrations": {
- "data": [
- {
- "type": "intervention_action_time_registrations",
- "id": 0
}
]
}
}
}
]
}
Add actions relations to the intervention
id required | integer Id of the intervention |
Intervention action object identifiers
Array of objects (InterventionActionRelation) unique |
{- "data": [
- {
- "type": "intervention_actions",
- "id": 0
}
]
}
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Update an intervention's action relation
id required | integer Id of the intervention |
Intervention action object identifiers
Array of objects (InterventionActionRelation) unique |
{- "data": [
- {
- "type": "intervention_actions",
- "id": 0
}
]
}
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Delete an action from an intervention
id required | integer Id of the intervention |
Intervention action object identifiers
Array of objects (InterventionActionRelation) unique |
{- "data": [
- {
- "type": "intervention_actions",
- "id": 0
}
]
}
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current actions of the intervention
id required | integer Id of the intervention |
Array of objects (InterventionAction) unique |
{- "data": [
- {
- "type": "intervention_actions",
- "id": 0,
- "attributes": {
- "reference": 0,
- "description_short": "string",
- "description_long": "string",
- "action_by": "string",
- "action_by_function_corporate_group": 0,
- "remark": "string",
- "clean_before_reuse": true,
- "cleaning_method": "string",
- "is_cleaning_executed": true,
- "cleaning_not_executed_reason": "string",
- "release_for_production": true,
- "duration_in_minutes": 0,
- "completed_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "status": {
- "data": {
- "type": "intervention_action_status",
- "id": 0
}
}, - "release_signature": {
- "data": {
- "type": "signatures",
- "id": 0
}
}, - "time_registrations": {
- "data": [
- {
- "type": "intervention_action_time_registrations",
- "id": 0
}
]
}
}
}
]
}
Get a list of intervention actions.
include | string Enum: "status" "release_signature" "time_registrations" Customise which related resources should be returned. Include one or more from the given options comma separated |
filter[action_by] | string Only get intervention actions where this user has to take action. Value has to be a valid username. This filter also implies filtering on actions that are not completed yet. |
page | integer >= 1 The page of the result set. When not specified the first page will be returned |
per_page | integer [ 1 .. 50 ] The number of objects per page of the result set |
Array of objects (InterventionAction) | |
Array of InterventionActionStatus (object) or Signature (object) or InterventionActionTimeRegistration (object) unique | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "intervention_actions",
- "id": 0,
- "attributes": {
- "reference": 0,
- "description_short": "string",
- "description_long": "string",
- "action_by": "string",
- "action_by_function_corporate_group": 0,
- "remark": "string",
- "clean_before_reuse": true,
- "cleaning_method": "string",
- "is_cleaning_executed": true,
- "cleaning_not_executed_reason": "string",
- "release_for_production": true,
- "duration_in_minutes": 0,
- "completed_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "status": {
- "data": {
- "type": "intervention_action_status",
- "id": 0
}
}, - "release_signature": {
- "data": {
- "type": "signatures",
- "id": 0
}
}, - "time_registrations": {
- "data": [
- {
- "type": "intervention_action_time_registrations",
- "id": 0
}
]
}
}
}
], - "included": [
- {
- "type": "intervention_action_status",
- "id": 0,
- "attributes": {
- "key": "not_completed",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Get a single intervention action by its id
id required | integer Id of the intervention action |
include | string Enum: "status" "release_signature" "time_registrations" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (InterventionAction) | |
Array of InterventionActionStatus (object) or Signature (object) or InterventionActionTimeRegistration (object) unique |
{- "data": {
- "type": "intervention_actions",
- "id": 0,
- "attributes": {
- "reference": 0,
- "description_short": "string",
- "description_long": "string",
- "action_by": "string",
- "action_by_function_corporate_group": 0,
- "remark": "string",
- "clean_before_reuse": true,
- "cleaning_method": "string",
- "is_cleaning_executed": true,
- "cleaning_not_executed_reason": "string",
- "release_for_production": true,
- "duration_in_minutes": 0,
- "completed_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "status": {
- "data": {
- "type": "intervention_action_status",
- "id": 0
}
}, - "release_signature": {
- "data": {
- "type": "signatures",
- "id": 0
}
}, - "time_registrations": {
- "data": [
- {
- "type": "intervention_action_time_registrations",
- "id": 0
}
]
}
}
}, - "included": [
- {
- "type": "intervention_action_status",
- "id": 0,
- "attributes": {
- "key": "not_completed",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
]
}
Update an intervention action by its id. Only given properties will be updated. TO BE IMPLEMENTED
id required | integer Id of the intervention action |
Intervention action properties to update
object (InterventionAction) |
object (InterventionAction) | |
Array of InterventionActionStatus (object) or Signature (object) unique |
{- "data": {
- "type": "intervention_actions",
- "id": 0,
- "attributes": {
- "reference": 0,
- "description_short": "string",
- "description_long": "string",
- "action_by": "string",
- "action_by_function_corporate_group": 0,
- "remark": "string",
- "clean_before_reuse": true,
- "cleaning_method": "string",
- "is_cleaning_executed": true,
- "cleaning_not_executed_reason": "string",
- "release_for_production": true,
- "duration_in_minutes": 0,
- "completed_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "status": {
- "data": {
- "type": "intervention_action_status",
- "id": 0
}
}, - "release_signature": {
- "data": {
- "type": "signatures",
- "id": 0
}
}, - "time_registrations": {
- "data": [
- {
- "type": "intervention_action_time_registrations",
- "id": 0
}
]
}
}
}
}
{- "data": {
- "type": "intervention_actions",
- "id": 0,
- "attributes": {
- "reference": 0,
- "description_short": "string",
- "description_long": "string",
- "action_by": "string",
- "action_by_function_corporate_group": 0,
- "remark": "string",
- "clean_before_reuse": true,
- "cleaning_method": "string",
- "is_cleaning_executed": true,
- "cleaning_not_executed_reason": "string",
- "release_for_production": true,
- "duration_in_minutes": 0,
- "completed_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "status": {
- "data": {
- "type": "intervention_action_status",
- "id": 0
}
}, - "release_signature": {
- "data": {
- "type": "signatures",
- "id": 0
}
}, - "time_registrations": {
- "data": [
- {
- "type": "intervention_action_time_registrations",
- "id": 0
}
]
}
}
}, - "included": [
- {
- "type": "intervention_action_status",
- "id": 0,
- "attributes": {
- "key": "not_completed",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
]
}
Get the current status relationship of the intervention action
id required | integer Id of the intervention action |
include | string Value: "status" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (InterventionActionStatusRelation) | |
Array of objects (InterventionActionStatus) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "intervention_action_status",
- "id": 0
}, - "included": [
- {
- "type": "intervention_action_status",
- "id": 0,
- "attributes": {
- "key": "not_completed",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
]
}
Updating an intervention action's status relation is currently not supported
id required | integer Id of the intervention action |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current status of the intervention action
id required | integer Id of the intervention action |
object (InterventionActionStatus) |
{- "data": {
- "type": "intervention_action_status",
- "id": 0,
- "attributes": {
- "key": "not_completed",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
}
Get the current release signature relationship of the intervention action
id required | integer Id of the intervention action |
include | string Value: "release_signature" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (SignatureRelation) | |
Array of objects (Signature) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "signatures",
- "id": 0
}, - "included": [
- {
- "type": "signatures",
- "id": 0,
- "attributes": {
- "name": "string",
- "remark": "string",
- "signed_date": "string",
- "image": "string"
}
}
]
}
Updating an intervention action's release signature relation is currently not supported
id required | integer Id of the intervention action |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current release signature of the intervention action
id required | integer Id of the intervention action |
object (Signature) |
{- "data": {
- "type": "signatures",
- "id": 0,
- "attributes": {
- "name": "string",
- "remark": "string",
- "signed_date": "string",
- "image": "string"
}
}
}
Link a new signature to an intervention action. The signature must be a non existing one and its id must be null
id required | integer Id of the intervention action |
Signature object
object (Signature) |
{- "data": {
- "type": "signatures",
- "id": 0,
- "attributes": {
- "name": "string",
- "remark": "string",
- "signed_date": "string",
- "image": "string"
}
}
}
{- "errors": [
- {
- "status": 0,
- "title": "string",
- "detail": "string"
}
]
}
Get the current time_registrations relationship of the intervention action
id required | integer Id of the intervention action |
include | string Value: "time_registrations" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
Array of objects (InterventionActionTimeRegistrationRelation) unique | |
Array of objects (InterventionActionTimeRegistration) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": [
- {
- "type": "intervention_action_time_registrations",
- "id": 0
}
], - "included": [
- {
- "type": "intervention_action_time_registrations",
- "id": 0,
- "attributes": {
- "remark": "string",
- "from_date": "string",
- "to_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "user": {
- "data": {
- "type": "users",
- "id": 0
}
}
}
}
]
}
Link intervention action time registrations to an intervention action.
id required | integer Id of the intervention action |
Intervention Action Time Registration objects
Array of objects (InterventionActionTimeRegistrationRelation) unique |
{- "data": [
- {
- "type": "intervention_action_time_registrations",
- "id": 0
}
]
}
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Updating an intervention action's time registrations relation is currently not supported
id required | integer Id of the intervention action |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Deleting an intervention action's time registrations relation is currently not supported
id required | integer Id of the intervention action |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current time registrations of the intervention action
id required | integer Id of the intervention action |
Array of objects (InterventionActionTimeRegistration) unique |
{- "data": [
- {
- "type": "intervention_action_time_registrations",
- "id": 0,
- "attributes": {
- "remark": "string",
- "from_date": "string",
- "to_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "user": {
- "data": {
- "type": "users",
- "id": 0
}
}
}
}
]
}
Link new intervention action time registrations to an intervention action. The time registrations must be non existing and their id must be null
id required | integer Id of the intervention action |
Intervention Action Time Registration objects
Array of objects (InterventionActionTimeRegistration) unique |
Array of objects (InterventionActionTimeRegistration) unique |
{- "data": [
- {
- "type": "intervention_action_time_registrations",
- "id": 0,
- "attributes": {
- "remark": "string",
- "from_date": "string",
- "to_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "user": {
- "data": {
- "type": "users",
- "id": 0
}
}
}
}
]
}
{- "data": [
- {
- "type": "intervention_action_time_registrations",
- "id": 0,
- "attributes": {
- "remark": "string",
- "from_date": "string",
- "to_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "user": {
- "data": {
- "type": "users",
- "id": 0
}
}
}
}
]
}
Get a list of intervention action time registrations.
include | string Value: "user" Customise which related resources should be returned. Include one or more from the given options comma separated |
filter[intervention_id] | integer Only get intervention action time registrations for a specific intervention. Value has to be a valid intervention id. |
filter[intervention_action_id] | integer Only get intervention action time registrations for a specific intervention action. Value has to be a valid intervention action id. |
filter[user_id] | integer Only get intervention action time registrations where this user registered the time registration. Value has to be a valid user id. |
filter[from_date_from] | string <DateTime ATOM> Only get intervention action time registrations for which the from date comes after or is the same as the given date. Value has to be a valid ATOM string. |
filter[from_date_until] | string <DateTime ATOM> Only get intervention action time registrations for which the from date comes before or is the same as the given date. Value has to be a valid ATOM string. |
filter[to_date_from] | string <DateTime ATOM> Only get intervention action time registrations for which the to date comes after or is the same as the given date. Value has to be a valid ATOM string. |
filter[to_date_until] | string <DateTime ATOM> Only get intervention action time registrations for which the to date comes before or is the same as the given date. Value has to be a valid ATOM string. |
page | integer >= 1 The page of the result set. When not specified the first page will be returned |
per_page | integer [ 1 .. 50 ] The number of objects per page of the result set |
Array of objects (InterventionActionTimeRegistration) | |
Array of User (object) unique | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "intervention_action_time_registrations",
- "id": 0,
- "attributes": {
- "remark": "string",
- "from_date": "string",
- "to_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "user": {
- "data": {
- "type": "users",
- "id": 0
}
}
}
}
], - "included": [
- {
- "type": "users",
- "id": 0,
- "attributes": {
- "username": "string",
- "modified_date": "string"
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Get a single intervention action time registration by its id
id required | integer Id of the intervention action time registration |
include | string Value: "user" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (InterventionActionTimeRegistration) | |
Array of User (object) unique |
{- "data": {
- "type": "intervention_action_time_registrations",
- "id": 0,
- "attributes": {
- "remark": "string",
- "from_date": "string",
- "to_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "user": {
- "data": {
- "type": "users",
- "id": 0
}
}
}
}, - "included": [
- {
- "type": "users",
- "id": 0,
- "attributes": {
- "username": "string",
- "modified_date": "string"
}
}
]
}
Update an intervention action time registration by its id. Only given properties will be updated.
id required | integer Id of the intervention action time registration |
Intervention action time registration properties to update
object (InterventionActionTimeRegistration) |
object (InterventionActionTimeRegistration) | |
Array of User (object) unique |
{- "data": {
- "type": "intervention_action_time_registrations",
- "id": 0,
- "attributes": {
- "remark": "string",
- "from_date": "string",
- "to_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "user": {
- "data": {
- "type": "users",
- "id": 0
}
}
}
}
}
{- "data": {
- "type": "intervention_action_time_registrations",
- "id": 0,
- "attributes": {
- "remark": "string",
- "from_date": "string",
- "to_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "user": {
- "data": {
- "type": "users",
- "id": 0
}
}
}
}, - "included": [
- {
- "type": "users",
- "id": 0,
- "attributes": {
- "username": "string",
- "modified_date": "string"
}
}
]
}
Delete an intervention action time registration
id required | integer Id of the intervention action time registration |
{- "errors": [
- {
- "status": 0,
- "title": "string",
- "detail": "string"
}
]
}
Manage intervention action time registrations relations
Get the current user relationship of the intervention action time registration
id required | integer Id of the intervention action time registration |
include | string Value: "user" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (UserRelation) | |
Array of objects (User) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "users",
- "id": 0
}, - "included": [
- {
- "type": "users",
- "id": 0,
- "attributes": {
- "username": "string",
- "modified_date": "string"
}
}
]
}
Replace an intervention action time registration's user relation
id required | integer Id of the intervention action time registration |
User object identifier. This is a to-one relationship and will replace the user by the given user
object (UserRelation) |
{- "data": {
- "type": "users",
- "id": 0
}
}
{- "errors": {
- "status": 404,
- "detail": "Resource Not Found"
}
}
Get the current user of the intervention action time registration
id required | integer Id of the intervention action time registration |
object (User) |
{- "data": {
- "type": "users",
- "id": 0,
- "attributes": {
- "username": "string",
- "modified_date": "string"
}
}
}
Get a list of machines.
include | string Enum: "status" "department_corporate_group" Customise which related resources should be returned. Include one or more from the given options comma separated |
filter[status] | string Enum: "active" "not_active" "on_hold" Only get machines that match given status. Multiple statusses can be given separated by comma |
filter[internal_reference] | string Only get the machine that matches the given internal reference |
page | integer >= 1 The page of the result set. When not specified the first page will be returned |
per_page | integer [ 1 .. 50 ] The number of objects per page of the result set |
Array of objects (Machine) | |
Array of MachineStatus (object) or DepartmentCorporateGroup (object) unique | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "machines",
- "id": 0,
- "attributes": {
- "reference": "string",
- "internal_reference": "string",
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "serial_number": "string",
- "construction_year": "string",
- "in_use_since_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "status": {
- "data": {
- "type": "machine_status",
- "id": 0
}
}, - "department_corporate_group": {
- "data": {
- "type": "department_corporate_groups",
- "id": 0
}
}
}
}
], - "included": [
- {
- "type": "machine_status",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Get a single machine by its id
id required | integer Id of the machine |
include | string Enum: "status" "department_corporate_group" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Machine) | |
Array of MachineStatus (object) or DepartmentCorporateGroup (object) unique |
{- "data": {
- "type": "machines",
- "id": 0,
- "attributes": {
- "reference": "string",
- "internal_reference": "string",
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "serial_number": "string",
- "construction_year": "string",
- "in_use_since_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "status": {
- "data": {
- "type": "machine_status",
- "id": 0
}
}, - "department_corporate_group": {
- "data": {
- "type": "department_corporate_groups",
- "id": 0
}
}
}
}, - "included": [
- {
- "type": "machine_status",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
]
}
Get the current status relationship of the machine
id required | integer Id of the machine |
include | string Value: "status" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (MachineStatusRelation) | |
Array of objects (MachineStatus) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "machine_status",
- "id": 0
}, - "included": [
- {
- "type": "machine_status",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
]
}
Updating a machine's status relation is currently not supported
id required | integer Id of the machine |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current status of the machine
id required | integer Id of the machine |
object (MachineStatus) |
{- "data": {
- "type": "machine_status",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
}
Get the current department corporate group relationship of the machine
id required | integer Id of the machine |
include | string Value: "department_corporate_group" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (DepartmentCorporateGroupRelation) | |
Array of objects (DepartmentCorporateGroup) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "department_corporate_groups",
- "id": 0
}, - "included": [
- {
- "type": "department_corporate_groups",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "import_reference": "string",
- "modified_date": "string"
}
}
]
}
Updating a machine's department corporate group relation is currently not supported
id required | integer Id of the machine |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current department corporate group of the machine
id required | integer Id of the machine |
object (DepartmentCorporateGroup) |
{- "data": {
- "type": "department_corporate_groups",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "import_reference": "string",
- "modified_date": "string"
}
}
}
Get a list of non conformities
include | string Enum: "complaint_ranking" "block_category" "employee" "reporter" "execution_type" "status" "created_by" "blocked_by" "product" "processing_method_proposals" "processing_method_settlements" Customise which related resources should be returned. Include one or more from the given options comma separated |
filter[complaint_date_from] | string <DateTime ATOM> An ATOM formatted string describing the start time from when to look for complaints |
filter[complaint_date_until] | string <DateTime ATOM> An ATOM formatted string describing the end time until when to look for complaints |
page | integer >= 1 The page of the result set. When not specified the first page will be returned |
per_page | integer [ 1 .. 50 ] The number of objects per page of the result set |
Array of objects (NonConformity) | |
Array of ComplaintRanking (object) or NonConformityBlockCategory (object) or Employee (object) or NonConformityExecutionType (object) or NonConformityStatus (object) or ProblemCode (object) or User (object) or Product (object) or NonConformityProcessingMethodProposal (object) or NonConformityProcessingMethodSettlement (object) unique | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "non_conformities",
- "id": 0,
- "attributes": {
- "reference": 0,
- "complaint_date": "string",
- "description_short": "string",
- "description_long": "string",
- "runtime_in_days": 0,
- "is_critical_control_point": true,
- "lot_code": "string",
- "product_quantity": 0,
- "cause_description": "string",
- "quality_manager_remark": "string",
- "product_quantity_proposed_blocked": 0,
- "product_quantity_settled_blocked": 0,
- "production_from_date": "string",
- "production_until_date": "string",
- "expiry_date": "string",
- "blocked_date": "string",
- "completed_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "complaint_ranking": {
- "data": {
- "type": "complaint_rankings",
- "id": 0
}
}, - "employee": {
- "data": {
- "type": "employees",
- "id": 0
}
}, - "reporter": {
- "data": {
- "type": "employees",
- "id": 0
}
}, - "block_category": {
- "data": {
- "type": "non_conformity_block_categories",
- "id": 0
}
}, - "execution_type": {
- "data": {
- "type": "non_conformity_execution_types",
- "id": 0
}
}, - "status": {
- "data": {
- "type": "non_conformity_status",
- "id": 0
}
}, - "processing_method_proposals": {
- "data": [
- {
- "type": "non_conformity_processing_method_proposals",
- "id": 0
}
]
}, - "processing_method_settlements": {
- "data": [
- {
- "type": "non_conformity_processing_method_settlements",
- "id": 0
}
]
}, - "problem_code": {
- "data": {
- "type": "problem_codes",
- "id": 0
}
}, - "created_by": {
- "data": {
- "type": "users",
- "id": 0
}
}, - "executer": {
- "data": {
- "type": "users",
- "id": 0
}
}, - "blocked_by": {
- "data": {
- "type": "users",
- "id": 0
}
}, - "product": {
- "data": {
- "type": "products",
- "id": 0
}
}, - "production_line": {
- "data": {
- "type": "production_lines",
- "id": 0
}
}
}
}
], - "included": [
- {
- "type": "complaint_rankings",
- "id": 0,
- "attributes": {
- "reference": 0,
- "name": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "modified_date": "string"
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Get a single non conformity by its id
id required | integer Id of the non conformity |
include | string Enum: "complaint_ranking" "block_category" "employee" "reporter" "execution_type" "status" "created_by" "blocked_by" "product" "processing_method_proposals" "processing_method_settlements" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (NonConformity) | |
Array of ComplaintRanking (object) or NonConformityBlockCategory (object) or Employee (object) or NonConformityExecutionType (object) or NonConformityStatus (object) or ProblemCode (object) or User (object) or Product (object) or NonConformityProcessingMethodProposal (object) or NonConformityProcessingMethodSettlement (object) unique |
{- "data": {
- "type": "non_conformities",
- "id": 0,
- "attributes": {
- "reference": 0,
- "complaint_date": "string",
- "description_short": "string",
- "description_long": "string",
- "runtime_in_days": 0,
- "is_critical_control_point": true,
- "lot_code": "string",
- "product_quantity": 0,
- "cause_description": "string",
- "quality_manager_remark": "string",
- "product_quantity_proposed_blocked": 0,
- "product_quantity_settled_blocked": 0,
- "production_from_date": "string",
- "production_until_date": "string",
- "expiry_date": "string",
- "blocked_date": "string",
- "completed_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "complaint_ranking": {
- "data": {
- "type": "complaint_rankings",
- "id": 0
}
}, - "employee": {
- "data": {
- "type": "employees",
- "id": 0
}
}, - "reporter": {
- "data": {
- "type": "employees",
- "id": 0
}
}, - "block_category": {
- "data": {
- "type": "non_conformity_block_categories",
- "id": 0
}
}, - "execution_type": {
- "data": {
- "type": "non_conformity_execution_types",
- "id": 0
}
}, - "status": {
- "data": {
- "type": "non_conformity_status",
- "id": 0
}
}, - "processing_method_proposals": {
- "data": [
- {
- "type": "non_conformity_processing_method_proposals",
- "id": 0
}
]
}, - "processing_method_settlements": {
- "data": [
- {
- "type": "non_conformity_processing_method_settlements",
- "id": 0
}
]
}, - "problem_code": {
- "data": {
- "type": "problem_codes",
- "id": 0
}
}, - "created_by": {
- "data": {
- "type": "users",
- "id": 0
}
}, - "executer": {
- "data": {
- "type": "users",
- "id": 0
}
}, - "blocked_by": {
- "data": {
- "type": "users",
- "id": 0
}
}, - "product": {
- "data": {
- "type": "products",
- "id": 0
}
}, - "production_line": {
- "data": {
- "type": "production_lines",
- "id": 0
}
}
}
}, - "included": [
- {
- "type": "complaint_rankings",
- "id": 0,
- "attributes": {
- "reference": 0,
- "name": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "modified_date": "string"
}
}
]
}
Get the current complaint ranking relationship of the non conformity
id required | integer Id of the non conformity |
include | string Value: "complaint_ranking" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (ComplaintRankingRelation) | |
Array of objects (ComplaintRanking) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "complaint_rankings",
- "id": 0
}, - "included": [
- {
- "type": "complaint_rankings",
- "id": 0,
- "attributes": {
- "reference": 0,
- "name": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "modified_date": "string"
}
}
]
}
Updating a non conformity complaint ranking relation is currently not supported
id required | integer Id of the non conformity |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current complaint ranking of the non conformity
id required | integer Id of the non conformity |
object (ComplaintRanking) |
{- "data": {
- "type": "complaint_rankings",
- "id": 0,
- "attributes": {
- "reference": 0,
- "name": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "modified_date": "string"
}
}
}
Get the current block category relationship of the non conformity
id required | integer Id of the non conformity |
include | string Value: "block_category" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (NonConformityBlockCategoryRelation) | |
Array of objects (NonConformityBlockCategory) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "non_conformity_block_categories",
- "id": 0
}, - "included": [
- {
- "type": "non_conformity_block_categories",
- "id": 0,
- "attributes": {
- "reference": 0,
- "name": "string",
- "modified_date": "string"
}
}
]
}
Updating a non conformity block category relation is currently not supported
id required | integer Id of the non conformity |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current block category of the non conformity
id required | integer Id of the non conformity |
object (NonConformityBlockCategory) |
{- "data": {
- "type": "non_conformity_block_categories",
- "id": 0,
- "attributes": {
- "reference": 0,
- "name": "string",
- "modified_date": "string"
}
}
}
Get the current employee relationship of the non conformity
id required | integer Id of the non conformity |
include | string Value: "employee" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (EmployeeRelation) | |
Array of objects (Employee) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "employees",
- "id": 0
}, - "included": [
- {
- "type": "employees",
- "id": 0,
- "attributes": {
- "reference": 0,
- "first_name": "string",
- "last_name": "string",
- "modified_date": "string"
}
}
]
}
Updating a non conformity employee relation is currently not supported
id required | integer Id of the non conformity |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current employee of the non conformity
id required | integer Id of the non conformity |
object (Employee) |
{- "data": {
- "type": "employees",
- "id": 0,
- "attributes": {
- "reference": 0,
- "first_name": "string",
- "last_name": "string",
- "modified_date": "string"
}
}
}
Get the current reporter relationship of the non conformity
id required | integer Id of the non conformity |
include | string Value: "reporter" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (EmployeeRelation) | |
Array of objects (Employee) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "employees",
- "id": 0
}, - "included": [
- {
- "type": "employees",
- "id": 0,
- "attributes": {
- "reference": 0,
- "first_name": "string",
- "last_name": "string",
- "modified_date": "string"
}
}
]
}
Updating a non conformity reporter relation is currently not supported
id required | integer Id of the non conformity |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current reporter of the non conformity
id required | integer Id of the non conformity |
object (Employee) |
{- "data": {
- "type": "employees",
- "id": 0,
- "attributes": {
- "reference": 0,
- "first_name": "string",
- "last_name": "string",
- "modified_date": "string"
}
}
}
Get the current execution_type relationship of the non conformity
id required | integer Id of the non conformity |
include | string Value: "execution_type" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (NonConformityExecutionTypeRelation) | |
Array of objects (NonConformityExecutionType) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "non_conformity_execution_types",
- "id": 0
}, - "included": [
- {
- "type": "non_conformity_execution_types",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "modified_date": "string"
}
}
]
}
Updating a non conformity execution_type relation is currently not supported
id required | integer Id of the non conformity |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current execution_type of the non conformity
id required | integer Id of the non conformity |
object (NonConformityExecutionType) |
{- "data": {
- "type": "non_conformity_execution_types",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "modified_date": "string"
}
}
}
Get the current status relationship of the non conformity
id required | integer Id of the non conformity |
include | string Value: "status" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (NonConformityStatusRelation) | |
Array of objects (NonConformityStatus) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "non_conformity_status",
- "id": 0
}, - "included": [
- {
- "type": "non_conformity_status",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "modified_date": "string"
}
}
]
}
Updating a non conformity status relation is currently not supported
id required | integer Id of the non conformity |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current status of the non conformity
id required | integer Id of the non conformity |
object (NonConformityStatus) |
{- "data": {
- "type": "non_conformity_status",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "modified_date": "string"
}
}
}
Get the current processing method proposal relationship of the non conformity
id required | integer Id of the non conformity |
include | string Value: "processing_method_proposals" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (NonConformityProcessingMethodProposalRelation) | |
Array of objects (NonConformityProcessingMethodProposal) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "non_conformity_processing_method_proposals",
- "id": 0
}, - "included": [
- {
- "type": "non_conformity_processing_method_proposal",
- "id": 0,
- "attributes": {
- "quantity": 0,
- "cost_per_unit": 0
}, - "relationships": {
- "processing_method": {
- "data": {
- "type": "non_conformity_processing_methods",
- "id": 0
}
}
}
}
]
}
Adding a non conformity processing method proposal relation is currently not supported
id required | integer Id of the non conformity |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Updating a non conformity processing method proposal relation is currently not supported
id required | integer Id of the non conformity |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Deleting a non conformity processing method proposal relation is currently not supported
id required | integer Id of the non conformity |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current processing method proposals of the non conformity
id required | integer Id of the non conformity |
Array of objects (NonConformityProcessingMethodProposal) unique |
{- "data": [
- {
- "type": "non_conformity_processing_method_proposal",
- "id": 0,
- "attributes": {
- "quantity": 0,
- "cost_per_unit": 0
}, - "relationships": {
- "processing_method": {
- "data": {
- "type": "non_conformity_processing_methods",
- "id": 0
}
}
}
}
]
}
Get the current processing method settlement relationship of the non conformity
id required | integer Id of the non conformity |
include | string Value: "processing_method_settlements" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (NonConformityProcessingMethodSettlementRelation) | |
Array of objects (NonConformityProcessingMethodSettlement) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "non_conformity_processing_method_settlements",
- "id": 0
}, - "included": [
- {
- "type": "non_conformity_processing_method_settlement",
- "id": 0,
- "attributes": {
- "quantity": 0,
- "cost_per_unit": 0,
- "hours": 0,
- "minutes": 0
}, - "relationships": {
- "processing_method": {
- "data": {
- "type": "non_conformity_processing_methods",
- "id": 0
}
}
}
}
]
}
Adding a non conformity processing method settlement relation is currently not supported
id required | integer Id of the non conformity |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Updating a non conformity processing method settlement relation is currently not supported
id required | integer Id of the non conformity |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Deleting a non conformity processing method settlement relation is currently not supported
id required | integer Id of the non conformity |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current processing method settlements of the non conformity
id required | integer Id of the non conformity |
Array of objects (NonConformityProcessingMethodSettlement) unique |
{- "data": [
- {
- "type": "non_conformity_processing_method_settlement",
- "id": 0,
- "attributes": {
- "quantity": 0,
- "cost_per_unit": 0,
- "hours": 0,
- "minutes": 0
}, - "relationships": {
- "processing_method": {
- "data": {
- "type": "non_conformity_processing_methods",
- "id": 0
}
}
}
}
]
}
Get the current problem_code relationship of the non conformity
id required | integer Id of the non conformity |
include | string Value: "problem_code" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (ProblemCodeRelation) | |
Array of objects (ProblemCode) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "problem_codes",
- "id": 0
}, - "included": [
- {
- "type": "problem_codes",
- "id": 0,
- "attributes": {
- "reference": 0,
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "is_critical_control_point": true,
- "is_product_required": true,
- "modified_date": "string"
}
}
]
}
Updating a non conformity problem_code relation is currently not supported
id required | integer Id of the non conformity |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current problem_code of the non conformity
id required | integer Id of the non conformity |
object (ProblemCode) |
{- "data": {
- "type": "problem_codes",
- "id": 0,
- "attributes": {
- "reference": 0,
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "is_critical_control_point": true,
- "is_product_required": true,
- "modified_date": "string"
}
}
}
Get the current created_by relationship of the non conformity
id required | integer Id of the non conformity |
include | string Value: "created_by" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (UserRelation) | |
Array of objects (User) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "users",
- "id": 0
}, - "included": [
- {
- "type": "users",
- "id": 0,
- "attributes": {
- "username": "string",
- "modified_date": "string"
}
}
]
}
Updating a non conformity created_by relation is currently not supported
id required | integer Id of the non conformity |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current created_by of the non conformity
id required | integer Id of the non conformity |
object (User) |
{- "data": {
- "type": "users",
- "id": 0,
- "attributes": {
- "username": "string",
- "modified_date": "string"
}
}
}
Get the current executer relationship of the non conformity
id required | integer Id of the non conformity |
include | string Value: "executer" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (UserRelation) | |
Array of objects (User) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "users",
- "id": 0
}, - "included": [
- {
- "type": "users",
- "id": 0,
- "attributes": {
- "username": "string",
- "modified_date": "string"
}
}
]
}
Updating a non conformity executer relation is currently not supported
id required | integer Id of the non conformity |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current executer of the non conformity
id required | integer Id of the non conformity |
object (User) |
{- "data": {
- "type": "users",
- "id": 0,
- "attributes": {
- "username": "string",
- "modified_date": "string"
}
}
}
Get the current blocked_by relationship of the non conformity
id required | integer Id of the non conformity |
include | string Value: "blocked_by" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (UserRelation) | |
Array of objects (User) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "users",
- "id": 0
}, - "included": [
- {
- "type": "users",
- "id": 0,
- "attributes": {
- "username": "string",
- "modified_date": "string"
}
}
]
}
Updating a non conformity blocked_by relation is currently not supported
id required | integer Id of the non conformity |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current blocked_by of the non conformity
id required | integer Id of the non conformity |
object (User) |
{- "data": {
- "type": "users",
- "id": 0,
- "attributes": {
- "username": "string",
- "modified_date": "string"
}
}
}
Get the current product relationship of the non conformity
id required | integer Id of the non conformity |
include | string Value: "product" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (ProductRelation) | |
Array of objects (Product) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "products",
- "id": 0
}, - "included": [
- {
- "type": "products",
- "id": 0,
- "attributes": {
- "reference": "string",
- "is_active": true,
- "is_sales": true,
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "legal_name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "gtin": "string",
- "intrastat_code": "string",
- "gross_weight_in_kilogram": 0,
- "net_weight_in_kilogram": 0,
- "drained_weight_in_kilogram": 0,
- "production_efficiency_per_hour": 0,
- "production_report_type_component": "None",
- "production_report_type_byprod": "None",
- "product_structure_quantity": 0,
- "is_lotcontrolled": true,
- "nlc": 0,
- "shelf_life": {
- "value": 0,
- "interval": "Days"
}, - "modified_date": "string"
}, - "relationships": {
- "unit": {
- "data": {
- "type": "units",
- "id": 0
}
}, - "product_group": {
- "data": {
- "type": "product_groups",
- "id": 0
}
}
}
}
]
}
Updating a non conformity product relation is currently not supported
id required | integer Id of the non conformity |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current product of the non conformity
id required | integer Id of the non conformity |
object (Product) |
{- "data": {
- "type": "products",
- "id": 0,
- "attributes": {
- "reference": "string",
- "is_active": true,
- "is_sales": true,
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "legal_name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "gtin": "string",
- "intrastat_code": "string",
- "gross_weight_in_kilogram": 0,
- "net_weight_in_kilogram": 0,
- "drained_weight_in_kilogram": 0,
- "production_efficiency_per_hour": 0,
- "production_report_type_component": "None",
- "production_report_type_byprod": "None",
- "product_structure_quantity": 0,
- "is_lotcontrolled": true,
- "nlc": 0,
- "shelf_life": {
- "value": 0,
- "interval": "Days"
}, - "modified_date": "string"
}, - "relationships": {
- "unit": {
- "data": {
- "type": "units",
- "id": 0
}
}, - "product_group": {
- "data": {
- "type": "product_groups",
- "id": 0
}
}
}
}
}
Get the current production_line relationship of the non conformity
id required | integer Id of the non conformity |
include | string Value: "production_line" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (ProductionLineRelation) | |
Array of objects (ProductionLine) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "production_lines",
- "id": 0
}, - "included": [
- {
- "type": "production_lines",
- "id": 0,
- "attributes": {
- "reference": "string",
- "import_reference": "string",
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
]
}
Updating a non conformity production_line relation is currently not supported
id required | integer Id of the non conformity |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current production_line of the non conformity
id required | integer Id of the non conformity |
object (ProductionLine) |
{- "data": {
- "type": "production_lines",
- "id": 0,
- "attributes": {
- "reference": "string",
- "import_reference": "string",
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
}
Get a list of non conformity block categories
Array of objects (NonConformityBlockCategory) | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "non_conformity_block_categories",
- "id": 0,
- "attributes": {
- "reference": 0,
- "name": "string",
- "modified_date": "string"
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Get a single non conformity block category by its id
id required | integer Id of the non conformity block category |
object (NonConformityBlockCategory) |
{- "data": {
- "type": "non_conformity_block_categories",
- "id": 0,
- "attributes": {
- "reference": 0,
- "name": "string",
- "modified_date": "string"
}
}
}
Get a list of non conformity processing methods
include | string Value: "category" Customise which related resources should be returned. Include one or more from the given options comma separated |
Array of objects (NonConformityProcessingMethod) | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "non_conformity_processing_method",
- "id": 0,
- "attributes": {
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "sequence": 0,
- "modified_date": "string"
}, - "relationships": {
- "execution_type": {
- "data": {
- "type": "non_conformity_processing_method_categories",
- "id": 0
}
}
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Get a single non conformity processing method by its id
id required | integer Id of the non conformity processing method |
include | string Value: "category" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (NonConformityProcessingMethod) |
{- "data": {
- "type": "non_conformity_processing_method",
- "id": 0,
- "attributes": {
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "sequence": 0,
- "modified_date": "string"
}, - "relationships": {
- "execution_type": {
- "data": {
- "type": "non_conformity_processing_method_categories",
- "id": 0
}
}
}
}
}
Get the current category relationship of the non conformity processing method
id required | integer Id of the non conformity processing method |
include | string Value: "category" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (NonConformityProcessingMethodCategoryRelation) | |
Array of objects (NonConformityProcessingMethodCategory) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "non_conformity_processing_method_categories",
- "id": 0
}, - "included": [
- {
- "type": "non_conformity_processing_method_category",
- "id": 0,
- "attributes": {
- "name": "string",
- "modified_date": "string"
}
}
]
}
Updating a non conformity processing method category relation is currently not supported
id required | integer Id of the non conformity processing method |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current category of the non conformity processing method
id required | integer Id of the non conformity processing method |
object (NonConformityProcessingMethodCategory) |
{- "data": {
- "type": "non_conformity_processing_method_category",
- "id": 0,
- "attributes": {
- "name": "string",
- "modified_date": "string"
}
}
}
Get a list of non conformity processing method categories
Array of objects (NonConformityProcessingMethodCategory) | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "non_conformity_processing_method_category",
- "id": 0,
- "attributes": {
- "name": "string",
- "modified_date": "string"
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Get a single non conformity processing method category by its id
id required | integer Id of the non conformity processing method category |
object (NonConformityProcessingMethodCategory) |
{- "data": {
- "type": "non_conformity_processing_method_category",
- "id": 0,
- "attributes": {
- "name": "string",
- "modified_date": "string"
}
}
}
Get a list of non conformity processing method proposals
include | string Value: "processing_method" Customise which related resources should be returned. Include one or more from the given options comma separated |
Array of objects (NonConformityProcessingMethodProposal) | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "non_conformity_processing_method_proposal",
- "id": 0,
- "attributes": {
- "quantity": 0,
- "cost_per_unit": 0
}, - "relationships": {
- "processing_method": {
- "data": {
- "type": "non_conformity_processing_methods",
- "id": 0
}
}
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Get a single non conformity processing method proposal by its id
id required | integer Id of the non conformity processing method proposal |
include | string Value: "processing_method" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (NonConformityProcessingMethodProposal) |
{- "data": {
- "type": "non_conformity_processing_method_proposal",
- "id": 0,
- "attributes": {
- "quantity": 0,
- "cost_per_unit": 0
}, - "relationships": {
- "processing_method": {
- "data": {
- "type": "non_conformity_processing_methods",
- "id": 0
}
}
}
}
}
Manage non conformity processing method proposal relations
Get the current processing method relationship of the non conformity processing method proposal
id required | integer Id of the non conformity processing method proposal |
include | string Value: "processing_method" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (NonConformityProcessingMethodProposalRelation) | |
Array of objects (NonConformityProcessingMethodProposal) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "non_conformity_processing_method_proposals",
- "id": 0
}, - "included": [
- {
- "type": "non_conformity_processing_method_proposal",
- "id": 0,
- "attributes": {
- "quantity": 0,
- "cost_per_unit": 0
}, - "relationships": {
- "processing_method": {
- "data": {
- "type": "non_conformity_processing_methods",
- "id": 0
}
}
}
}
]
}
Updating a non conformity processing method proposal processing method relation is currently not supported
id required | integer Id of the non conformity processing method proposal |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current processing method of the non conformity processing method proposal
id required | integer Id of the non conformity processing method proposal |
object (NonConformityProcessingMethod) |
{- "data": {
- "type": "non_conformity_processing_method",
- "id": 0,
- "attributes": {
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "sequence": 0,
- "modified_date": "string"
}, - "relationships": {
- "execution_type": {
- "data": {
- "type": "non_conformity_processing_method_categories",
- "id": 0
}
}
}
}
}
Get a list of non conformity processing method settlements
include | string Value: "processing_method" Customise which related resources should be returned. Include one or more from the given options comma separated |
Array of objects (NonConformityProcessingMethodSettlement) | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "non_conformity_processing_method_settlement",
- "id": 0,
- "attributes": {
- "quantity": 0,
- "cost_per_unit": 0,
- "hours": 0,
- "minutes": 0
}, - "relationships": {
- "processing_method": {
- "data": {
- "type": "non_conformity_processing_methods",
- "id": 0
}
}
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Get a single non conformity processing method settlement by its id
id required | integer Id of the non conformity processing method settlement |
include | string Value: "processing_method" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (NonConformityProcessingMethodSettlement) |
{- "data": {
- "type": "non_conformity_processing_method_settlement",
- "id": 0,
- "attributes": {
- "quantity": 0,
- "cost_per_unit": 0,
- "hours": 0,
- "minutes": 0
}, - "relationships": {
- "processing_method": {
- "data": {
- "type": "non_conformity_processing_methods",
- "id": 0
}
}
}
}
}
Manage non conformity processing method settlement relations
Get the current processing method relationship of the non conformity processing method settlement
id required | integer Id of the non conformity processing method settlement |
include | string Value: "processing_method" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (NonConformityProcessingMethodSettlementRelation) | |
Array of objects (NonConformityProcessingMethodSettlement) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "non_conformity_processing_method_settlements",
- "id": 0
}, - "included": [
- {
- "type": "non_conformity_processing_method_settlement",
- "id": 0,
- "attributes": {
- "quantity": 0,
- "cost_per_unit": 0,
- "hours": 0,
- "minutes": 0
}, - "relationships": {
- "processing_method": {
- "data": {
- "type": "non_conformity_processing_methods",
- "id": 0
}
}
}
}
]
}
Updating a non conformity processing method settlement processing method relation is currently not supported
id required | integer Id of the non conformity processing method settlement |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current processing method of the non conformity processing method settlement
id required | integer Id of the non conformity processing method settlement |
object (NonConformityProcessingMethod) |
{- "data": {
- "type": "non_conformity_processing_method",
- "id": 0,
- "attributes": {
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "sequence": 0,
- "modified_date": "string"
}, - "relationships": {
- "execution_type": {
- "data": {
- "type": "non_conformity_processing_method_categories",
- "id": 0
}
}
}
}
}
Get a list of problem codes
Array of objects (ProblemCode) | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "problem_codes",
- "id": 0,
- "attributes": {
- "reference": 0,
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "is_critical_control_point": true,
- "is_product_required": true,
- "modified_date": "string"
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Get a single problem code by its id
id required | integer Id of the problem code |
object (ProblemCode) |
{- "data": {
- "type": "problem_codes",
- "id": 0,
- "attributes": {
- "reference": 0,
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "is_critical_control_point": true,
- "is_product_required": true,
- "modified_date": "string"
}
}
}
Get a list of complaint rankings
Array of objects (ComplaintRanking) | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "complaint_rankings",
- "id": 0,
- "attributes": {
- "reference": 0,
- "name": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "modified_date": "string"
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Get a single complaint ranking by its id
id required | integer Id of the complaint ranking |
object (ComplaintRanking) |
{- "data": {
- "type": "complaint_rankings",
- "id": 0,
- "attributes": {
- "reference": 0,
- "name": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "modified_date": "string"
}
}
}
Get a list of customer complaints
include | string Enum: "status" "created_by" "transport_transporter" "customer" "supplier" "executer" "product" "production_line" "problem_code" "complaint_ranking" "execution_type" "transport_type" Customise which related resources should be returned. Include one or more from the given options comma separated |
filter[complaint_date_from] | string <DateTime ATOM> An ATOM formatted string describing the start time from when to look for complaints |
filter[complaint_date_until] | string <DateTime ATOM> An ATOM formatted string describing the end time until when to look for complaints |
page | integer >= 1 The page of the result set. When not specified the first page will be returned |
per_page | integer [ 1 .. 50 ] The number of objects per page of the result set |
Array of objects (CustomerComplaint) | |
Array of CustomerComplaintStatus (object) or User (object) or Supplier (object) or Customer (object) or Product (object) or ProductionLine (object) or CustomerComplaintExecutionType (object) or CustomerComplaintTransportType (object) unique | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "customer_complaints",
- "id": 0,
- "attributes": {
- "reference": 0,
- "completed_date": "string",
- "modified_date": "string",
- "runtime_in_days": 0,
- "description_short": "string",
- "description_long": "string",
- "complaint_date": "string",
- "transport_driver_name": "string",
- "lot_code": "string",
- "expiry_date": "string",
- "delivery_date": "string",
- "transport_unload_date": "string",
- "produced_from_date": "string",
- "produced_until_date": "string",
- "product_quantity": "string",
- "sales_quantity": "string",
- "is_critical_control_point": true,
- "executer_reason": "string",
- "executer_remark": "string",
- "quality_manager_remark": "string",
- "commercial_conclusion_remark": "string"
}, - "relationships": {
- "status": {
- "data": {
- "type": "customer_complaint_status",
- "id": 0
}
}, - "created_by": {
- "data": {
- "type": "users",
- "id": 0,
- "attributes": {
- "username": "string",
- "modified_date": "string"
}
}
}, - "transport_transporter": {
- "data": {
- "type": "suppliers",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "is_active": true,
- "is_receival_vat_exclusive": true,
- "currency": "string",
- "gln": "string",
- "is_emergency_number_mandatory": true,
- "emergency_number": "string",
- "emergency_contact": "string",
- "modified_date": "string"
}, - "relationships": {
- "types": {
- "data": [
- {
- "type": null,
- "id": null
}
]
}, - "currency": {
- "data": {
- "type": "currencies",
- "id": 0
}
}, - "buyer": {
- "data": {
- "type": "users",
- "id": 0
}
}, - "key_user": {
- "data": {
- "type": "users",
- "id": 0
}
}
}
}
}, - "customer": {
- "data": {
- "type": "customers",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "alt_name": "string",
- "is_prospect": true,
- "is_active": true,
- "emergency_phone_nr": "string",
- "emergency_contact": "string",
- "credit_limit_used": 0,
- "expired_invoices_total": 0,
- "modified_date": "string"
}, - "relationships": {
- "customer_type": {
- "data": {
- "type": "customer_types",
- "id": 0
}
}, - "language": {
- "data": {
- "type": "languages",
- "id": 0
}
}, - "currency": {
- "data": {
- "type": "currencies",
- "id": 0
}
}, - "account_manager": {
- "data": {
- "type": "users",
- "id": 0
}
}, - "customer_service_manager": {
- "data": {
- "type": "users",
- "id": 0
}
}
}
}
}, - "supplier": {
- "data": {
- "type": "suppliers",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "is_active": true,
- "is_receival_vat_exclusive": true,
- "currency": "string",
- "gln": "string",
- "is_emergency_number_mandatory": true,
- "emergency_number": "string",
- "emergency_contact": "string",
- "modified_date": "string"
}, - "relationships": {
- "types": {
- "data": [
- {
- "type": null,
- "id": null
}
]
}, - "currency": {
- "data": {
- "type": "currencies",
- "id": 0
}
}, - "buyer": {
- "data": {
- "type": "users",
- "id": 0
}
}, - "key_user": {
- "data": {
- "type": "users",
- "id": 0
}
}
}
}
}, - "executer": {
- "data": {
- "type": "users",
- "id": 0,
- "attributes": {
- "username": "string",
- "modified_date": "string"
}
}
}, - "product": {
- "data": {
- "type": "products",
- "id": 0,
- "attributes": {
- "reference": "string",
- "is_active": true,
- "is_sales": true,
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "legal_name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "gtin": "string",
- "intrastat_code": "string",
- "gross_weight_in_kilogram": 0,
- "net_weight_in_kilogram": 0,
- "drained_weight_in_kilogram": 0,
- "production_efficiency_per_hour": 0,
- "production_report_type_component": "None",
- "production_report_type_byprod": "None",
- "product_structure_quantity": 0,
- "is_lotcontrolled": true,
- "nlc": 0,
- "shelf_life": {
- "value": 0,
- "interval": "Days"
}, - "modified_date": "string"
}, - "relationships": {
- "unit": {
- "data": {
- "type": "units",
- "id": 0
}
}, - "product_group": {
- "data": {
- "type": "product_groups",
- "id": 0
}
}
}
}
}, - "production_line": {
- "data": {
- "type": "production_lines",
- "id": 0,
- "attributes": {
- "reference": "string",
- "import_reference": "string",
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
}, - "problem_code": {
- "data": {
- "type": "problem_codes",
- "id": 0,
- "attributes": {
- "reference": 0,
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "is_critical_control_point": true,
- "is_product_required": true,
- "modified_date": "string"
}
}
}, - "complaint_ranking": {
- "data": {
- "type": "products",
- "id": 0,
- "attributes": {
- "reference": "string",
- "is_active": true,
- "is_sales": true,
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "legal_name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "gtin": "string",
- "intrastat_code": "string",
- "gross_weight_in_kilogram": 0,
- "net_weight_in_kilogram": 0,
- "drained_weight_in_kilogram": 0,
- "production_efficiency_per_hour": 0,
- "production_report_type_component": "None",
- "production_report_type_byprod": "None",
- "product_structure_quantity": 0,
- "is_lotcontrolled": true,
- "nlc": 0,
- "shelf_life": {
- "value": 0,
- "interval": "Days"
}, - "modified_date": "string"
}, - "relationships": {
- "unit": {
- "data": {
- "type": "units",
- "id": 0
}
}, - "product_group": {
- "data": {
- "type": "product_groups",
- "id": 0
}
}
}
}
}, - "execution_type": {
- "data": {
- "type": "customer_complaint_execution_types",
- "id": 0
}
}, - "transport_type": {
- "data": {
- "type": "customer_complaint_transport_types",
- "id": 0
}
}
}
}
], - "included": [
- {
- "type": "customer_complaint_status",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Get a single customer complaint by its id
id required | integer Id of the customer complaint |
include | string Enum: "status" "created_by" "transport_transporter" "customer" "supplier" "executer" "product" "production_line" "problem_code" "complaint_ranking" "execution_type" "transport_type" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (CustomerComplaint) | |
Array of CustomerComplaintStatus (object) or User (object) or Supplier (object) or Customer (object) or Product (object) or ProductionLine (object) or CustomerComplaintExecutionType (object) or CustomerComplaintTransportType (object) unique |
{- "data": {
- "type": "customer_complaints",
- "id": 0,
- "attributes": {
- "reference": 0,
- "completed_date": "string",
- "modified_date": "string",
- "runtime_in_days": 0,
- "description_short": "string",
- "description_long": "string",
- "complaint_date": "string",
- "transport_driver_name": "string",
- "lot_code": "string",
- "expiry_date": "string",
- "delivery_date": "string",
- "transport_unload_date": "string",
- "produced_from_date": "string",
- "produced_until_date": "string",
- "product_quantity": "string",
- "sales_quantity": "string",
- "is_critical_control_point": true,
- "executer_reason": "string",
- "executer_remark": "string",
- "quality_manager_remark": "string",
- "commercial_conclusion_remark": "string"
}, - "relationships": {
- "status": {
- "data": {
- "type": "customer_complaint_status",
- "id": 0
}
}, - "created_by": {
- "data": {
- "type": "users",
- "id": 0,
- "attributes": {
- "username": "string",
- "modified_date": "string"
}
}
}, - "transport_transporter": {
- "data": {
- "type": "suppliers",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "is_active": true,
- "is_receival_vat_exclusive": true,
- "currency": "string",
- "gln": "string",
- "is_emergency_number_mandatory": true,
- "emergency_number": "string",
- "emergency_contact": "string",
- "modified_date": "string"
}, - "relationships": {
- "types": {
- "data": [
- {
- "type": "supplier_types",
- "id": 0
}
]
}, - "currency": {
- "data": {
- "type": "currencies",
- "id": 0
}
}, - "buyer": {
- "data": {
- "type": "users",
- "id": 0
}
}, - "key_user": {
- "data": {
- "type": "users",
- "id": 0
}
}
}
}
}, - "customer": {
- "data": {
- "type": "customers",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "alt_name": "string",
- "is_prospect": true,
- "is_active": true,
- "emergency_phone_nr": "string",
- "emergency_contact": "string",
- "credit_limit_used": 0,
- "expired_invoices_total": 0,
- "modified_date": "string"
}, - "relationships": {
- "customer_type": {
- "data": {
- "type": "customer_types",
- "id": 0
}
}, - "language": {
- "data": {
- "type": "languages",
- "id": 0
}
}, - "currency": {
- "data": {
- "type": "currencies",
- "id": 0
}
}, - "account_manager": {
- "data": {
- "type": "users",
- "id": 0
}
}, - "customer_service_manager": {
- "data": {
- "type": "users",
- "id": 0
}
}
}
}
}, - "supplier": {
- "data": {
- "type": "suppliers",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "is_active": true,
- "is_receival_vat_exclusive": true,
- "currency": "string",
- "gln": "string",
- "is_emergency_number_mandatory": true,
- "emergency_number": "string",
- "emergency_contact": "string",
- "modified_date": "string"
}, - "relationships": {
- "types": {
- "data": [
- {
- "type": "supplier_types",
- "id": 0
}
]
}, - "currency": {
- "data": {
- "type": "currencies",
- "id": 0
}
}, - "buyer": {
- "data": {
- "type": "users",
- "id": 0
}
}, - "key_user": {
- "data": {
- "type": "users",
- "id": 0
}
}
}
}
}, - "executer": {
- "data": {
- "type": "users",
- "id": 0,
- "attributes": {
- "username": "string",
- "modified_date": "string"
}
}
}, - "product": {
- "data": {
- "type": "products",
- "id": 0,
- "attributes": {
- "reference": "string",
- "is_active": true,
- "is_sales": true,
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "legal_name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "gtin": "string",
- "intrastat_code": "string",
- "gross_weight_in_kilogram": 0,
- "net_weight_in_kilogram": 0,
- "drained_weight_in_kilogram": 0,
- "production_efficiency_per_hour": 0,
- "production_report_type_component": "None",
- "production_report_type_byprod": "None",
- "product_structure_quantity": 0,
- "is_lotcontrolled": true,
- "nlc": 0,
- "shelf_life": {
- "value": 0,
- "interval": "Days"
}, - "modified_date": "string"
}, - "relationships": {
- "unit": {
- "data": {
- "type": "units",
- "id": 0
}
}, - "product_group": {
- "data": {
- "type": "product_groups",
- "id": 0
}
}
}
}
}, - "production_line": {
- "data": {
- "type": "production_lines",
- "id": 0,
- "attributes": {
- "reference": "string",
- "import_reference": "string",
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
}, - "problem_code": {
- "data": {
- "type": "problem_codes",
- "id": 0,
- "attributes": {
- "reference": 0,
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "is_critical_control_point": true,
- "is_product_required": true,
- "modified_date": "string"
}
}
}, - "complaint_ranking": {
- "data": {
- "type": "products",
- "id": 0,
- "attributes": {
- "reference": "string",
- "is_active": true,
- "is_sales": true,
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "legal_name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "gtin": "string",
- "intrastat_code": "string",
- "gross_weight_in_kilogram": 0,
- "net_weight_in_kilogram": 0,
- "drained_weight_in_kilogram": 0,
- "production_efficiency_per_hour": 0,
- "production_report_type_component": "None",
- "production_report_type_byprod": "None",
- "product_structure_quantity": 0,
- "is_lotcontrolled": true,
- "nlc": 0,
- "shelf_life": {
- "value": 0,
- "interval": "Days"
}, - "modified_date": "string"
}, - "relationships": {
- "unit": {
- "data": {
- "type": "units",
- "id": 0
}
}, - "product_group": {
- "data": {
- "type": "product_groups",
- "id": 0
}
}
}
}
}, - "execution_type": {
- "data": {
- "type": "customer_complaint_execution_types",
- "id": 0
}
}, - "transport_type": {
- "data": {
- "type": "customer_complaint_transport_types",
- "id": 0
}
}
}
}, - "included": [
- {
- "type": "customer_complaint_status",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
]
}
Get the current status relationship of the customer complaint
id required | integer Id of the customer complaint |
include | string Value: "status" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (CustomerComplaintStatusRelation) | |
Array of objects (CustomerComplaintStatus) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "customer_complaint_status",
- "id": 0
}, - "included": [
- {
- "type": "customer_complaint_status",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
]
}
Updating a customer complaint status relation is currently not supported
id required | integer Id of the customer complaint |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current status of the customer complaint
id required | integer Id of the customer complaint |
object (CustomerComplaintStatus) |
{- "data": {
- "type": "customer_complaint_status",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
}
Get the current created_by relationship of the customer complaint
id required | integer Id of the customer complaint |
include | string Value: "created_by" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (UserRelation) | |
Array of objects (User) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "users",
- "id": 0
}, - "included": [
- {
- "type": "users",
- "id": 0,
- "attributes": {
- "username": "string",
- "modified_date": "string"
}
}
]
}
Updating a customer complaint created_by relation is currently not supported
id required | integer Id of the customer complaint |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current created_by of the customer complaint
id required | integer Id of the customer complaint |
object (User) |
{- "data": {
- "type": "users",
- "id": 0,
- "attributes": {
- "username": "string",
- "modified_date": "string"
}
}
}
Get the current transport_transporter relationship of the customer complaint
id required | integer Id of the customer complaint |
include | string Value: "transport_transporter" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (SupplierRelation) | |
Array of objects (Supplier) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "suppliers",
- "id": 0
}, - "included": [
- {
- "type": "suppliers",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "is_active": true,
- "is_receival_vat_exclusive": true,
- "currency": "string",
- "gln": "string",
- "is_emergency_number_mandatory": true,
- "emergency_number": "string",
- "emergency_contact": "string",
- "modified_date": "string"
}, - "relationships": {
- "types": {
- "data": [
- {
- "type": "supplier_types",
- "id": 0
}
]
}, - "currency": {
- "data": {
- "type": "currencies",
- "id": 0
}
}, - "buyer": {
- "data": {
- "type": "users",
- "id": 0
}
}, - "key_user": {
- "data": {
- "type": "users",
- "id": 0
}
}
}
}
]
}
Updating a customer complaint transport_transporter relation is currently not supported
id required | integer Id of the customer complaint |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current transport_transporter of the customer complaint
id required | integer Id of the customer complaint |
object (Supplier) |
{- "data": {
- "type": "suppliers",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "is_active": true,
- "is_receival_vat_exclusive": true,
- "currency": "string",
- "gln": "string",
- "is_emergency_number_mandatory": true,
- "emergency_number": "string",
- "emergency_contact": "string",
- "modified_date": "string"
}, - "relationships": {
- "types": {
- "data": [
- {
- "type": "supplier_types",
- "id": 0
}
]
}, - "currency": {
- "data": {
- "type": "currencies",
- "id": 0
}
}, - "buyer": {
- "data": {
- "type": "users",
- "id": 0
}
}, - "key_user": {
- "data": {
- "type": "users",
- "id": 0
}
}
}
}
}
Get the current customer relationship of the customer complaint
id required | integer Id of the customer complaint |
include | string Value: "customer" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (CustomerRelation) | |
Array of objects (Customer) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "customers",
- "id": 0
}, - "included": [
- {
- "type": "customers",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "alt_name": "string",
- "is_prospect": true,
- "is_active": true,
- "emergency_phone_nr": "string",
- "emergency_contact": "string",
- "credit_limit_used": 0,
- "expired_invoices_total": 0,
- "modified_date": "string"
}, - "relationships": {
- "customer_type": {
- "data": {
- "type": "customer_types",
- "id": 0
}
}, - "language": {
- "data": {
- "type": "languages",
- "id": 0
}
}, - "currency": {
- "data": {
- "type": "currencies",
- "id": 0
}
}, - "account_manager": {
- "data": {
- "type": "users",
- "id": 0
}
}, - "customer_service_manager": {
- "data": {
- "type": "users",
- "id": 0
}
}
}
}
]
}
Updating a customer complaint customer relation is currently not supported
id required | integer Id of the customer complaint |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current customer of the customer complaint
id required | integer Id of the customer complaint |
object (Customer) |
{- "data": {
- "type": "customers",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "alt_name": "string",
- "is_prospect": true,
- "is_active": true,
- "emergency_phone_nr": "string",
- "emergency_contact": "string",
- "credit_limit_used": 0,
- "expired_invoices_total": 0,
- "modified_date": "string"
}, - "relationships": {
- "customer_type": {
- "data": {
- "type": "customer_types",
- "id": 0
}
}, - "language": {
- "data": {
- "type": "languages",
- "id": 0
}
}, - "currency": {
- "data": {
- "type": "currencies",
- "id": 0
}
}, - "account_manager": {
- "data": {
- "type": "users",
- "id": 0
}
}, - "customer_service_manager": {
- "data": {
- "type": "users",
- "id": 0
}
}
}
}
}
Get the current supplier relationship of the customer complaint
id required | integer Id of the customer complaint |
include | string Value: "supplier" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (SupplierRelation) | |
Array of objects (Supplier) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "suppliers",
- "id": 0
}, - "included": [
- {
- "type": "suppliers",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "is_active": true,
- "is_receival_vat_exclusive": true,
- "currency": "string",
- "gln": "string",
- "is_emergency_number_mandatory": true,
- "emergency_number": "string",
- "emergency_contact": "string",
- "modified_date": "string"
}, - "relationships": {
- "types": {
- "data": [
- {
- "type": "supplier_types",
- "id": 0
}
]
}, - "currency": {
- "data": {
- "type": "currencies",
- "id": 0
}
}, - "buyer": {
- "data": {
- "type": "users",
- "id": 0
}
}, - "key_user": {
- "data": {
- "type": "users",
- "id": 0
}
}
}
}
]
}
Updating a customer complaint supplier relation is currently not supported
id required | integer Id of the customer complaint |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current supplier of the customer complaint
id required | integer Id of the customer complaint |
object (Supplier) |
{- "data": {
- "type": "suppliers",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "is_active": true,
- "is_receival_vat_exclusive": true,
- "currency": "string",
- "gln": "string",
- "is_emergency_number_mandatory": true,
- "emergency_number": "string",
- "emergency_contact": "string",
- "modified_date": "string"
}, - "relationships": {
- "types": {
- "data": [
- {
- "type": "supplier_types",
- "id": 0
}
]
}, - "currency": {
- "data": {
- "type": "currencies",
- "id": 0
}
}, - "buyer": {
- "data": {
- "type": "users",
- "id": 0
}
}, - "key_user": {
- "data": {
- "type": "users",
- "id": 0
}
}
}
}
}
Get the current executer relationship of the customer complaint
id required | integer Id of the customer complaint |
include | string Value: "executer" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (UserRelation) | |
Array of objects (User) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "users",
- "id": 0
}, - "included": [
- {
- "type": "users",
- "id": 0,
- "attributes": {
- "username": "string",
- "modified_date": "string"
}
}
]
}
Updating a customer complaint executer relation is currently not supported
id required | integer Id of the customer complaint |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current executer of the customer complaint
id required | integer Id of the customer complaint |
object (User) |
{- "data": {
- "type": "users",
- "id": 0,
- "attributes": {
- "username": "string",
- "modified_date": "string"
}
}
}
Get the current product relationship of the customer complaint
id required | integer Id of the customer complaint |
include | string Value: "product" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (ProductRelation) | |
Array of objects (Product) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "products",
- "id": 0
}, - "included": [
- {
- "type": "products",
- "id": 0,
- "attributes": {
- "reference": "string",
- "is_active": true,
- "is_sales": true,
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "legal_name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "gtin": "string",
- "intrastat_code": "string",
- "gross_weight_in_kilogram": 0,
- "net_weight_in_kilogram": 0,
- "drained_weight_in_kilogram": 0,
- "production_efficiency_per_hour": 0,
- "production_report_type_component": "None",
- "production_report_type_byprod": "None",
- "product_structure_quantity": 0,
- "is_lotcontrolled": true,
- "nlc": 0,
- "shelf_life": {
- "value": 0,
- "interval": "Days"
}, - "modified_date": "string"
}, - "relationships": {
- "unit": {
- "data": {
- "type": "units",
- "id": 0
}
}, - "product_group": {
- "data": {
- "type": "product_groups",
- "id": 0
}
}
}
}
]
}
Updating a customer complaint product relation is currently not supported
id required | integer Id of the customer complaint |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current product of the customer complaint
id required | integer Id of the customer complaint |
object (Product) |
{- "data": {
- "type": "products",
- "id": 0,
- "attributes": {
- "reference": "string",
- "is_active": true,
- "is_sales": true,
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "legal_name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "gtin": "string",
- "intrastat_code": "string",
- "gross_weight_in_kilogram": 0,
- "net_weight_in_kilogram": 0,
- "drained_weight_in_kilogram": 0,
- "production_efficiency_per_hour": 0,
- "production_report_type_component": "None",
- "production_report_type_byprod": "None",
- "product_structure_quantity": 0,
- "is_lotcontrolled": true,
- "nlc": 0,
- "shelf_life": {
- "value": 0,
- "interval": "Days"
}, - "modified_date": "string"
}, - "relationships": {
- "unit": {
- "data": {
- "type": "units",
- "id": 0
}
}, - "product_group": {
- "data": {
- "type": "product_groups",
- "id": 0
}
}
}
}
}
Get the current production_line relationship of the customer complaint
id required | integer Id of the customer complaint |
include | string Value: "production_line" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (ProductionLineRelation) | |
Array of objects (ProductionLine) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "production_lines",
- "id": 0
}, - "included": [
- {
- "type": "production_lines",
- "id": 0,
- "attributes": {
- "reference": "string",
- "import_reference": "string",
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
]
}
Updating a customer complaint production_line relation is currently not supported
id required | integer Id of the customer complaint |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current production_line of the customer complaint
id required | integer Id of the customer complaint |
object (ProductionLine) |
{- "data": {
- "type": "production_lines",
- "id": 0,
- "attributes": {
- "reference": "string",
- "import_reference": "string",
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
}
Get the current problem_code relationship of the customer complaint
id required | integer Id of the customer complaint |
include | string Value: "problem_code" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (ProblemCodeRelation) | |
Array of objects (ProblemCode) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "problem_codes",
- "id": 0
}, - "included": [
- {
- "type": "problem_codes",
- "id": 0,
- "attributes": {
- "reference": 0,
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "is_critical_control_point": true,
- "is_product_required": true,
- "modified_date": "string"
}
}
]
}
Updating a customer complaint problem_code relation is currently not supported
id required | integer Id of the customer complaint |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current problem_code of the customer complaint
id required | integer Id of the customer complaint |
object (ProblemCode) |
{- "data": {
- "type": "problem_codes",
- "id": 0,
- "attributes": {
- "reference": 0,
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "is_critical_control_point": true,
- "is_product_required": true,
- "modified_date": "string"
}
}
}
Get the current complaint_ranking relationship of the customer complaint
id required | integer Id of the customer complaint |
include | string Value: "complaint_ranking" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (ComplaintRankingRelation) | |
Array of objects (ComplaintRanking) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "complaint_rankings",
- "id": 0
}, - "included": [
- {
- "type": "complaint_rankings",
- "id": 0,
- "attributes": {
- "reference": 0,
- "name": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "modified_date": "string"
}
}
]
}
Updating a customer complaint complaint_ranking relation is currently not supported
id required | integer Id of the customer complaint |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current complaint_ranking of the customer complaint
id required | integer Id of the customer complaint |
object (ComplaintRanking) |
{- "data": {
- "type": "complaint_rankings",
- "id": 0,
- "attributes": {
- "reference": 0,
- "name": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "modified_date": "string"
}
}
}
Get the current execution_type relationship of the customer complaint
id required | integer Id of the customer complaint |
include | string Value: "execution_type" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (CustomerComplaintExecutionTypeRelation) | |
Array of objects (CustomerComplaintExecutionType) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "customer_complaint_execution_types",
- "id": 0
}, - "included": [
- {
- "type": "customer_complaint_execution_types",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
]
}
Updating a customer complaint execution_type relation is currently not supported
id required | integer Id of the customer complaint |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current execution_type of the customer complaint
id required | integer Id of the customer complaint |
object (CustomerComplaintExecutionType) |
{- "data": {
- "type": "customer_complaint_execution_types",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
}
Get the current transport_type relationship of the customer complaint
id required | integer Id of the customer complaint |
include | string Value: "transport_type" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (CustomerComplaintTransportTypeRelation) | |
Array of objects (CustomerComplaintTransportType) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "customer_complaint_transport_types",
- "id": 0
}, - "included": [
- {
- "type": "customer_complaint_transport_types",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
]
}
Updating a customer complaint transport_type relation is currently not supported
id required | integer Id of the customer complaint |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current transport_type of the customer complaint
id required | integer Id of the customer complaint |
object (CustomerComplaintTransportType) |
{- "data": {
- "type": "customer_complaint_transport_types",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
}
Get a list of lots
include | string Enum: "product" "stock_distributions" Customise which related resources should be returned. Include one or more from the given options comma separated |
filter[has_stock] | integer Enum: 0 1 A simple flag to limit the returned lots to those that have stock |
filter[product_id] | integer Can be used to show only lots of specific products. Use it as an array to filter on multiple products ( |
filter[base_lot_reference] | string Can be used to fetch all collis for the given base reference. For example: |
page | integer >= 1 The page of the result set. When not specified the first page will be returned |
per_page | integer [ 1 .. 50 ] The number of objects per page of the result set |
Array of objects (Lot) | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "lots",
- "id": "string",
- "attributes": {
- "reference": "string",
- "modified_date": "string"
}, - "relationships": {
- "product": {
- "data": {
- "type": "products",
- "id": 0
}
}, - "stock_distributions": {
- "data": [
- {
- "type": "stock_distributions",
- "id": 0
}
]
}
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Get a single lot by its id
id required | string Id of the lot |
include | string Enum: "product" "stock_distributions" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Lot) |
{- "data": {
- "type": "lots",
- "id": "string",
- "attributes": {
- "reference": "string",
- "modified_date": "string"
}, - "relationships": {
- "product": {
- "data": {
- "type": "products",
- "id": 0
}
}, - "stock_distributions": {
- "data": [
- {
- "type": "stock_distributions",
- "id": 0
}
]
}
}
}
}
Get a list of production orders
include | string Enum: "status" "type" "product" "production_line" "components" "component_reports" "reports" Customise which related resources should be returned. Include one or more from the given options comma separated |
filter[production_date_from] | string <DateTime ATOM> An ATOM formatted string describing the start time from when to look for production orders |
filter[production_date_until] | string <DateTime ATOM> An ATOM formatted string describing the end time until when to look for production orders |
page | integer >= 1 The page of the result set. When not specified the first page will be returned |
per_page | integer [ 1 .. 50 ] The number of objects per page of the result set |
Array of objects (ProductionOrder) | |
Array of ProductionOrderStatus (object) or ProductionOrderType (object) or Product (object) or ProductionLine (object) or ProductionOrderComponent (object) or ProductionOrderComponentReport (object) or ProductionOrderReport (object) unique | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "production_orders",
- "id": 0,
- "attributes": {
- "reference": 0,
- "production_date": "string",
- "external_reference": "string",
- "planned_start_date": "string",
- "planned_end_date": "string",
- "effective_start_date": "string",
- "effective_end_date": "string",
- "expiry_date": "string",
- "planned_quantity": 0,
- "planned_lot_reference": "string",
- "sequence": 0,
- "remark": "string",
- "modified_date": "string"
}, - "relationships": {
- "status": {
- "data": {
- "type": "production_order_status",
- "id": 0
}
}, - "type": {
- "data": {
- "type": "production_order_types",
- "id": 0
}
}, - "product": {
- "data": {
- "type": "products",
- "id": 0
}
}, - "production_line": {
- "data": {
- "type": "production_lines",
- "id": 0
}
}, - "components": {
- "data": [
- {
- "type": "production_order_components",
- "id": 0
}
]
}, - "component_reports": {
- "data": [
- {
- "type": "production_order_component_reports",
- "id": 0
}
]
}
}
}
], - "included": [
- {
- "type": "production_order_status",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Get a single production order by its id
id required | integer Id of the production order |
include | string Enum: "status" "type" "product" "production_line" "components" "component_reports" "reports" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (ProductionOrder) | |
Array of ProductionOrderStatus (object) or ProductionOrderType (object) or Product (object) or ProductionLine (object) or ProductionOrderComponent (object) or ProductionOrderComponentReport (object) or ProductionOrderReport (object) unique |
{- "data": {
- "type": "production_orders",
- "id": 0,
- "attributes": {
- "reference": 0,
- "production_date": "string",
- "external_reference": "string",
- "planned_start_date": "string",
- "planned_end_date": "string",
- "effective_start_date": "string",
- "effective_end_date": "string",
- "expiry_date": "string",
- "planned_quantity": 0,
- "planned_lot_reference": "string",
- "sequence": 0,
- "remark": "string",
- "modified_date": "string"
}, - "relationships": {
- "status": {
- "data": {
- "type": "production_order_status",
- "id": 0
}
}, - "type": {
- "data": {
- "type": "production_order_types",
- "id": 0
}
}, - "product": {
- "data": {
- "type": "products",
- "id": 0
}
}, - "production_line": {
- "data": {
- "type": "production_lines",
- "id": 0
}
}, - "components": {
- "data": [
- {
- "type": "production_order_components",
- "id": 0
}
]
}, - "component_reports": {
- "data": [
- {
- "type": "production_order_component_reports",
- "id": 0
}
]
}
}
}, - "included": [
- {
- "type": "production_order_status",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
]
}
Get the current production_order_status relationship of the production order
id required | integer Id of the production order |
include | string Value: "production_order_status" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (ProductionOrderStatusRelation) | |
Array of objects (ProductionOrderStatus) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "production_order_status",
- "id": 0
}, - "included": [
- {
- "type": "production_order_status",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
]
}
Updating a production order production_order_status relation is currently not supported
id required | integer Id of the production order |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current production_order_status of the production order
id required | integer Id of the production order |
object (ProductionOrderStatus) |
{- "data": {
- "type": "production_order_status",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
}
Get the current production_order_type relationship of the production order
id required | integer Id of the production order |
include | string Value: "production_order_type" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (ProductionOrderTypeRelation) | |
Array of objects (ProductionOrderType) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "production_order_types",
- "id": 0
}, - "included": [
- {
- "type": "production_order_types",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
]
}
Updating a production order production_order_type relation is currently not supported
id required | integer Id of the production order |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current production_order_type of the production order
id required | integer Id of the production order |
object (ProductionOrderType) |
{- "data": {
- "type": "production_order_types",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
}
Get the current product relationship of the production order
id required | integer Id of the production order |
include | string Value: "product" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (ProductRelation) | |
Array of objects (Product) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "products",
- "id": 0
}, - "included": [
- {
- "type": "products",
- "id": 0,
- "attributes": {
- "reference": "string",
- "is_active": true,
- "is_sales": true,
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "legal_name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "gtin": "string",
- "intrastat_code": "string",
- "gross_weight_in_kilogram": 0,
- "net_weight_in_kilogram": 0,
- "drained_weight_in_kilogram": 0,
- "production_efficiency_per_hour": 0,
- "production_report_type_component": "None",
- "production_report_type_byprod": "None",
- "product_structure_quantity": 0,
- "is_lotcontrolled": true,
- "nlc": 0,
- "shelf_life": {
- "value": 0,
- "interval": "Days"
}, - "modified_date": "string"
}, - "relationships": {
- "unit": {
- "data": {
- "type": "units",
- "id": 0
}
}, - "product_group": {
- "data": {
- "type": "product_groups",
- "id": 0
}
}
}
}
]
}
Updating a production order product relation is currently not supported
id required | integer Id of the production order |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current product of the production order
id required | integer Id of the production order |
object (Product) |
{- "data": {
- "type": "products",
- "id": 0,
- "attributes": {
- "reference": "string",
- "is_active": true,
- "is_sales": true,
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "legal_name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "gtin": "string",
- "intrastat_code": "string",
- "gross_weight_in_kilogram": 0,
- "net_weight_in_kilogram": 0,
- "drained_weight_in_kilogram": 0,
- "production_efficiency_per_hour": 0,
- "production_report_type_component": "None",
- "production_report_type_byprod": "None",
- "product_structure_quantity": 0,
- "is_lotcontrolled": true,
- "nlc": 0,
- "shelf_life": {
- "value": 0,
- "interval": "Days"
}, - "modified_date": "string"
}, - "relationships": {
- "unit": {
- "data": {
- "type": "units",
- "id": 0
}
}, - "product_group": {
- "data": {
- "type": "product_groups",
- "id": 0
}
}
}
}
}
Get the current production_line relationship of the production order
id required | integer Id of the production order |
include | string Value: "production_line" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (ProductionLineRelation) | |
Array of objects (ProductionLine) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "production_lines",
- "id": 0
}, - "included": [
- {
- "type": "production_lines",
- "id": 0,
- "attributes": {
- "reference": "string",
- "import_reference": "string",
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
]
}
Updating a production order production_line relation is currently not supported
id required | integer Id of the production order |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current production_line of the production order
id required | integer Id of the production order |
object (ProductionLine) |
{- "data": {
- "type": "production_lines",
- "id": 0,
- "attributes": {
- "reference": "string",
- "import_reference": "string",
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
}
Get the current components relationship of the production order
id required | integer Id of the production order |
include | string Value: "components" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
Array of objects (ProductionOrderComponentRelation) unique | |
Array of objects (ProductionOrderComponent) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": [
- {
- "type": "production_order_components",
- "id": 0
}
], - "included": [
- {
- "type": "production_order_components",
- "id": 0,
- "attributes": {
- "quantity": 0,
- "modified_date": "string"
}, - "relationships": {
- "product": {
- "data": {
- "type": "products",
- "id": 0
}
}, - "report_type": {
- "data": {
- "type": "production_report_types",
- "id": 0
}
}, - "origin_product": {
- "data": {
- "type": "products",
- "id": 0
}
}
}
}
]
}
Add components relations to the production order
id required | integer Id of the production order |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Update a production order components relation
id required | integer Id of the production order |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Delete components from a production order
id required | integer Id of the production order |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current components of the production order
id required | integer Id of the production order |
Array of objects (ProductionOrderComponent) unique |
{- "data": [
- {
- "type": "production_order_components",
- "id": 0,
- "attributes": {
- "quantity": 0,
- "modified_date": "string"
}, - "relationships": {
- "product": {
- "data": {
- "type": "products",
- "id": 0
}
}, - "report_type": {
- "data": {
- "type": "production_report_types",
- "id": 0
}
}, - "origin_product": {
- "data": {
- "type": "products",
- "id": 0
}
}
}
}
]
}
Get the current component_reports relationship of the production order
id required | integer Id of the production order |
include | string Value: "component_reports" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
Array of objects (ProductionOrderComponentReportRelation) unique | |
Array of objects (ProductionOrderComponentReport) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": [
- {
- "type": "production_order_component_reports",
- "id": 0
}
], - "included": [
- {
- "type": "production_order_component_reports",
- "id": 0,
- "attributes": {
- "quantity": 0,
- "report_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "lot": {
- "data": {
- "type": "lots",
- "id": "string"
}
}, - "report_type": {
- "data": {
- "type": "production_report_types",
- "id": 0
}
}, - "stock_location": {
- "data": {
- "type": "stock_locations",
- "id": 0
}
}
}
}
]
}
Add component_reports relations to the production order
id required | integer Id of the production order |
This is an array of ProductionOrderComponentReportRelation objects.
Array of objects (ProductionOrderComponentReportRelation) unique |
{- "data": [
- {
- "type": "production_order_component_reports",
- "id": 0
}
]
}
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Update a production order component_reports relation
id required | integer Id of the production order |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Delete component_reports from a production order
id required | integer Id of the production order |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current component_reports of the production order
id required | integer Id of the production order |
Array of objects (ProductionOrderComponentReport) unique |
{- "data": [
- {
- "type": "production_order_component_reports",
- "id": 0,
- "attributes": {
- "quantity": 0,
- "report_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "lot": {
- "data": {
- "type": "lots",
- "id": "string"
}
}, - "report_type": {
- "data": {
- "type": "production_report_types",
- "id": 0
}
}, - "stock_location": {
- "data": {
- "type": "stock_locations",
- "id": 0
}
}
}
}
]
}
Add component_reports to the production order
id required | integer Id of the production order |
This is an array of ProductionOrderComponentReport objects. The reports will be processed in the given order and individually.
This means that if the first report uses the same stock as a following report, the latter reports can fail if the stock is no longer sufficient but the first report went through successfully
Array of objects (ProductionOrderComponentReport) unique |
Array of objects (ProductionOrderComponentReport) unique |
{- "data": [
- {
- "type": "production_order_component_reports",
- "id": 0,
- "attributes": {
- "quantity": 0,
- "report_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "lot": {
- "data": {
- "type": "lots",
- "id": "string"
}
}, - "report_type": {
- "data": {
- "type": "production_report_types",
- "id": 0
}
}, - "stock_location": {
- "data": {
- "type": "stock_locations",
- "id": 0
}
}
}
}
]
}
{- "data": [
- {
- "type": "production_order_component_reports",
- "id": 0,
- "attributes": {
- "quantity": 0,
- "report_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "lot": {
- "data": {
- "type": "lots",
- "id": "string"
}
}, - "report_type": {
- "data": {
- "type": "production_report_types",
- "id": 0
}
}, - "stock_location": {
- "data": {
- "type": "stock_locations",
- "id": 0
}
}
}
}
]
}
Get the current reports relationship of the production order
id required | integer Id of the production order |
include | string Value: "reports" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
Array of objects (ProductionOrderReportRelation) unique | |
Array of objects (ProductionOrderReport) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": [
- {
- "type": "production_order_reports",
- "id": 0
}
], - "included": [
- {
- "type": "production_order_reports",
- "id": 0,
- "attributes": {
- "quantity": 0,
- "report_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "lot_colli": {
- "data": {
- "type": "lots",
- "id": "string"
}
}, - "production_line": {
- "data": {
- "type": "production_lines",
- "id": 0
}
}, - "stock_location": {
- "data": {
- "type": "stock_locations",
- "id": 0
}
}
}
}
]
}
Add report relations to the production order
id required | integer Id of the production order |
This is an array of ProductionOrderReportRelation objects.
Array of objects (ProductionOrderReportRelation) unique |
{- "data": [
- {
- "type": "production_order_reports",
- "id": 0
}
]
}
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current reports of the production order
id required | integer Id of the production order |
Array of objects (ProductionOrderReport) unique |
{- "data": [
- {
- "type": "production_order_reports",
- "id": 0,
- "attributes": {
- "quantity": 0,
- "report_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "lot_colli": {
- "data": {
- "type": "lots",
- "id": "string"
}
}, - "production_line": {
- "data": {
- "type": "production_lines",
- "id": 0
}
}, - "stock_location": {
- "data": {
- "type": "stock_locations",
- "id": 0
}
}
}
}
]
}
Add reports to the production order
id required | integer Id of the production order |
This is an array of ProductionOrderReport objects. The reports will be processed in the given order and individually.
Array of objects (ProductionOrderReport) unique |
Array of objects (ProductionOrderReport) unique |
{- "data": [
- {
- "type": "production_order_reports",
- "id": 0,
- "attributes": {
- "quantity": 0,
- "report_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "lot_colli": {
- "data": {
- "type": "lots",
- "id": "string"
}
}, - "production_line": {
- "data": {
- "type": "production_lines",
- "id": 0
}
}, - "stock_location": {
- "data": {
- "type": "stock_locations",
- "id": 0
}
}
}
}
]
}
{- "data": [
- {
- "type": "production_order_reports",
- "id": 0,
- "attributes": {
- "quantity": 0,
- "report_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "lot_colli": {
- "data": {
- "type": "lots",
- "id": "string"
}
}, - "production_line": {
- "data": {
- "type": "production_lines",
- "id": 0
}
}, - "stock_location": {
- "data": {
- "type": "stock_locations",
- "id": 0
}
}
}
}
]
}
Get a list of production order components
include | string Enum: "product" "report_type" "origin_product" Customise which related resources should be returned. Include one or more from the given options comma separated |
filter[production_order_id] | integer Can be used as a single value filter or as an array |
page | integer >= 1 The page of the result set. When not specified the first page will be returned |
per_page | integer [ 1 .. 50 ] The number of objects per page of the result set |
Array of objects (ProductionOrderComponent) | |
Array of Product (object) or ProductionReportType (object) unique | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "production_order_components",
- "id": 0,
- "attributes": {
- "quantity": 0,
- "modified_date": "string"
}, - "relationships": {
- "product": {
- "data": {
- "type": "products",
- "id": 0
}
}, - "report_type": {
- "data": {
- "type": "production_report_types",
- "id": 0
}
}, - "origin_product": {
- "data": {
- "type": "products",
- "id": 0
}
}
}
}
], - "included": [
- {
- "type": "products",
- "id": 0,
- "attributes": {
- "reference": "string",
- "is_active": true,
- "is_sales": true,
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "legal_name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "gtin": "string",
- "intrastat_code": "string",
- "gross_weight_in_kilogram": 0,
- "net_weight_in_kilogram": 0,
- "drained_weight_in_kilogram": 0,
- "production_efficiency_per_hour": 0,
- "production_report_type_component": "None",
- "production_report_type_byprod": "None",
- "product_structure_quantity": 0,
- "is_lotcontrolled": true,
- "nlc": 0,
- "shelf_life": {
- "value": 0,
- "interval": "Days"
}, - "modified_date": "string"
}, - "relationships": {
- "unit": {
- "data": {
- "type": "units",
- "id": 0
}
}, - "product_group": {
- "data": {
- "type": "product_groups",
- "id": 0
}
}
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Get a single production order component by its id
id required | integer Id of the production order component |
include | string Enum: "product" "report_type" "origin_product" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (ProductionOrderComponent) | |
Array of Product (object) or ProductionReportType (object) unique |
{- "data": {
- "type": "production_order_components",
- "id": 0,
- "attributes": {
- "quantity": 0,
- "modified_date": "string"
}, - "relationships": {
- "product": {
- "data": {
- "type": "products",
- "id": 0
}
}, - "report_type": {
- "data": {
- "type": "production_report_types",
- "id": 0
}
}, - "origin_product": {
- "data": {
- "type": "products",
- "id": 0
}
}
}
}, - "included": [
- {
- "type": "products",
- "id": 0,
- "attributes": {
- "reference": "string",
- "is_active": true,
- "is_sales": true,
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "legal_name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "gtin": "string",
- "intrastat_code": "string",
- "gross_weight_in_kilogram": 0,
- "net_weight_in_kilogram": 0,
- "drained_weight_in_kilogram": 0,
- "production_efficiency_per_hour": 0,
- "production_report_type_component": "None",
- "production_report_type_byprod": "None",
- "product_structure_quantity": 0,
- "is_lotcontrolled": true,
- "nlc": 0,
- "shelf_life": {
- "value": 0,
- "interval": "Days"
}, - "modified_date": "string"
}, - "relationships": {
- "unit": {
- "data": {
- "type": "units",
- "id": 0
}
}, - "product_group": {
- "data": {
- "type": "product_groups",
- "id": 0
}
}
}
}
]
}
Get the current product relationship of the production order component
id required | integer Id of the production order component |
include | string Value: "product" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (ProductRelation) | |
Array of objects (Product) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "products",
- "id": 0
}, - "included": [
- {
- "type": "products",
- "id": 0,
- "attributes": {
- "reference": "string",
- "is_active": true,
- "is_sales": true,
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "legal_name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "gtin": "string",
- "intrastat_code": "string",
- "gross_weight_in_kilogram": 0,
- "net_weight_in_kilogram": 0,
- "drained_weight_in_kilogram": 0,
- "production_efficiency_per_hour": 0,
- "production_report_type_component": "None",
- "production_report_type_byprod": "None",
- "product_structure_quantity": 0,
- "is_lotcontrolled": true,
- "nlc": 0,
- "shelf_life": {
- "value": 0,
- "interval": "Days"
}, - "modified_date": "string"
}, - "relationships": {
- "unit": {
- "data": {
- "type": "units",
- "id": 0
}
}, - "product_group": {
- "data": {
- "type": "product_groups",
- "id": 0
}
}
}
}
]
}
Updating a production order component product relation is currently not supported
id required | integer Id of the production order component |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current product of the production order component
id required | integer Id of the production order component |
object (Product) |
{- "data": {
- "type": "products",
- "id": 0,
- "attributes": {
- "reference": "string",
- "is_active": true,
- "is_sales": true,
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "legal_name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "gtin": "string",
- "intrastat_code": "string",
- "gross_weight_in_kilogram": 0,
- "net_weight_in_kilogram": 0,
- "drained_weight_in_kilogram": 0,
- "production_efficiency_per_hour": 0,
- "production_report_type_component": "None",
- "production_report_type_byprod": "None",
- "product_structure_quantity": 0,
- "is_lotcontrolled": true,
- "nlc": 0,
- "shelf_life": {
- "value": 0,
- "interval": "Days"
}, - "modified_date": "string"
}, - "relationships": {
- "unit": {
- "data": {
- "type": "units",
- "id": 0
}
}, - "product_group": {
- "data": {
- "type": "product_groups",
- "id": 0
}
}
}
}
}
Get the current report type relationship of the production order component
id required | integer Id of the production order component |
include | string Value: "report_type" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (ProductionReportTypeRelation) | |
Array of objects (ProductionReportType) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "production_report_types",
- "id": 0
}, - "included": [
- {
- "type": "production_report_types",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
]
}
Updating a production order component report type relation is currently not supported
id required | integer Id of the production order component |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current report type of the production order component
id required | integer Id of the production order component |
object (ProductionReportType) |
{- "data": {
- "type": "production_report_types",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
}
Get the current origin product relationship of the production order component
id required | integer Id of the production order component |
include | string Value: "origin_product" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (ProductRelation) | |
Array of objects (Product) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "products",
- "id": 0
}, - "included": [
- {
- "type": "products",
- "id": 0,
- "attributes": {
- "reference": "string",
- "is_active": true,
- "is_sales": true,
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "legal_name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "gtin": "string",
- "intrastat_code": "string",
- "gross_weight_in_kilogram": 0,
- "net_weight_in_kilogram": 0,
- "drained_weight_in_kilogram": 0,
- "production_efficiency_per_hour": 0,
- "production_report_type_component": "None",
- "production_report_type_byprod": "None",
- "product_structure_quantity": 0,
- "is_lotcontrolled": true,
- "nlc": 0,
- "shelf_life": {
- "value": 0,
- "interval": "Days"
}, - "modified_date": "string"
}, - "relationships": {
- "unit": {
- "data": {
- "type": "units",
- "id": 0
}
}, - "product_group": {
- "data": {
- "type": "product_groups",
- "id": 0
}
}
}
}
]
}
Updating a production order component origin product relation is currently not supported
id required | integer Id of the production order component |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current origin product of the production order component
id required | integer Id of the production order component |
object (Product) |
{- "data": {
- "type": "products",
- "id": 0,
- "attributes": {
- "reference": "string",
- "is_active": true,
- "is_sales": true,
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "legal_name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "gtin": "string",
- "intrastat_code": "string",
- "gross_weight_in_kilogram": 0,
- "net_weight_in_kilogram": 0,
- "drained_weight_in_kilogram": 0,
- "production_efficiency_per_hour": 0,
- "production_report_type_component": "None",
- "production_report_type_byprod": "None",
- "product_structure_quantity": 0,
- "is_lotcontrolled": true,
- "nlc": 0,
- "shelf_life": {
- "value": 0,
- "interval": "Days"
}, - "modified_date": "string"
}, - "relationships": {
- "unit": {
- "data": {
- "type": "units",
- "id": 0
}
}, - "product_group": {
- "data": {
- "type": "product_groups",
- "id": 0
}
}
}
}
}
Get a list of production order component reports
include | string Enum: "lot" "report_type" "stock_location" Customise which related resources should be returned. Include one or more from the given options comma separated |
filter[production_order_id] | integer Can be used as a single value filter or as an array |
page | integer >= 1 The page of the result set. When not specified the first page will be returned |
per_page | integer [ 1 .. 50 ] The number of objects per page of the result set |
Array of objects (ProductionOrderComponentReport) | |
Array of Lot (object) or ProductionReportType (object) or StockLocation (object) unique | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "production_order_component_reports",
- "id": 0,
- "attributes": {
- "quantity": 0,
- "report_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "lot": {
- "data": {
- "type": "lots",
- "id": "string"
}
}, - "report_type": {
- "data": {
- "type": "production_report_types",
- "id": 0
}
}, - "stock_location": {
- "data": {
- "type": "stock_locations",
- "id": 0
}
}
}
}
], - "included": [
- {
- "type": "lots",
- "id": "string",
- "attributes": {
- "reference": "string",
- "modified_date": "string"
}, - "relationships": {
- "product": {
- "data": {
- "type": "products",
- "id": 0
}
}, - "stock_distributions": {
- "data": [
- {
- "type": "stock_distributions",
- "id": 0
}
]
}
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Get a single production order component report by its id
id required | integer Id of the production order component report |
include | string Enum: "lot" "report_type" "stock_location" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (ProductionOrderComponentReport) | |
Array of Lot (object) or ProductionReportType (object) or StockLocation (object) unique |
{- "data": {
- "type": "production_order_component_reports",
- "id": 0,
- "attributes": {
- "quantity": 0,
- "report_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "lot": {
- "data": {
- "type": "lots",
- "id": "string"
}
}, - "report_type": {
- "data": {
- "type": "production_report_types",
- "id": 0
}
}, - "stock_location": {
- "data": {
- "type": "stock_locations",
- "id": 0
}
}
}
}, - "included": [
- {
- "type": "lots",
- "id": "string",
- "attributes": {
- "reference": "string",
- "modified_date": "string"
}, - "relationships": {
- "product": {
- "data": {
- "type": "products",
- "id": 0
}
}, - "stock_distributions": {
- "data": [
- {
- "type": "stock_distributions",
- "id": 0
}
]
}
}
}
]
}
Get the current lot relationship of the production order component report
id required | integer Id of the production order component report |
include | string Value: "lot" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (LotRelation) | |
Array of objects (Lot) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "lots",
- "id": "string"
}, - "included": [
- {
- "type": "lots",
- "id": "string",
- "attributes": {
- "reference": "string",
- "modified_date": "string"
}, - "relationships": {
- "product": {
- "data": {
- "type": "products",
- "id": 0
}
}, - "stock_distributions": {
- "data": [
- {
- "type": "stock_distributions",
- "id": 0
}
]
}
}
}
]
}
Updating a production order component report lot relation is currently not supported
id required | integer Id of the production order component report |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current lot of the production order component report
id required | integer Id of the production order component report |
object (Lot) |
{- "data": {
- "type": "lots",
- "id": "string",
- "attributes": {
- "reference": "string",
- "modified_date": "string"
}, - "relationships": {
- "product": {
- "data": {
- "type": "products",
- "id": 0
}
}, - "stock_distributions": {
- "data": [
- {
- "type": "stock_distributions",
- "id": 0
}
]
}
}
}
}
Get the current report type relationship of the production order component report
id required | integer Id of the production order component report |
include | string Value: "report_type" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (ProductionReportTypeRelation) | |
Array of objects (ProductionReportType) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "production_report_types",
- "id": 0
}, - "included": [
- {
- "type": "production_report_types",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
]
}
Updating a production order component report report type relation is currently not supported
id required | integer Id of the production order component report |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current report type of the production order component report
id required | integer Id of the production order component report |
object (ProductionReportType) |
{- "data": {
- "type": "production_report_types",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
}
Get the current stock location relationship of the production order component report
id required | integer Id of the production order component report |
include | string Value: "stock_location" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (StockLocationRelation) | |
Array of objects (StockLocation) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "stock_locations",
- "id": 0
}, - "included": [
- {
- "type": "stock_locations",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "modified_date": "string"
}
}
]
}
Updating a production order component report stock location relation is currently not supported
id required | integer Id of the production order component report |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current stock location of the production order component report
id required | integer Id of the production order component report |
object (StockLocation) |
{- "data": {
- "type": "stock_locations",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "modified_date": "string"
}
}
}
Get a list of production order reports
include | string Enum: "lot_colli" "production_line" "stock_location" Customise which related resources should be returned. Include one or more from the given options comma separated |
filter[production_order_id] | integer Can be used as a single value filter or as an array |
page | integer >= 1 The page of the result set. When not specified the first page will be returned |
per_page | integer [ 1 .. 50 ] The number of objects per page of the result set |
Array of objects (ProductionOrderReport) | |
Array of Lot (object) or ProductionLine (object) or StockLocation (object) unique | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "production_order_reports",
- "id": 0,
- "attributes": {
- "quantity": 0,
- "report_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "lot_colli": {
- "data": {
- "type": "lots",
- "id": "string"
}
}, - "production_line": {
- "data": {
- "type": "production_lines",
- "id": 0
}
}, - "stock_location": {
- "data": {
- "type": "stock_locations",
- "id": 0
}
}
}
}
], - "included": [
- {
- "type": "lots",
- "id": "string",
- "attributes": {
- "reference": "string",
- "modified_date": "string"
}, - "relationships": {
- "product": {
- "data": {
- "type": "products",
- "id": 0
}
}, - "stock_distributions": {
- "data": [
- {
- "type": "stock_distributions",
- "id": 0
}
]
}
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Get a single production order report by its id
id required | integer Id of the production order report |
include | string Enum: "lot_colli" "production_line" "stock_location" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (ProductionOrderReport) | |
Array of Lot (object) or ProductionLine (object) or StockLocation (object) unique |
{- "data": {
- "type": "production_order_reports",
- "id": 0,
- "attributes": {
- "quantity": 0,
- "report_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "lot_colli": {
- "data": {
- "type": "lots",
- "id": "string"
}
}, - "production_line": {
- "data": {
- "type": "production_lines",
- "id": 0
}
}, - "stock_location": {
- "data": {
- "type": "stock_locations",
- "id": 0
}
}
}
}, - "included": [
- {
- "type": "lots",
- "id": "string",
- "attributes": {
- "reference": "string",
- "modified_date": "string"
}, - "relationships": {
- "product": {
- "data": {
- "type": "products",
- "id": 0
}
}, - "stock_distributions": {
- "data": [
- {
- "type": "stock_distributions",
- "id": 0
}
]
}
}
}
]
}
Get the current lot_colli relationship of the production order report
id required | integer Id of the production order report |
include | string Value: "lot_colli" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (LotRelation) | |
Array of objects (Lot) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "lots",
- "id": "string"
}, - "included": [
- {
- "type": "lots",
- "id": "string",
- "attributes": {
- "reference": "string",
- "modified_date": "string"
}, - "relationships": {
- "product": {
- "data": {
- "type": "products",
- "id": 0
}
}, - "stock_distributions": {
- "data": [
- {
- "type": "stock_distributions",
- "id": 0
}
]
}
}
}
]
}
Updating a production order report lot_colli relation is currently not supported
id required | integer Id of the production order report |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current lot_colli of the production order report
id required | integer Id of the production order report |
object (Lot) |
{- "data": {
- "type": "lots",
- "id": "string",
- "attributes": {
- "reference": "string",
- "modified_date": "string"
}, - "relationships": {
- "product": {
- "data": {
- "type": "products",
- "id": 0
}
}, - "stock_distributions": {
- "data": [
- {
- "type": "stock_distributions",
- "id": 0
}
]
}
}
}
}
Get the current production line relationship of the production order report
id required | integer Id of the production order report |
include | string Value: "production_line" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (ProductionLineRelation) | |
Array of objects (ProductionLine) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "production_lines",
- "id": 0
}, - "included": [
- {
- "type": "production_lines",
- "id": 0,
- "attributes": {
- "reference": "string",
- "import_reference": "string",
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
]
}
Updating a production order report production line relation is currently not supported
id required | integer Id of the production order report |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current production line of the production order report
id required | integer Id of the production order report |
object (ProductionLine) |
{- "data": {
- "type": "production_lines",
- "id": 0,
- "attributes": {
- "reference": "string",
- "import_reference": "string",
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
}
Get the current stock location relationship of the production order report
id required | integer Id of the production order report |
include | string Value: "stock_location" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (StockLocationRelation) | |
Array of objects (StockLocation) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "stock_locations",
- "id": 0
}, - "included": [
- {
- "type": "stock_locations",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "modified_date": "string"
}
}
]
}
Updating a production order report stock location relation is currently not supported
id required | integer Id of the production order report |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current stock location of the production order report
id required | integer Id of the production order report |
object (StockLocation) |
{- "data": {
- "type": "stock_locations",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "modified_date": "string"
}
}
}
Get a list of production lines
page | integer >= 1 The page of the result set. When not specified the first page will be returned |
per_page | integer [ 1 .. 50 ] The number of objects per page of the result set |
Array of objects (ProductionLine) | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "production_lines",
- "id": 0,
- "attributes": {
- "reference": "string",
- "import_reference": "string",
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Get a single production line by its id
id required | integer Id of the stock location |
object (ProductionLine) |
{- "data": {
- "type": "production_lines",
- "id": 0,
- "attributes": {
- "reference": "string",
- "import_reference": "string",
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
}
Get a list of production rush orders
include | string Enum: "product" "production_line" "production_orders" Customise which related resources should be returned. Include one or more from the given options comma separated |
page | integer >= 1 The page of the result set. When not specified the first page will be returned |
per_page | integer [ 1 .. 50 ] The number of objects per page of the result set |
Array of objects (ProductionRushOrder) | |
Array of Product (object) or ProductionLine (object) or ProductionOrder (object) unique | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "production_rush_orders",
- "id": 0,
- "attributes": {
- "external_reference": "string",
- "production_date": "string",
- "expiry_date": "string",
- "quantity": 0,
- "remark": "string",
- "created_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "product": {
- "data": {
- "type": "products",
- "id": 0
}
}, - "production_line": {
- "data": {
- "type": "production_lines",
- "id": 0
}
}, - "production_orders": {
- "data": [
- {
- "type": "production_orders",
- "id": 0
}
]
}
}
}
], - "included": [
- {
- "type": "products",
- "id": 0,
- "attributes": {
- "reference": "string",
- "is_active": true,
- "is_sales": true,
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "legal_name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "gtin": "string",
- "intrastat_code": "string",
- "gross_weight_in_kilogram": 0,
- "net_weight_in_kilogram": 0,
- "drained_weight_in_kilogram": 0,
- "production_efficiency_per_hour": 0,
- "production_report_type_component": "None",
- "production_report_type_byprod": "None",
- "product_structure_quantity": 0,
- "is_lotcontrolled": true,
- "nlc": 0,
- "shelf_life": {
- "value": 0,
- "interval": "Days"
}, - "modified_date": "string"
}, - "relationships": {
- "unit": {
- "data": {
- "type": "units",
- "id": 0
}
}, - "product_group": {
- "data": {
- "type": "product_groups",
- "id": 0
}
}
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Add a production rush order. Depending on the product production batch size, this will create multiple production orders for the related product.
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get a single production rush order by its id
id required | integer Id of the production rush order |
include | string Enum: "product" "production_line" "production_orders" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (ProductionRushOrder) | |
Array of Product (object) or ProductionLine (object) or ProductionOrder (object) unique |
{- "data": {
- "type": "production_rush_orders",
- "id": 0,
- "attributes": {
- "external_reference": "string",
- "production_date": "string",
- "expiry_date": "string",
- "quantity": 0,
- "remark": "string",
- "created_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "product": {
- "data": {
- "type": "products",
- "id": 0
}
}, - "production_line": {
- "data": {
- "type": "production_lines",
- "id": 0
}
}, - "production_orders": {
- "data": [
- {
- "type": "production_orders",
- "id": 0
}
]
}
}
}, - "included": [
- {
- "type": "products",
- "id": 0,
- "attributes": {
- "reference": "string",
- "is_active": true,
- "is_sales": true,
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "legal_name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "gtin": "string",
- "intrastat_code": "string",
- "gross_weight_in_kilogram": 0,
- "net_weight_in_kilogram": 0,
- "drained_weight_in_kilogram": 0,
- "production_efficiency_per_hour": 0,
- "production_report_type_component": "None",
- "production_report_type_byprod": "None",
- "product_structure_quantity": 0,
- "is_lotcontrolled": true,
- "nlc": 0,
- "shelf_life": {
- "value": 0,
- "interval": "Days"
}, - "modified_date": "string"
}, - "relationships": {
- "unit": {
- "data": {
- "type": "units",
- "id": 0
}
}, - "product_group": {
- "data": {
- "type": "product_groups",
- "id": 0
}
}
}
}
]
}
Get the product relationship of the production rush order
id required | integer Id of the production rush order |
include | string Value: "product" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (ProductRelation) | |
Array of objects (Product) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "products",
- "id": 0
}, - "included": [
- {
- "type": "products",
- "id": 0,
- "attributes": {
- "reference": "string",
- "is_active": true,
- "is_sales": true,
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "legal_name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "gtin": "string",
- "intrastat_code": "string",
- "gross_weight_in_kilogram": 0,
- "net_weight_in_kilogram": 0,
- "drained_weight_in_kilogram": 0,
- "production_efficiency_per_hour": 0,
- "production_report_type_component": "None",
- "production_report_type_byprod": "None",
- "product_structure_quantity": 0,
- "is_lotcontrolled": true,
- "nlc": 0,
- "shelf_life": {
- "value": 0,
- "interval": "Days"
}, - "modified_date": "string"
}, - "relationships": {
- "unit": {
- "data": {
- "type": "units",
- "id": 0
}
}, - "product_group": {
- "data": {
- "type": "product_groups",
- "id": 0
}
}
}
}
]
}
Updating a production rush order product relation is not supported
id required | integer Id of the production rush order |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the product of the production rush order
id required | integer Id of the production rush order |
object (Product) |
{- "data": {
- "type": "products",
- "id": 0,
- "attributes": {
- "reference": "string",
- "is_active": true,
- "is_sales": true,
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "legal_name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "gtin": "string",
- "intrastat_code": "string",
- "gross_weight_in_kilogram": 0,
- "net_weight_in_kilogram": 0,
- "drained_weight_in_kilogram": 0,
- "production_efficiency_per_hour": 0,
- "production_report_type_component": "None",
- "production_report_type_byprod": "None",
- "product_structure_quantity": 0,
- "is_lotcontrolled": true,
- "nlc": 0,
- "shelf_life": {
- "value": 0,
- "interval": "Days"
}, - "modified_date": "string"
}, - "relationships": {
- "unit": {
- "data": {
- "type": "units",
- "id": 0
}
}, - "product_group": {
- "data": {
- "type": "product_groups",
- "id": 0
}
}
}
}
}
Get the production_line relationship of the production rush order
id required | integer Id of the production rush order |
include | string Value: "production_line" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (ProductionLineRelation) | |
Array of objects (ProductionLine) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "production_lines",
- "id": 0
}, - "included": [
- {
- "type": "production_lines",
- "id": 0,
- "attributes": {
- "reference": "string",
- "import_reference": "string",
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
]
}
Updating a production rush order production_line relation is not supported
id required | integer Id of the production rush order |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the production_line of the production rush order
id required | integer Id of the production rush order |
object (ProductionLine) |
{- "data": {
- "type": "production_lines",
- "id": 0,
- "attributes": {
- "reference": "string",
- "import_reference": "string",
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
}
Get the production_orders relationship of the production rush order
id required | integer Id of the production rush order |
include | string Value: "production_orders" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
Array of objects (ProductionOrderRelation) unique | |
Array of objects (ProductionOrder) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": [
- {
- "type": "production_orders",
- "id": 0
}
], - "included": [
- {
- "type": "production_orders",
- "id": 0,
- "attributes": {
- "reference": 0,
- "production_date": "string",
- "external_reference": "string",
- "planned_start_date": "string",
- "planned_end_date": "string",
- "effective_start_date": "string",
- "effective_end_date": "string",
- "expiry_date": "string",
- "planned_quantity": 0,
- "planned_lot_reference": "string",
- "sequence": 0,
- "remark": "string",
- "modified_date": "string"
}, - "relationships": {
- "status": {
- "data": {
- "type": "production_order_status",
- "id": 0
}
}, - "type": {
- "data": {
- "type": "production_order_types",
- "id": 0
}
}, - "product": {
- "data": {
- "type": "products",
- "id": 0
}
}, - "production_line": {
- "data": {
- "type": "production_lines",
- "id": 0
}
}, - "components": {
- "data": [
- {
- "type": "production_order_components",
- "id": 0
}
]
}, - "component_reports": {
- "data": [
- {
- "type": "production_order_component_reports",
- "id": 0
}
]
}
}
}
]
}
Adding production orders to a rush order is not allowed
id required | integer Id of the production rush order |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Updating production orders relations for a rush order is not allowed
id required | integer Id of the production rush order |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Deleting production order relations in a rush order is not allowed
id required | integer Id of the production rush order |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the production_orders of the production rush order
id required | integer Id of the production rush order |
Array of objects (ProductionOrder) unique |
{- "data": [
- {
- "type": "production_orders",
- "id": 0,
- "attributes": {
- "reference": 0,
- "production_date": "string",
- "external_reference": "string",
- "planned_start_date": "string",
- "planned_end_date": "string",
- "effective_start_date": "string",
- "effective_end_date": "string",
- "expiry_date": "string",
- "planned_quantity": 0,
- "planned_lot_reference": "string",
- "sequence": 0,
- "remark": "string",
- "modified_date": "string"
}, - "relationships": {
- "status": {
- "data": {
- "type": "production_order_status",
- "id": 0
}
}, - "type": {
- "data": {
- "type": "production_order_types",
- "id": 0
}
}, - "product": {
- "data": {
- "type": "products",
- "id": 0
}
}, - "production_line": {
- "data": {
- "type": "production_lines",
- "id": 0
}
}, - "components": {
- "data": [
- {
- "type": "production_order_components",
- "id": 0
}
]
}, - "component_reports": {
- "data": [
- {
- "type": "production_order_component_reports",
- "id": 0
}
]
}
}
}
]
}
Get a list of employees
Array of objects (Employee) | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "employees",
- "id": 0,
- "attributes": {
- "reference": 0,
- "first_name": "string",
- "last_name": "string",
- "modified_date": "string"
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Get a single employee by its id
id required | integer Id of the employee |
object (Employee) |
{- "data": {
- "type": "employees",
- "id": 0,
- "attributes": {
- "reference": 0,
- "first_name": "string",
- "last_name": "string",
- "modified_date": "string"
}
}
}
Get a list of users
Array of objects (User) | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "users",
- "id": 0,
- "attributes": {
- "username": "string",
- "modified_date": "string"
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Get a single user by its id
id required | integer Id of the user |
object (User) |
{- "data": {
- "type": "users",
- "id": 0,
- "attributes": {
- "username": "string",
- "modified_date": "string"
}
}
}
Get a list of department corporate groups
filter[reference] | string Only get the department corporate group that matches given reference |
filter[is_active] | boolean Only get the department corporate groups that match given filter |
page | integer >= 1 The page of the result set. When not specified the first page will be returned |
per_page | integer [ 1 .. 50 ] The number of objects per page of the result set |
Array of objects (DepartmentCorporateGroup) | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "department_corporate_groups",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "import_reference": "string",
- "modified_date": "string"
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Get a single department corporate group by its id
id required | integer Id of the department corporate group |
object (DepartmentCorporateGroup) |
{- "data": {
- "type": "department_corporate_groups",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "import_reference": "string",
- "modified_date": "string"
}
}
}
Get a list of function corporate groups
filter[reference] | string Only get the function corporate group that matches given reference |
filter[active] | integer Enum: 0 1 Only get the active or inactive functions |
page | integer >= 1 The page of the result set. When not specified the first page will be returned |
per_page | integer [ 1 .. 50 ] The number of objects per page of the result set |
Array of objects (FunctionCorporateGroup) | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "function_corporate_groups",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "import_reference": "string",
- "modified_date": "string"
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Get a single function corporate group by its id
id required | integer Id of the function corporate group |
object (FunctionCorporateGroup) |
{- "data": {
- "type": "function_corporate_groups",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "import_reference": "string",
- "modified_date": "string"
}
}
}
Get the current members relationship of the function corporate group
id required | integer Id of the function corporate group |
include | string Value: "members" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
Array of objects (UserRelation) unique | |
Array of objects (User) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": [
- {
- "type": "users",
- "id": 0
}
], - "included": [
- {
- "type": "users",
- "id": 0,
- "attributes": {
- "username": "string",
- "modified_date": "string"
}
}
]
}
Get the current members of the function corporate group
id required | integer Id of the function corporate group |
Array of objects (User) unique |
{- "data": [
- {
- "type": "users",
- "id": 0,
- "attributes": {
- "username": "string",
- "modified_date": "string"
}
}
]
}
Get a list of checklists
page | integer >= 1 The page of the result set. When not specified the first page will be returned |
per_page | integer [ 1 .. 50 ] The number of objects per page of the result set |
include | string Enum: "status" "score_table" "executer" "production_order" "production_line" "department" "product" "elements" "executer_users" "executer_functions" "photo_quality_option" Customise which related resources should be returned. Include one or more from the given options comma separated |
filter[can_execute] | boolean Only get checklists that the current user can execute. This filter does not need a value |
filter[status] | string Enum: "new" "uploaded" "completed" Only get checklists that match given status. Multiple statusses can be given separated by comma |
Array of objects (Checklist) | |
Array of ChecklistStatus (object) or ScoreTable (object) or User (object) or ProductionOrder (object) or ProductionLine (object) or DepartmentCorporateGroup (object) or Product (object) or ChecklistElement (object) or FunctionCorporateGroup (object) or ChecklistPhotoQualityOption (object) unique | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "checklists",
- "id": 0,
- "attributes": {
- "title": "string",
- "force_camera_usage_in_answer": true,
- "force_complete_elements_in_order": true,
- "created_date": "string",
- "uploaded_date": "string",
- "completed_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "status": {
- "data": {
- "type": "checklist_status",
- "id": 0
}
}, - "score_table": {
- "data": {
- "type": "score_tables",
- "id": 0
}
}, - "executer": {
- "data": {
- "type": "users",
- "id": 0
}
}, - "production_order": {
- "data": {
- "type": "production_orders",
- "id": 0
}
}, - "production_line": {
- "data": {
- "type": "production_lines",
- "id": 0
}
}, - "department": {
- "data": {
- "type": "department_corporate_groups",
- "id": 0
}
}, - "product": {
- "data": {
- "type": "products",
- "id": 0
}
}, - "elements": {
- "data": [
- {
- "type": "checklist_elements",
- "id": 0
}
]
}, - "executer_users": {
- "data": [
- {
- "type": "users",
- "id": 0
}
]
}, - "executer_functions": {
- "data": [
- {
- "type": "function_corporate_groups",
- "id": 0
}
]
}, - "photo_quality_option": {
- "data": {
- "type": "checklist_photo_quality_option",
- "id": 0
}
}
}
}
], - "included": [
- {
- "type": "checklist_status",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Get a single checklist by its id
id required | integer Id of the checklist |
include | string Enum: "status" "score_table" "executer" "production_order" "production_line" "department" "product" "elements" "executer_users" "executer_functions" "photo_quality_option" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Checklist) | |
Array of ChecklistStatus (object) or ScoreTable (object) or User (object) or ProductionOrder (object) or ProductionLine (object) or DepartmentCorporateGroup (object) or Product (object) or ChecklistElement (object) or FunctionCorporateGroup (object) or ChecklistPhotoQualityOption (object) unique |
{- "data": {
- "type": "checklists",
- "id": 0,
- "attributes": {
- "title": "string",
- "force_camera_usage_in_answer": true,
- "force_complete_elements_in_order": true,
- "created_date": "string",
- "uploaded_date": "string",
- "completed_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "status": {
- "data": {
- "type": "checklist_status",
- "id": 0
}
}, - "score_table": {
- "data": {
- "type": "score_tables",
- "id": 0
}
}, - "executer": {
- "data": {
- "type": "users",
- "id": 0
}
}, - "production_order": {
- "data": {
- "type": "production_orders",
- "id": 0
}
}, - "production_line": {
- "data": {
- "type": "production_lines",
- "id": 0
}
}, - "department": {
- "data": {
- "type": "department_corporate_groups",
- "id": 0
}
}, - "product": {
- "data": {
- "type": "products",
- "id": 0
}
}, - "elements": {
- "data": [
- {
- "type": "checklist_elements",
- "id": 0
}
]
}, - "executer_users": {
- "data": [
- {
- "type": "users",
- "id": 0
}
]
}, - "executer_functions": {
- "data": [
- {
- "type": "function_corporate_groups",
- "id": 0
}
]
}, - "photo_quality_option": {
- "data": {
- "type": "checklist_photo_quality_option",
- "id": 0
}
}
}
}, - "included": [
- {
- "type": "checklist_status",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
]
}
Get the current status relationship of the checklist
id required | integer Id of the checklist |
include | string Value: "status" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (ChecklistStatusRelation) | |
Array of objects (ChecklistStatus) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "checklist_status",
- "id": 0
}, - "included": [
- {
- "type": "checklist_status",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
]
}
Update the status of a checklist. This is a to-one relationship that cannot be removed.
id required | integer Id of the checklist |
Checklist status object identifier. This is a to-one relationship that cannot be removed.
object (ChecklistStatusRelation) |
{- "data": {
- "type": "checklist_status",
- "id": 0
}
}
{- "errors": {
- "status": 404,
- "detail": "Resource Not Found"
}
}
Get the current status of the checklist
id required | integer Id of the checklist |
object (ChecklistStatus) |
{- "data": {
- "type": "checklist_status",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
}
Get the current score table relationship of the checklist
id required | integer Id of the checklist |
include | string Value: "score_table" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (ScoreTableRelation) | |
Array of objects (ScoreTable) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "score_tables",
- "id": 0
}, - "included": [
- {
- "type": "score_tables",
- "id": 0,
- "attributes": {
- "name": "string",
- "is_default": true,
- "created_date": "string",
- "modified_date": "string"
}
}
]
}
Get the current score table of the checklist
id required | integer Id of the checklist |
object (ScoreTable) |
{- "data": {
- "type": "score_tables",
- "id": 0,
- "attributes": {
- "name": "string",
- "is_default": true,
- "created_date": "string",
- "modified_date": "string"
}
}
}
Get the current executer relationship of the checklist
id required | integer Id of the checklist |
include | string Value: "executer" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (UserRelation) | |
Array of objects (User) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "users",
- "id": 0
}, - "included": [
- {
- "type": "users",
- "id": 0,
- "attributes": {
- "username": "string",
- "modified_date": "string"
}
}
]
}
Update the executer of a checklist. This is a to-one relationship that cannot be removed.
id required | integer Id of the checklist |
User object identifier. This is a to-one relationship that cannot be removed.
object (UserRelation) |
{- "data": {
- "type": "users",
- "id": 0
}
}
{- "errors": {
- "status": 404,
- "detail": "Resource Not Found"
}
}
Get the current executer of the checklist
id required | integer Id of the checklist |
object (User) |
{- "data": {
- "type": "users",
- "id": 0,
- "attributes": {
- "username": "string",
- "modified_date": "string"
}
}
}
Get the current production order relationship of the checklist
id required | integer Id of the checklist |
include | string Value: "production_order" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (ProductionOrderRelation) | |
Array of objects (ProductionOrder) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "production_orders",
- "id": 0
}, - "included": [
- {
- "type": "production_orders",
- "id": 0,
- "attributes": {
- "reference": 0,
- "production_date": "string",
- "external_reference": "string",
- "planned_start_date": "string",
- "planned_end_date": "string",
- "effective_start_date": "string",
- "effective_end_date": "string",
- "expiry_date": "string",
- "planned_quantity": 0,
- "planned_lot_reference": "string",
- "sequence": 0,
- "remark": "string",
- "modified_date": "string"
}, - "relationships": {
- "status": {
- "data": {
- "type": "production_order_status",
- "id": 0
}
}, - "type": {
- "data": {
- "type": "production_order_types",
- "id": 0
}
}, - "product": {
- "data": {
- "type": "products",
- "id": 0
}
}, - "production_line": {
- "data": {
- "type": "production_lines",
- "id": 0
}
}, - "components": {
- "data": [
- {
- "type": "production_order_components",
- "id": 0
}
]
}, - "component_reports": {
- "data": [
- {
- "type": "production_order_component_reports",
- "id": 0
}
]
}
}
}
]
}
Get the current production order of the checklist
id required | integer Id of the checklist |
object (ProductionOrder) |
{- "data": {
- "type": "production_orders",
- "id": 0,
- "attributes": {
- "reference": 0,
- "production_date": "string",
- "external_reference": "string",
- "planned_start_date": "string",
- "planned_end_date": "string",
- "effective_start_date": "string",
- "effective_end_date": "string",
- "expiry_date": "string",
- "planned_quantity": 0,
- "planned_lot_reference": "string",
- "sequence": 0,
- "remark": "string",
- "modified_date": "string"
}, - "relationships": {
- "status": {
- "data": {
- "type": "production_order_status",
- "id": 0
}
}, - "type": {
- "data": {
- "type": "production_order_types",
- "id": 0
}
}, - "product": {
- "data": {
- "type": "products",
- "id": 0
}
}, - "production_line": {
- "data": {
- "type": "production_lines",
- "id": 0
}
}, - "components": {
- "data": [
- {
- "type": "production_order_components",
- "id": 0
}
]
}, - "component_reports": {
- "data": [
- {
- "type": "production_order_component_reports",
- "id": 0
}
]
}
}
}
}
Get the current production line relationship of the checklist
id required | integer Id of the checklist |
include | string Value: "production_line" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (ProductionLineRelation) | |
Array of objects (ProductionLine) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "production_lines",
- "id": 0
}, - "included": [
- {
- "type": "production_lines",
- "id": 0,
- "attributes": {
- "reference": "string",
- "import_reference": "string",
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
]
}
Get the current production line of the checklist
id required | integer Id of the checklist |
object (ProductionLine) |
{- "data": {
- "type": "production_lines",
- "id": 0,
- "attributes": {
- "reference": "string",
- "import_reference": "string",
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
}
Get the current department relationship of the checklist
id required | integer Id of the checklist |
include | string Value: "department" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (DepartmentCorporateGroupRelation) | |
Array of objects (DepartmentCorporateGroup) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "department_corporate_groups",
- "id": 0
}, - "included": [
- {
- "type": "department_corporate_groups",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "import_reference": "string",
- "modified_date": "string"
}
}
]
}
Get the current department of the checklist
id required | integer Id of the checklist |
object (DepartmentCorporateGroup) |
{- "data": {
- "type": "department_corporate_groups",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "import_reference": "string",
- "modified_date": "string"
}
}
}
Get the current product relationship of the checklist
id required | integer Id of the checklist |
include | string Value: "product" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (ProductRelation) | |
Array of objects (Product) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "products",
- "id": 0
}, - "included": [
- {
- "type": "products",
- "id": 0,
- "attributes": {
- "reference": "string",
- "is_active": true,
- "is_sales": true,
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "legal_name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "gtin": "string",
- "intrastat_code": "string",
- "gross_weight_in_kilogram": 0,
- "net_weight_in_kilogram": 0,
- "drained_weight_in_kilogram": 0,
- "production_efficiency_per_hour": 0,
- "production_report_type_component": "None",
- "production_report_type_byprod": "None",
- "product_structure_quantity": 0,
- "is_lotcontrolled": true,
- "nlc": 0,
- "shelf_life": {
- "value": 0,
- "interval": "Days"
}, - "modified_date": "string"
}, - "relationships": {
- "unit": {
- "data": {
- "type": "units",
- "id": 0
}
}, - "product_group": {
- "data": {
- "type": "product_groups",
- "id": 0
}
}
}
}
]
}
Get the current product of the checklist
id required | integer Id of the checklist |
object (Product) |
{- "data": {
- "type": "products",
- "id": 0,
- "attributes": {
- "reference": "string",
- "is_active": true,
- "is_sales": true,
- "name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "legal_name": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "gtin": "string",
- "intrastat_code": "string",
- "gross_weight_in_kilogram": 0,
- "net_weight_in_kilogram": 0,
- "drained_weight_in_kilogram": 0,
- "production_efficiency_per_hour": 0,
- "production_report_type_component": "None",
- "production_report_type_byprod": "None",
- "product_structure_quantity": 0,
- "is_lotcontrolled": true,
- "nlc": 0,
- "shelf_life": {
- "value": 0,
- "interval": "Days"
}, - "modified_date": "string"
}, - "relationships": {
- "unit": {
- "data": {
- "type": "units",
- "id": 0
}
}, - "product_group": {
- "data": {
- "type": "product_groups",
- "id": 0
}
}
}
}
}
Get the current elements relationship of the checklist
id required | integer Id of the checklist |
include | string Value: "elements" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
Array of objects (ChecklistElementRelation) unique | |
Array of objects (ChecklistElement) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": [
- {
- "type": "checklist_elements",
- "id": 0
}
], - "included": [
- {
- "type": "checklist_elements",
- "id": 0,
- "attributes": {
- "order": 0,
- "created_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "checklist_item": {
- "data": {
- "type": "checklist_items",
- "id": 0
}
}, - "checklist_element_answer": {
- "data": {
- "type": "checklist_element_answers",
- "id": 0
}
}
}
}
]
}
Get the current elements of the checklist
id required | integer Id of the checklist |
Array of objects (ChecklistElement) unique |
{- "data": [
- {
- "type": "checklist_elements",
- "id": 0,
- "attributes": {
- "order": 0,
- "created_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "checklist_item": {
- "data": {
- "type": "checklist_items",
- "id": 0
}
}, - "checklist_element_answer": {
- "data": {
- "type": "checklist_element_answers",
- "id": 0
}
}
}
}
]
}
Get the current executer users relationship of the checklist
id required | integer Id of the checklist |
include | string Value: "executer_users" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
Array of objects (UserRelation) unique | |
Array of objects (User) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": [
- {
- "type": "users",
- "id": 0
}
], - "included": [
- {
- "type": "users",
- "id": 0,
- "attributes": {
- "username": "string",
- "modified_date": "string"
}
}
]
}
Get the current executer users of the checklist
id required | integer Id of the checklist |
Array of objects (User) unique |
{- "data": [
- {
- "type": "users",
- "id": 0,
- "attributes": {
- "username": "string",
- "modified_date": "string"
}
}
]
}
Get the current executer functions relationship of the checklist
id required | integer Id of the checklist |
include | string Value: "executer_functions" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
Array of objects (FunctionCorporateGroupRelation) unique | |
Array of objects (FunctionCorporateGroup) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": [
- {
- "type": "function_corporate_groups",
- "id": 0
}
], - "included": [
- {
- "type": "function_corporate_groups",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "import_reference": "string",
- "modified_date": "string"
}
}
]
}
Get the current executer functions of the checklist
id required | integer Id of the checklist |
Array of objects (FunctionCorporateGroup) unique |
{- "data": [
- {
- "type": "function_corporate_groups",
- "id": 0,
- "attributes": {
- "reference": "string",
- "name": "string",
- "import_reference": "string",
- "modified_date": "string"
}
}
]
}
Get the current photo quality option relationship of the checklist
id required | integer Id of the checklist |
include | string Value: "photo_quality_option" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (ChecklistPhotoQualityOptionRelation) | |
Array of objects (ChecklistPhotoQualityOption) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "checklist_photo_quality_option",
- "id": 0
}, - "included": [
- {
- "type": "checklist_photo_quality_option",
- "id": 0,
- "attributes": {
- "key": 0,
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
]
}
Update the photo quality option of a checklist. This is a to-one relationship that cannot be removed.
id required | integer Id of the checklist |
Checklist photo quality option object identifier. This is a to-one relationship that cannot be removed.
object (ChecklistPhotoQualityOptionRelation) |
{- "data": {
- "type": "checklist_photo_quality_option",
- "id": 0
}
}
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current photo quality option of the checklist
id required | integer Id of the checklist |
object (ChecklistPhotoQualityOption) |
{- "data": {
- "type": "checklist_photo_quality_option",
- "id": 0,
- "attributes": {
- "key": 0,
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
}
Get a list of checklist elements
page | integer >= 1 The page of the result set. When not specified the first page will be returned |
per_page | integer [ 1 .. 50 ] The number of objects per page of the result set |
include | string Enum: "checklist_item" "checklist_element_answer" Customise which related resources should be returned. Include one or more from the given options comma separated |
Array of objects (ChecklistElement) | |
Array of ChecklistItem (object) or ChecklistElementAnswer (object) unique | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "checklist_elements",
- "id": 0,
- "attributes": {
- "order": 0,
- "created_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "checklist_item": {
- "data": {
- "type": "checklist_items",
- "id": 0
}
}, - "checklist_element_answer": {
- "data": {
- "type": "checklist_element_answers",
- "id": 0
}
}
}
}
], - "included": [
- {
- "type": "checklist_items",
- "id": 0,
- "attributes": {
- "title": "string",
- "is_active": true,
- "is_score_required": true,
- "is_answer_required": true,
- "is_answer_required_on_disapproval": true,
- "is_file_required": true,
- "is_file_required_on_disapproval": true,
- "files": [
- {
- "filename": "string",
- "file_content": "string"
}
], - "created_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "type": {
- "data": {
- "type": "checklist_item_types",
- "id": 0
}
}
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Get a single checklist element by its id
id required | integer Id of the checklist element |
include | string Enum: "checklist_item" "checklist_element_answer" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (ChecklistElement) | |
Array of ChecklistItem (object) or ChecklistElementAnswer (object) unique |
{- "data": {
- "type": "checklist_elements",
- "id": 0,
- "attributes": {
- "order": 0,
- "created_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "checklist_item": {
- "data": {
- "type": "checklist_items",
- "id": 0
}
}, - "checklist_element_answer": {
- "data": {
- "type": "checklist_element_answers",
- "id": 0
}
}
}
}, - "included": [
- {
- "type": "checklist_items",
- "id": 0,
- "attributes": {
- "title": "string",
- "is_active": true,
- "is_score_required": true,
- "is_answer_required": true,
- "is_answer_required_on_disapproval": true,
- "is_file_required": true,
- "is_file_required_on_disapproval": true,
- "files": [
- {
- "filename": "string",
- "file_content": "string"
}
], - "created_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "type": {
- "data": {
- "type": "checklist_item_types",
- "id": 0
}
}
}
}
]
}
Get the current checklist item relationship of the checklist element
id required | integer Id of the checklist element |
include | string Value: "checklist_item" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (ChecklistItemRelation) | |
Array of objects (ChecklistItem) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "checklist_items",
- "id": 0
}, - "included": [
- {
- "type": "checklist_items",
- "id": 0,
- "attributes": {
- "title": "string",
- "is_active": true,
- "is_score_required": true,
- "is_answer_required": true,
- "is_answer_required_on_disapproval": true,
- "is_file_required": true,
- "is_file_required_on_disapproval": true,
- "files": [
- {
- "filename": "string",
- "file_content": "string"
}
], - "created_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "type": {
- "data": {
- "type": "checklist_item_types",
- "id": 0
}
}
}
}
]
}
Get the current checklist item of the checklist element
id required | integer Id of the checklist element |
object (ChecklistItem) |
{- "data": {
- "type": "checklist_items",
- "id": 0,
- "attributes": {
- "title": "string",
- "is_active": true,
- "is_score_required": true,
- "is_answer_required": true,
- "is_answer_required_on_disapproval": true,
- "is_file_required": true,
- "is_file_required_on_disapproval": true,
- "files": [
- {
- "filename": "string",
- "file_content": "string"
}
], - "created_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "type": {
- "data": {
- "type": "checklist_item_types",
- "id": 0
}
}
}
}
}
Get the current checklist element answer relationship of the checklist element
id required | integer Id of the checklist element |
include | string Value: "checklist_element_answer" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (ChecklistElementAnswerRelation) | |
Array of objects (ChecklistElementAnswer) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "checklist_element_answers",
- "id": 0
}, - "included": [
- {
- "type": "checklist_element_answers",
- "id": 0,
- "attributes": {
- "text": "string",
- "files": [
- {
- "filename": "string",
- "file_content": "string"
}
], - "created_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "score": {
- "data": {
- "type": "scores",
- "id": 0
}
}
}
}
]
}
Get the current checklist element answer of the checklist element
id required | integer Id of the checklist element |
object (ChecklistElementAnswer) |
{- "data": {
- "type": "checklist_element_answers",
- "id": 0,
- "attributes": {
- "text": "string",
- "files": [
- {
- "filename": "string",
- "file_content": "string"
}
], - "created_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "score": {
- "data": {
- "type": "scores",
- "id": 0
}
}
}
}
}
Link a new answer to a checklist element. The answer must be a non existing one and its id must be null
id required | integer Id of the checklist element |
Checklist element answer
object (ChecklistElementAnswer) |
object (ChecklistElementAnswer) |
{- "data": {
- "type": "checklist_element_answers",
- "id": 0,
- "attributes": {
- "text": "string",
- "files": [
- {
- "filename": "string",
- "file_content": "string"
}
], - "created_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "score": {
- "data": {
- "type": "scores",
- "id": 0
}
}
}
}
}
{- "data": {
- "type": "checklist_element_answers",
- "id": 0,
- "attributes": {
- "text": "string",
- "files": [
- {
- "filename": "string",
- "file_content": "string"
}
], - "created_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "score": {
- "data": {
- "type": "scores",
- "id": 0
}
}
}
}
}
Get a list of checklist element answers
page | integer >= 1 The page of the result set. When not specified the first page will be returned |
per_page | integer [ 1 .. 50 ] The number of objects per page of the result set |
include | string Value: "score" Customise which related resources should be returned. Include one or more from the given options comma separated |
Array of objects (ChecklistElementAnswer) | |
Array of Score (object) unique | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "checklist_element_answers",
- "id": 0,
- "attributes": {
- "text": "string",
- "files": [
- {
- "filename": "string",
- "file_content": "string"
}
], - "created_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "score": {
- "data": {
- "type": "scores",
- "id": 0
}
}
}
}
], - "included": [
- {
- "type": "scores",
- "id": 0,
- "attributes": {
- "reference": "string",
- "value": 0,
- "description": "string",
- "is_rejected": true,
- "order": 0,
- "created_date": "string",
- "modified_date": "string"
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Get a single checklist element answer by its id
id required | integer Id of the checklist element answer |
include | string Value: "score" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (ChecklistElementAnswer) | |
Array of Score (object) unique |
{- "data": {
- "type": "checklist_element_answers",
- "id": 0,
- "attributes": {
- "text": "string",
- "files": [
- {
- "filename": "string",
- "file_content": "string"
}
], - "created_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "score": {
- "data": {
- "type": "scores",
- "id": 0
}
}
}
}, - "included": [
- {
- "type": "scores",
- "id": 0,
- "attributes": {
- "reference": "string",
- "value": 0,
- "description": "string",
- "is_rejected": true,
- "order": 0,
- "created_date": "string",
- "modified_date": "string"
}
}
]
}
Get the current score relationship of the checklist element answer
id required | integer Id of the checklist element answer |
include | string Value: "score" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (ScoreRelation) | |
Array of objects (Score) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "scores",
- "id": 0
}, - "included": [
- {
- "type": "scores",
- "id": 0,
- "attributes": {
- "reference": "string",
- "value": 0,
- "description": "string",
- "is_rejected": true,
- "order": 0,
- "created_date": "string",
- "modified_date": "string"
}
}
]
}
Get the current score of the checklist element answer
id required | integer Id of the checklist element answer |
object (Score) |
{- "data": {
- "type": "scores",
- "id": 0,
- "attributes": {
- "reference": "string",
- "value": 0,
- "description": "string",
- "is_rejected": true,
- "order": 0,
- "created_date": "string",
- "modified_date": "string"
}
}
}
Get a list of checklist_items
page | integer >= 1 The page of the result set. When not specified the first page will be returned |
per_page | integer [ 1 .. 50 ] The number of objects per page of the result set |
include | string Value: "checklist_item_type" Customise which related resources should be returned. Include one or more from the given options comma separated |
Array of objects (ChecklistItem) | |
Array of ChecklistItemType (object) unique | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "checklist_items",
- "id": 0,
- "attributes": {
- "title": "string",
- "is_active": true,
- "is_score_required": true,
- "is_answer_required": true,
- "is_answer_required_on_disapproval": true,
- "is_file_required": true,
- "is_file_required_on_disapproval": true,
- "files": [
- {
- "filename": "string",
- "file_content": "string"
}
], - "created_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "type": {
- "data": {
- "type": "checklist_item_types",
- "id": 0
}
}
}
}
], - "included": [
- {
- "type": "checklist_item_types",
- "id": 0,
- "attributes": {
- "is_active": true,
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "created_date": "string",
- "modified_date": "string"
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Get a single checklist item by its id
id required | integer Id of the checklist_item |
include | string Value: "checklist_item_type" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (ChecklistItem) | |
Array of ChecklistItemType (object) unique |
{- "data": {
- "type": "checklist_items",
- "id": 0,
- "attributes": {
- "title": "string",
- "is_active": true,
- "is_score_required": true,
- "is_answer_required": true,
- "is_answer_required_on_disapproval": true,
- "is_file_required": true,
- "is_file_required_on_disapproval": true,
- "files": [
- {
- "filename": "string",
- "file_content": "string"
}
], - "created_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "type": {
- "data": {
- "type": "checklist_item_types",
- "id": 0
}
}
}
}, - "included": [
- {
- "type": "checklist_item_types",
- "id": 0,
- "attributes": {
- "is_active": true,
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "created_date": "string",
- "modified_date": "string"
}
}
]
}
Get the current checklist_item_type relationship of the checklist item
id required | integer Id of the checklist item |
include | string Value: "checklist_item_type" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (ChecklistItemTypeRelation) | |
Array of objects (ChecklistItemType) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "checklist_item_types",
- "id": 0
}, - "included": [
- {
- "type": "checklist_item_types",
- "id": 0,
- "attributes": {
- "is_active": true,
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "created_date": "string",
- "modified_date": "string"
}
}
]
}
Get the current checklist_item_type of the checklist item
id required | integer Id of the checklist item |
object (ChecklistItemType) |
{- "data": {
- "type": "checklist_item_types",
- "id": 0,
- "attributes": {
- "is_active": true,
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "created_date": "string",
- "modified_date": "string"
}
}
}
Get a list of checklist item types
Array of objects (ChecklistItemType) | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "checklist_item_types",
- "id": 0,
- "attributes": {
- "is_active": true,
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "created_date": "string",
- "modified_date": "string"
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Get a single checklist item type by its id
id required | integer Id of the checklist item type |
object (ChecklistItemType) |
{- "data": {
- "type": "checklist_item_types",
- "id": 0,
- "attributes": {
- "is_active": true,
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "created_date": "string",
- "modified_date": "string"
}
}
}
Get a list of score tables
include | string Value: "scores" Customise which related resources should be returned. Include one or more from the given options comma separated |
page | integer >= 1 The page of the result set. When not specified the first page will be returned |
per_page | integer [ 1 .. 50 ] The number of objects per page of the result set |
Array of objects (ScoreTable) | |
Array of objects (Score) unique | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "score_tables",
- "id": 0,
- "attributes": {
- "name": "string",
- "is_default": true,
- "created_date": "string",
- "modified_date": "string"
}
}
], - "included": [
- {
- "type": "scores",
- "id": 0,
- "attributes": {
- "reference": "string",
- "value": 0,
- "description": "string",
- "is_rejected": true,
- "order": 0,
- "created_date": "string",
- "modified_date": "string"
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Add a score table
Score table to add
object (ScoreTable) |
object (ScoreTable) | |
Array of objects (Score) unique |
{- "data": {
- "type": "score_tables",
- "id": 0,
- "attributes": {
- "name": "string",
- "is_default": true,
- "created_date": "string",
- "modified_date": "string"
}
}
}
{- "data": {
- "type": "score_tables",
- "id": 0,
- "attributes": {
- "name": "string",
- "is_default": true,
- "created_date": "string",
- "modified_date": "string"
}
}, - "included": [
- {
- "type": "scores",
- "id": 0,
- "attributes": {
- "reference": "string",
- "value": 0,
- "description": "string",
- "is_rejected": true,
- "order": 0,
- "created_date": "string",
- "modified_date": "string"
}
}
]
}
Get a single score table by its id
id required | integer Id of the score table |
include | string Value: "scores" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (ScoreTable) | |
Array of objects (Score) unique |
{- "data": {
- "type": "score_tables",
- "id": 0,
- "attributes": {
- "name": "string",
- "is_default": true,
- "created_date": "string",
- "modified_date": "string"
}
}, - "included": [
- {
- "type": "scores",
- "id": 0,
- "attributes": {
- "reference": "string",
- "value": 0,
- "description": "string",
- "is_rejected": true,
- "order": 0,
- "created_date": "string",
- "modified_date": "string"
}
}
]
}
Update a score table. Only given properties will be updated
id required | integer Id of the score table |
Score table properties to update
object (ScoreTable) |
object (ScoreTable) | |
Array of objects (Score) unique |
{- "data": {
- "type": "score_tables",
- "id": 0,
- "attributes": {
- "name": "string",
- "is_default": true,
- "created_date": "string",
- "modified_date": "string"
}
}
}
{- "data": {
- "type": "score_tables",
- "id": 0,
- "attributes": {
- "name": "string",
- "is_default": true,
- "created_date": "string",
- "modified_date": "string"
}
}, - "included": [
- {
- "type": "scores",
- "id": 0,
- "attributes": {
- "reference": "string",
- "value": 0,
- "description": "string",
- "is_rejected": true,
- "order": 0,
- "created_date": "string",
- "modified_date": "string"
}
}
]
}
Get the current scores relationship of the score table
id required | integer Id of the score table |
include | string Value: "scores" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
Array of objects (ScoreRelation) unique | |
Array of objects (Score) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": [
- {
- "type": "scores",
- "id": 0
}
], - "included": [
- {
- "type": "scores",
- "id": 0,
- "attributes": {
- "reference": "string",
- "value": 0,
- "description": "string",
- "is_rejected": true,
- "order": 0,
- "created_date": "string",
- "modified_date": "string"
}
}
]
}
Updating an score table's score relation is currently not supported
id required | integer Id of the score table |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Deleting a score table's scores relation is currently not supported
id required | integer Id of the score table |
{- "error": {
- "code": "string",
- "http_code": 403,
- "message": "A descriptive error message about what went wrong"
}
}
Get the current scores of the score table
id required | integer Id of the score table |
Array of objects (Score) unique |
{- "data": [
- {
- "type": "scores",
- "id": 0,
- "attributes": {
- "reference": "string",
- "value": 0,
- "description": "string",
- "is_rejected": true,
- "order": 0,
- "created_date": "string",
- "modified_date": "string"
}
}
]
}
Link new scores to a score table. The scores must be non existing and their id must be null
id required | integer Id of the score table |
Score objects
Array of objects (Score) unique |
Array of objects (Score) unique |
{- "data": [
- {
- "type": "scores",
- "id": 0,
- "attributes": {
- "reference": "string",
- "value": 0,
- "description": "string",
- "is_rejected": true,
- "order": 0,
- "created_date": "string",
- "modified_date": "string"
}
}
]
}
{- "data": [
- {
- "type": "scores",
- "id": 0,
- "attributes": {
- "reference": "string",
- "value": 0,
- "description": "string",
- "is_rejected": true,
- "order": 0,
- "created_date": "string",
- "modified_date": "string"
}
}
]
}
Get a list of scores
page | integer >= 1 The page of the result set. When not specified the first page will be returned |
per_page | integer [ 1 .. 50 ] The number of objects per page of the result set |
Array of objects (Score) | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "scores",
- "id": 0,
- "attributes": {
- "reference": "string",
- "value": 0,
- "description": "string",
- "is_rejected": true,
- "order": 0,
- "created_date": "string",
- "modified_date": "string"
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Get a single score by its id
id required | integer Id of the score |
object (Score) |
{- "data": {
- "type": "scores",
- "id": 0,
- "attributes": {
- "reference": "string",
- "value": 0,
- "description": "string",
- "is_rejected": true,
- "order": 0,
- "created_date": "string",
- "modified_date": "string"
}
}
}
Update a score. Only given properties will be updated
id required | integer Id of the score |
Score properties to update
object (Score) |
object (Score) |
{- "data": {
- "type": "scores",
- "id": 0,
- "attributes": {
- "reference": "string",
- "value": 0,
- "description": "string",
- "is_rejected": true,
- "order": 0,
- "created_date": "string",
- "modified_date": "string"
}
}
}
{- "data": {
- "type": "scores",
- "id": 0,
- "attributes": {
- "reference": "string",
- "value": 0,
- "description": "string",
- "is_rejected": true,
- "order": 0,
- "created_date": "string",
- "modified_date": "string"
}
}
}
Get a list of observations
page | integer >= 1 The page of the result set. When not specified the first page will be returned |
per_page | integer [ 1 .. 50 ] The number of objects per page of the result set |
include | string Value: "observation_status" Customise which related resources should be returned. Include one or more from the given options comma separated |
Array of objects (Observation) | |
Array of ObservationStatus (object) or User (object) unique | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "observations",
- "id": 0,
- "attributes": {
- "reference": 0,
- "text": "string",
- "files": [
- {
- "filename": "string",
- "file_content": "string"
}
], - "created_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "status": {
- "data": {
- "type": "observation_status",
- "id": 0
}
}, - "created_by": {
- "data": {
- "type": "users",
- "id": 0
}
}
}
}
], - "included": [
- {
- "type": "observation_status",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Add an observation
Observation to add
object (Observation) |
object (Observation) |
{- "data": {
- "type": "observations",
- "id": 0,
- "attributes": {
- "reference": 0,
- "text": "string",
- "files": [
- {
- "filename": "string",
- "file_content": "string"
}
], - "created_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "status": {
- "data": {
- "type": "observation_status",
- "id": 0
}
}, - "created_by": {
- "data": {
- "type": "users",
- "id": 0
}
}
}
}
}
{- "data": {
- "type": "observations",
- "id": 0,
- "attributes": {
- "reference": 0,
- "text": "string",
- "files": [
- {
- "filename": "string",
- "file_content": "string"
}
], - "created_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "status": {
- "data": {
- "type": "observation_status",
- "id": 0
}
}, - "created_by": {
- "data": {
- "type": "users",
- "id": 0
}
}
}
}
}
Get a single observation by its id
id required | integer Id of the observation |
include | string Value: "observation_status" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Observation) | |
Array of ObservationStatus (object) or User (object) unique |
{- "data": {
- "type": "observations",
- "id": 0,
- "attributes": {
- "reference": 0,
- "text": "string",
- "files": [
- {
- "filename": "string",
- "file_content": "string"
}
], - "created_date": "string",
- "modified_date": "string"
}, - "relationships": {
- "status": {
- "data": {
- "type": "observation_status",
- "id": 0
}
}, - "created_by": {
- "data": {
- "type": "users",
- "id": 0
}
}
}
}, - "included": [
- {
- "type": "observation_status",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
]
}
Get the current status relationship of the observation
id required | integer Id of the observation |
include | string Value: "status" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (ObservationStatusRelation) | |
Array of objects (ObservationStatus) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "observation_status",
- "id": 0
}, - "included": [
- {
- "type": "observation_status",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
]
}
Get the current status of the observation
id required | integer Id of the observation |
object (ObservationStatus) |
{- "data": {
- "type": "observation_status",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
}
Get the current created_by relationship of the observation
id required | integer Id of the observation |
include | string Value: "user" Customise which related resources should be returned. Include one or more from the given options comma separated |
object (Links) | |
object (ObservationCreatedByRelation) | |
Array of objects (User) unique |
{- "links": {
- "self": "string",
- "related": "string"
}, - "data": {
- "type": "users",
- "id": 0
}, - "included": [
- {
- "type": "users",
- "id": 0,
- "attributes": {
- "username": "string",
- "modified_date": "string"
}
}
]
}
Get the current created_by user of the observation
id required | integer Id of the observation |
object (User) |
{- "data": {
- "type": "users",
- "id": 0,
- "attributes": {
- "username": "string",
- "modified_date": "string"
}
}
}
Get a list of product group types
page | integer >= 1 The page of the result set. When not specified the first page will be returned |
per_page | integer [ 1 .. 50 ] The number of objects per page of the result set |
Array of objects (ProductGroupType) | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "product_group_types",
- "id": 0,
- "attributes": {
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Get a single product group type by its id
id required | integer Id of the product group type |
object (ProductGroupType) |
{- "data": {
- "type": "product_group_types",
- "id": 0,
- "attributes": {
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
}
Get a list of intervention status
page | integer >= 1 The page of the result set. When not specified the first page will be returned |
per_page | integer [ 1 .. 50 ] The number of objects per page of the result set |
Array of objects (InterventionStatus) | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "intervention_status",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Get a single intervention status by its id
id required | integer Id of the intervention status |
object (InterventionStatus) |
{- "data": {
- "type": "intervention_status",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
}
Get a list of intervention priorities
page | integer >= 1 The page of the result set. When not specified the first page will be returned |
per_page | integer [ 1 .. 50 ] The number of objects per page of the result set |
Array of objects (InterventionPriority) | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "intervention_priorities",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Get a single intervention priority by its id
id required | integer Id of the intervention priority |
object (InterventionPriority) |
{- "data": {
- "type": "intervention_priorities",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
}
Get a list of intervention categories
page | integer >= 1 The page of the result set. When not specified the first page will be returned |
per_page | integer [ 1 .. 50 ] The number of objects per page of the result set |
Array of objects (InterventionCategory) | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "intervention_categories",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Get a single intervention category by its id
id required | integer Id of the intervention category |
object (InterventionCategory) |
{- "data": {
- "type": "intervention_categories",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
}
Get a list of machine status
page | integer >= 1 The page of the result set. When not specified the first page will be returned |
per_page | integer [ 1 .. 50 ] The number of objects per page of the result set |
Array of objects (MachineStatus) | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "machine_status",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Get a single machine status by its id
id required | integer Id of the machine status |
object (MachineStatus) |
{- "data": {
- "type": "machine_status",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
}
Get a list of intervention action status
page | integer >= 1 The page of the result set. When not specified the first page will be returned |
per_page | integer [ 1 .. 50 ] The number of objects per page of the result set |
Array of objects (InterventionActionStatus) | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "intervention_action_status",
- "id": 0,
- "attributes": {
- "key": "not_completed",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Get a single intervention action status by its id
id required | integer Id of the intervention action status |
object (InterventionActionStatus) |
{- "data": {
- "type": "intervention_action_status",
- "id": 0,
- "attributes": {
- "key": "not_completed",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
}
Get a list of non conformity execution types
Array of objects (NonConformityExecutionType) | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "non_conformity_execution_types",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "modified_date": "string"
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Get a single non conformity execution type by its id
id required | integer Id of the non conformity execution type |
object (NonConformityExecutionType) |
{- "data": {
- "type": "non_conformity_execution_types",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "modified_date": "string"
}
}
}
Get a list of non conformity status
Array of objects (NonConformityStatus) | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "non_conformity_status",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "modified_date": "string"
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Get a single non conformity status by its id
id required | integer Id of the non conformity status |
object (NonConformityStatus) |
{- "data": {
- "type": "non_conformity_status",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}, - "modified_date": "string"
}
}
}
Get a list of customer complaint status
page | integer >= 1 The page of the result set. When not specified the first page will be returned |
per_page | integer [ 1 .. 50 ] The number of objects per page of the result set |
Array of objects (CustomerComplaintStatus) | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "customer_complaint_status",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Get a single customer complaint status by its id
id required | integer Id of the customer complaint status |
object (CustomerComplaintStatus) |
{- "data": {
- "type": "customer_complaint_status",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
}
Get a list of customer complaint execution type
page | integer >= 1 The page of the result set. When not specified the first page will be returned |
per_page | integer [ 1 .. 50 ] The number of objects per page of the result set |
Array of objects (CustomerComplaintExecutionType) | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "customer_complaint_execution_types",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Get a single customer complaint execution type by its id
id required | integer Id of the customer complaint execution type |
object (CustomerComplaintExecutionType) |
{- "data": {
- "type": "customer_complaint_execution_types",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
}
Get a list of customer complaint transport type
page | integer >= 1 The page of the result set. When not specified the first page will be returned |
per_page | integer [ 1 .. 50 ] The number of objects per page of the result set |
Array of objects (CustomerComplaintTransportType) | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "customer_complaint_transport_types",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Get a single customer complaint transport type by its id
id required | integer Id of the customer complaint transport type |
object (CustomerComplaintTransportType) |
{- "data": {
- "type": "customer_complaint_transport_types",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
}
Get a list of production order status
Array of objects (ProductionOrderStatus) | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "production_order_status",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Get a single production order status by its id
id required | integer Id of the production order status |
object (ProductionOrderStatus) |
{- "data": {
- "type": "production_order_status",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
}
Get a list of production order types
Array of objects (ProductionOrderType) | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "production_order_types",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Get a single production order types by its id
id required | integer Id of the production order type |
object (ProductionOrderType) |
{- "data": {
- "type": "production_order_types",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
}
Get a list of production report types
Array of objects (ProductionReportType) | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "production_report_types",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Get a single production report types by its id
id required | integer Id of the production report type |
object (ProductionOrderType) |
{- "data": {
- "type": "production_order_types",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
}
Get a list of languages
page | integer >= 1 The page of the result set. When not specified the first page will be returned |
per_page | integer [ 1 .. 50 ] The number of objects per page of the result set |
Array of objects (I18nLanguage) | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "languages",
- "id": 0,
- "attributes": {
- "description": "string",
- "alpha_2_code": "string"
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Get a single language by its id
id required | integer Id of the language |
object (I18nLanguage) |
{- "data": {
- "type": "languages",
- "id": 0,
- "attributes": {
- "description": "string",
- "alpha_2_code": "string"
}
}
}
Get a list of currencies
page | integer >= 1 The page of the result set. When not specified the first page will be returned |
per_page | integer [ 1 .. 50 ] The number of objects per page of the result set |
Array of objects (Currency) | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "currencies",
- "id": 0,
- "attributes": {
- "symbol": "string",
- "alpha_3_code": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Get a single currency by its id
id required | integer Id of the currency |
object (Currency) |
{- "data": {
- "type": "currencies",
- "id": 0,
- "attributes": {
- "symbol": "string",
- "alpha_3_code": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
}
Get a list of product structure item types
Array of objects (ProductStructureItemType) | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "product_structure_item_types",
- "id": 0,
- "attributes": {
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Get a single product structure item types by its id
id required | integer Id of the product structure item type |
object (ProductStructureItemType) |
{- "data": {
- "type": "product_structure_item_types",
- "id": 0,
- "attributes": {
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
}
Manage all of your product structure item calculation method data
Get a list of product structure item calculation methods
Array of objects (ProductStructureItemCalculationMethod) | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "product_structure_item_calculation_methods",
- "id": 0,
- "attributes": {
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Get a single product structure item calculation methods by its id
id required | integer Id of the product structure item calculation method |
object (ProductStructureItemCalculationMethod) |
{- "data": {
- "type": "product_structure_item_calculation_methods",
- "id": 0,
- "attributes": {
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
}
Get a list of checklist status
page | integer >= 1 The page of the result set. When not specified the first page will be returned |
per_page | integer [ 1 .. 50 ] The number of objects per page of the result set |
Array of objects (ChecklistStatus) | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "checklist_status",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Get a single checklist status by its id
id required | integer Id of the checklist status |
object (ChecklistStatus) |
{- "data": {
- "type": "checklist_status",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
}
Get a list of observation status
page | integer >= 1 The page of the result set. When not specified the first page will be returned |
per_page | integer [ 1 .. 50 ] The number of objects per page of the result set |
Array of objects (ObservationStatus) | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "observation_status",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Get a single observation status by its id
id required | integer Id of the observation status |
object (ObservationStatus) |
{- "data": {
- "type": "observation_status",
- "id": 0,
- "attributes": {
- "key": "string",
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
}
Get a list of checklist photo quality options
page | integer >= 1 The page of the result set. When not specified the first page will be returned |
per_page | integer [ 1 .. 50 ] The number of objects per page of the result set |
Array of objects (ChecklistPhotoQualityOption) | |
object (MetaCollection) | |
object (LinksCollection) |
{- "data": [
- {
- "type": "checklist_photo_quality_option",
- "id": 0,
- "attributes": {
- "key": 0,
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
], - "meta": {
- "total": 0,
- "count": 0,
- "pages": 0,
- "per_page": 0
}, - "links": {
- "self": "string",
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
Get a single checklist photo quality option by its id
id required | integer Id of the checklist photo quality option |
object (ChecklistPhotoQualityOption) |
{- "data": {
- "type": "checklist_photo_quality_option",
- "id": 0,
- "attributes": {
- "key": 0,
- "description": {
- "nl": "string",
- "fr": "string",
- "en": "string",
- "de": "string"
}
}
}
}