API

Procurement APIs

GET system/reports/114096/result-set?productionWorkOrderId={productionorder}&customersReferenceNumber={customersreferencenumber}&initialOrder={initialorder}&supplierName={suppliername}

Purchase order backlog

Report name Purchase order backlog
Report identifier 114096
HTTP method GET
URI https://api.rambase.net/system/reports/114096/result-set?productionWorkOrderId={productionorder}&customersReferenceNumber={customersreferencenumber}&initialOrder={initialorder}&supplierName={suppliername}
Supported formats Xml, Html, Json (ex. $format=json)
Maximum page size ($top) 80
Successful HTTP status code 200
API resource identifier 6115, version 12

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.

productionWorkOrderId String, optional Production work order identifier
customersReferenceNumber String, optional Customers reference number. E.g. the internal sales order id the customer use in their own system.
initialOrder String, optional Initial purchase order identifier
supplierName String, optional Name of supplier (name of company or surname/familyname/lastname of a person)
$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.

AssignmentProductName String Name of the product.
AssignmentQuantity Decimal Quantity assigned.
ConfirmedDate Date Confirmed delivery date. Available macros: today(), yesterday(), currentMonth(), currentYear(), startOfMonth(), endOfMonth(), startOfYear(), endOfYear(), startOfWeek(), endOfWeek(), previousYear(), previousMonth()
ConsumptionDate Date Shipping date retrieved from the assigned item. Available macros: today(), yesterday(), currentMonth(), currentYear(), startOfMonth(), endOfMonth(), startOfYear(), endOfYear(), startOfWeek(), endOfWeek(), previousYear(), previousMonth()
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.
Deviation Integer The deviation between Earliest consumption date and Confirmed delivery date, or Requested delivery date if no delivery date is confirmed by the supplier.
EmployeeId Integer Employee identifier. Available macros: currentUser()
InitialPurchaseOrderId Integer Identifier of the object.
InitialPurchaseOrderItemId Integer Item-number of the object.
ProductName String Name of the product.
ProductType String Type of product.
RemainingQuantity Decimal The remaining quantity of the assignment register. If the owner item is of object type purchase order, purchase order response or production work order, the remaining quantity will be decreased when quantity is forwarded from the object. If the owner item is of object type goods reception, the remaining quantity will be decreased when goods from this object is shipped.
RequestedDate Date The delivery date as requested by the buyer/purchaser. Available macros: today(), yesterday(), currentMonth(), currentYear(), startOfMonth(), endOfMonth(), startOfYear(), endOfYear(), startOfWeek(), endOfWeek(), previousYear(), previousMonth()
ResponsibleId Integer Employee identifier. Available macros: currentUser()
SupplierId String RamBase supplier identifier.
SupplierItemId Integer Item-number of the object.
SupplierItemObjectId Integer Identifier of the object.
SupplierName String Name of supplier (name of company or surname/familyname/lastname of a person).

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

AssignmentProductName String Name of the product
AssignmentQuantity Decimal Quantity assigned
ConfirmedDate Date Confirmed delivery date
ConsumptionDate Date Shipping date retrieved from the assigned item
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.
Deviation Integer The deviation between Earliest consumption date and Confirmed delivery date, or Requested delivery date if no delivery date is confirmed by the supplier.
EmployeeId Integer Employee identifier
InitialPurchaseOrderId Integer Identifier of the object
InitialPurchaseOrderItemId Integer Item-number of the object
ProductName String Name of the product
ProductType String Type of product
RemainingQuantity Decimal The remaining quantity of the assignment register. If the owner item is of object type purchase order, purchase order response or production work order, the remaining quantity will be decreased when quantity is forwarded from the object. If the owner item is of object type goods reception, the remaining quantity will be decreased when goods from this object is shipped.
RequestedDate Date The delivery date as requested by the buyer/purchaser
ResponsibleId Integer Employee identifier
SupplierId String RamBase supplier identifier
SupplierItemId Integer Item-number of the object
SupplierItemObjectId Integer Identifier of the object
SupplierName String Name of supplier (name of company or surname/familyname/lastname of a person)

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
<Report>
2
     <Rows>
3
          <Row>
4
               <Supplier
Supplier

Supplier reference

>
5
                    <SupplierId
SupplierId

RamBase supplier identifier

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

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

>
{String}</Name>
7
                    <SupplierLink
SupplierLink

API reference to the item

>
{String}</SupplierLink>
8
               </Supplier>
9
               <InitialPurchaseOrderItem
InitialPurchaseOrderItem

Purchase order item reference

>
10
                    <PurchaseOrderItemId
PurchaseOrderItemId

Item-/line-number of the purchase order

>
{Integer}</PurchaseOrderItemId>
11
                    <PurchaseOrder
PurchaseOrder

Purchase order reference

>
12
                         <PurchaseOrderId
PurchaseOrderId

Purchase order identifier

>
{Integer}</PurchaseOrderId>
13
                         <PurchaseOrderLink
PurchaseOrderLink

Purchase order reference

>
{String}</PurchaseOrderLink>
14
                    </PurchaseOrder>
15
                    <RamBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

>
{String}</RamBaseKey>
16
                    <PurchaseOrderItemLink
PurchaseOrderItemLink

Purchase order item reference

>
{String}</PurchaseOrderItemLink>
17
               </InitialPurchaseOrderItem>
18
               <SupplierItem
SupplierItem

Identifier of the SupplierItem

>
19
                    <ItemId
ItemId

Item-number of the object

>
{Integer}</ItemId>
20
                    <ObjectId
ObjectId

Identifier of the object

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

Type of object

>
{String}</ObjectType>
22
                    <RamBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

>
{String}</RamBaseKey>
23
                    <ObjectLink
ObjectLink

API reference to the object

>
{String}</ObjectLink>
24
                    <ItemLink
ItemLink

API reference to the item

>
{String}</ItemLink>
25
               </SupplierItem>
26
               <RemainingQuantity
RemainingQuantity

The remaining quantity of the assignment register. If the owner item is of object type purchase order, purchase order response or production work order, the remaining quantity will be decreased when quantity is forwarded from the object. If the owner item is of object type goods reception, the remaining quantity will be decreased when goods from this object is shipped.

>
{Decimal}</RemainingQuantity>
27
               <Product
Product

Product reference

>
28
                    <ProductId
ProductId

Product identifier

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

Name of the product

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

Description of the product

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

Type of product

>
{String}</Type>
32
                    <ProductLink
ProductLink

Product reference

>
{String}</ProductLink>
33
               </Product>
34
               <RequestedDate
RequestedDate

The delivery date as requested by the buyer/purchaser

>
{Date}</RequestedDate>
35
               <ConfirmedDate
ConfirmedDate

Confirmed delivery date

>
{Date}</ConfirmedDate>
36
               <ConsumptionDate
ConsumptionDate

Shipping date retrieved from the assigned item

>
{Date}</ConsumptionDate>
37
               <PlannedOperation
PlannedOperation

Planned operation identifier

>
38
                    <PlannedOperationId
PlannedOperationId

Planned work order operation identifier

>
{Integer}</PlannedOperationId>
39
                    <PlannedStartAt
PlannedStartAt

Date and time of planned start

>
{Datetime}</PlannedStartAt>
40
               </PlannedOperation>
41
               <Deviation
Deviation

The deviation between Earliest consumption date and Confirmed delivery date, or Requested delivery date if no delivery date is confirmed by the supplier.

>
{Integer}</Deviation>
42
               <Assignment
Assignment

Assignment reference

>
43
                    <AssignedTo
AssignedTo

Assigned to reference

>
44
                         <ItemId
ItemId

Item-number of the object

>
{Integer}</ItemId>
45
                         <ItemLink
ItemLink

API reference to the item

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

Internal RamBase identifier of the object/item

>
{String}</RamBaseKey>
47
                    </AssignedTo>
48
                    <Product
Product

Product reference

>
49
                         <ProductId
ProductId

Product identifier

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

Name of the product

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

Description of the product

>
{String}</Description>
52
                         <ProductLink
ProductLink

Product reference

>
{String}</ProductLink>
53
                    </Product>
54
                    <Quantity
Quantity

Quantity assigned

>
{Decimal}</Quantity>
55
                    <PlannedShipDate
PlannedShipDate

Planned start date for the operation line and for the operation that a material/part line is connected to

>
{Date}</PlannedShipDate>
56
                    <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>
57
               </Assignment>
58
               <SentFromSupplier
SentFromSupplier

Date sent from supplier

>
{Date}</SentFromSupplier>
59
               <QuantitySent
QuantitySent

Quantity sent

>
{Integer}</QuantitySent>
60
               <PurchaseResponsible
PurchaseResponsible

User responsible for the procurement transaction

>
61
                    <EmployeeId
EmployeeId

Employee identifier

>
{Integer}</EmployeeId>
62
                    <Name
Name

Last name of employee

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

First name of employee

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

Employee reference

>
{String}</EmployeeLink>
65
               </PurchaseResponsible>
66
               <Inspect>
67
                    <TargetApplication
TargetApplication

Application reference when inspecting a line in a report.

>
{String}</TargetApplication>
68
               </Inspect>
69
          </Row>
70
     </Rows>
71
     <Paging
Paging

Detailed paging information for this list.

>
72
          <PageSize
PageSize

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

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

Position of the first element in the list

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

Page index

>
{Integer}</Page>
75
          <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>
76
          <FirstPage
FirstPage

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

>
{String}</FirstPage>
77
          <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>
78
          <PreviousPage
PreviousPage

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

>
{String}</PreviousPage>
79
          <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>
80
          <NextPage
NextPage

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

>
{String}</NextPage>
81
          <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>
82
          <LastPage
LastPage

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

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

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

>
{Integer}</Size>
84
     </Paging>
85
</Report>
1
{
2
     "report": {
3
          "rows": [
4
               {
5
                    "supplier
Supplier

Supplier reference

":
{
6
                         "supplierId
SupplierId

RamBase supplier identifier

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

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

":
"{String}",
8
                         "supplierLink
SupplierLink

API reference to the item

":
"{String}"
9
                    },
10
                    "initialPurchaseOrderItem
InitialPurchaseOrderItem

Purchase order item reference

":
{
11
                         "purchaseOrderItemId
PurchaseOrderItemId

Item-/line-number of the purchase order

":
"{Integer}",
12
                         "purchaseOrder
PurchaseOrder

Purchase order reference

":
{
13
                              "purchaseOrderId
PurchaseOrderId

Purchase order identifier

":
"{Integer}",
14
                              "purchaseOrderLink
PurchaseOrderLink

Purchase order reference

":
"{String}"
15
                         },
16
                         "ramBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

":
"{String}",
17
                         "purchaseOrderItemLink
PurchaseOrderItemLink

Purchase order item reference

":
"{String}"
18
                    },
19
                    "supplierItem
SupplierItem

Identifier of the SupplierItem

":
{
20
                         "itemId
ItemId

Item-number of the object

":
"{Integer}",
21
                         "objectId
ObjectId

Identifier of the object

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

Type of object

":
"{String}",
23
                         "ramBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

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

API reference to the object

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

API reference to the item

":
"{String}"
26
                    },
27
                    "remainingQuantity
RemainingQuantity

The remaining quantity of the assignment register. If the owner item is of object type purchase order, purchase order response or production work order, the remaining quantity will be decreased when quantity is forwarded from the object. If the owner item is of object type goods reception, the remaining quantity will be decreased when goods from this object is shipped.

":
"{Decimal}",
28
                    "product
Product

Product reference

":
{
29
                         "productId
ProductId

Product identifier

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

Name of the product

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

Description of the product

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

Type of product

":
"{String}",
33
                         "productLink
ProductLink

Product reference

":
"{String}"
34
                    },
35
                    "requestedDate
RequestedDate

The delivery date as requested by the buyer/purchaser

":
"{Date}",
36
                    "confirmedDate
ConfirmedDate

Confirmed delivery date

":
"{Date}",
37
                    "consumptionDate
ConsumptionDate

Shipping date retrieved from the assigned item

":
"{Date}",
38
                    "plannedOperation
PlannedOperation

Planned operation identifier

":
{
39
                         "plannedOperationId
PlannedOperationId

Planned work order operation identifier

":
"{Integer}",
40
                         "plannedStartAt
PlannedStartAt

Date and time of planned start

":
"{Datetime}"
41
                    },
42
                    "deviation
Deviation

The deviation between Earliest consumption date and Confirmed delivery date, or Requested delivery date if no delivery date is confirmed by the supplier.

":
"{Integer}",
43
                    "assignment
Assignment

Assignment reference

":
{
44
                         "assignedTo
AssignedTo

Assigned to reference

":
{
45
                              "itemId
ItemId

Item-number of the object

":
"{Integer}",
46
                              "itemLink
ItemLink

API reference to the item

":
"{String}",
47
                              "ramBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

":
"{String}"
48
                         },
49
                         "product
Product

Product reference

":
{
50
                              "productId
ProductId

Product identifier

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

Name of the product

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

Description of the product

":
"{String}",
53
                              "productLink
ProductLink

Product reference

":
"{String}"
54
                         },
55
                         "quantity
Quantity

Quantity assigned

":
"{Decimal}",
56
                         "plannedShipDate
PlannedShipDate

Planned start date for the operation line and for the operation that a material/part line is connected to

":
"{Date}",
57
                         "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}"
58
                    },
59
                    "sentFromSupplier
SentFromSupplier

Date sent from supplier

":
"{Date}",
60
                    "quantitySent
QuantitySent

Quantity sent

":
"{Integer}",
61
                    "purchaseResponsible
PurchaseResponsible

User responsible for the procurement transaction

":
{
62
                         "employeeId
EmployeeId

Employee identifier

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

Last name of employee

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

First name of employee

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

Employee reference

":
"{String}"
66
                    },
67
                    "inspect": {
68
                         "targetApplication
TargetApplication

Application reference when inspecting a line in a report.

":
"{String}"
69
                    }
70
               }
71
          ]
72
     }
73
}

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 104920 HTTP 400 Log text is required
Error 104921 HTTP 400 Invalid log category
Error 101281 HTTP 400 Too many {0} parameters. Maximum is {1}.
Error 100175 HTTP 400 To date must be equal to, or later than from date.
Error 105710 HTTP 400 Invalid output type