API

Logistics APIs

GET logistics/pick-assignments?objectType={objectType}&objectId={objectId}&itemId={itemId}

List of all assignments for provided object, with additional picking information. If a picking route exists, the list will be sorted by it.

HTTP method GET
URI https://api.rambase.net/logistics/pick-assignments?objectType={objectType}&objectId={objectId}&itemId={itemId}
Supported formats Xml, Html, Json (ex. $format=json)
Maximum page size ($top) 80
Successful HTTP status code 200
API resource identifier 2359, version 16

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.

objectType String, required Type of object
objectId Integer, required Identifier of the object
itemId Integer, optional Item-number of the object
$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.

OnlyConsumptionParts() Named filter Type of product
PickInitialized() Named filter Status of pick operation
PickNotStarted() Named filter Status of pick operation
AssignedToId Integer Assignment document identifier.
AssignedToItemId Integer Assignment item identifier.
AssignmentId Integer Allocation identifier.
AssignmentRegisterId Integer Assignment register identifier.
AssignmentRegisterOwnerType String Type of assignment register.
OperationSequenceNumber Integer Sequence number of the product structure operation. Unique within a product structure.
OwnerObjectId Integer Identifier of the object.
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.
StockLocationLabel String Name of current- and parent stock locations, including seperator for location.

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

AssignedToItemId Integer Assignment item identifier
OwnerObjectId Integer Identifier of the object
ProductId Integer Product identifier
ProductName String Name of the product
StockLocationLabel String Name of current- and parent stock locations, including seperator for location

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
<PickAssignments>
2
     <PickAssignment>
3
          <SortingPriority
SortingPriority

Sort order of the picking route

>
{Integer}</SortingPriority>
4
          <PreferredStockLocation>
5
               <StockLocationId
StockLocationId

Stock location identifier

>
{Integer}</StockLocationId>
6
               <Label
Label

Name of current- and parent stock locations, including seperator for location

>
{String}</Label>
7
               <StockLocationLink
StockLocationLink

Stock location reference

>
{String}</StockLocationLink>
8
          </PreferredStockLocation>
9
          <PickOperation>
10
               <PickOperationId
PickOperationId

Pick operation identifier

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

Pick operation reference

>
{String}</PickOperationLink>
12
          </PickOperation>
13
          <Assignment>
14
               <AssignmentId
AssignmentId

Allocation identifier

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

Quantity assigned

>
{Decimal}</Quantity>
16
               <AssignedTo>
17
                    <ObjectId
ObjectId

Identifier of the object

>
{Integer}</ObjectId>
18
                    <ItemId
ItemId

Item-number of the object

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

Type of item

>
{String}</ItemType>
20
                    <ItemLink
ItemLink

API reference to the item

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

Internal RamBase identifier of the object/item

>
{String}</RamBaseKey>
22
               </AssignedTo>
23
               <ProductStructureAssignment>
24
                    <ProductStructureMaterial>
25
                         <ProductStructureMaterialId
ProductStructureMaterialId

Product structure material identifier

>
{Integer}</ProductStructureMaterialId>
26
                         <ProductStructureOperation>
27
                              <SequenceNumber
SequenceNumber

Sequence number of the product structure operation. Unique within a product structure.

>
{Integer}</SequenceNumber>
28
                         </ProductStructureOperation>
29
                         <ProductStructure>
30
                              <ProductStructureId
ProductStructureId

Assignment register identifier

>
{Integer}</ProductStructureId>
31
                              <ProductStructureLink
ProductStructureLink

Assignment register identifier

>
{String}</ProductStructureLink>
32
                         </ProductStructure>
33
                         <ProductStructureMaterialLink
ProductStructureMaterialLink

Product structure material reference

>
{String}</ProductStructureMaterialLink>
34
                    </ProductStructureMaterial>
35
                    <ProductStructureOperation>
36
                         <ProductStructureOperationId
ProductStructureOperationId

Product structure operation identifier

>
{Integer}</ProductStructureOperationId>
37
                         <SequenceNumber
SequenceNumber

Sequence number of the product structure operation. Unique within a product structure.

>
{Integer}</SequenceNumber>
38
                         <ProductStructure>
39
                              <ProductStructureId
ProductStructureId

Assignment register identifier

>
{Integer}</ProductStructureId>
40
                              <ProductStructureLink
ProductStructureLink

Assignment register identifier

>
{String}</ProductStructureLink>
41
                         </ProductStructure>
42
                         <ProductStructureOperationLink
ProductStructureOperationLink

Product structure operation reference

>
{String}</ProductStructureOperationLink>
43
                    </ProductStructureOperation>
44
               </ProductStructureAssignment>
45
               <Picking>
46
                    <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>
47
                    <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=PickAssignment.Assignment.Picking.PickedQuantity in your request URI to get this field

>
{Decimal}</PickedQuantity>
48
               </Picking>
49
               <AssignmentRegister>
50
                    <AssignmentRegisterId
AssignmentRegisterId

Assignment register identifier

>
{Integer}</AssignmentRegisterId>
51
                    <OwnerType
OwnerType

Type of assignment register

Possible domain values can be found here

>
{String}</OwnerType>
52
                    <Owner>
53
                         <ItemId
ItemId

Item-number of the object

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

Type of item

>
{String}</ItemType>
55
                         <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>
56
                         <MeasurementUnit>
57
                              <MeasurementUnitId
MeasurementUnitId

Material unit reference

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

Material unit reference

>
{String}</MeasurementUnitLink>
59
                         </MeasurementUnit>
60
                         <Object>
61
                              <Database
Database

Database of the object

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

Identifier of the object

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

Type of object

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

API reference to the object

>
{String}</ObjectLink>
65
                         </Object>
66
                         <ItemLink
ItemLink

API reference to the item

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

Internal RamBase identifier of the object/item

>
{String}</RamBaseKey>
68
                    </Owner>
69
                    <Product>
70
                         <ProductId
ProductId

Product identifier

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

Name of the product

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

Type of product

Possible domain values can be found here

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

Description of the product

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

Product reference

>
{String}</ProductLink>
75
                    </Product>
76
                    <AssignmentRegisterLink
AssignmentRegisterLink

Assignment register reference

>
{String}</AssignmentRegisterLink>
77
               </AssignmentRegister>
78
               <AssignmentLink
AssignmentLink

Assignment reference

>
{String}</AssignmentLink>
79
          </Assignment>
80
     </PickAssignment>
81
     <Paging
Paging

Detailed paging information for this list.

>
82
          <PageSize
PageSize

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

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

Position of the first element in the list

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

Page index

>
{Integer}</Page>
85
          <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>
86
          <FirstPage
FirstPage

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

>
{String}</FirstPage>
87
          <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>
88
          <PreviousPage
PreviousPage

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

>
{String}</PreviousPage>
89
          <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>
90
          <NextPage
NextPage

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

>
{String}</NextPage>
91
          <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>
92
          <LastPage
LastPage

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

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

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

>
{Integer}</Size>
94
     </Paging>
95
</PickAssignments>
1
{
2
     "pickAssignments": [
3
          {
4
               "sortingPriority
SortingPriority

Sort order of the picking route

":
"{Integer}",
5
               "preferredStockLocation": {
6
                    "stockLocationId
StockLocationId

Stock location identifier

":
"{Integer}",
7
                    "label
Label

Name of current- and parent stock locations, including seperator for location

":
"{String}",
8
                    "stockLocationLink
StockLocationLink

Stock location reference

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

Pick operation identifier

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

Pick operation reference

":
"{String}"
13
               },
14
               "assignment": {
15
                    "assignmentId
AssignmentId

Allocation identifier

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

Quantity assigned

":
"{Decimal}",
17
                    "assignedTo": {
18
                         "objectId
ObjectId

Identifier of the object

":
"{Integer}",
19
                         "itemId
ItemId

Item-number of the object

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

Type of item

":
"{String}",
21
                         "itemLink
ItemLink

API reference to the item

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

Internal RamBase identifier of the object/item

":
"{String}"
23
                    },
24
                    "productStructureAssignment": {
25
                         "productStructureMaterial": {
26
                              "productStructureMaterialId
ProductStructureMaterialId

Product structure material identifier

":
"{Integer}",
27
                              "productStructureOperation": {
28
                                   "sequenceNumber
SequenceNumber

Sequence number of the product structure operation. Unique within a product structure.

":
"{Integer}"
29
                              },
30
                              "productStructure": {
31
                                   "productStructureId
ProductStructureId

Assignment register identifier

":
"{Integer}",
32
                                   "productStructureLink
ProductStructureLink

Assignment register identifier

":
"{String}"
33
                              },
34
                              "productStructureMaterialLink
ProductStructureMaterialLink

Product structure material reference

":
"{String}"
35
                         },
36
                         "productStructureOperation": {
37
                              "productStructureOperationId
ProductStructureOperationId

Product structure operation identifier

":
"{Integer}",
38
                              "sequenceNumber
SequenceNumber

Sequence number of the product structure operation. Unique within a product structure.

":
"{Integer}",
39
                              "productStructure": {
40
                                   "productStructureId
ProductStructureId

Assignment register identifier

":
"{Integer}",
41
                                   "productStructureLink
ProductStructureLink

Assignment register identifier

":
"{String}"
42
                              },
43
                              "productStructureOperationLink
ProductStructureOperationLink

Product structure operation reference

":
"{String}"
44
                         }
45
                    },
46
                    "picking": {
47
                         "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}",
48
                         "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=PickAssignment.Assignment.Picking.PickedQuantity in your request URI to get this field

":
"{Decimal}"
49
                    },
50
                    "assignmentRegister": {
51
                         "assignmentRegisterId
AssignmentRegisterId

Assignment register identifier

":
"{Integer}",
52
                         "ownerType
OwnerType

Type of assignment register

Possible domain values can be found here

":
"{String}",
53
                         "owner": {
54
                              "itemId
ItemId

Item-number of the object

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

Type of item

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

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

":
"{String}",
57
                              "measurementUnit": {
58
                                   "measurementUnitId
MeasurementUnitId

Material unit reference

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

Material unit reference

":
"{String}"
60
                              },
61
                              "object": {
62
                                   "database
Database

Database of the object

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

Identifier of the object

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

Type of object

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

API reference to the object

":
"{String}"
66
                              },
67
                              "itemLink
ItemLink

API reference to the item

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

Internal RamBase identifier of the object/item

":
"{String}"
69
                         },
70
                         "product": {
71
                              "productId
ProductId

Product identifier

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

Name of the product

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

Type of product

Possible domain values can be found here

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

Description of the product

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

Product reference

":
"{String}"
76
                         },
77
                         "assignmentRegisterLink
AssignmentRegisterLink

Assignment register reference

":
"{String}"
78
                    },
79
                    "assignmentLink
AssignmentLink

Assignment reference

":
"{String}"
80
               }
81
          }
82
     ],
83
     "paging
Paging

Detailed paging information for this list.

":
{
84
          "pageSize
PageSize

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

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

Position of the first element in the list

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

Page index

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

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

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

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

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

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

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

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

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

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

":
"{Integer}"
96
     }
97
}

List of available operations/actions for this resource.
See the operations documentation for more information about API operations.

POST
Undo Pick All
AOP/100096
POST
Pick All
AOP/100097
POST
Pick All
AOP/100103
POST
Undo Pick All
AOP/100104
POST
Pick All
AOP/100106
POST
Undo Pick All
AOP/100107
POST
Undo Pick All
AOP/100111
POST
Pick All
AOP/100112
POST
Initiate Pick
AOP/100142
POST
Undo Initiate Pick
AOP/100160
POST
Pick All
AOP/100167
POST
Undo Pick All
AOP/100168
POST
Pick All
AOP/100228
POST
Undo Pick All
AOP/100229
POST
Initiate Pick All
AOP/100230
POST
Undo Initiate Pick All
AOP/100231
POST
Print Picking List
AOP/100261
POST
Print Picking List
AOP/100262
POST
Print Picking List
AOP/100263
POST
Print Picking List
AOP/100264
POST
Print Picking List
AOP/100265
POST
Print Picking Labels
AOP/100266
POST
Print Picking Labels
AOP/100267
POST
Print Picking Labels
AOP/100268
POST
Print Picking Labels
AOP/100269
POST
Print Picking Labels
AOP/100270
POST
Print Picking List
AOP/100271
POST
Print Picking Labels
AOP/100272
POST
Print Picking List
AOP/101084
POST
Undo Pick All for a Common Pick List
Performs an undo pick all operation for all items of all documents that belong to a common pick list, which is related with the provided CSA/SRT/STW document
AOP/101137
POST
Pick All for a Common Pick List
Performs a pick all operation for all items of all documents that belong to a common pick list, which is related with the provided CSA/SRT/STW document
AOP/101141
POST
Pick all
Performs a pick for all sales order documents that are related with a specified project order
AOP/101190
POST
Undo pick all
Performs an undo pick for all sales order documents that are related with a specified project order
AOP/101191

Possible error codes the response might return:

Error 101013 HTTP 404 Sub-module not found
Error 105969 HTTP 400 Start date is required
Error 105970 HTTP 400 End date is required
Error 102189 HTTP 400 Missing mandatory parameter for goods reception item id