API

Logistics APIs

GET logistics/arriving-waybills

List of arriving waybills

HTTP method GET
URI https://api.rambase.net/logistics/arriving-waybills
Supported formats Xml, Html, Json (ex. $format=json)
Maximum page size ($top) 80
Successful HTTP status code 200
API resource identifier 528, version 26

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.

MyArrivingWaybills() Named filter Arriving waybills created by the current user.
MyOpenWaybills() Named filter Open arriving waybills created by the current user.
NotProcessed() Named filter Arriving waybills that are not processed
WaitingForCustoms() Named filter Arriving waybills waiting for customs documents.
ArrivingWaybillId Integer Arriving waybill identifier.
CarrierName String Name of carrier.
CreatedById Integer The user that created this object. Available macros: currentUser()
ImportDeclarationId String Import declaration identifier. Customs authorites sequal number for import declaration of goods that have been a part of bonded warehouse.
LocationShortName String Unique abbreviation/short name of the location.
Name String Name of supplier (name of company or surname/familyname/lastname of a person).
Status Integer Status of arriving waybill.
TrackingNumber String Tracking number for this arriving waybill.

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

ArrivingWaybillId Integer Arriving waybill identifier
CarrierName String Name of carrier
CreatedById Integer The user that created this object
ImportDeclarationId String Import declaration identifier. Customs authorites sequal number for import declaration of goods that have been a part of bonded warehouse.
LocationShortName String Unique abbreviation/short name of the location
Status Integer Status of arriving waybill
TrackingNumber String Tracking number for this arriving waybill

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
<ArrivingWaybills>
2
     <ArrivingWaybill>
3
          <ArrivingWaybillId
ArrivingWaybillId

Arriving waybill identifier

>
{Integer}</ArrivingWaybillId>
4
          <Status
Status

Status of arriving waybill

Possible domain values can be found here

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

Date and time of creation

>
{Datetime}</CreatedAt>
6
          <Carrier>
7
               <CarrierId
CarrierId

Carrier identifier

>
{Integer}</CarrierId>
8
               <Name
Name

Name of carrier

>
{String}</Name>
9
               <CarrierLink
CarrierLink

Carrier reference

>
{String}</CarrierLink>
10
          </Carrier>
11
          <Tracking>
12
               <TrackingNumber
TrackingNumber

Tracking number for this arriving waybill

>
{String}</TrackingNumber>
13
          </Tracking>
14
          <Sender
Sender

The sender of the arriving waybill. Can be a customer or a supplier.

>
15
               <ObjectId
ObjectId

Identifier of the object

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

Type of object

>
{String}</ObjectType>
17
               <Name
Name

Name retrieved from the object

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

API reference to the object

>
{String}</ObjectLink>
19
          </Sender>
20
          <Location>
21
               <LocationId
LocationId

Location identifier

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

Name of location

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

Unique abbreviation/short name of the location

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

Location reference

>
{String}</LocationLink>
25
          </Location>
26
          <Customs>
27
               <ReportDate
ReportDate

Date when this arriving waybill were printed on the goods journal

>
{Date}</ReportDate>
28
               <ShipFromCountryCode
ShipFromCountryCode

Two-character code (ISO 3166) identifying the country this consignment was shipped from.

>
{String}</ShipFromCountryCode>
29
               <ShipToCountryCode
ShipToCountryCode

Two-character code (ISO 3166) identifying the country where this consignment is received

>
{String}</ShipToCountryCode>
30
               <TransportMethod
TransportMethod

A code for which transport (vehicle, aircraft, or ship) that was used when the goods were crossing the border - i.e. plane, train, car, car on ferry and so on.

Possible domain values can be found here

>
{String}</TransportMethod>
31
               <ImportDeclarationId
ImportDeclarationId

Import declaration identifier. Customs authorites sequal number for import declaration of goods that have been a part of bonded warehouse.

>
{String}</ImportDeclarationId>
32
               <BondedWarehouse>
33
                    <CarriersGoodsNumber
CarriersGoodsNumber

Carriers goods number for bonded warehouse. This allow the carrier to transport this goods domestic, -from the border to the owner of a bonded warehouse.

>
{String}</CarriersGoodsNumber>
34
                    <WarehouseOwnersGoodsNumber
WarehouseOwnersGoodsNumber

Warehouse owners goods number for bonded warehouse. Consist of 'year + bonded warehouse code +location code + day number (day of the year) + number of consignment today '. Is sent to carrier to confirm that goods have been received to bonded warehouse.

>
{String}</WarehouseOwnersGoodsNumber>
35
               </BondedWarehouse>
36
          </Customs>
37
          <ArrivingWaybillLink
ArrivingWaybillLink

Arriving waybill reference

>
{String}</ArrivingWaybillLink>
38
     </ArrivingWaybill>
39
     <Paging
Paging

Detailed paging information for this list.

>
40
          <PageSize
PageSize

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

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

Position of the first element in the list

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

Page index

>
{Integer}</Page>
43
          <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>
44
          <FirstPage
FirstPage

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

>
{String}</FirstPage>
45
          <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>
46
          <PreviousPage
PreviousPage

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

>
{String}</PreviousPage>
47
          <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>
48
          <NextPage
NextPage

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

>
{String}</NextPage>
49
          <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>
50
          <LastPage
LastPage

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

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

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

>
{Integer}</Size>
52
     </Paging>
53
</ArrivingWaybills>
1
{
2
     "arrivingWaybills": [
3
          {
4
               "arrivingWaybillId
ArrivingWaybillId

Arriving waybill identifier

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

Status of arriving waybill

Possible domain values can be found here

":
"{Integer}",
6
               "createdAt
CreatedAt

Date and time of creation

":
"{Datetime}",
7
               "carrier": {
8
                    "carrierId
CarrierId

Carrier identifier

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

Name of carrier

":
"{String}",
10
                    "carrierLink
CarrierLink

Carrier reference

":
"{String}"
11
               },
12
               "tracking": {
13
                    "trackingNumber
TrackingNumber

Tracking number for this arriving waybill

":
"{String}"
14
               },
15
               "sender
Sender

The sender of the arriving waybill. Can be a customer or a supplier.

":
{
16
                    "objectId
ObjectId

Identifier of the object

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

Type of object

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

Name retrieved from the object

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

API reference to the object

":
"{String}"
20
               },
21
               "location": {
22
                    "locationId
LocationId

Location identifier

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

Name of location

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

Unique abbreviation/short name of the location

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

Location reference

":
"{String}"
26
               },
27
               "customs": {
28
                    "reportDate
ReportDate

Date when this arriving waybill were printed on the goods journal

":
"{Date}",
29
                    "shipFromCountryCode
ShipFromCountryCode

Two-character code (ISO 3166) identifying the country this consignment was shipped from.

":
"{String}",
30
                    "shipToCountryCode
ShipToCountryCode

Two-character code (ISO 3166) identifying the country where this consignment is received

":
"{String}",
31
                    "transportMethod
TransportMethod

A code for which transport (vehicle, aircraft, or ship) that was used when the goods were crossing the border - i.e. plane, train, car, car on ferry and so on.

Possible domain values can be found here

":
"{String}",
32
                    "importDeclarationId
ImportDeclarationId

Import declaration identifier. Customs authorites sequal number for import declaration of goods that have been a part of bonded warehouse.

":
"{String}",
33
                    "bondedWarehouse": {
34
                         "carriersGoodsNumber
CarriersGoodsNumber

Carriers goods number for bonded warehouse. This allow the carrier to transport this goods domestic, -from the border to the owner of a bonded warehouse.

":
"{String}",
35
                         "warehouseOwnersGoodsNumber
WarehouseOwnersGoodsNumber

Warehouse owners goods number for bonded warehouse. Consist of 'year + bonded warehouse code +location code + day number (day of the year) + number of consignment today '. Is sent to carrier to confirm that goods have been received to bonded warehouse.

":
"{String}"
36
                    }
37
               },
38
               "arrivingWaybillLink
ArrivingWaybillLink

Arriving waybill reference

":
"{String}"
39
          }
40
     ],
41
     "paging
Paging

Detailed paging information for this list.

":
{
42
          "pageSize
PageSize

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

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

Position of the first element in the list

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

Page index

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

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

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

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

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

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

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

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

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

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

":
"{Integer}"
54
     }
55
}

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 100199 HTTP 404 Location not found