API

Sales APIs

GET sales/delivery-projects/{salesDeliveryProjectId}/production-delivery-snapshots

List of production delivery snapshots related to specific sales delivery project

HTTP method GET
URI https://api.rambase.net/sales/delivery-projects/{salesDeliveryProjectId}/production-delivery-snapshots
Supported formats Xml, Html, Json (ex. $format=json)
- URI parameter {salesDeliveryProjectId} Sales delivery project identifier
Integer, minimum 100000
Maximum page size ($top) 80
Successful HTTP status code 200
API resource identifier 2266, version 18

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

Date Date Date of production delivery snapshot. Available macros: today(), yesterday(), currentMonth(), currentYear(), startOfMonth(), endOfMonth(), startOfYear(), endOfYear(), startOfWeek(), endOfWeek(), previousYear(), previousMonth()
IsLastDayOfAccountingPeriod Boolean This date is last day of a accounting period.
Milestone String User defined milestone for production delivery snapshot.
Note String Note for the production delivery snapshot.
ProductionDeliverySnapshotId Integer Production delivery snapshot identifier.
TotalAccruedCost Decimal Total accrued cost of the delivery project.
TotalAccruedHours Decimal Total accrued hours for the delivery project.
TotalAccruedIncome Decimal 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.
TotalAdvanceInvoicedAmount Decimal Total advance invoice amount for the delivery project.
TotalInvoicedAmount Decimal Total invoiced amount of the delivery project.
TotalPlannedCost Decimal Total planned cost of the delivery project.
TotalPlannedHours Decimal Total accrued hours for the delivery project.
TotalSalesBacklog Decimal Total sales backlog of the delivery project.

Read more about filters and sorting on how to use sortable parameters

Date Date Date of production delivery snapshot
IsLastDayOfAccountingPeriod Boolean This date is last day of a accounting period.
Milestone String User defined milestone for production delivery snapshot
Note String Note for the production delivery snapshot
ProductionDeliverySnapshotId Integer Production delivery snapshot identifier
TotalAccruedCost Decimal Total accrued cost of the delivery project
TotalAccruedHours Decimal Total accrued hours for the delivery project
TotalAccruedIncome Decimal 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.
TotalAdvanceInvoicedAmount Decimal Total advance invoice amount for the delivery project
TotalInvoicedAmount Decimal Total invoiced amount of the delivery project
TotalPlannedCost Decimal Total planned cost of the delivery project
TotalPlannedHours Decimal Total accrued hours for the delivery project
TotalSalesBacklog Decimal Total sales backlog of the delivery project

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
<ProductionDeliverySnapshots>
2
     <ProductionDeliverySnapshot>
3
          <ProductionDeliverySnapshotId
ProductionDeliverySnapshotId

Production delivery snapshot identifier

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

Date of production delivery snapshot

>
{Date}</Date>
5
          <Milestone
Milestone

User defined milestone for production delivery snapshot

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

Note for the production delivery snapshot

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

User defined percent completed of the project

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

This date is last day of a accounting period.

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

Three character code following the ISO 4217 standard

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

Total sales backlog of the delivery project

>
{Decimal}</SalesBacklog>
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}</AccruedIncome>
13
               <InvoicedAmount
InvoicedAmount

Total invoiced amount of the delivery project

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

Total advance invoice amount for the delivery project

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

Totals.SalesBacklog + Totals.InvoicedAmount

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

Total accrued hours for the delivery project

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

SUMPLANNEDMATERIALCOST

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

SUMPLANNEDADDEDFIXEDCOST

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

SUMPLANNEDADDEDVARCOST

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

SUMPLANNEDOPERATIONFIXEDCOST

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

SUMPLANNEDOPERATIONVARCOST

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

Total planned cost of the delivery project

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

Total accrued hours for the delivery project

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

SUMACCRUEDMATERIALCOST

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

SUMACCRUEDADDEDFIXEDCOST

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

SUMACCRUEDADDEDVARCOST

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

SUMACCRUEDOPERATIONFIXEDCOST

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

SUMACCRUEDOPERATIONVARCOST

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

Total accrued cost of the delivery project

>
{Decimal}</TotalCost>
33
               </Accrued>
34
          </ProductionTotals>
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}</CostOfGoods>
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}</SalaryCost>
38
               <OtherCost
OtherCost

Field from finance linked to PRO by PRO.PRJNO.

>
{Decimal}</OtherCost>
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}</Income>
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}</StockValue>
41
          </FinanceProjectTotals>
42
          <Totals>
43
               <Income
Income

InvoicedAmount + OtherIncome

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

Accrued.ToyalCost + OtherCostOfGoods + Wages + OtherExpences

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

TotalIncome - TotalCost

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

Sales delivery project identifier

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

Name of sales delivery

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

Sales delivery project reference

>
{String}</DeliveryProjectLink>
51
          </DeliveryProject>
52
          <ProductionDeliverySnapshotLink
ProductionDeliverySnapshotLink

Production delivery snapshot reference

>
{String}</ProductionDeliverySnapshotLink>
53
     </ProductionDeliverySnapshot>
54
     <Paging
Paging

Detailed paging information for this list.

>
55
          <PageSize
PageSize

Number of elements in the list, as defined in $top. Default is 10.

>
{Integer}</PageSize>
56
          <Position
Position

Position of the first element in the list

>
{Integer}</Position>
57
          <Page
Page

Page index

>
{Integer}</Page>
58
          <FirstPageKey
FirstPageKey

Page key to use for navigating to the first page in the list

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

>
{String}</FirstPageKey>
59
          <FirstPage
FirstPage

Link to the first page in the list. $pageKey is set to FirstPageKey.

>
{String}</FirstPage>
60
          <PreviousPageKey
PreviousPageKey

Page key to use for navigating to previous page in the list

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

>
{String}</PreviousPageKey>
61
          <PreviousPage
PreviousPage

Link to the previous page in the list. $pageKey is set to PreviousPageKey.

>
{String}</PreviousPage>
62
          <NextPageKey
NextPageKey

Page key to use for navigating to next page in the list

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

>
{String}</NextPageKey>
63
          <NextPage
NextPage

Link to the next page in the list. $pageKey is set to NextPageKey.

>
{String}</NextPage>
64
          <LastPageKey
LastPageKey

Page key to use for navigating to last page in the list

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

>
{String}</LastPageKey>
65
          <LastPage
LastPage

Link to the last page in the list. $pageKey is set to LastPageKey.

>
{String}</LastPage>
66
          <Size
Size

Total number of records in the list. Use $inlinecount=allpages in the request uri to include this

>
{Integer}</Size>
67
     </Paging>
68
</ProductionDeliverySnapshots>
1
{
2
     "productionDeliverySnapshots": [
3
          {
4
               "productionDeliverySnapshotId
ProductionDeliverySnapshotId

Production delivery snapshot identifier

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

Date of production delivery snapshot

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

User defined milestone for production delivery snapshot

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

Note for the production delivery snapshot

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

User defined percent completed of the project

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

This date is last day of a accounting period.

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

Three character code following the ISO 4217 standard

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

Total sales backlog of the delivery project

":
"{Decimal}",
13
                    "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}",
14
                    "invoicedAmount
InvoicedAmount

Total invoiced amount of the delivery project

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

Total advance invoice amount for the delivery project

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

Totals.SalesBacklog + Totals.InvoicedAmount

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

Total accrued hours for the delivery project

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

SUMPLANNEDMATERIALCOST

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

SUMPLANNEDADDEDFIXEDCOST

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

SUMPLANNEDADDEDVARCOST

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

SUMPLANNEDOPERATIONFIXEDCOST

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

SUMPLANNEDOPERATIONVARCOST

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

Total planned cost of the delivery project

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

Total accrued hours for the delivery project

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

SUMACCRUEDMATERIALCOST

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

SUMACCRUEDADDEDFIXEDCOST

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

SUMACCRUEDADDEDVARCOST

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

SUMACCRUEDOPERATIONFIXEDCOST

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

SUMACCRUEDOPERATIONVARCOST

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

Total accrued cost of the delivery project

":
"{Decimal}"
34
                    }
35
               },
36
               "financeProjectTotals": {
37
                    "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}",
38
                    "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}",
39
                    "otherCost
OtherCost

Field from finance linked to PRO by PRO.PRJNO.

":
"{Decimal}",
40
                    "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}",
41
                    "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}"
42
               },
43
               "totals": {
44
                    "income
Income

InvoicedAmount + OtherIncome

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

Accrued.ToyalCost + OtherCostOfGoods + Wages + OtherExpences

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

TotalIncome - TotalCost

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

Sales delivery project identifier

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

Name of sales delivery

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

Sales delivery project reference

":
"{String}"
52
               },
53
               "productionDeliverySnapshotLink
ProductionDeliverySnapshotLink

Production delivery snapshot reference

":
"{String}"
54
          }
55
     ],
56
     "paging
Paging

Detailed paging information for this list.

":
{
57
          "pageSize
PageSize

Number of elements in the list, as defined in $top. Default is 10.

":
"{Integer}",
58
          "position
Position

Position of the first element in the list

":
"{Integer}",
59
          "page
Page

Page index

":
"{Integer}",
60
          "firstPageKey
FirstPageKey

Page key to use for navigating to the first page in the list

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

":
"{String}",
61
          "firstPage
FirstPage

Link to the first page in the list. $pageKey is set to FirstPageKey.

":
"{String}",
62
          "previousPageKey
PreviousPageKey

Page key to use for navigating to previous page in the list

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

":
"{String}",
63
          "previousPage
PreviousPage

Link to the previous page in the list. $pageKey is set to PreviousPageKey.

":
"{String}",
64
          "nextPageKey
NextPageKey

Page key to use for navigating to next page in the list

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

":
"{String}",
65
          "nextPage
NextPage

Link to the next page in the list. $pageKey is set to NextPageKey.

":
"{String}",
66
          "lastPageKey
LastPageKey

Page key to use for navigating to last page in the list

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

":
"{String}",
67
          "lastPage
LastPage

Link to the last page in the list. $pageKey is set to LastPageKey.

":
"{String}",
68
          "size
Size

Total number of records in the list. Use $inlinecount=allpages in the request uri to include this

":
"{Integer}"
69
     }
70
}

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