API

System APIs

GET system/reports/100635/result-set?fromPeriod={fromPeriod}&toPeriod={toPeriod}&periodView={periodView}

Resource for REP/100635

Report name Invoice listing
Report identifier 100635
HTTP method GET
URI https://api.rambase.net/system/reports/100635/result-set?fromPeriod={fromPeriod}&toPeriod={toPeriod}&periodView={periodView}
Supported formats Xml, Html, Json (ex. $format=json)
Maximum page size ($top) 20
Successful HTTP status code 200
API resource identifier 4686, version 27

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.

fromPeriod Integer, optional Report will list records from this period. Format: YYYYMM.

Minimum: 190000,
Maximum: 299999
toPeriod Integer, optional Report will list records to this period. Format: YYYYMM.

Minimum: 190000,
Maximum: 299999
periodView String, optional Quick filter on from and to period. This parameter overrides from and to period if they are specified.
$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.

AccountingPeriod Integer Accounting period identifier. Available macros: currentPeriod(), previousPeriod()
CustomerId Integer Customer identifier.
DepartmentId Integer Department identifier.
EndCustomerFirstName String First name of the end customer.
EndCustomerId Integer The customer account for the end customer.
EndCustomerName String Name of the end customer.
ForwardedFromItemId String Item identifier of an source object.
ForwardedFromObjectId String Source object identifier reference.
ForwardedFromObjectType String Type of a source object.
IssueDate Date Date when the document was issued. Available macros: today(), yesterday(), currentMonth(), currentYear(), startOfMonth(), endOfMonth(), startOfYear(), endOfYear(), startOfWeek(), endOfWeek(), previousYear(), previousMonth()
ProductDescription String Description of the product.
ProductName String Name of the product.
TransactionItemId Integer Identifier of an item.
TransactionObjectId Integer Identifier of the document.

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

AccountingPeriod Integer Accounting period identifier
CustomerId Integer Customer identifier
DepartmentId Integer Department identifier
EndCustomerFirstName String First name of the end customer
EndCustomerId Integer The customer account for the end customer
EndCustomerName String Name of the end customer
IssueDate Date Date when the document was issued.
ProductDescription String Description of the product
ProductName String Name of the product
TransactionItemId Integer Identifier of an item
TransactionObjectId Integer Identifier of the document

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

Document reference

>
5
                    <ObjectId
ObjectId

Identifier of the object

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

Type of object

>
{String}</ObjectType>
7
                    <ItemId
ItemId

Item-number of the object

>
{Integer}</ItemId>
8
                    <RamBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

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

Filter used in the link to the related document.

>
{String}</ObjectLink>
10
               </Transaction>
11
               <ForwardedFrom
ForwardedFrom

Forwarded from reference

>
12
                    <ObjectId
ObjectId

Identifier of the object

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

Type of object

>
{String}</ObjectType>
14
                    <ItemId
ItemId

Item-number of the object

>
{Integer}</ItemId>
15
                    <RamBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

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

Filter used in the link to the related document.

>
{String}</ObjectLink>
17
               </ForwardedFrom>
18
               <IssueDate
IssueDate

Date when the document was issued.

>
{Date}</IssueDate>
19
               <Period
Period

Accounting period identifier

>
{Integer}</Period>
20
               <Year
Year

Year of accounting period

>
{Integer}</Year>
21
               <Customer
Customer

Customer reference

>
22
                    <CustomerId
CustomerId

Customer identifier

>
{Integer}</CustomerId>
23
                    <Name
Name

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

>
{String}</Name>
24
                    <CustomerLink
CustomerLink

Customer reference

>
{String}</CustomerLink>
25
               </Customer>
26
               <SalesDistrict
SalesDistrict

A geographic district for which an individual salesperson or sales team holds responsibility

Possible domain values can be found here

>
{String}</SalesDistrict>
27
               <CustomerSalesDistrict
CustomerSalesDistrict

A geographic district for which an individual salesperson or sales team holds responsibility

Possible domain values can be found here

>
{String}</CustomerSalesDistrict>
28
               <Seller
Seller

Reference to the seller of the item

>
{String}</Seller>
29
               <CustomerSeller
CustomerSeller

Reference to the seller of the item

>
{String}</CustomerSeller>
30
               <Product
Product

Product reference

>
31
                    <ProductId
ProductId

Product identifier

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

Name of the product

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

Description of the product

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

Product reference

>
{String}</ProductLink>
35
               </Product>
36
               <GLAccount
GLAccount

General ledger account reference

>
37
                    <AccountNumber
AccountNumber

The account number of the general ledger account

>
{String}</AccountNumber>
38
                    <Name
Name

Name of general ledger account

>
{String}</Name>
39
                    <GeneralLedgerAccountLink
GeneralLedgerAccountLink

General ledger account reference

>
{String}</GeneralLedgerAccountLink>
40
               </GLAccount>
41
               <Department
Department

Department reference. One of the system/fixed account dimensions.

>
42
                    <DepartmentId
DepartmentId

Department identifier

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

Name of department

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

Finance department reference

>
{String}</DepartmentLink>
45
               </Department>
46
               <ProductDepartment
ProductDepartment

Department reference. One of the system/fixed account dimensions.

>
47
                    <DepartmentId
DepartmentId

Department identifier

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

Name of department

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

Finance department reference

>
{String}</DepartmentLink>
50
               </ProductDepartment>
51
               <SellersDepartment
SellersDepartment

Department reference. One of the system/fixed account dimensions.

>
52
                    <DepartmentId
DepartmentId

Department identifier

>
{Integer}</DepartmentId>
53
                    <Name
Name

Name of department

>
{String}</Name>
54
                    <DepartmentLink
DepartmentLink

Finance department reference

>
{String}</DepartmentLink>
55
               </SellersDepartment>
56
               <EndCustomer
EndCustomer

End customer reference

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

>
57
                    <CustomerId
CustomerId

The customer account for the end customer

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

>
{Integer}</CustomerId>
58
                    <Name
Name

Name of the end customer

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

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

Name of the end customer

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

>
{String}</FirstName>
60
                    <CustomerLink
CustomerLink

Customer reference

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

>
{String}</CustomerLink>
61
               </EndCustomer>
62
               <Quantity
Quantity

Item quantity.

>
{Decimal}</Quantity>
63
               <ConvertedGrossPrice
ConvertedGrossPrice

Represents the price per unit before any discounting is applied.

>
{Decimal}</ConvertedGrossPrice>
64
               <ConvertedNetAmount
ConvertedNetAmount

Total net amount in company currency.

>
{Decimal}</ConvertedNetAmount>
65
               <ConvertedLandedCost
ConvertedLandedCost

Gross landed cost multiplied with quantity of the item (converted to local currencies)

>
{Decimal}</ConvertedLandedCost>
66
               <GrossMargin
GrossMargin

Gross margin of the item.

>
{Decimal}</GrossMargin>
67
               <IsImported
IsImported

Item has been imported.

>
{Boolean}</IsImported>
68
               <Inspect>
69
                    <TargetApplication
TargetApplication

Application reference when inspecting a line in a report.

>
{String}</TargetApplication>
70
               </Inspect>
71
          </Row>
72
     </Rows>
73
     <Paging
Paging

Detailed paging information for this list.

>
74
          <PageSize
PageSize

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

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

Position of the first element in the list

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

Page index

>
{Integer}</Page>
77
          <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>
78
          <FirstPage
FirstPage

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

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

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

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

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

>
{String}</NextPage>
83
          <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>
84
          <LastPage
LastPage

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

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

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

>
{Integer}</Size>
86
     </Paging>
87
</Report>
1
{
2
     "report": {
3
          "rows": [
4
               {
5
                    "transaction
Transaction

Document reference

":
{
6
                         "objectId
ObjectId

Identifier of the object

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

Type of object

":
"{String}",
8
                         "itemId
ItemId

Item-number of the object

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

Internal RamBase identifier of the object/item

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

Filter used in the link to the related document.

":
"{String}"
11
                    },
12
                    "forwardedFrom
ForwardedFrom

Forwarded from reference

":
{
13
                         "objectId
ObjectId

Identifier of the object

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

Type of object

":
"{String}",
15
                         "itemId
ItemId

Item-number of the object

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

Internal RamBase identifier of the object/item

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

Filter used in the link to the related document.

":
"{String}"
18
                    },
19
                    "issueDate
IssueDate

Date when the document was issued.

":
"{Date}",
20
                    "period
Period

Accounting period identifier

":
"{Integer}",
21
                    "year
Year

Year of accounting period

":
"{Integer}",
22
                    "customer
Customer

Customer reference

":
{
23
                         "customerId
CustomerId

Customer identifier

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

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

":
"{String}",
25
                         "customerLink
CustomerLink

Customer reference

":
"{String}"
26
                    },
27
                    "salesDistrict
SalesDistrict

A geographic district for which an individual salesperson or sales team holds responsibility

Possible domain values can be found here

":
"{String}",
28
                    "customerSalesDistrict
CustomerSalesDistrict

A geographic district for which an individual salesperson or sales team holds responsibility

Possible domain values can be found here

":
"{String}",
29
                    "seller
Seller

Reference to the seller of the item

":
"{String}",
30
                    "customerSeller
CustomerSeller

Reference to the seller of the item

":
"{String}",
31
                    "product
Product

Product reference

":
{
32
                         "productId
ProductId

Product identifier

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

Name of the product

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

Description of the product

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

Product reference

":
"{String}"
36
                    },
37
                    "gLAccount
GLAccount

General ledger account reference

":
{
38
                         "accountNumber
AccountNumber

The account number of the general ledger account

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

Name of general ledger account

":
"{String}",
40
                         "generalLedgerAccountLink
GeneralLedgerAccountLink

General ledger account reference

":
"{String}"
41
                    },
42
                    "department
Department

Department reference. One of the system/fixed account dimensions.

":
{
43
                         "departmentId
DepartmentId

Department identifier

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

Name of department

":
"{String}",
45
                         "departmentLink
DepartmentLink

Finance department reference

":
"{String}"
46
                    },
47
                    "productDepartment
ProductDepartment

Department reference. One of the system/fixed account dimensions.

":
{
48
                         "departmentId
DepartmentId

Department identifier

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

Name of department

":
"{String}",
50
                         "departmentLink
DepartmentLink

Finance department reference

":
"{String}"
51
                    },
52
                    "sellersDepartment
SellersDepartment

Department reference. One of the system/fixed account dimensions.

":
{
53
                         "departmentId
DepartmentId

Department identifier

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

Name of department

":
"{String}",
55
                         "departmentLink
DepartmentLink

Finance department reference

":
"{String}"
56
                    },
57
                    "endCustomer
EndCustomer

End customer reference

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

":
{
58
                         "customerId
CustomerId

The customer account for the end customer

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

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

Name of the end customer

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

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

Name of the end customer

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

":
"{String}",
61
                         "customerLink
CustomerLink

Customer reference

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

":
"{String}"
62
                    },
63
                    "quantity
Quantity

Item quantity.

":
"{Decimal}",
64
                    "convertedGrossPrice
ConvertedGrossPrice

Represents the price per unit before any discounting is applied.

":
"{Decimal}",
65
                    "convertedNetAmount
ConvertedNetAmount

Total net amount in company currency.

":
"{Decimal}",
66
                    "convertedLandedCost
ConvertedLandedCost

Gross landed cost multiplied with quantity of the item (converted to local currencies)

":
"{Decimal}",
67
                    "grossMargin
GrossMargin

Gross margin of the item.

":
"{Decimal}",
68
                    "isImported
IsImported

Item has been imported.

":
"{Boolean}",
69
                    "inspect": {
70
                         "targetApplication
TargetApplication

Application reference when inspecting a line in a report.

":
"{String}"
71
                    }
72
               }
73
          ]
74
     }
75
}

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