API

Logistics APIs

GET logistics/shipping-advices/{shippingAdviceId}/assignments

List of assignments linked with provided shipping advice

HTTP method GET
URI https://api.rambase.net/logistics/shipping-advices/{shippingAdviceId}/assignments
Supported formats Xml, Html, Json (ex. $format=json)
- URI parameter {shippingAdviceId} Shipping advice identifier
Integer, minimum 100000
Maximum page size ($top) 80
Successful HTTP status code 200
API resource identifier 2004, version 22

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.

PickInitialized() Named filter Status of pick operation
PickNotStarted() Named filter Status of pick operation
AssignedToItemId Integer Item-number of the object.
AssignmentId Integer Allocation identifier.
AssignmentRegisterId Integer Assignment register identifier.
PickStatus Integer Status of the picking from this assignment. Note that the pick status of the assignment might differ from the status of the pick operation of the assigned item..
ProductId Integer Product identifier.
ProductName String Name of the product.
ProductType String Type of product.
Quantity Decimal Quantity assigned.

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

AssignedToItemId Integer Item-number of the object
AssignmentId Integer Allocation identifier
AssignmentRegisterId Integer Assignment register identifier
PickStatus Integer Status of the picking from this assignment. Note that the pick status of the assignment might differ from the status of the pick operation of the assigned item.
ProductId Integer Product identifier
ProductName String Name of the product
ProductType String Type of product
Quantity Decimal Quantity assigned

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
<Assignments>
2
     <Assignment>
3
          <AssignmentId
AssignmentId

Allocation identifier

>
{Integer}</AssignmentId>
4
          <Quantity
Quantity

Quantity assigned

>
{Decimal}</Quantity>
5
          <AssignedTo>
6
               <ItemId
ItemId

Item-number of the object

>
{Integer}</ItemId>
7
               <ItemType
ItemType

Type of item

>
{String}</ItemType>
8
               <PickOperation>
9
                    <PickOperationId
PickOperationId

Pick operation identifier

>
{Integer}</PickOperationId>
10
                    <PickOperationLink
PickOperationLink

Pick operation reference

>
{String}</PickOperationLink>
11
               </PickOperation>
12
               <ItemLink
ItemLink

API reference to the item

>
{String}</ItemLink>
13
               <RamBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

>
{String}</RamBaseKey>
14
          </AssignedTo>
15
          <Picking>
16
               <PickStatus
PickStatus

Status of the picking from this assignment. Note that the pick status of the assignment might differ from the status of the pick operation of the assigned item.

Possible domain values can be found here

>
{Integer}</PickStatus>
17
               <PickedQuantity
PickedQuantity

Total picked quantity of this assignment. Will not get a value before pick operation has started.

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

>
{Decimal}</PickedQuantity>
18
          </Picking>
19
          <AssignmentRegister>
20
               <AssignmentRegisterId
AssignmentRegisterId

Assignment register identifier

>
{Integer}</AssignmentRegisterId>
21
               <Owner>
22
                    <ItemId
ItemId

Item-number of the object

>
{Integer}</ItemId>
23
                    <ItemType
ItemType

Type of item

>
{String}</ItemType>
24
                    <ProductStructureRevision
ProductStructureRevision

The revision will typically be a major change, as opposed to minor changes stored in the version of the product structure.

>
{String}</ProductStructureRevision>
25
                    <MeasurementUnit>
26
                         <MeasurementUnitId
MeasurementUnitId

Material unit reference

>
{Integer}</MeasurementUnitId>
27
                         <MeasurementUnitLink
MeasurementUnitLink

Material unit reference

>
{String}</MeasurementUnitLink>
28
                    </MeasurementUnit>
29
                    <Object>
30
                         <Database
Database

Database of the object

>
{String}</Database>
31
                         <ObjectId
ObjectId

Identifier of the object

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

Type of object

>
{String}</ObjectType>
33
                         <ObjectLink
ObjectLink

API reference to the object

>
{String}</ObjectLink>
34
                    </Object>
35
                    <ItemLink
ItemLink

API reference to the item

>
{String}</ItemLink>
36
                    <RamBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

>
{String}</RamBaseKey>
37
               </Owner>
38
               <Product>
39
                    <ProductId
ProductId

Product identifier

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

Name of the product

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

Type of product

Possible domain values can be found here

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

Description of the product

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

Product reference

>
{String}</ProductLink>
44
               </Product>
45
               <AssignmentRegisterLink
AssignmentRegisterLink

Assignment register reference

>
{String}</AssignmentRegisterLink>
46
          </AssignmentRegister>
47
          <AssignmentLink
AssignmentLink

Assignment reference

>
{String}</AssignmentLink>
48
     </Assignment>
49
     <Paging
Paging

Detailed paging information for this list.

>
50
          <PageSize
PageSize

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

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

Position of the first element in the list

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

Page index

>
{Integer}</Page>
53
          <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>
54
          <FirstPage
FirstPage

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

>
{String}</FirstPage>
55
          <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>
56
          <PreviousPage
PreviousPage

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

>
{String}</PreviousPage>
57
          <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>
58
          <NextPage
NextPage

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

>
{String}</NextPage>
59
          <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>
60
          <LastPage
LastPage

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

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

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

>
{Integer}</Size>
62
     </Paging>
63
</Assignments>
1
{
2
     "assignments": [
3
          {
4
               "assignmentId
AssignmentId

Allocation identifier

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

Quantity assigned

":
"{Decimal}",
6
               "assignedTo": {
7
                    "itemId
ItemId

Item-number of the object

":
"{Integer}",
8
                    "itemType
ItemType

Type of item

":
"{String}",
9
                    "pickOperation": {
10
                         "pickOperationId
PickOperationId

Pick operation identifier

":
"{Integer}",
11
                         "pickOperationLink
PickOperationLink

Pick operation reference

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

API reference to the item

":
"{String}",
14
                    "ramBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

":
"{String}"
15
               },
16
               "picking": {
17
                    "pickStatus
PickStatus

Status of the picking from this assignment. Note that the pick status of the assignment might differ from the status of the pick operation of the assigned item.

Possible domain values can be found here

":
"{Integer}",
18
                    "pickedQuantity
PickedQuantity

Total picked quantity of this assignment. Will not get a value before pick operation has started.

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

":
"{Decimal}"
19
               },
20
               "assignmentRegister": {
21
                    "assignmentRegisterId
AssignmentRegisterId

Assignment register identifier

":
"{Integer}",
22
                    "owner": {
23
                         "itemId
ItemId

Item-number of the object

":
"{Integer}",
24
                         "itemType
ItemType

Type of item

":
"{String}",
25
                         "productStructureRevision
ProductStructureRevision

The revision will typically be a major change, as opposed to minor changes stored in the version of the product structure.

":
"{String}",
26
                         "measurementUnit": {
27
                              "measurementUnitId
MeasurementUnitId

Material unit reference

":
"{Integer}",
28
                              "measurementUnitLink
MeasurementUnitLink

Material unit reference

":
"{String}"
29
                         },
30
                         "object": {
31
                              "database
Database

Database of the object

":
"{String}",
32
                              "objectId
ObjectId

Identifier of the object

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

Type of object

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

API reference to the object

":
"{String}"
35
                         },
36
                         "itemLink
ItemLink

API reference to the item

":
"{String}",
37
                         "ramBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

":
"{String}"
38
                    },
39
                    "product": {
40
                         "productId
ProductId

Product identifier

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

Name of the product

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

Type of product

Possible domain values can be found here

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

Description of the product

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

Product reference

":
"{String}"
45
                    },
46
                    "assignmentRegisterLink
AssignmentRegisterLink

Assignment register reference

":
"{String}"
47
               },
48
               "assignmentLink
AssignmentLink

Assignment reference

":
"{String}"
49
          }
50
     ],
51
     "paging
Paging

Detailed paging information for this list.

":
{
52
          "pageSize
PageSize

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

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

Position of the first element in the list

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

Page index

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

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

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

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

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

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

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

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

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

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

":
"{Integer}"
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 102190 HTTP 404 Missing mandatory parameter for pick operation id
Error 102187 HTTP 400 Missing mandatory parameter for goods reception database
Error 102188 HTTP 400 Missing mandatory parameter for goods reception id
Error 102189 HTTP 400 Missing mandatory parameter for goods reception item id