API

Production APIs

GET production/delivery-snapshots/{productionDeliverySnapshotId}

Production delivery snapshots details for provided identifier

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

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.

$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
<ProductionDeliverySnapshot>
2
     <ProductionDeliverySnapshotId
ProductionDeliverySnapshotId

Production delivery snapshot identifier

>
{Integer}</ProductionDeliverySnapshotId>
3
     <Date
Date

Date of production delivery snapshot

>
{Date}</Date>
4
     <Milestone
Milestone

User defined milestone for production delivery snapshot

>
{String}</Milestone>
5
     <Note
Note

Note for the production delivery snapshot

>
{String}</Note>
6
     <PercentCompleted
PercentCompleted

User defined percent completed of the project

>
{Decimal}</PercentCompleted>
7
     <IsLastDayOfAccountingPeriod
IsLastDayOfAccountingPeriod

This date is last day of a accounting period.

>
{Boolean}</IsLastDayOfAccountingPeriod>
8
     <ProductionTotals>
9
          <Currency
Currency

Three character code following the ISO 4217 standard

>
{String}</Currency>
10
          <SalesBacklog
SalesBacklog

Total sales backlog of the delivery project

>
{Decimal}</SalesBacklog>
11
          <AccruedIncome
AccruedIncome

Salesbacklog multiplied with percent completed. If percent completed is not specified for the production delivery snapshot, the accrued income is aggregated from each of the work breakdown structure elements. The accrued income will be the same as invoiced amount by the end of the delivery project.

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

Total invoiced amount of the delivery project

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

Total advance invoice amount for the delivery project

>
{Decimal}</AdvanceInvoicedAmount>
14
          <SalesValue
SalesValue

Totals.SalesBacklog + Totals.InvoicedAmount

>
{Decimal}</SalesValue>
15
          <Planned>
16
               <Hours
Hours

Total accrued hours for the delivery project

>
{Decimal}</Hours>
17
               <MaterialCost
MaterialCost

SUMPLANNEDMATERIALCOST

>
{Decimal}</MaterialCost>
18
               <FixedAdditionalCost
FixedAdditionalCost

SUMPLANNEDADDEDFIXEDCOST

>
{Decimal}</FixedAdditionalCost>
19
               <VariableAdditionalCost
VariableAdditionalCost

SUMPLANNEDADDEDVARCOST

>
{Decimal}</VariableAdditionalCost>
20
               <FixedOperationCost
FixedOperationCost

SUMPLANNEDOPERATIONFIXEDCOST

>
{Decimal}</FixedOperationCost>
21
               <VariableOperationCost
VariableOperationCost

SUMPLANNEDOPERATIONVARCOST

>
{Decimal}</VariableOperationCost>
22
               <TotalCost
TotalCost

Total planned cost of the delivery project

>
{Decimal}</TotalCost>
23
          </Planned>
24
          <Accrued>
25
               <Hours
Hours

Total accrued hours for the delivery project

>
{Decimal}</Hours>
26
               <MaterialCost
MaterialCost

SUMACCRUEDMATERIALCOST

>
{Decimal}</MaterialCost>
27
               <FixedAdditionalCost
FixedAdditionalCost

SUMACCRUEDADDEDFIXEDCOST

>
{Decimal}</FixedAdditionalCost>
28
               <VariableAdditionalCost
VariableAdditionalCost

SUMACCRUEDADDEDVARCOST

>
{Decimal}</VariableAdditionalCost>
29
               <FixedOperationCost
FixedOperationCost

SUMACCRUEDOPERATIONFIXEDCOST

>
{Decimal}</FixedOperationCost>
30
               <VariableOperationCost
VariableOperationCost

SUMACCRUEDOPERATIONVARCOST

>
{Decimal}</VariableOperationCost>
31
               <TotalCost
TotalCost

Total accrued cost of the delivery project

>
{Decimal}</TotalCost>
32
          </Accrued>
33
     </ProductionTotals>
34
     <FinanceProjectTotals>
35
          <CostOfGoods
CostOfGoods

Field from finance linked to PRO by PRO.PRJNO.

'Other cost of goods' for a delivery project are 'material' costs that are not already included based on accumulated values for material/parts that are linked to the included COA items or via work orders (PWOs) that are linked to the COA items and connected sub PWOs. So other cost of goods must exclude the general ledger (GL) accounts that are connected to inventory flow.

>
{Decimal}</CostOfGoods>
36
          <SalaryCost
SalaryCost

Field from finance linked to PRO by PRO.PRJNO.

Project wages is project labour cost that is not already added via the logged work at the included work orders (PWOs), example: Engineering cost.
To be connected to PRS by a dedicated ACG.

>
{Decimal}</SalaryCost>
37
          <OtherCost
OtherCost

Field from finance linked to PRO by PRO.PRJNO.

>
{Decimal}</OtherCost>
38
          <Income
Income

Field from finance linked to PRO by PRO.PRJNO.

User must exclude the GL accounts that are used for invoices that are created based on the customer orders (COAs) that are linked to the PRO.

>
{Decimal}</Income>
39
          <StockValue
StockValue

Inventory value for a delivery project is sum of all inventory on the related finance project. Use SVR with filter on the given project to find the correct value.

>
{Decimal}</StockValue>
40
     </FinanceProjectTotals>
41
     <Totals>
42
          <Income
Income

InvoicedAmount + OtherIncome

>
{Decimal}</Income>
43
          <Cost
Cost

Accrued.ToyalCost + OtherCostOfGoods + Wages + OtherExpences

>
{Decimal}</Cost>
44
          <Profit
Profit

TotalIncome - TotalCost

>
{Decimal}</Profit>
45
     </Totals>
46
     <DeliveryProject>
47
          <DeliveryProjectId
DeliveryProjectId

Sales delivery project identifier

>
{Integer}</DeliveryProjectId>
48
          <Name
Name

Name of sales delivery

>
{String}</Name>
49
          <DeliveryProjectLink
DeliveryProjectLink

Sales delivery project reference

>
{String}</DeliveryProjectLink>
50
     </DeliveryProject>
51
</ProductionDeliverySnapshot>
1
{
2
     "productionDeliverySnapshot": {
3
          "productionDeliverySnapshotId
ProductionDeliverySnapshotId

Production delivery snapshot identifier

":
"{Integer}",
4
          "date
Date

Date of production delivery snapshot

":
"{Date}",
5
          "milestone
Milestone

User defined milestone for production delivery snapshot

":
"{String}",
6
          "note
Note

Note for the production delivery snapshot

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

User defined percent completed of the project

":
"{Decimal}",
8
          "isLastDayOfAccountingPeriod
IsLastDayOfAccountingPeriod

This date is last day of a accounting period.

":
"{Boolean}",
9
          "productionTotals": {
10
               "currency
Currency

Three character code following the ISO 4217 standard

":
"{String}",
11
               "salesBacklog
SalesBacklog

Total sales backlog of the delivery project

":
"{Decimal}",
12
               "accruedIncome
AccruedIncome

Salesbacklog multiplied with percent completed. If percent completed is not specified for the production delivery snapshot, the accrued income is aggregated from each of the work breakdown structure elements. The accrued income will be the same as invoiced amount by the end of the delivery project.

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

Total invoiced amount of the delivery project

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

Total advance invoice amount for the delivery project

":
"{Decimal}",
15
               "salesValue
SalesValue

Totals.SalesBacklog + Totals.InvoicedAmount

":
"{Decimal}",
16
               "planned": {
17
                    "hours
Hours

Total accrued hours for the delivery project

":
"{Decimal}",
18
                    "materialCost
MaterialCost

SUMPLANNEDMATERIALCOST

":
"{Decimal}",
19
                    "fixedAdditionalCost
FixedAdditionalCost

SUMPLANNEDADDEDFIXEDCOST

":
"{Decimal}",
20
                    "variableAdditionalCost
VariableAdditionalCost

SUMPLANNEDADDEDVARCOST

":
"{Decimal}",
21
                    "fixedOperationCost
FixedOperationCost

SUMPLANNEDOPERATIONFIXEDCOST

":
"{Decimal}",
22
                    "variableOperationCost
VariableOperationCost

SUMPLANNEDOPERATIONVARCOST

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

Total planned cost of the delivery project

":
"{Decimal}"
24
               },
25
               "accrued": {
26
                    "hours
Hours

Total accrued hours for the delivery project

":
"{Decimal}",
27
                    "materialCost
MaterialCost

SUMACCRUEDMATERIALCOST

":
"{Decimal}",
28
                    "fixedAdditionalCost
FixedAdditionalCost

SUMACCRUEDADDEDFIXEDCOST

":
"{Decimal}",
29
                    "variableAdditionalCost
VariableAdditionalCost

SUMACCRUEDADDEDVARCOST

":
"{Decimal}",
30
                    "fixedOperationCost
FixedOperationCost

SUMACCRUEDOPERATIONFIXEDCOST

":
"{Decimal}",
31
                    "variableOperationCost
VariableOperationCost

SUMACCRUEDOPERATIONVARCOST

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

Total accrued cost of the delivery project

":
"{Decimal}"
33
               }
34
          },
35
          "financeProjectTotals": {
36
               "costOfGoods
CostOfGoods

Field from finance linked to PRO by PRO.PRJNO.

'Other cost of goods' for a delivery project are 'material' costs that are not already included based on accumulated values for material/parts that are linked to the included COA items or via work orders (PWOs) that are linked to the COA items and connected sub PWOs. So other cost of goods must exclude the general ledger (GL) accounts that are connected to inventory flow.

":
"{Decimal}",
37
               "salaryCost
SalaryCost

Field from finance linked to PRO by PRO.PRJNO.

Project wages is project labour cost that is not already added via the logged work at the included work orders (PWOs), example: Engineering cost.
To be connected to PRS by a dedicated ACG.

":
"{Decimal}",
38
               "otherCost
OtherCost

Field from finance linked to PRO by PRO.PRJNO.

":
"{Decimal}",
39
               "income
Income

Field from finance linked to PRO by PRO.PRJNO.

User must exclude the GL accounts that are used for invoices that are created based on the customer orders (COAs) that are linked to the PRO.

":
"{Decimal}",
40
               "stockValue
StockValue

Inventory value for a delivery project is sum of all inventory on the related finance project. Use SVR with filter on the given project to find the correct value.

":
"{Decimal}"
41
          },
42
          "totals": {
43
               "income
Income

InvoicedAmount + OtherIncome

":
"{Decimal}",
44
               "cost
Cost

Accrued.ToyalCost + OtherCostOfGoods + Wages + OtherExpences

":
"{Decimal}",
45
               "profit
Profit

TotalIncome - TotalCost

":
"{Decimal}"
46
          },
47
          "deliveryProject": {
48
               "deliveryProjectId
DeliveryProjectId

Sales delivery project identifier

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

Name of sales delivery

":
"{String}",
50
               "deliveryProjectLink
DeliveryProjectLink

Sales delivery project reference

":
"{String}"
51
          }
52
     }
53
}

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 102738 HTTP 404 Price list not found
Error 100055 HTTP 403 You have only admittance to your own objects