Production APIs
Creates new production resource work order operation workgroup
HTTP method | POST |
URI | https://api.rambase.net/production/work-order-operation-groups |
Supported formats | Xml, Html, Json (ex. $format=json) |
Successful HTTP status code | 201 |
API resource identifier | 3491, version 8 |
The following body must be added to the request. Mouse over fieldnames for description and other useful information about the fields. Note that fields in bold are required/mandatory.
Type
Required/mandatory field
Type of work order operation group
Applicable domain values can be found here
>{String}</Type>Description
Work order operation group description
This field is optional.
>{String}</Description>ProductionResourceId
Required/mandatory field
Production resource identifier
Minimum value: 100000
>{Integer}</ProductionResourceId>Type
Required/mandatory field
Type of work order operation group
Applicable domain values can be found here
": "{String}",Description
Work order operation group description
This field is optional.
": "{String}",ProductionResourceId
Required/mandatory field
Production resource identifier
Minimum value: 100000
": "{Integer}"The query string is placed after the resource URL, seperated with a questionmark (?). The query string is composed of a series of query parameters with values. See the page about query parameters on how to use these parameters.
$access_token String, optional | After successful login you get an access token which needs to be provided in all API requests. Even though it is possible to pass this token as query parameter, we recommended passing it using the HTTP request header as described in Authorization. Note that all access tokens have an expiration time. |
$db String, optional | Set the database/company for the request |
$useMinimumVersion Integer, optional | Used to run a new version of an API resource when your API client is running a deprecated API resource. See the Breaking changes page for more information. |
$showDomainDescriptions Boolean, optional | Set to "true" to include domain descriptions for fields using domain values. See the Domain values page for more information. Default value is false. |
$lang String, optional | Specifies the language used in the response, following the 3-letter ISO-639-1 [lll] |
Read more about filters and sorting on how to use filter parameters and named filters.
Read more about filters and sorting on how to use sortable parameters
Requesting this resource will yield the following response. Mouse over fieldnames (or fieldgroups) for descriptions and other useful information about the fields.
Please note that some fields may be removed from the response, based on user roles/duties/permissions.
WorkOrderOperationGroupId
Work order operation group identifier
>{Integer}</WorkOrderOperationGroupId>Status
Status of work order operation group
Possible domain values can be found here
>{Integer}</Status>Name
Name of Work Order Operation Group
>{String}</Name>Description
Work order operation group description
>{String}</Description>CreatedAt
Creation date for Group Work Order Operation
>{Datetime}</CreatedAt>Priority
A priority index for work order operation group
>{Integer}</Priority>EmployeeId
Employee identifier
>{Integer}</EmployeeId>EmployeeLink
Employee reference
>{String}</EmployeeLink>ProductionResourceId
Production resource identifier
>{Integer}</ProductionResourceId>ProductionResourceLink
Production resource reference
>{String}</ProductionResourceLink>WorkOrderOperationGroupId
Work order operation group identifier
": "{Integer}",Status
Status of work order operation group
Possible domain values can be found here
": "{Integer}",Name
Name of Work Order Operation Group
": "{String}",Description
Work order operation group description
": "{String}",CreatedAt
Creation date for Group Work Order Operation
": "{Datetime}",Type
Type of work order operation group
Possible domain values can be found here
": "{String}",Priority
A priority index for work order operation group
": "{Integer}",EmployeeId
Employee identifier
": "{Integer}",EmployeeLink
Employee reference
": "{String}"ProductionResourceId
Production resource identifier
": "{Integer}",ProductionResourceLink
Production resource reference
": "{String}"
List of available operations/actions for this resource.
See the operations documentation for more information about API operations.
Possible error codes the response might return:
Error 107736 HTTP 400 | Work order operation group name is required |
Error 107737 HTTP 400 | Work order operation group with given name already exists |
Error 107779 HTTP 400 | Priority cannot be lower than 1 |
Error 107765 HTTP 400 | Work order operation group with given priority already exists |