API

Production APIs

POST production/work-orders

Create new production work order

HTTP method POST
URI https://api.rambase.net/production/work-orders
Supported formats Xml, Html, Json (ex. $format=json)
Custom fields Custom fields supported
Successful HTTP status code 201
API resource identifier 4856, version 4

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
<ProductionWorkOrder>
2
     <Product>
3
          <ProductId
ProductId

Required/mandatory field

Product identifier

Minimum value: 10000

>
{Integer}</ProductId>
4
     </Product>
5
     <RequestedCompletionDate
RequestedCompletionDate

Required/mandatory field

The requested date of completion for the production work order.

>
{Date}</RequestedCompletionDate>
6
     <Quantity
Quantity

Required/mandatory field

The quantity that will be (or has been) produced

Minimum value: 0

>
{Decimal}</Quantity>
7
     <ManufacturingArea
ManufacturingArea

This field is optional.

>
8
          <ManufacturingAreaId
ManufacturingAreaId

Manufacturing area identifier

Minimum value: 100000

This field is optional.

>
{Integer}</ManufacturingAreaId>
9
     </ManufacturingArea>
10
     <Location
Location

The location of the production.

This field is optional.

>
11
          <ShortName
ShortName

Unique abbreviation/short name of the location

This field is optional.

>
{String}</ShortName>
12
     </Location>
13
</ProductionWorkOrder>
1
{
2
     "productionWorkOrder": {
3
          "product": {
4
               "productId
ProductId

Required/mandatory field

Product identifier

Minimum value: 10000

":
"{Integer}"
5
          },
6
          "requestedCompletionDate
RequestedCompletionDate

Required/mandatory field

The requested date of completion for the production work order.

":
"{Date}",
7
          "quantity
Quantity

Required/mandatory field

The quantity that will be (or has been) produced

Minimum value: 0

":
"{Decimal}",
8
          "manufacturingArea
ManufacturingArea

This field is optional.

":
{
9
               "manufacturingAreaId
ManufacturingAreaId

Manufacturing area identifier

Minimum value: 100000

This field is optional.

":
"{Integer}"
10
          },
11
          "location
Location

The location of the production.

This field is optional.

":
{
12
               "shortName
ShortName

Unique abbreviation/short name of the location

This field is optional.

":
"{String}"
13
          }
14
     }
15
}

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]
$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.

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

Format:
1
<ProductionWorkOrder>
2
     <ProductionWorkOrderId
ProductionWorkOrderId

Production work order identifier

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

Status of production work order

Possible domain values can be found here

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

Type of production work order

Possible domain values can be found here

>
{String}</Type>
5
     <CreatedAt
CreatedAt

Date and time of creation

>
{Datetime}</CreatedAt>
6
     <UpdatedAt
UpdatedAt

Date and time of update

>
{Datetime}</UpdatedAt>
7
     <RegistrationDate
RegistrationDate

Date of registration

>
{Date}</RegistrationDate>
8
     <CustomersReferenceNumber
CustomersReferenceNumber

Customers order reference. If the production work order is derived from a sales order, the customers order reference will be the same as in the sales order. Typically a reference to an external system.

>
{String}</CustomersReferenceNumber>
9
     <NetWeight
NetWeight

The net weight of object (excluding packing meterial) in kilograms

>
{Decimal}</NetWeight>
10
     <RequestedCompletionDate
RequestedCompletionDate

The requested date of completion for the production work order.

>
{Date}</RequestedCompletionDate>
11
     <ConfirmedCompletionDate
ConfirmedCompletionDate

The confirmed date of completion for the production work order

>
{Date}</ConfirmedCompletionDate>
12
     <IsConfirmedCompletionDateLocked
IsConfirmedCompletionDateLocked

If true, confirmed delivery date is locked.

>
{Boolean}</IsConfirmedCompletionDateLocked>
13
     <ProductRevision
ProductRevision

Product revision used for this production work order

>
{String}</ProductRevision>
14
     <Quantity
Quantity

The quantity that will be (or has been) produced

>
{Decimal}</Quantity>
15
     <ScheduledStartDate
ScheduledStartDate

Scheduled/planned date of production start

>
{Date}</ScheduledStartDate>
16
     <ScheduledCompletionDate
ScheduledCompletionDate

Scheduled/planned date of production completion

>
{Date}</ScheduledCompletionDate>
17
     <EstimatedStartDate
EstimatedStartDate

Production work order estimated start date

>
{Date}</EstimatedStartDate>
18
     <RemainingQuantity
RemainingQuantity

Remaining number of units to produce

>
{Decimal}</RemainingQuantity>
19
     <PotentialProductionQuantity
PotentialProductionQuantity

Number of products possible to produce with the current stock.

>
{Decimal}</PotentialProductionQuantity>
20
     <HasMaterialShortage
HasMaterialShortage

True if production has supply shortage (negative metarial trend)

>
{Boolean}</HasMaterialShortage>
21
     <MaterialDelayedDays
MaterialDelayedDays

Number of days that material for the PWO is delayed.

>
{Integer}</MaterialDelayedDays>
22
     <IsBlockedForPurchase
IsBlockedForPurchase

True if materials in this production work order should not be purchased

>
{Boolean}</IsBlockedForPurchase>
23
     <HasPriority
HasPriority

Production Work Order priority

>
{Boolean}</HasPriority>
24
     <IsRework
IsRework

Is Pwroduction Work Order a rework production

>
{Boolean}</IsRework>
25
     <CustomersReference
CustomersReference

Customer reference

>
{String}</CustomersReference>
26
     <LatestStartAt
LatestStartAt

Latest possibile date of starting production

>
{Datetime}</LatestStartAt>
27
     <AvailableQuantity
AvailableQuantity

The available quantity to be assigned. The available quantitiy will be decresed with the quantities assigned.

>
{Decimal}</AvailableQuantity>
28
     <AvailableQuantityInPercent
AvailableQuantityInPercent

Remaining production available percent

>
{Decimal}</AvailableQuantityInPercent>
29
     <HasProcessRunning
HasProcessRunning

Is Production Work Order is beeing currenlty processed by internal process

>
{Boolean}</HasProcessRunning>
30
     <IsInFaultyState
IsInFaultyState

A flag to indicate if production work order is in faulty state (the work on the document should not be continueed until production work order got corrected)

>
{Boolean}</IsInFaultyState>
31
     <NeedsMaterialReplacementToRelease
NeedsMaterialReplacementToRelease

Has replace before production material

>
{Boolean}</NeedsMaterialReplacementToRelease>
32
     <IsManufacturedInBatches
IsManufacturedInBatches

Is Production Work Order is batch type production

>
{Boolean}</IsManufacturedInBatches>
33
     <IsBlockedForProduction
IsBlockedForProduction

Is Production Work Order blocked for production

>
{Boolean}</IsBlockedForProduction>
34
     <Note
Note

Additional information regarding the item (free text). Might be visible to customers/suppliers.

>
{String}</Note>
35
     <HasStandardStructure
HasStandardStructure

Production Work Order has customers structure

>
{Boolean}</HasStandardStructure>
36
     <ManufacturedProductName
ManufacturedProductName

Name of production work order item

>
{String}</ManufacturedProductName>
37
     <PlanningCategory
PlanningCategory

Planning category

Possible domain values can be found here

>
{String}</PlanningCategory>
38
     <ProductUnitMarkingSpecification
ProductUnitMarkingSpecification

Describes how to mark the product unit

>
{String}</ProductUnitMarkingSpecification>
39
     <OnHold>
40
          <IsOnHold
IsOnHold

Flag to indicate if production work order is on hold

>
{Boolean}</IsOnHold>
41
          <OnHoldAt
OnHoldAt

Date of putting production work order on hold

>
{Datetime}</OnHoldAt>
42
          <OnHoldTo
OnHoldTo

Date and time production work order should be on hold to

>
{Datetime}</OnHoldTo>
43
          <Category
Category

A category of production work order on hold reason

Possible domain values can be found here

>
{Integer}</Category>
44
          <CausedBy
CausedBy

A side responsible for causing production work order on hold

Possible domain values can be found here

>
{String}</CausedBy>
45
          <Reason
Reason

Reason of putting production work order on hold

>
46
               <UserId
UserId

User identifier

>
{Integer}</UserId>
47
               <Name
Name

Name of the user

>
{String}</Name>
48
               <FirstName
FirstName

First name of the user

>
{String}</FirstName>
49
               <UserLink
UserLink

User reference

>
{String}</UserLink>
50
          </Reason>
51
     </OnHold>
52
     <ProductionFor>
53
          <Database
Database

Database of the object

>
{String}</Database>
54
          <ItemId
ItemId

Item-number of the object

>
{Integer}</ItemId>
55
          <ItemType
ItemType

Type of item

>
{String}</ItemType>
56
          <Object>
57
               <ObjectId
ObjectId

Identifier of the object

>
{Integer}</ObjectId>
58
               <ObjectType
ObjectType

Type of object

>
{String}</ObjectType>
59
               <Customer>
60
                    <CustomerId
CustomerId

Customer identifier

>
{Integer}</CustomerId>
61
                    <Name
Name

Name of customer (name of company or surname/familyname/lastname of a person)

>
{String}</Name>
62
                    <CustomerLink
CustomerLink

Customer reference

>
{String}</CustomerLink>
63
               </Customer>
64
               <ObjectLink
ObjectLink

API reference to the object

>
{String}</ObjectLink>
65
          </Object>
66
          <RamBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

>
{String}</RamBaseKey>
67
          <ItemLink
ItemLink

API reference to the item

>
{String}</ItemLink>
68
          <ConfirmedDeliveryDate
ConfirmedDeliveryDate

Confirmation date from linked order

>
{Date}</ConfirmedDeliveryDate>
69
     </ProductionFor>
70
     <Location
Location

The location of the production.

>
71
          <ShortName
ShortName

Unique abbreviation/short name of the location

>
{String}</ShortName>
72
     </Location>
73
     <MeasurementUnit>
74
          <MeasurementUnitId
MeasurementUnitId

Material unit reference

>
{Integer}</MeasurementUnitId>
75
          <Unit
Unit

Measurement unit (ex. mm, km, dl, kg)

>
{String}</Unit>
76
          <MeasurementUnitLink
MeasurementUnitLink

Material unit reference

>
{String}</MeasurementUnitLink>
77
     </MeasurementUnit>
78
     <Product>
79
          <ProductId
ProductId

Product identifier

>
{Integer}</ProductId>
80
          <Name
Name

Name of the product

>
{String}</Name>
81
          <Description
Description

Description of the item. If not specified, the description is by default copied from the product.

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

Type of product

Possible domain values can be found here

>
{String}</Type>
83
          <CountryOfOriginCode
CountryOfOriginCode

Two-character code (ISO 3166) identifying the default country where the product is produced. This value is inherrited from the assigned goods reception(s). If not country of origin is specified for the goods reception(s), country of origin is retrieved from the product. If assigned to multiple goods receptions with different origin, the field will be empty.

>
{String}</CountryOfOriginCode>
84
          <CustomField1
CustomField1

Custom field for grouping, sorting, categorizing and other purposes.

>
{String}</CustomField1>
85
          <CustomField2
CustomField2

Custom field for grouping, sorting, categorizing and other purposes.

>
{String}</CustomField2>
86
          <Dimensions>
87
               <Weight
Weight

The weight of the product in kilograms.

>
{Decimal}</Weight>
88
          </Dimensions>
89
          <Manufacturer>
90
               <ManufacturerId
ManufacturerId

Manufacturer identifier

>
{Integer}</ManufacturerId>
91
               <ShortName
ShortName

Shortname/code of the manufacturer

>
{String}</ShortName>
92
               <ManufacturerLink
ManufacturerLink

Manufacturer reference

>
{String}</ManufacturerLink>
93
          </Manufacturer>
94
          <ProductClassification>
95
               <ProductClassificationId
ProductClassificationId

Product classification identifier

>
{String}</ProductClassificationId>
96
               <ProductClassificationLink
ProductClassificationLink

Product classification reference

>
{String}</ProductClassificationLink>
97
          </ProductClassification>
98
          <ProductLink
ProductLink

Product reference

>
{String}</ProductLink>
99
     </Product>
100
     <Price>
101
          <GrossPrice
GrossPrice

Production Work Order article price

>
{Decimal}</GrossPrice>
102
          <Currency
Currency

Production Work Order article prices currency

>
{String}</Currency>
103
     </Price>
104
     <ProductStructure>
105
          <ProductStructureId
ProductStructureId

Product structure reference

>
{Integer}</ProductStructureId>
106
          <ProductStructureLink
ProductStructureLink

Product structure reference

>
{String}</ProductStructureLink>
107
     </ProductStructure>
108
     <FinanceProject>
109
          <FinanceProjectId
FinanceProjectId

Finance project identifier

>
{Integer}</FinanceProjectId>
110
          <FinanceProjectLink
FinanceProjectLink

Finance project reference

>
{String}</FinanceProjectLink>
111
          <SalesDeliveryProjectId
SalesDeliveryProjectId

Sales delivery project identifier

>
{Integer}</SalesDeliveryProjectId>
112
          <Name
Name

Name of sales delivery

>
{String}</Name>
113
          <SalesDeliveryProjectLink
SalesDeliveryProjectLink

Sales delivery project reference

>
{String}</SalesDeliveryProjectLink>
114
     </FinanceProject>
115
     <Department>
116
          <DepartmentId
DepartmentId

Department identifier

>
{Integer}</DepartmentId>
117
          <DepartmentLink
DepartmentLink

Finance department reference

>
{String}</DepartmentLink>
118
     </Department>
119
     <ProductionPlanner>
120
          <EmployeeId
EmployeeId

Employee identifier

>
{Integer}</EmployeeId>
121
          <LastName
LastName

Last name of employee

>
{String}</LastName>
122
          <FirstName
FirstName

First name of employee

>
{String}</FirstName>
123
          <EmployeeLink
EmployeeLink

Employee reference

>
{String}</EmployeeLink>
124
     </ProductionPlanner>
125
     <InitialWorkOrder
InitialWorkOrder

Initial Production Work Order that current work order originated from

>
126
          <ProductionWorkOrderId
ProductionWorkOrderId

Production work order identifier

>
{Integer}</ProductionWorkOrderId>
127
          <ProductionWorkOrderLink
ProductionWorkOrderLink

Production work order reference

>
{String}</ProductionWorkOrderLink>
128
     </InitialWorkOrder>
129
     <ForwardedFrom
ForwardedFrom

The preceding/previous/source item.

>
130
          <ForwardedQuantity
ForwardedQuantity

The quantity forwarded to this item.

>
{Decimal}</ForwardedQuantity>
131
          <ForwardedFromItem>
132
               <ItemId
ItemId

Identifier of the object

>
{Integer}</ItemId>
133
               <Object>
134
                    <ObjectId
ObjectId

Identifier of the object

>
{Integer}</ObjectId>
135
                    <ObjectType
ObjectType

Type of object

>
{String}</ObjectType>
136
                    <ObjectLink
ObjectLink

API reference to the object

>
{String}</ObjectLink>
137
               </Object>
138
               <ItemLink
ItemLink

API reference to the item

>
{String}</ItemLink>
139
          </ForwardedFromItem>
140
     </ForwardedFrom>
141
     <Scrap>
142
          <IsScrapped
IsScrapped

True, if element is being scrapped.

>
{Boolean}</IsScrapped>
143
          <Reason
Reason

Reason for scrapping

Possible domain values can be found here

>
{Integer}</Reason>
144
          <OpenForwardedQuantity
OpenForwardedQuantity

When items are forwarded they end up in one or more open items. Open items in this context means items that are not registered (status 0 or 1). OpenForwardedQuantity will be the sum of ForwardedQuantity of all items this item has been forwarded to.

>
{Decimal}</OpenForwardedQuantity>
145
          <ForwardedToItems>
146
               <Item
Item

Item this item was forwarded to.

>
147
                    <ItemId
ItemId

Identifier of the object

>
{Integer}</ItemId>
148
                    <Object>
149
                         <ObjectId
ObjectId

Identifier of the object

>
{Integer}</ObjectId>
150
                         <ObjectType
ObjectType

Type of object

>
{String}</ObjectType>
151
                         <ObjectLink
ObjectLink

API reference to the object

>
{String}</ObjectLink>
152
                    </Object>
153
                    <ItemLink
ItemLink

API reference to the item

>
{String}</ItemLink>
154
               </Item>
155
          </ForwardedToItems>
156
     </Scrap>
157
     <ManufacturingArea>
158
          <ManufacturingAreaId
ManufacturingAreaId

Manufacturing area identifier

>
{Integer}</ManufacturingAreaId>
159
          <Name
Name

Name of manufacturing area

>
{String}</Name>
160
          <ManufacturingAreaLink
ManufacturingAreaLink

Manufacturing area reference

>
{String}</ManufacturingAreaLink>
161
          <HasCostOverrun
HasCostOverrun

Flag to indicate if product structure's operation has got cost deviation

>
{Boolean}</HasCostOverrun>
162
          <HasTimeOverrun
HasTimeOverrun

Flag to indicate if product structure's operation has got worklog deviation

>
{Boolean}</HasTimeOverrun>
163
     </ManufacturingArea>
164
     <Management>
165
          <ProjectLeader
ProjectLeader

Reference to the employee who is a production management project leader.

>
166
               <EmployeeId
EmployeeId

Employee identifier

>
{Integer}</EmployeeId>
167
               <LastName
LastName

Last name of employee

>
{String}</LastName>
168
               <FirstName
FirstName

First name of employee

>
{String}</FirstName>
169
               <EmployeeLink
EmployeeLink

Employee reference

>
{String}</EmployeeLink>
170
          </ProjectLeader>
171
          <DocumentController
DocumentController

Reference to the employee who is a production management document controller.

>
172
               <EmployeeId
EmployeeId

Employee identifier

>
{Integer}</EmployeeId>
173
               <LastName
LastName

Last name of employee

>
{String}</LastName>
174
               <FirstName
FirstName

First name of employee

>
{String}</FirstName>
175
               <EmployeeLink
EmployeeLink

Employee reference

>
{String}</EmployeeLink>
176
          </DocumentController>
177
     </Management>
178
</ProductionWorkOrder>
1
{
2
     "productionWorkOrder": {
3
          "productionWorkOrderId
ProductionWorkOrderId

Production work order identifier

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

Status of production work order

Possible domain values can be found here

":
"{Integer}",
5
          "type
Type

Type of production work order

Possible domain values can be found here

":
"{String}",
6
          "createdAt
CreatedAt

Date and time of creation

":
"{Datetime}",
7
          "updatedAt
UpdatedAt

Date and time of update

":
"{Datetime}",
8
          "registrationDate
RegistrationDate

Date of registration

":
"{Date}",
9
          "customersReferenceNumber
CustomersReferenceNumber

Customers order reference. If the production work order is derived from a sales order, the customers order reference will be the same as in the sales order. Typically a reference to an external system.

":
"{String}",
10
          "netWeight
NetWeight

The net weight of object (excluding packing meterial) in kilograms

":
"{Decimal}",
11
          "requestedCompletionDate
RequestedCompletionDate

The requested date of completion for the production work order.

":
"{Date}",
12
          "confirmedCompletionDate
ConfirmedCompletionDate

The confirmed date of completion for the production work order

":
"{Date}",
13
          "isConfirmedCompletionDateLocked
IsConfirmedCompletionDateLocked

If true, confirmed delivery date is locked.

":
"{Boolean}",
14
          "productRevision
ProductRevision

Product revision used for this production work order

":
"{String}",
15
          "quantity
Quantity

The quantity that will be (or has been) produced

":
"{Decimal}",
16
          "scheduledStartDate
ScheduledStartDate

Scheduled/planned date of production start

":
"{Date}",
17
          "scheduledCompletionDate
ScheduledCompletionDate

Scheduled/planned date of production completion

":
"{Date}",
18
          "estimatedStartDate
EstimatedStartDate

Production work order estimated start date

":
"{Date}",
19
          "remainingQuantity
RemainingQuantity

Remaining number of units to produce

":
"{Decimal}",
20
          "potentialProductionQuantity
PotentialProductionQuantity

Number of products possible to produce with the current stock.

":
"{Decimal}",
21
          "hasMaterialShortage
HasMaterialShortage

True if production has supply shortage (negative metarial trend)

":
"{Boolean}",
22
          "materialDelayedDays
MaterialDelayedDays

Number of days that material for the PWO is delayed.

":
"{Integer}",
23
          "isBlockedForPurchase
IsBlockedForPurchase

True if materials in this production work order should not be purchased

":
"{Boolean}",
24
          "hasPriority
HasPriority

Production Work Order priority

":
"{Boolean}",
25
          "isRework
IsRework

Is Pwroduction Work Order a rework production

":
"{Boolean}",
26
          "customersReference
CustomersReference

Customer reference

":
"{String}",
27
          "latestStartAt
LatestStartAt

Latest possibile date of starting production

":
"{Datetime}",
28
          "availableQuantity
AvailableQuantity

The available quantity to be assigned. The available quantitiy will be decresed with the quantities assigned.

":
"{Decimal}",
29
          "availableQuantityInPercent
AvailableQuantityInPercent

Remaining production available percent

":
"{Decimal}",
30
          "hasProcessRunning
HasProcessRunning

Is Production Work Order is beeing currenlty processed by internal process

":
"{Boolean}",
31
          "isInFaultyState
IsInFaultyState

A flag to indicate if production work order is in faulty state (the work on the document should not be continueed until production work order got corrected)

":
"{Boolean}",
32
          "needsMaterialReplacementToRelease
NeedsMaterialReplacementToRelease

Has replace before production material

":
"{Boolean}",
33
          "isManufacturedInBatches
IsManufacturedInBatches

Is Production Work Order is batch type production

":
"{Boolean}",
34
          "isBlockedForProduction
IsBlockedForProduction

Is Production Work Order blocked for production

":
"{Boolean}",
35
          "note
Note

Additional information regarding the item (free text). Might be visible to customers/suppliers.

":
"{String}",
36
          "hasStandardStructure
HasStandardStructure

Production Work Order has customers structure

":
"{Boolean}",
37
          "manufacturedProductName
ManufacturedProductName

Name of production work order item

":
"{String}",
38
          "planningCategory
PlanningCategory

Planning category

Possible domain values can be found here

":
"{String}",
39
          "productUnitMarkingSpecification
ProductUnitMarkingSpecification

Describes how to mark the product unit

":
"{String}",
40
          "onHold": {
41
               "isOnHold
IsOnHold

Flag to indicate if production work order is on hold

":
"{Boolean}",
42
               "onHoldAt
OnHoldAt

Date of putting production work order on hold

":
"{Datetime}",
43
               "onHoldTo
OnHoldTo

Date and time production work order should be on hold to

":
"{Datetime}",
44
               "category
Category

A category of production work order on hold reason

Possible domain values can be found here

":
"{Integer}",
45
               "causedBy
CausedBy

A side responsible for causing production work order on hold

Possible domain values can be found here

":
"{String}",
46
               "reason
Reason

Reason of putting production work order on hold

":
{
47
                    "userId
UserId

User identifier

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

Name of the user

":
"{String}",
49
                    "firstName
FirstName

First name of the user

":
"{String}",
50
                    "userLink
UserLink

User reference

":
"{String}"
51
               }
52
          },
53
          "productionFor": {
54
               "database
Database

Database of the object

":
"{String}",
55
               "itemId
ItemId

Item-number of the object

":
"{Integer}",
56
               "itemType
ItemType

Type of item

":
"{String}",
57
               "object": {
58
                    "objectId
ObjectId

Identifier of the object

":
"{Integer}",
59
                    "objectType
ObjectType

Type of object

":
"{String}",
60
                    "customer": {
61
                         "customerId
CustomerId

Customer identifier

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

Name of customer (name of company or surname/familyname/lastname of a person)

":
"{String}",
63
                         "customerLink
CustomerLink

Customer reference

":
"{String}"
64
                    },
65
                    "objectLink
ObjectLink

API reference to the object

":
"{String}"
66
               },
67
               "ramBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

":
"{String}",
68
               "itemLink
ItemLink

API reference to the item

":
"{String}",
69
               "confirmedDeliveryDate
ConfirmedDeliveryDate

Confirmation date from linked order

":
"{Date}"
70
          },
71
          "location
Location

The location of the production.

":
{
72
               "shortName
ShortName

Unique abbreviation/short name of the location

":
"{String}"
73
          },
74
          "measurementUnit": {
75
               "measurementUnitId
MeasurementUnitId

Material unit reference

":
"{Integer}",
76
               "unit
Unit

Measurement unit (ex. mm, km, dl, kg)

":
"{String}",
77
               "measurementUnitLink
MeasurementUnitLink

Material unit reference

":
"{String}"
78
          },
79
          "product": {
80
               "productId
ProductId

Product identifier

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

Name of the product

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

Description of the item. If not specified, the description is by default copied from the product.

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

Type of product

Possible domain values can be found here

":
"{String}",
84
               "countryOfOriginCode
CountryOfOriginCode

Two-character code (ISO 3166) identifying the default country where the product is produced. This value is inherrited from the assigned goods reception(s). If not country of origin is specified for the goods reception(s), country of origin is retrieved from the product. If assigned to multiple goods receptions with different origin, the field will be empty.

":
"{String}",
85
               "customField1
CustomField1

Custom field for grouping, sorting, categorizing and other purposes.

":
"{String}",
86
               "customField2
CustomField2

Custom field for grouping, sorting, categorizing and other purposes.

":
"{String}",
87
               "dimensions": {
88
                    "weight
Weight

The weight of the product in kilograms.

":
"{Decimal}"
89
               },
90
               "manufacturer": {
91
                    "manufacturerId
ManufacturerId

Manufacturer identifier

":
"{Integer}",
92
                    "shortName
ShortName

Shortname/code of the manufacturer

":
"{String}",
93
                    "manufacturerLink
ManufacturerLink

Manufacturer reference

":
"{String}"
94
               },
95
               "productClassification": {
96
                    "productClassificationId
ProductClassificationId

Product classification identifier

":
"{String}",
97
                    "productClassificationLink
ProductClassificationLink

Product classification reference

":
"{String}"
98
               },
99
               "productLink
ProductLink

Product reference

":
"{String}"
100
          },
101
          "price": {
102
               "grossPrice
GrossPrice

Production Work Order article price

":
"{Decimal}",
103
               "currency
Currency

Production Work Order article prices currency

":
"{String}"
104
          },
105
          "productStructure": {
106
               "productStructureId
ProductStructureId

Product structure reference

":
"{Integer}",
107
               "productStructureLink
ProductStructureLink

Product structure reference

":
"{String}"
108
          },
109
          "financeProject": {
110
               "financeProjectId
FinanceProjectId

Finance project identifier

":
"{Integer}",
111
               "financeProjectLink
FinanceProjectLink

Finance project reference

":
"{String}",
112
               "salesDeliveryProjectId
SalesDeliveryProjectId

Sales delivery project identifier

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

Name of sales delivery

":
"{String}",
114
               "salesDeliveryProjectLink
SalesDeliveryProjectLink

Sales delivery project reference

":
"{String}"
115
          },
116
          "department": {
117
               "departmentId
DepartmentId

Department identifier

":
"{Integer}",
118
               "departmentLink
DepartmentLink

Finance department reference

":
"{String}"
119
          },
120
          "productionPlanner": {
121
               "employeeId
EmployeeId

Employee identifier

":
"{Integer}",
122
               "lastName
LastName

Last name of employee

":
"{String}",
123
               "firstName
FirstName

First name of employee

":
"{String}",
124
               "employeeLink
EmployeeLink

Employee reference

":
"{String}"
125
          },
126
          "initialWorkOrder
InitialWorkOrder

Initial Production Work Order that current work order originated from

":
{
127
               "productionWorkOrderId
ProductionWorkOrderId

Production work order identifier

":
"{Integer}",
128
               "productionWorkOrderLink
ProductionWorkOrderLink

Production work order reference

":
"{String}"
129
          },
130
          "forwardedFrom
ForwardedFrom

The preceding/previous/source item.

":
{
131
               "forwardedQuantity
ForwardedQuantity

The quantity forwarded to this item.

":
"{Decimal}",
132
               "forwardedFromItem": {
133
                    "itemId
ItemId

Identifier of the object

":
"{Integer}",
134
                    "object": {
135
                         "objectId
ObjectId

Identifier of the object

":
"{Integer}",
136
                         "objectType
ObjectType

Type of object

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

API reference to the object

":
"{String}"
138
                    },
139
                    "itemLink
ItemLink

API reference to the item

":
"{String}"
140
               }
141
          },
142
          "scrap": {
143
               "isScrapped
IsScrapped

True, if element is being scrapped.

":
"{Boolean}",
144
               "reason
Reason

Reason for scrapping

Possible domain values can be found here

":
"{Integer}",
145
               "openForwardedQuantity
OpenForwardedQuantity

When items are forwarded they end up in one or more open items. Open items in this context means items that are not registered (status 0 or 1). OpenForwardedQuantity will be the sum of ForwardedQuantity of all items this item has been forwarded to.

":
"{Decimal}",
146
               "forwardedToItems": [
147
                    {
148
                         "itemId
ItemId

Identifier of the object

":
"{Integer}",
149
                         "object": {
150
                              "objectId
ObjectId

Identifier of the object

":
"{Integer}",
151
                              "objectType
ObjectType

Type of object

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

API reference to the object

":
"{String}"
153
                         },
154
                         "itemLink
ItemLink

API reference to the item

":
"{String}"
155
                    }
156
               ]
157
          },
158
          "manufacturingArea": {
159
               "manufacturingAreaId
ManufacturingAreaId

Manufacturing area identifier

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

Name of manufacturing area

":
"{String}",
161
               "manufacturingAreaLink
ManufacturingAreaLink

Manufacturing area reference

":
"{String}",
162
               "hasCostOverrun
HasCostOverrun

Flag to indicate if product structure's operation has got cost deviation

":
"{Boolean}",
163
               "hasTimeOverrun
HasTimeOverrun

Flag to indicate if product structure's operation has got worklog deviation

":
"{Boolean}"
164
          },
165
          "management": {
166
               "projectLeader
ProjectLeader

Reference to the employee who is a production management project leader.

":
{
167
                    "employeeId
EmployeeId

Employee identifier

":
"{Integer}",
168
                    "lastName
LastName

Last name of employee

":
"{String}",
169
                    "firstName
FirstName

First name of employee

":
"{String}",
170
                    "employeeLink
EmployeeLink

Employee reference

":
"{String}"
171
               },
172
               "documentController
DocumentController

Reference to the employee who is a production management document controller.

":
{
173
                    "employeeId
EmployeeId

Employee identifier

":
"{Integer}",
174
                    "lastName
LastName

Last name of employee

":
"{String}",
175
                    "firstName
FirstName

First name of employee

":
"{String}",
176
                    "employeeLink
EmployeeLink

Employee reference

":
"{String}"
177
               }
178
          }
179
     }
180
}

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 105142 HTTP 404 Project order item was not found
Error 103758 HTTP 400 It is not allowed to reduce quantity when the source document has a reserved quantity
Error 103767 HTTP 400 An item that has a product without assignments can't have a reserved quantity
Error 103243 HTTP 400 Reserved quantity can not be negative.
Error 103682 HTTP 400 The purchase order response item needs to be registered (status higher than 1) before quantity can be reserved.
Error 103849 HTTP 400 Reserved quantity can not exceed remaining quantity.
Error 103244 HTTP 400 Reserved quantity can not exceed available quantity.
Error 106477 HTTP 400 Project order identifier is not defined
Error 106478 HTTP 400 Project order item identifier is not defined
Error 108107 HTTP 400 Linking is allowed only for registered (status 4) and paused (status 5) project order items
Error 108104 HTTP 400 Linking is allowed only for project order items with category 'Expenses'
Error 108106 HTTP 400 Linking is not allowed for project order item which is based on expense log