Production APIs
List of production work orders
HTTP method | GET |
URI | https://api.rambase.net/production/work-orders |
Supported formats | Xml, Html, Json (ex. $format=json) |
Maximum page size ($top) | 80 |
Custom fields | Custom fields supported |
Successful HTTP status code | 200 |
API resource identifier | 622, version 70 |
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.
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 |
$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. |
$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. |
$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. |
$format String, optional | Set the format of the response to use for the request. Accepted values are "xml", "html", "jsonstream", "json" |
$showCustomFields Boolean, optional | Set to "true" to include custom fields. Default value is false. |
$top String, optional | Specifies number of rows to return in each page. Maximum limit is specific for each API resource. Default value is 10. |
$pageKey String, optional | Use to navigate to first, previous, next or last page in list. Add $expand=PagingDetails to add the different keys to the response. |
$filter String, optional | Use to filter the result list, see the Filtering and sorting page for more information. |
$orderby String, optional | Use to order the result list, see the Filtering and sorting page for more information. |
$inlinecount String, optional | Set to "allpages" to include total number of rows in the response. Possible values are: "allpages", "none" |
Read more about filters and sorting on how to use filter parameters and named filters.
Active() Named filter | Registered- and not processed production work orders (status not 1 and not 9) |
InProduction() Named filter | Production work orders which are in production |
InScrappingProcess() Named filter | Production work orders which are in scrapping process |
Processed() Named filter | Production work orders which are processed |
ProductionCompleted() Named filter | Production work orders which are completed |
WaitGoodsReception() Named filter | Production work orders which are pending goods reception |
WaitProductionStart() Named filter | Production work orders which are pending scheduled production start |
WaitPurchaseOrProd() Named filter | Production work orders which are pending purchase or production |
WaitRegistration() Named filter | Production work orders which are pending registrationn |
ConfirmedCompletionDate Date | The confirmed date of completion for the production work order. Available macros: today(), yesterday(), currentMonth(), currentYear(), startOfMonth(), endOfMonth(), startOfYear(), endOfYear(), startOfWeek(), endOfWeek(), previousYear(), previousMonth() |
CreatedAt Datetime | Date and time of creation. Available macros: now(), startOfDay(), endOfDay(), currentDate(), currentMonth(), currentYear(), startOfMonth(), endOfMonth(), startOfYear(), endOfYear(), startOfWeek(), endOfWeek(), previousYear(), previousMonth() |
CustomerId Integer | Customer identifier. |
CustomersReferenceNumber String | 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. |
CustomField1 String | Custom field for grouping, sorting, categorizing and other purposes. |
CustomField2 String | Custom field for grouping, sorting, categorizing and other purposes. |
FinanceProjectId Integer | Finance project identifier. |
ForwardedFromObjectId Docref-noitm | Identifier of the object. |
ForwardedFromObjectType String | Type of object. |
HasPriority Boolean | Production Work Order priority. |
InitialWorkOrderId Docref-noitm | Production work order identifier. |
IsOnHold Boolean | Flag to indicate if production work order is on hold. |
LocationShortName String | Unique abbreviation/short name of the location. |
ManufacturingAreaId Integer | Manufacturing area identifier. |
ManufacturingAreaName String | Name of manufacturing area. |
PlannerId Integer | Employee identifier. Available macros: currentUser() |
PlanningCategory String | Planning category. |
ProductClassificationId String | Product classification identifier. |
ProductDescription String | Description of the item. If not specified, the description is by default copied from the product. |
ProductId Integer | Product identifier. |
ProductionForObjectId Integer | Identifier of the order document. |
ProductionForObjectType Docref-dbarch | Identifier of the order document. |
ProductionWorkOrderId Integer | Production work order identifier. |
ProductName String | Name of the product. |
Quantity Decimal | The quantity that will be (or has been) produced. |
RemainingQuantity Decimal | Remaining number of units to produce. |
RequestedCompletionDate Date | The requested date of completion for the production work order. Available macros: today(), yesterday(), currentMonth(), currentYear(), startOfMonth(), endOfMonth(), startOfYear(), endOfYear(), startOfWeek(), endOfWeek(), previousYear(), previousMonth() |
ScheduledCompletionDate Date | Scheduled/planned date of production completion. Available macros: today(), yesterday(), currentMonth(), currentYear(), startOfMonth(), endOfMonth(), startOfYear(), endOfYear(), startOfWeek(), endOfWeek(), previousYear(), previousMonth() |
ScheduledStartDate Date | Scheduled/planned date of production start. Available macros: today(), yesterday(), currentMonth(), currentYear(), startOfMonth(), endOfMonth(), startOfYear(), endOfYear(), startOfWeek(), endOfWeek(), previousYear(), previousMonth() |
ScrapReason Integer | Reason for scrapping. |
Status Integer | Status of production work order. |
Type String | Type of production work order. |
UpdatedAt Datetime | Date and time of update. Available macros: now(), startOfDay(), endOfDay(), currentDate(), currentMonth(), currentYear(), startOfMonth(), endOfMonth(), startOfYear(), endOfYear(), startOfWeek(), endOfWeek(), previousYear(), previousMonth() |
Read more about filters and sorting on how to use sortable parameters
ConfirmedCompletionDate Date | The confirmed date of completion for the production work order |
CreatedAt Datetime | Date and time of creation |
CustomerId Integer | Customer identifier |
CustomersReferenceNumber String | 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. |
CustomField1 String | Custom field for grouping, sorting, categorizing and other purposes. |
CustomField2 String | Custom field for grouping, sorting, categorizing and other purposes. |
FinanceProjectId Integer | Finance project identifier |
ForwardedFromObjectId Docref-noitm | Identifier of the object |
ForwardedFromObjectType String | Type of object |
HasPriority Boolean | Production Work Order priority |
InitialWorkOrderId Docref-noitm | Production work order identifier |
IsOnHold Boolean | Flag to indicate if production work order is on hold |
LocationShortName String | Unique abbreviation/short name of the location |
ManufacturingAreaId Integer | Manufacturing area identifier |
ManufacturingAreaName String | Name of manufacturing area |
PlannerId Integer | Employee identifier |
PlanningCategory String | Planning category |
ProductClassificationId String | Product classification identifier |
ProductDescription String | Description of the item. If not specified, the description is by default copied from the product. |
ProductId Integer | Product identifier |
ProductionForObjectId Integer | Identifier of the order document |
ProductionForObjectType Docref-dbarch | Identifier of the order document |
ProductionWorkOrderId Integer | Production work order identifier |
ProductName String | Name of the product |
Quantity Decimal | The quantity that will be (or has been) produced |
RemainingQuantity Decimal | Remaining number of units to produce |
RequestedCompletionDate Date | The requested date of completion for the production work order. |
ScheduledCompletionDate Date | Scheduled/planned date of production completion |
ScheduledStartDate Date | Scheduled/planned date of production start |
ScrapReason Integer | Reason for scrapping |
Status Integer | Status of production work order |
Type String | Type of production work order |
UpdatedAt Datetime | Date and time of update |
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.
ProductionWorkOrderId
Production work order identifier
>{Integer}</ProductionWorkOrderId>Status
Status of production work order
Possible domain values can be found here
>{Integer}</Status>CreatedAt
Date and time of creation
>{Datetime}</CreatedAt>UpdatedAt
Date and time of update
>{Datetime}</UpdatedAt>RequestedCompletionDate
The requested date of completion for the production work order.
>{Date}</RequestedCompletionDate>ConfirmedCompletionDate
The confirmed date of completion for the production work order
>{Date}</ConfirmedCompletionDate>IsConfirmedCompletionDateLocked
If true, confirmed delivery date is locked.
>{Boolean}</IsConfirmedCompletionDateLocked>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>IsBlockedForProduction
Is Production Work Order blocked for production
>{Boolean}</IsBlockedForProduction>IsManufacturedInBatches
Is Production Work Order is batch type production
>{Boolean}</IsManufacturedInBatches>AvailableQuantityInPercent
Remaining production available percent
>{Decimal}</AvailableQuantityInPercent>MaterialDelayedDays
Number of days that material for the PWO is delayed.
>{Integer}</MaterialDelayedDays>ProductRevision
Product revision used for this production work order
>{String}</ProductRevision>Quantity
The quantity that will be (or has been) produced
>{Decimal}</Quantity>ScheduledStartDate
Scheduled/planned date of production start
>{Date}</ScheduledStartDate>ScheduledCompletionDate
Scheduled/planned date of production completion
>{Date}</ScheduledCompletionDate>RemainingQuantity
Remaining number of units to produce
>{Decimal}</RemainingQuantity>HasMaterialShortage
True if production has supply shortage (negative metarial trend)
>{Boolean}</HasMaterialShortage>IsBlockedForPurchase
True if materials in this production work order should not be purchased
>{Boolean}</IsBlockedForPurchase>HasPriority
Production Work Order priority
>{Boolean}</HasPriority>LatestStartAt
Latest possibile date of starting production
>{Datetime}</LatestStartAt>HasProcessRunning
Is Production Work Order is beeing currenlty processed by internal process
>{Boolean}</HasProcessRunning>NeedsMaterialReplacementToRelease
Has replace before production material
>{Boolean}</NeedsMaterialReplacementToRelease>HasStandardStructure
Production Work Order has customers structure
>{Boolean}</HasStandardStructure>ManufacturedProductName
Name of production work order item
>{String}</ManufacturedProductName>PlanningCategory
Planning category
Possible domain values can be found here
>{String}</PlanningCategory>IsOnHold
Flag to indicate if production work order is on hold
>{Boolean}</IsOnHold>Reason
Reason of putting production work order on hold
>{String}</Reason>OnHoldAt
Date of putting production work order on hold
>{Datetime}</OnHoldAt>OnHoldTo
Date and time production work order should be on hold to
>{Datetime}</OnHoldTo>Category
A category of production work order on hold reason
Possible domain values can be found here
>{Integer}</Category>CausedBy
A side responsible for causing production work order on hold
Possible domain values can be found here
>{String}</CausedBy>Database
Database of the object
>{String}</Database>ItemId
Item-number of the object
>{Integer}</ItemId>ItemType
Type of item
>{String}</ItemType>ObjectId
Identifier of the object
>{Integer}</ObjectId>ObjectType
Type of object
>{String}</ObjectType>CustomerId
Customer identifier
>{Integer}</CustomerId>Name
Name of customer (name of company or surname/familyname/lastname of a person)
>{String}</Name>CustomerLink
Customer reference
>{String}</CustomerLink>ObjectLink
API reference to the object
>{String}</ObjectLink>RamBaseKey
Internal RamBase identifier of the object/item
>{String}</RamBaseKey>ItemLink
API reference to the item
>{String}</ItemLink>Location
The location of the production.
>ShortName
Unique abbreviation/short name of the location
>{String}</ShortName>ProductId
Product identifier
>{Integer}</ProductId>Name
Name of the product
>{String}</Name>Description
Description of the item. If not specified, the description is by default copied from the product.
>{String}</Description>CustomField1
Custom field for grouping, sorting, categorizing and other purposes.
>{String}</CustomField1>CustomField2
Custom field for grouping, sorting, categorizing and other purposes.
>{String}</CustomField2>ProductClassificationId
Product classification identifier
>{String}</ProductClassificationId>ProductClassificationLink
Product classification reference
>{String}</ProductClassificationLink>ProductLink
Product reference
>{String}</ProductLink>ProductStructureId
Product structure reference
>{Integer}</ProductStructureId>ProductStructureLink
Product structure reference
>{String}</ProductStructureLink>FinanceProjectId
Finance project identifier
>{Integer}</FinanceProjectId>FinanceProjectLink
Finance project reference
>{String}</FinanceProjectLink>EmployeeId
Employee identifier
>{Integer}</EmployeeId>LastName
Last name of employee
>{String}</LastName>FirstName
First name of employee
>{String}</FirstName>EmployeeLink
Employee reference
>{String}</EmployeeLink>ForwardedFrom
The preceding/previous/source item.
>ItemId
Identifier of the object
>{Integer}</ItemId>ObjectId
Identifier of the object
>{Integer}</ObjectId>ObjectType
Type of object
>{String}</ObjectType>ObjectLink
API reference to the object
>{String}</ObjectLink>ItemLink
API reference to the item
>{String}</ItemLink>IsScrapped
True, if element is being scrapped.
>{Boolean}</IsScrapped>ManufacturingAreaId
Manufacturing area identifier
>{Integer}</ManufacturingAreaId>Name
Name of manufacturing area
>{String}</Name>ManufacturingAreaLink
Manufacturing area reference
>{String}</ManufacturingAreaLink>Paging
Detailed paging information for this list.
>PageSize
Number of elements in the list, as defined in $top. Default is 10.
>{Integer}</PageSize>Position
Position of the first element in the list
>{Integer}</Position>Page
Page index
>{Integer}</Page>FirstPage
Link to the first page in the list. $pageKey is set to FirstPageKey.
>{String}</FirstPage>PreviousPage
Link to the previous page in the list. $pageKey is set to PreviousPageKey.
>{String}</PreviousPage>NextPage
Link to the next page in the list. $pageKey is set to NextPageKey.
>{String}</NextPage>LastPage
Link to the last page in the list. $pageKey is set to LastPageKey.
>{String}</LastPage>Size
Total number of records in the list. Use $inlinecount=allpages in the request uri to include this
>{Integer}</Size>ProductionWorkOrderId
Production work order identifier
": "{Integer}",Status
Status of production work order
Possible domain values can be found here
": "{Integer}",Type
Type of production work order
Possible domain values can be found here
": "{String}",CreatedAt
Date and time of creation
": "{Datetime}",UpdatedAt
Date and time of update
": "{Datetime}",RequestedCompletionDate
The requested date of completion for the production work order.
": "{Date}",ConfirmedCompletionDate
The confirmed date of completion for the production work order
": "{Date}",IsConfirmedCompletionDateLocked
If true, confirmed delivery date is locked.
": "{Boolean}",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}",IsBlockedForProduction
Is Production Work Order blocked for production
": "{Boolean}",IsManufacturedInBatches
Is Production Work Order is batch type production
": "{Boolean}",AvailableQuantityInPercent
Remaining production available percent
": "{Decimal}",MaterialDelayedDays
Number of days that material for the PWO is delayed.
": "{Integer}",ProductRevision
Product revision used for this production work order
": "{String}",Quantity
The quantity that will be (or has been) produced
": "{Decimal}",ScheduledStartDate
Scheduled/planned date of production start
": "{Date}",ScheduledCompletionDate
Scheduled/planned date of production completion
": "{Date}",RemainingQuantity
Remaining number of units to produce
": "{Decimal}",HasMaterialShortage
True if production has supply shortage (negative metarial trend)
": "{Boolean}",IsBlockedForPurchase
True if materials in this production work order should not be purchased
": "{Boolean}",HasPriority
Production Work Order priority
": "{Boolean}",LatestStartAt
Latest possibile date of starting production
": "{Datetime}",HasProcessRunning
Is Production Work Order is beeing currenlty processed by internal process
": "{Boolean}",NeedsMaterialReplacementToRelease
Has replace before production material
": "{Boolean}",HasStandardStructure
Production Work Order has customers structure
": "{Boolean}",ManufacturedProductName
Name of production work order item
": "{String}",PlanningCategory
Planning category
Possible domain values can be found here
": "{String}",IsOnHold
Flag to indicate if production work order is on hold
": "{Boolean}",Reason
Reason of putting production work order on hold
": "{String}",OnHoldAt
Date of putting production work order on hold
": "{Datetime}",OnHoldTo
Date and time production work order should be on hold to
": "{Datetime}",Category
A category of production work order on hold reason
Possible domain values can be found here
": "{Integer}",CausedBy
A side responsible for causing production work order on hold
Possible domain values can be found here
": "{String}",Database
Database of the object
": "{String}",ItemId
Item-number of the object
": "{Integer}",ItemType
Type of item
": "{String}",ObjectId
Identifier of the object
": "{Integer}",ObjectType
Type of object
": "{String}",CustomerId
Customer identifier
": "{Integer}",Name
Name of customer (name of company or surname/familyname/lastname of a person)
": "{String}",CustomerLink
Customer reference
": "{String}"ObjectLink
API reference to the object
": "{String}"RamBaseKey
Internal RamBase identifier of the object/item
": "{String}",ItemLink
API reference to the item
": "{String}"Location
The location of the production.
": {ShortName
Unique abbreviation/short name of the location
": "{String}"ProductId
Product identifier
": "{Integer}",Name
Name of the product
": "{String}",Description
Description of the item. If not specified, the description is by default copied from the product.
": "{String}",Type
Type of product
Possible domain values can be found here
": "{String}",CustomField1
Custom field for grouping, sorting, categorizing and other purposes.
": "{String}",CustomField2
Custom field for grouping, sorting, categorizing and other purposes.
": "{String}",ProductClassificationId
Product classification identifier
": "{String}",ProductClassificationLink
Product classification reference
": "{String}"ProductLink
Product reference
": "{String}"ProductStructureId
Product structure reference
": "{Integer}",ProductStructureLink
Product structure reference
": "{String}"FinanceProjectId
Finance project identifier
": "{Integer}",FinanceProjectLink
Finance project reference
": "{String}"EmployeeId
Employee identifier
": "{Integer}",LastName
Last name of employee
": "{String}",FirstName
First name of employee
": "{String}",EmployeeLink
Employee reference
": "{String}"ForwardedFrom
The preceding/previous/source item.
": {ItemId
Identifier of the object
": "{Integer}",ObjectId
Identifier of the object
": "{Integer}",ObjectType
Type of object
": "{String}",ObjectLink
API reference to the object
": "{String}"ItemLink
API reference to the item
": "{String}"IsScrapped
True, if element is being scrapped.
": "{Boolean}",Reason
Reason for scrapping
Possible domain values can be found here
": "{Integer}"ManufacturingAreaId
Manufacturing area identifier
": "{Integer}",Name
Name of manufacturing area
": "{String}",ManufacturingAreaLink
Manufacturing area reference
": "{String}"Paging
Detailed paging information for this list.
": {PageSize
Number of elements in the list, as defined in $top. Default is 10.
": "{Integer}",Position
Position of the first element in the list
": "{Integer}",Page
Page index
": "{Integer}",FirstPage
Link to the first page in the list. $pageKey is set to FirstPageKey.
": "{String}",PreviousPage
Link to the previous page in the list. $pageKey is set to PreviousPageKey.
": "{String}",NextPage
Link to the next page in the list. $pageKey is set to NextPageKey.
": "{String}",LastPage
Link to the last page in the list. $pageKey is set to LastPageKey.
": "{String}",Size
Total number of records in the list. Use $inlinecount=allpages in the request uri to include this
": "{Integer}"
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 101746 HTTP 404 | Product structure not found. Id: {0} |
Error 100055 HTTP 403 | You have only admittance to your own objects |