API

Production APIs

GET production/delivery-snapshots/{productionDeliverySnapshotId}/work-breakdown-structure/{wbsElementId}

Details for provided work breakdown structure (WBS) element

HTTP method GET
URI https://api.rambase.net/production/delivery-snapshots/{productionDeliverySnapshotId}/work-breakdown-structure/{wbsElementId}
Supported formats Xml, Html, Json (ex. $format=json)
- URI parameter {productionDeliverySnapshotId} Production delivery snapshot identifier
Integer, minimum 100000
- URI parameter {wbsElementId} Work breakdown structure element identifier
Integer, minimum 1
Successful HTTP status code 200
API resource identifier 2272, version 9

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.

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
<WBSElement>
2
     <WBSElementId
WBSElementId

Work breakdown structure element identifier

>
{Integer}</WBSElementId>
3
     <CreatedAt
CreatedAt

Date and time of creation

>
{Datetime}</CreatedAt>
4
     <Code
Code

WBS code for the element

>
{String}</Code>
5
     <Name
Name

Name of WBS element

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

Type of WBS element

Possible domain values can be found here

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

Three character code following the ISO 4217 standard

>
{String}</Currency>
8
     <PercentCompleted
PercentCompleted

User defined percent completed

>
{Decimal}</PercentCompleted>
9
     <CalculatedPercentCompleted
CalculatedPercentCompleted

Percent completed calculated by RamBase from completed work order operations.

>
{Decimal}</CalculatedPercentCompleted>
10
     <AdvanceInvoicedAmount
AdvanceInvoicedAmount

Advance invoiced amount of WBS element

>
{Decimal}</AdvanceInvoicedAmount>
11
     <InvoicedAmount
InvoicedAmount

Invoiced amount of WBS element

>
{Decimal}</InvoicedAmount>
12
     <DelayedDays
DelayedDays

Delayed days of WBS element

>
{Integer}</DelayedDays>
13
     <MaterialStatus
MaterialStatus

Status of the materials

Possible domain values can be found here

>
{Integer}</MaterialStatus>
14
     <Planned>
15
          <Hours
Hours

Planned time of WBS element

>
{Decimal}</Hours>
16
          <TotalCost
TotalCost

Planned cost of WBS element

>
{Decimal}</TotalCost>
17
     </Planned>
18
     <Accrued>
19
          <Hours
Hours

Accrued time of WBS element

>
{Decimal}</Hours>
20
          <TotalCost
TotalCost

Accrued cost of WBS element

>
{Decimal}</TotalCost>
21
          <ActiveWorkOrdersCost
ActiveWorkOrdersCost

Production cost: Accrued cost for active work orders, PWO with ST<9.

>
{Decimal}</ActiveWorkOrdersCost>
22
          <FinishedWorkOrdersCost
FinishedWorkOrdersCost

Cost finished productions: Real (accrued) cost for work orders that are forwarded to stock (PWO is forwarded to SSA) but where the SSA is still in stock, the COA item is not forwarded to a CSA that is shipped (ST>3)

>
{Decimal}</FinishedWorkOrdersCost>
23
          <ShippedWorkOrdersCost
ShippedWorkOrdersCost

Shipped cost: Accrued (real) cost for prod SSAs for COA items that are delivered, the CSA has ST>3

>
{Decimal}</ShippedWorkOrdersCost>
24
     </Accrued>
25
     <Deviation
Deviation

Deviations calculated when the work order operation is completed

>
26
          <Hours
Hours

PRS1.TIMEDEVIATION

>
{Decimal}</Hours>
27
          <HoursPercent
HoursPercent

PRS1.TIMEDEVIATIONPCT

>
{Decimal}</HoursPercent>
28
          <TotalCost
TotalCost

PRS1.COSTDEVIATION. Only when finished.

>
{Decimal}</TotalCost>
29
          <TotalCostPercent
TotalCostPercent

PRS1.COSTDEVIATIONPCT

>
{Decimal}</TotalCostPercent>
30
     </Deviation>
31
     <SalesOrderItem
SalesOrderItem

The sales order item of the WBS element. Note that this is a snapshot back in time.

>
32
          <SalesOrderItemId
SalesOrderItemId

Sales order item identifier

>
{Integer}</SalesOrderItemId>
33
          <Status
Status

Status of the sales order item (0-9).

>
{Integer}</Status>
34
          <RequestedDeliveryDate
RequestedDeliveryDate

The delivery date as requested by the customer.

>
{Date}</RequestedDeliveryDate>
35
          <ConfirmedDeliveryDate
ConfirmedDeliveryDate

Confirmed date of delivery. Date of which the customer can expect the arriving goods

>
{Date}</ConfirmedDeliveryDate>
36
          <Totals>
37
               <Currency
Currency

Three character code following the ISO 4217 standard

>
{String}</Currency>
38
               <RemainingAmount
RemainingAmount

Total remaining value of item in document currency. The sum of remaining quantity and open forwarded quantity, multiplied with netprice

>
{Decimal}</RemainingAmount>
39
          </Totals>
40
          <SalesOrder>
41
               <SalesOrderId
SalesOrderId

Sales order identifier

>
{Integer}</SalesOrderId>
42
               <SalesOrderLink
SalesOrderLink

Sales order reference

>
{String}</SalesOrderLink>
43
          </SalesOrder>
44
          <SalesOrderItemLink
SalesOrderItemLink

Reference to the sales order item.

>
{String}</SalesOrderItemLink>
45
     </SalesOrderItem>
46
     <ProductionWorkOrder
ProductionWorkOrder

Production work order for WBS element. Note that this is a snapshot back in time.

>
47
          <ProductionWorkOrderId
ProductionWorkOrderId

Production work order identifier

>
{Integer}</ProductionWorkOrderId>
48
          <Database
Database

Company code/database the object belongs to

>
{String}</Database>
49
          <Status
Status

Status of production work order

>
{Integer}</Status>
50
          <Quantity
Quantity

The quantity that will be (or has been) produced

>
{Decimal}</Quantity>
51
          <HasMaterialShortage
HasMaterialShortage

True if production has supply shortage (negative metarial trend)

>
{Boolean}</HasMaterialShortage>
52
          <ConfirmedCompletionDate
ConfirmedCompletionDate

The confirmed date of completion for the production work order

>
{Date}</ConfirmedCompletionDate>
53
          <ScheduledStartDate
ScheduledStartDate

Scheduled/planned date of production start

>
{Date}</ScheduledStartDate>
54
          <ProductionWorkOrderLink
ProductionWorkOrderLink

Production work order reference

>
{String}</ProductionWorkOrderLink>
55
     </ProductionWorkOrder>
56
     <WorkOrderOperation>
57
          <WorkOrderOperationId
WorkOrderOperationId

Production work order operation identifier

>
{Integer}</WorkOrderOperationId>
58
          <Status
Status

Production work order operation status

Possible domain values can be found here

>
{Integer}</Status>
59
          <WorkOrderOperationLink
WorkOrderOperationLink

Work order operation reference

>
{String}</WorkOrderOperationLink>
60
     </WorkOrderOperation>
61
     <ProductStructureOperation>
62
          <ProductStructureOperationId
ProductStructureOperationId

Product structure operation identifier

>
{Integer}</ProductStructureOperationId>
63
          <SequenceNumber
SequenceNumber

Sequence number of the product structure operation. Unique within a product structure.

>
{Integer}</SequenceNumber>
64
          <ProductStructure>
65
               <ProductStructureId
ProductStructureId

Product structure identifier

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

Product structure reference

>
{String}</ProductStructureLink>
67
          </ProductStructure>
68
          <ProductStructureOperationLink
ProductStructureOperationLink

Product structure operation reference

>
{String}</ProductStructureOperationLink>
69
     </ProductStructureOperation>
70
</WBSElement>
1
{
2
     "wBSElement": {
3
          "wBSElementId
WBSElementId

Work breakdown structure element identifier

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

Date and time of creation

":
"{Datetime}",
5
          "code
Code

WBS code for the element

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

Name of WBS element

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

Type of WBS element

Possible domain values can be found here

":
"{String}",
8
          "currency
Currency

Three character code following the ISO 4217 standard

":
"{String}",
9
          "percentCompleted
PercentCompleted

User defined percent completed

":
"{Decimal}",
10
          "calculatedPercentCompleted
CalculatedPercentCompleted

Percent completed calculated by RamBase from completed work order operations.

":
"{Decimal}",
11
          "advanceInvoicedAmount
AdvanceInvoicedAmount

Advance invoiced amount of WBS element

":
"{Decimal}",
12
          "invoicedAmount
InvoicedAmount

Invoiced amount of WBS element

":
"{Decimal}",
13
          "delayedDays
DelayedDays

Delayed days of WBS element

":
"{Integer}",
14
          "materialStatus
MaterialStatus

Status of the materials

Possible domain values can be found here

":
"{Integer}",
15
          "planned": {
16
               "hours
Hours

Planned time of WBS element

":
"{Decimal}",
17
               "totalCost
TotalCost

Planned cost of WBS element

":
"{Decimal}"
18
          },
19
          "accrued": {
20
               "hours
Hours

Accrued time of WBS element

":
"{Decimal}",
21
               "totalCost
TotalCost

Accrued cost of WBS element

":
"{Decimal}",
22
               "activeWorkOrdersCost
ActiveWorkOrdersCost

Production cost: Accrued cost for active work orders, PWO with ST<9.

":
"{Decimal}",
23
               "finishedWorkOrdersCost
FinishedWorkOrdersCost

Cost finished productions: Real (accrued) cost for work orders that are forwarded to stock (PWO is forwarded to SSA) but where the SSA is still in stock, the COA item is not forwarded to a CSA that is shipped (ST>3)

":
"{Decimal}",
24
               "shippedWorkOrdersCost
ShippedWorkOrdersCost

Shipped cost: Accrued (real) cost for prod SSAs for COA items that are delivered, the CSA has ST>3

":
"{Decimal}"
25
          },
26
          "deviation
Deviation

Deviations calculated when the work order operation is completed

":
{
27
               "hours
Hours

PRS1.TIMEDEVIATION

":
"{Decimal}",
28
               "hoursPercent
HoursPercent

PRS1.TIMEDEVIATIONPCT

":
"{Decimal}",
29
               "totalCost
TotalCost

PRS1.COSTDEVIATION. Only when finished.

":
"{Decimal}",
30
               "totalCostPercent
TotalCostPercent

PRS1.COSTDEVIATIONPCT

":
"{Decimal}"
31
          },
32
          "salesOrderItem
SalesOrderItem

The sales order item of the WBS element. Note that this is a snapshot back in time.

":
{
33
               "salesOrderItemId
SalesOrderItemId

Sales order item identifier

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

Status of the sales order item (0-9).

":
"{Integer}",
35
               "requestedDeliveryDate
RequestedDeliveryDate

The delivery date as requested by the customer.

":
"{Date}",
36
               "confirmedDeliveryDate
ConfirmedDeliveryDate

Confirmed date of delivery. Date of which the customer can expect the arriving goods

":
"{Date}",
37
               "totals": {
38
                    "currency
Currency

Three character code following the ISO 4217 standard

":
"{String}",
39
                    "remainingAmount
RemainingAmount

Total remaining value of item in document currency. The sum of remaining quantity and open forwarded quantity, multiplied with netprice

":
"{Decimal}"
40
               },
41
               "salesOrder": {
42
                    "salesOrderId
SalesOrderId

Sales order identifier

":
"{Integer}",
43
                    "salesOrderLink
SalesOrderLink

Sales order reference

":
"{String}"
44
               },
45
               "salesOrderItemLink
SalesOrderItemLink

Reference to the sales order item.

":
"{String}"
46
          },
47
          "productionWorkOrder
ProductionWorkOrder

Production work order for WBS element. Note that this is a snapshot back in time.

":
{
48
               "productionWorkOrderId
ProductionWorkOrderId

Production work order identifier

":
"{Integer}",
49
               "database
Database

Company code/database the object belongs to

":
"{String}",
50
               "status
Status

Status of production work order

":
"{Integer}",
51
               "quantity
Quantity

The quantity that will be (or has been) produced

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

True if production has supply shortage (negative metarial trend)

":
"{Boolean}",
53
               "confirmedCompletionDate
ConfirmedCompletionDate

The confirmed date of completion for the production work order

":
"{Date}",
54
               "scheduledStartDate
ScheduledStartDate

Scheduled/planned date of production start

":
"{Date}",
55
               "productionWorkOrderLink
ProductionWorkOrderLink

Production work order reference

":
"{String}"
56
          },
57
          "workOrderOperation": {
58
               "workOrderOperationId
WorkOrderOperationId

Production work order operation identifier

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

Production work order operation status

Possible domain values can be found here

":
"{Integer}",
60
               "workOrderOperationLink
WorkOrderOperationLink

Work order operation reference

":
"{String}"
61
          },
62
          "productStructureOperation": {
63
               "productStructureOperationId
ProductStructureOperationId

Product structure operation identifier

":
"{Integer}",
64
               "sequenceNumber
SequenceNumber

Sequence number of the product structure operation. Unique within a product structure.

":
"{Integer}",
65
               "productStructure": {
66
                    "productStructureId
ProductStructureId

Product structure identifier

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

Product structure reference

":
"{String}"
68
               },
69
               "productStructureOperationLink
ProductStructureOperationLink

Product structure operation reference

":
"{String}"
70
          }
71
     }
72
}

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 102123 HTTP 404 Production delivery snapshot not found
Error 102124 HTTP 404 WBS element not found