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 33

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.
ActualArrivalAt Datetime This is the actual time of when the consignment were received at the warehouse, and will be auatomatically set when the WBI is changed to ST:3. Available macros: now(), startOfDay(), endOfDay(), currentDate(), currentMonth(), currentYear(), startOfMonth(), endOfMonth(), startOfYear(), endOfYear(), startOfWeek(), endOfWeek(), previousYear(), previousMonth()
ActualDepartureAt Datetime This is a date which is supplied by the vendor or the forwarder, and is the day the consignment is handed over to forwarder. Available macros: now(), startOfDay(), endOfDay(), currentDate(), currentMonth(), currentYear(), startOfMonth(), endOfMonth(), startOfYear(), endOfYear(), startOfWeek(), endOfWeek(), previousYear(), previousMonth()
ArrivingWaybillId Integer Arriving waybill identifier.
CarrierName String Name of carrier.
CreatedById Integer The user that created this object. Available macros: currentUser()
EstimatedArrivalAt Datetime This is a date which is supplied by the vendor or the forwarder, and is the day the consignment is estimated to arrive at warehouse. Available macros: now(), startOfDay(), endOfDay(), currentDate(), currentMonth(), currentYear(), startOfMonth(), endOfMonth(), startOfYear(), endOfYear(), startOfWeek(), endOfWeek(), previousYear(), previousMonth()
EstimatedDepartureAt Datetime This is a date which is supplied by the vendor and is the day they expect to ship this consignment. Available macros: now(), startOfDay(), endOfDay(), currentDate(), currentMonth(), currentYear(), startOfMonth(), endOfMonth(), startOfYear(), endOfYear(), startOfWeek(), endOfWeek(), previousYear(), previousMonth()
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).
ResponsibleId Integer Employee identifier. Available macros: currentUser()
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

ActualArrivalAt Datetime This is the actual time of when the consignment were received at the warehouse, and will be auatomatically set when the WBI is changed to ST:3
ActualDepartureAt Datetime This is a date which is supplied by the vendor or the forwarder, and is the day the consignment is handed over to forwarder.
ArrivingWaybillId Integer Arriving waybill identifier
CarrierName String Name of carrier
CreatedById Integer The user that created this object
EstimatedArrivalAt Datetime This is a date which is supplied by the vendor or the forwarder, and is the day the consignment is estimated to arrive at warehouse
EstimatedDepartureAt Datetime This is a date which is supplied by the vendor and is the day they expect to ship this consignment
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
ResponsibleId Integer Employee identifier
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
          <Departure>
27
               <EstimatedDepartureAt
EstimatedDepartureAt

This is a date which is supplied by the vendor and is the day they expect to ship this consignment

>
{Datetime}</EstimatedDepartureAt>
28
               <ActualDepartureAt
ActualDepartureAt

This is a date which is supplied by the vendor or the forwarder, and is the day the consignment is handed over to forwarder.

>
{Datetime}</ActualDepartureAt>
29
          </Departure>
30
          <Arrival>
31
               <EstimatedArrivalAt
EstimatedArrivalAt

This is a date which is supplied by the vendor or the forwarder, and is the day the consignment is estimated to arrive at warehouse

>
{Datetime}</EstimatedArrivalAt>
32
               <ActualArrivalAt
ActualArrivalAt

This is the actual time of when the consignment were received at the warehouse, and will be auatomatically set when the WBI is changed to ST:3

>
{Datetime}</ActualArrivalAt>
33
          </Arrival>
34
          <Customs>
35
               <ReportDate
ReportDate

Date when this arriving waybill were printed on the goods journal

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

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

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

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

>
{String}</ShipToCountryCode>
38
               <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>
39
               <ImportDeclarationId
ImportDeclarationId

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

>
{String}</ImportDeclarationId>
40
               <BondedWarehouse>
41
                    <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>
42
                    <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>
43
               </BondedWarehouse>
44
          </Customs>
45
          <Responsible
Responsible

User responsible for the procurement transaction

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

>
46
               <EmployeeId
EmployeeId

Employee identifier

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

>
{Integer}</EmployeeId>
47
               <FirstName
FirstName

First name of employee

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

>
{String}</FirstName>
48
               <LastName
LastName

Last name of employee

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

>
{String}</LastName>
49
               <EmployeeLink
EmployeeLink

Employee reference

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

>
{String}</EmployeeLink>
50
          </Responsible>
51
          <ArrivingWaybillLink
ArrivingWaybillLink

Arriving waybill reference

>
{String}</ArrivingWaybillLink>
52
     </ArrivingWaybill>
53
     <Paging
Paging

Detailed paging information for this list.

>
54
          <PageSize
PageSize

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

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

Position of the first element in the list

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

Page index

>
{Integer}</Page>
57
          <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>
58
          <FirstPage
FirstPage

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

>
{String}</FirstPage>
59
          <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>
60
          <PreviousPage
PreviousPage

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

>
{String}</PreviousPage>
61
          <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>
62
          <NextPage
NextPage

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

>
{String}</NextPage>
63
          <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>
64
          <LastPage
LastPage

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

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

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

>
{Integer}</Size>
66
     </Paging>
67
</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
               "departure": {
28
                    "estimatedDepartureAt
EstimatedDepartureAt

This is a date which is supplied by the vendor and is the day they expect to ship this consignment

":
"{Datetime}",
29
                    "actualDepartureAt
ActualDepartureAt

This is a date which is supplied by the vendor or the forwarder, and is the day the consignment is handed over to forwarder.

":
"{Datetime}"
30
               },
31
               "arrival": {
32
                    "estimatedArrivalAt
EstimatedArrivalAt

This is a date which is supplied by the vendor or the forwarder, and is the day the consignment is estimated to arrive at warehouse

":
"{Datetime}",
33
                    "actualArrivalAt
ActualArrivalAt

This is the actual time of when the consignment were received at the warehouse, and will be auatomatically set when the WBI is changed to ST:3

":
"{Datetime}"
34
               },
35
               "customs": {
36
                    "reportDate
ReportDate

Date when this arriving waybill were printed on the goods journal

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

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

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

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

":
"{String}",
39
                    "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}",
40
                    "importDeclarationId
ImportDeclarationId

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

":
"{String}",
41
                    "bondedWarehouse": {
42
                         "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}",
43
                         "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}"
44
                    }
45
               },
46
               "responsible
Responsible

User responsible for the procurement transaction

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

":
{
47
                    "employeeId
EmployeeId

Employee identifier

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

":
"{Integer}",
48
                    "firstName
FirstName

First name of employee

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

":
"{String}",
49
                    "lastName
LastName

Last name of employee

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

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

Employee reference

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

":
"{String}"
51
               },
52
               "arrivingWaybillLink
ArrivingWaybillLink

Arriving waybill reference

":
"{String}"
53
          }
54
     ],
55
     "paging
Paging

Detailed paging information for this list.

":
{
56
          "pageSize
PageSize

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

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

Position of the first element in the list

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

Page index

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

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

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

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

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

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

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

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

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

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

":
"{Integer}"
68
     }
69
}

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 101814 HTTP 404 Employee not found