API

Rental APIs

GET rental/stock-available-for-reclassification

Get list of goods reception items available for reclassification

HTTP method GET
URI https://api.rambase.net/rental/stock-available-for-reclassification
Supported formats Xml, Html, Json (ex. $format=json)
Maximum page size ($top) 80
Successful HTTP status code 200
API resource identifier 6457, version 5

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.

Currency String Three character code following the ISO 4217 standard.
GoodsReceptionId Integer Goods reception identifier.
GoodsReceptionItemId Integer Item-/line-number of the goods reception.
LineNumber Integer Line- or sequence number of the item. The LineNumber is used for sorting items in applications, prints, reports etc.
ProductDescription String Description of the item. If not specified, the description is by default copied from the product.
ProductId Integer Product identifier.
ProductName String Name of the product.
ProductType String Type of product.
ProductUnitId Integer Product unit identifier.
ProductUnitStatus Integer Status of product unit.
Quantity Decimal Quantity of the supplier return item.
SerialNumber String Serial number.
Status Integer Status code of the the goods reception item.
SupplierId Integer RamBase supplier identifier.
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

Currency String Three character code following the ISO 4217 standard
GoodsReceptionId Integer Goods reception identifier
GoodsReceptionItemId Integer Item-/line-number of the goods reception
LineNumber Integer Line- or sequence number of the item. The LineNumber is used for sorting items in applications, prints, reports etc.
ProductDescription String Description of the item. If not specified, the description is by default copied from the product.
ProductId Integer Product identifier
ProductName String Name of the product
ProductType String Type of product
ProductUnitId Integer Product unit identifier
ProductUnitStatus Integer Status of product unit
Quantity Decimal Quantity of the supplier return item
SerialNumber String Serial number
Status Integer Status code of the the goods reception item
SupplierId Integer RamBase supplier identifier
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
<ItemsAvailableForReclassification>
2
     <ItemAvailableForReclassification>
3
          <GoodsReceptionItem>
4
               <GoodsReceptionItemId
GoodsReceptionItemId

Item-/line-number of the goods reception

>
{Integer}</GoodsReceptionItemId>
5
               <Status
Status

Status code of the the goods reception item

Possible domain values can be found here

>
{Integer}</Status>
6
               <LineNumber
LineNumber

Line- or sequence number of the item. The LineNumber is used for sorting items in applications, prints, reports etc.

>
{Integer}</LineNumber>
7
               <Quantity
Quantity

Number of units received

>
{Decimal}</Quantity>
8
               <Price>
9
                    <Currency
Currency

Three character code following the ISO 4217 standard

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

Final price per unit after deducting all discounts etc.

>
{Decimal}</NetPrice>
11
               </Price>
12
               <GoodsReception>
13
                    <GoodsReceptionId
GoodsReceptionId

Goods reception identifier

>
{Integer}</GoodsReceptionId>
14
                    <Status
Status

Status of the goods reception

Possible domain values can be found here

>
{Integer}</Status>
15
                    <Supplier>
16
                         <SupplierId
SupplierId

RamBase supplier identifier

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

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

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

Supplier reference

>
{String}</SupplierLink>
19
                    </Supplier>
20
                    <GoodsReceptionLink
GoodsReceptionLink

Supplier reference

>
{String}</GoodsReceptionLink>
21
               </GoodsReception>
22
               <GoodsReceptionItemLink
GoodsReceptionItemLink

Assignment reference

>
{String}</GoodsReceptionItemLink>
23
          </GoodsReceptionItem>
24
          <ProductCollection
ProductCollection

Product collection

>
25
               <ProductId
ProductId

Product identifier

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

Name of the product

>
{String}</Name>
27
               <ProductLink
ProductLink

Product reference

>
{String}</ProductLink>
28
          </ProductCollection>
29
          <Product>
30
               <ProductId
ProductId

Product identifier

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

Name of the product

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

Type of product

Possible domain values can be found here

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

Product reference

>
{String}</ProductLink>
34
          </Product>
35
          <ProductUnit
ProductUnit

Product unit assigned to rental unit

>
36
               <ProductUnitId
ProductUnitId

Product unit identifier

>
{Integer}</ProductUnitId>
37
               <SerialNumber
SerialNumber

Serial number

>
{String}</SerialNumber>
38
               <Status
Status

Status of product unit

Possible domain values can be found here

>
{Integer}</Status>
39
               <ProductUnitLink
ProductUnitLink

Product unit reference

>
{String}</ProductUnitLink>
40
          </ProductUnit>
41
     </ItemAvailableForReclassification>
42
     <Paging
Paging

Detailed paging information for this list.

>
43
          <PageSize
PageSize

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

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

Position of the first element in the list

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

Page index

>
{Integer}</Page>
46
          <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>
47
          <FirstPage
FirstPage

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

>
{String}</FirstPage>
48
          <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>
49
          <PreviousPage
PreviousPage

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

>
{String}</PreviousPage>
50
          <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>
51
          <NextPage
NextPage

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

>
{String}</NextPage>
52
          <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>
53
          <LastPage
LastPage

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

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

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

>
{Integer}</Size>
55
     </Paging>
56
</ItemsAvailableForReclassification>
1
{
2
     "itemsAvailableForReclassification": [
3
          {
4
               "goodsReceptionItem": {
5
                    "goodsReceptionItemId
GoodsReceptionItemId

Item-/line-number of the goods reception

":
"{Integer}",
6
                    "status
Status

Status code of the the goods reception item

Possible domain values can be found here

":
"{Integer}",
7
                    "lineNumber
LineNumber

Line- or sequence number of the item. The LineNumber is used for sorting items in applications, prints, reports etc.

":
"{Integer}",
8
                    "quantity
Quantity

Number of units received

":
"{Decimal}",
9
                    "price": {
10
                         "currency
Currency

Three character code following the ISO 4217 standard

":
"{String}",
11
                         "netPrice
NetPrice

Final price per unit after deducting all discounts etc.

":
"{Decimal}"
12
                    },
13
                    "goodsReception": {
14
                         "goodsReceptionId
GoodsReceptionId

Goods reception identifier

":
"{Integer}",
15
                         "status
Status

Status of the goods reception

Possible domain values can be found here

":
"{Integer}",
16
                         "supplier": {
17
                              "supplierId
SupplierId

RamBase supplier identifier

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

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

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

Supplier reference

":
"{String}"
20
                         },
21
                         "goodsReceptionLink
GoodsReceptionLink

Supplier reference

":
"{String}"
22
                    },
23
                    "goodsReceptionItemLink
GoodsReceptionItemLink

Assignment reference

":
"{String}"
24
               },
25
               "productCollection
ProductCollection

Product collection

":
{
26
                    "productId
ProductId

Product identifier

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

Name of the product

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

Product reference

":
"{String}"
29
               },
30
               "product": {
31
                    "productId
ProductId

Product identifier

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

Name of the product

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

Type of product

Possible domain values can be found here

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

Product reference

":
"{String}"
35
               },
36
               "productUnit
ProductUnit

Product unit assigned to rental unit

":
{
37
                    "productUnitId
ProductUnitId

Product unit identifier

":
"{Integer}",
38
                    "serialNumber
SerialNumber

Serial number

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

Status of product unit

Possible domain values can be found here

":
"{Integer}",
40
                    "productUnitLink
ProductUnitLink

Product unit reference

":
"{String}"
41
               }
42
          }
43
     ],
44
     "paging
Paging

Detailed paging information for this list.

":
{
45
          "pageSize
PageSize

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

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

Position of the first element in the list

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

Page index

":
"{Integer}",
48
          "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}",
49
          "firstPage
FirstPage

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

":
"{String}",
50
          "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}",
51
          "previousPage
PreviousPage

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

":
"{String}",
52
          "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}",
53
          "nextPage
NextPage

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

":
"{String}",
54
          "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}",
55
          "lastPage
LastPage

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

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

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

":
"{Integer}"
57
     }
58
}

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 100089 HTTP 404 Product not found