API

Production APIs

GET production/operations/{productionOperationId}

Production operation details for the provided identifier

HTTP method GET
URI https://api.rambase.net/production/operations/{productionOperationId}
Supported formats Xml, Html, Json (ex. $format=json)
- URI parameter {productionOperationId} Production operation identifier
Integer, minimum 1000
Custom fields Custom fields supported
Successful HTTP status code 200
API resource identifier 418, version 20

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.

Format:
1
1

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.

$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]
$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
$format String, optional Set the format of the response to use for the request. Accepted values are "xml", "html", "jsonstream", "json"
$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.
$select String, optional Use to define the fields to return in the response. Accepts a comma-separated list of field names. See the Expand and select page for more information.
$expand String, optional Use to include output fields that are not returned by default in the response. Accepts a comma-separated list of expandable field names. See the Expand and Select page for more information.
$showCustomFields Boolean, optional Set to "true" to include custom fields. Default value is false.

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. Fields colored in grey is expandable fields.

Please note that some fields may be removed from the response, based on user roles/duties/permissions.

Format:
1
<ProductionOperation>
2
     <ProductionOperationId
ProductionOperationId

Production operation identifier

>
{Integer}</ProductionOperationId>
3
     <Status
Status

Status of production operation

Possible domain values can be found here

>
{Integer}</Status>
4
     <CreatedAt
CreatedAt

Date and time of creation

>
{Datetime}</CreatedAt>
5
     <Name
Name

Name of production operation

>
{String}</Name>
6
     <Type
Type

Type of operation

Possible domain values can be found here

>
{String}</Type>
7
     <Description
Description

Description of production operation

>
{String}</Description>
8
     <RequirePickingBeforeCompletion
RequirePickingBeforeCompletion

If this is checked, then all parts for this and preivous operations must be be picked before current operation can be completed

>
{Boolean}</RequirePickingBeforeCompletion>
9
     <RequireSerialNumberBeforeCompletion
RequireSerialNumberBeforeCompletion

If this is checked, then all items in the tracelist for all product units needs to have serial number assigned

>
{Boolean}</RequireSerialNumberBeforeCompletion>
10
     <SetNextOperationReadyTrigger>
11
          <Value
Value

Value for degree of completion you require in order to automatically set next operation as ready

>
{Decimal}</Value>
12
          <Unit
Unit

Unit for degree of completion you require in order to automatically set next operation as ready

Possible domain values can be found here

>
{String}</Unit>
13
     </SetNextOperationReadyTrigger>
14
     <AppliesTo
AppliesTo

Tells if the production operation applies to a production resource or production resource group

>
15
          <ObjectType
ObjectType

Type of object

>
{String}</ObjectType>
16
          <ObjectId
ObjectId

Identifier of the object

>
{String}</ObjectId>
17
          <Name
Name

Name of resource or resource group

This field is greyed out because it is an expandable field. You have to add $expand=AppliesTo.Name in your request URI to get this field

>
{String}</Name>
18
          <RamBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

>
{String}</RamBaseKey>
19
          <ObjectLink
ObjectLink

API reference to the object

>
{String}</ObjectLink>
20
     </AppliesTo>
21
     <Processing>
22
          <RunTime
RunTime

Planned run time in hours for the production operation

>
{Decimal}</RunTime>
23
     </Processing>
24
     <Changeover>
25
          <SetUpTime
SetUpTime

Planned setup time in hours for the production operation

>
{Decimal}</SetUpTime>
26
          <CleanUpTime
CleanUpTime

Planned cleanup time in hours for the production operation

>
{Decimal}</CleanUpTime>
27
     </Changeover>
28
     <ProductForOutsourcedOperation
ProductForOutsourcedOperation

Product reference that is used when purchasing the outsourced production operation

>
29
          <ProductId
ProductId

Product identifier

>
{String}</ProductId>
30
          <Name
Name

Name of the product

>
{String}</Name>
31
          <ProductLink
ProductLink

Product reference

>
{String}</ProductLink>
32
     </ProductForOutsourcedOperation>
33
     <Checkpoint>
34
          <HasCheckpoint
HasCheckpoint

Has the value of 1 if the production operation has a checkpoint set

>
{Boolean}</HasCheckpoint>
35
          <Description
Description

The checkpoint text

>
{String}</Description>
36
     </Checkpoint>
37
     <ServiceInterval>
38
          <ServiceIntervalId
ServiceIntervalId

Service interval identifier

>
{Integer}</ServiceIntervalId>
39
          <Name
Name

Name of the service interval

>
{String}</Name>
40
          <Interval>
41
               <Value
Value

Length/quantity/value of the interval

>
{Decimal}</Value>
42
               <Unit
Unit

Unit of the interval

Possible domain values can be found here

>
{String}</Unit>
43
          </Interval>
44
          <ServiceIntervalLink
ServiceIntervalLink

Service interval reference

>
{String}</ServiceIntervalLink>
45
     </ServiceInterval>
46
</ProductionOperation>
1
{
2
     "productionOperation": {
3
          "productionOperationId
ProductionOperationId

Production operation identifier

":
"{Integer}",
4
          "status
Status

Status of production operation

Possible domain values can be found here

":
"{Integer}",
5
          "createdAt
CreatedAt

Date and time of creation

":
"{Datetime}",
6
          "name
Name

Name of production operation

":
"{String}",
7
          "type
Type

Type of operation

Possible domain values can be found here

":
"{String}",
8
          "description
Description

Description of production operation

":
"{String}",
9
          "requirePickingBeforeCompletion
RequirePickingBeforeCompletion

If this is checked, then all parts for this and preivous operations must be be picked before current operation can be completed

":
"{Boolean}",
10
          "requireSerialNumberBeforeCompletion
RequireSerialNumberBeforeCompletion

If this is checked, then all items in the tracelist for all product units needs to have serial number assigned

":
"{Boolean}",
11
          "setNextOperationReadyTrigger": {
12
               "value
Value

Value for degree of completion you require in order to automatically set next operation as ready

":
"{Decimal}",
13
               "unit
Unit

Unit for degree of completion you require in order to automatically set next operation as ready

Possible domain values can be found here

":
"{String}"
14
          },
15
          "appliesTo
AppliesTo

Tells if the production operation applies to a production resource or production resource group

":
{
16
               "objectType
ObjectType

Type of object

":
"{String}",
17
               "objectId
ObjectId

Identifier of the object

":
"{String}",
18
               "name
Name

Name of resource or resource group

This field is greyed out because it is an expandable field. You have to add $expand=AppliesTo.Name in your request URI to get this field

":
"{String}",
19
               "ramBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

":
"{String}",
20
               "objectLink
ObjectLink

API reference to the object

":
"{String}"
21
          },
22
          "processing": {
23
               "runTime
RunTime

Planned run time in hours for the production operation

":
"{Decimal}"
24
          },
25
          "changeover": {
26
               "setUpTime
SetUpTime

Planned setup time in hours for the production operation

":
"{Decimal}",
27
               "cleanUpTime
CleanUpTime

Planned cleanup time in hours for the production operation

":
"{Decimal}"
28
          },
29
          "productForOutsourcedOperation
ProductForOutsourcedOperation

Product reference that is used when purchasing the outsourced production operation

":
{
30
               "productId
ProductId

Product identifier

":
"{String}",
31
               "name
Name

Name of the product

":
"{String}",
32
               "productLink
ProductLink

Product reference

":
"{String}"
33
          },
34
          "checkpoint": {
35
               "hasCheckpoint
HasCheckpoint

Has the value of 1 if the production operation has a checkpoint set

":
"{Boolean}",
36
               "description
Description

The checkpoint text

":
"{String}"
37
          },
38
          "serviceInterval": {
39
               "serviceIntervalId
ServiceIntervalId

Service interval identifier

":
"{Integer}",
40
               "name
Name

Name of the service interval

":
"{String}",
41
               "interval": {
42
                    "value
Value

Length/quantity/value of the interval

":
"{Decimal}",
43
                    "unit
Unit

Unit of the interval

Possible domain values can be found here

":
"{String}"
44
               },
45
               "serviceIntervalLink
ServiceIntervalLink

Service interval reference

":
"{String}"
46
          }
47
     }
48
}

Possible error codes the response might return:

Error 103366 HTTP 404 Production resource group not found.
Error 103886 HTTP 404 Service interval not found