API

Procurement APIs

GET system/reports/114300/result-set

Status: - 'Red' if there is 0 days or less between Conf(Req) and ZeroStockDate - 'Yellow' if there is less than 30 days between Conf(Req) and ZerostockDate - 'Blue' if there is 30 days or more between Conf(Req) and ZeroStockDate ZeroStockDate is date when inventory goes below ReOrderPoint.

Report name Purchase backlog with Zero Stock Days
Report identifier 114300
HTTP method GET
URI https://api.rambase.net/system/reports/114300/result-set
Supported formats Xml, Html, Json (ex. $format=json)
Maximum page size ($top) 80
Successful HTTP status code 200
API resource identifier 6174, 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.

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

ConfirmedDeliveryDate Date Confirmed delivery date. Available macros: today(), yesterday(), currentMonth(), currentYear(), startOfMonth(), endOfMonth(), startOfYear(), endOfYear(), startOfWeek(), endOfWeek(), previousYear(), previousMonth()
ConvertedTotalAmount Decimal Total gross amount in company currency.
Description String Description of the product.
LocationShortName String Unique abbreviation/short name of the location.
ProductId Integer Product identifier.
ProductName String Name of the product.
PurchaseGroupId Integer Purchase group identifier.
PurchaseOrderId Integer Purchase order identifier.
PurchaseOrderItemId Integer Item-/line-number of the purchase order.
RequestedDeliveryDate Date Confirmed delivery date. Available macros: today(), yesterday(), currentMonth(), currentYear(), startOfMonth(), endOfMonth(), startOfYear(), endOfYear(), startOfWeek(), endOfWeek(), previousYear(), previousMonth()
SupplierFirstname String Firstname/givenname if the supplier is a person.
SupplierId Integer RamBase supplier identifier.
SupplierItemStatus Integer Status of the item/object.
SupplierName String Name of supplier (name of company or surname/familyname/lastname of a person).
SupplierObjectId Integer Identifier of the object.
SupplierObjectItemId Integer Item-number of the object.
Type String Type of product.

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

ConfirmedDeliveryDate Date Confirmed delivery date
ConvertedTotalAmount Decimal Total gross amount in company currency.
Description String Description of the product
LocationShortName String Unique abbreviation/short name of the location
ProductId Integer Product identifier
ProductName String Name of the product
PurchaseGroupId Integer Purchase group identifier
PurchaseOrderId Integer Purchase order identifier
PurchaseOrderItemId Integer Item-/line-number of the purchase order
RequestedDeliveryDate Date Confirmed delivery date
SupplierFirstname String Firstname/givenname if the supplier is a person
SupplierId Integer RamBase supplier identifier
SupplierItemStatus Integer Status of the item/object.
SupplierName String Name of supplier (name of company or surname/familyname/lastname of a person)
SupplierObjectId Integer Identifier of the object
SupplierObjectItemId Integer Item-number of the object
Type String Type of product

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
               <SupplierItem
SupplierItem

Identifier of the SupplierItem

>
5
                    <ItemId
ItemId

Item-number of the object

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

Identifier of the object

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

Type of object

>
{String}</ObjectType>
8
                    <Status
Status

Status of the item/object.

>
{Integer}</Status>
9
                    <RamBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

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

API reference to the object

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

API reference to the item

>
{String}</ItemLink>
12
               </SupplierItem>
13
               <PurchaseOrderItem
PurchaseOrderItem

Purchase order item reference

>
14
                    <PurchaseOrderItemId
PurchaseOrderItemId

Item-/line-number of the purchase order

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

Purchase order reference

>
16
                         <PurchaseOrderId
PurchaseOrderId

Purchase order identifier

>
{Integer}</PurchaseOrderId>
17
                         <RegistrationDate
RegistrationDate

Date of registration

>
{Date}</RegistrationDate>
18
                         <PurchaseOrderLink
PurchaseOrderLink

Purchase order reference

>
{String}</PurchaseOrderLink>
19
                    </PurchaseOrder>
20
                    <PurchaseOrderItemLink
PurchaseOrderItemLink

Purchase order item reference

>
{String}</PurchaseOrderItemLink>
21
               </PurchaseOrderItem>
22
               <Supplier
Supplier

Supplier reference

>
23
                    <SupplierId
SupplierId

RamBase supplier identifier

>
{Integer}</SupplierId>
24
                    <Name
Name

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

>
{String}</Name>
25
                    <Firstname
Firstname

Firstname/givenname if the supplier is a person

>
{String}</Firstname>
26
                    <SupplierLink
SupplierLink

Supplier reference

>
{String}</SupplierLink>
27
               </Supplier>
28
               <Location
Location

Location reference

>
29
                    <LocationId
LocationId

Location identifier

>
{Integer}</LocationId>
30
                    <Name
Name

Name of location

>
{String}</Name>
31
                    <ShortName
ShortName

Unique abbreviation/short name of the location

>
{String}</ShortName>
32
                    <LocationLink
LocationLink

Location reference

>
{String}</LocationLink>
33
               </Location>
34
               <Product
Product

Product reference

>
35
                    <ProductId
ProductId

Product identifier

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

Name of the product

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

Description of the product

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

Type of product

Possible domain values can be found here

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

Product reference

>
{String}</ProductLink>
40
               </Product>
41
               <PurchaseGroup
PurchaseGroup

PurchaseGroup reference

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

>
42
                    <PurchaseGroupId
PurchaseGroupId

Purchase group identifier

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

>
{Integer}</PurchaseGroupId>
43
                    <Name
Name

Name of purchase group

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

>
{String}</Name>
44
                    <PurchaseGroupLink
PurchaseGroupLink

Purchase group reference

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

>
{String}</PurchaseGroupLink>
45
               </PurchaseGroup>
46
               <RequestedDeliveryDate
RequestedDeliveryDate

Confirmed delivery date

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

Confirmed delivery date

>
{Date}</ConfirmedDeliveryDate>
48
               <TotalsConverted
TotalsConverted

Totals converted to local currency

>
49
                    <Currency
Currency

Three character code following the ISO 4217 standard

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

>
{String}</Currency>
50
                    <TotalAmount
TotalAmount

Total gross amount in company currency.

>
{Decimal}</TotalAmount>
51
               </TotalsConverted>
52
               <ReorderPoint
ReorderPoint

A minimum amount of quantity which a location holds in stock, such that, when stock falls to this amount, the product must be reordered.

>
{Decimal}</ReorderPoint>
53
               <ReorderDate
ReorderDate

Date when inventory will reach, or go below, Reorder point.

>
{Date}</ReorderDate>
54
               <ReorderDays
ReorderDays

Number of days between ReOrder date and Confirmed delivery date (or Requested delivery date if Confirmed delivery date is not given)

>
{Integer}</ReorderDays>
55
               <ZeroStockDate
ZeroStockDate

Date when inventory will reach, or go below, zero.

>
{Date}</ZeroStockDate>
56
               <ZeroStockDays
ZeroStockDays

Number of days between Zero stock date and Confirmed delivery date (or Requested delivery date if Confirmed delivery date is not given)

>
{Integer}</ZeroStockDays>
57
               <Action
Action

Action code

>
{String}</Action>
58
               <Inspect>
59
                    <TargetApplication
TargetApplication

Application reference when inspecting a line in a report.

>
{String}</TargetApplication>
60
               </Inspect>
61
          </Row>
62
     </Rows>
63
     <Paging
Paging

Detailed paging information for this list.

>
64
          <PageSize
PageSize

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

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

Position of the first element in the list

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

Page index

>
{Integer}</Page>
67
          <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>
68
          <FirstPage
FirstPage

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

>
{String}</FirstPage>
69
          <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>
70
          <PreviousPage
PreviousPage

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

>
{String}</PreviousPage>
71
          <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>
72
          <NextPage
NextPage

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

>
{String}</NextPage>
73
          <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>
74
          <LastPage
LastPage

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

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

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

>
{Integer}</Size>
76
     </Paging>
77
</Report>
1
{
2
     "report": {
3
          "rows": [
4
               {
5
                    "supplierItem
SupplierItem

Identifier of the SupplierItem

":
{
6
                         "itemId
ItemId

Item-number of the object

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

Identifier of the object

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

Type of object

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

Status of the item/object.

":
"{Integer}",
10
                         "ramBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

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

API reference to the object

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

API reference to the item

":
"{String}"
13
                    },
14
                    "purchaseOrderItem
PurchaseOrderItem

Purchase order item reference

":
{
15
                         "purchaseOrderItemId
PurchaseOrderItemId

Item-/line-number of the purchase order

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

Purchase order reference

":
{
17
                              "purchaseOrderId
PurchaseOrderId

Purchase order identifier

":
"{Integer}",
18
                              "registrationDate
RegistrationDate

Date of registration

":
"{Date}",
19
                              "purchaseOrderLink
PurchaseOrderLink

Purchase order reference

":
"{String}"
20
                         },
21
                         "purchaseOrderItemLink
PurchaseOrderItemLink

Purchase order item reference

":
"{String}"
22
                    },
23
                    "supplier
Supplier

Supplier reference

":
{
24
                         "supplierId
SupplierId

RamBase supplier identifier

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

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

":
"{String}",
26
                         "firstname
Firstname

Firstname/givenname if the supplier is a person

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

Supplier reference

":
"{String}"
28
                    },
29
                    "location
Location

Location reference

":
{
30
                         "locationId
LocationId

Location identifier

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

Name of location

":
"{String}",
32
                         "shortName
ShortName

Unique abbreviation/short name of the location

":
"{String}",
33
                         "locationLink
LocationLink

Location reference

":
"{String}"
34
                    },
35
                    "product
Product

Product reference

":
{
36
                         "productId
ProductId

Product identifier

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

Name of the product

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

Description of the product

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

Type of product

Possible domain values can be found here

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

Product reference

":
"{String}"
41
                    },
42
                    "purchaseGroup
PurchaseGroup

PurchaseGroup reference

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

":
{
43
                         "purchaseGroupId
PurchaseGroupId

Purchase group identifier

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

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

Name of purchase group

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

":
"{String}",
45
                         "purchaseGroupLink
PurchaseGroupLink

Purchase group reference

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

":
"{String}"
46
                    },
47
                    "requestedDeliveryDate
RequestedDeliveryDate

Confirmed delivery date

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

Confirmed delivery date

":
"{Date}",
49
                    "totalsConverted
TotalsConverted

Totals converted to local currency

":
{
50
                         "currency
Currency

Three character code following the ISO 4217 standard

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

":
"{String}",
51
                         "totalAmount
TotalAmount

Total gross amount in company currency.

":
"{Decimal}"
52
                    },
53
                    "reorderPoint
ReorderPoint

A minimum amount of quantity which a location holds in stock, such that, when stock falls to this amount, the product must be reordered.

":
"{Decimal}",
54
                    "reorderDate
ReorderDate

Date when inventory will reach, or go below, Reorder point.

":
"{Date}",
55
                    "reorderDays
ReorderDays

Number of days between ReOrder date and Confirmed delivery date (or Requested delivery date if Confirmed delivery date is not given)

":
"{Integer}",
56
                    "zeroStockDate
ZeroStockDate

Date when inventory will reach, or go below, zero.

":
"{Date}",
57
                    "zeroStockDays
ZeroStockDays

Number of days between Zero stock date and Confirmed delivery date (or Requested delivery date if Confirmed delivery date is not given)

":
"{Integer}",
58
                    "action
Action

Action code

":
"{String}",
59
                    "inspect": {
60
                         "targetApplication
TargetApplication

Application reference when inspecting a line in a report.

":
"{String}"
61
                    }
62
               }
63
          ]
64
     }
65
}

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 101013 HTTP 404 Sub-module not found
Error 102018 HTTP 403 You need permission {0}. Duties with this permission: {1}
Error 101420 HTTP 404 Setting definition not found
Error 100175 HTTP 400 To date must be equal to, or later than from date.
Error 105710 HTTP 400 Invalid output type