API

Logistics APIs

GET logistics/stock-location-assignments/{stockLocationAssignmentId}

Stock location assignment details for provided identifier

HTTP method GET
URI https://api.rambase.net/logistics/stock-location-assignments/{stockLocationAssignmentId}
Supported formats Xml, Html, Json (ex. $format=json)
- URI parameter {stockLocationAssignmentId} Stock location assignment identifier
Integer, minimum 100000
Successful HTTP status code 200
API resource identifier 1995, 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.

$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
$format String, optional Set the format of the response to use for the request. Accepted values are "xml", "html", "jsonstream", "json"
$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.
$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.
$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.

Read more about filters and sorting on how to use filter parameters and named filters.

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

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
<StockLocationAssignment>
2
     <StockLocationAssignmentId
StockLocationAssignmentId

Stock location assignment identifier

>
{Integer}</StockLocationAssignmentId>
3
     <Status
Status

Status of stock location assignment

Possible domain values can be found here

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

Date and time of creation

>
{Datetime}</CreatedAt>
5
     <Quantity
Quantity

Initial quantity placed in the stock location

>
{Decimal}</Quantity>
6
     <RemainingQuantity
RemainingQuantity

Quantity from goods reception item remaining in stock location

>
{Decimal}</RemainingQuantity>
7
     <IsBlockedForPicking
IsBlockedForPicking

True if picking from this stock location is not allowed

>
{Boolean}</IsBlockedForPicking>
8
     <IsBlockedForStockAssignments
IsBlockedForStockAssignments

True if block linking

>
{Boolean}</IsBlockedForStockAssignments>
9
     <ContainsSecondHandProducts
ContainsSecondHandProducts

True if location contains second hand products. Location will be blocked for stock assignments.

>
{Boolean}</ContainsSecondHandProducts>
10
     <ContainsSparepartsUsedForRepair
ContainsSparepartsUsedForRepair

True if location contains spareparts used for repair.

>
{Boolean}</ContainsSparepartsUsedForRepair>
11
     <ManufacturersProduct
ManufacturersProduct

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

>
12
          <ManufacturersProductId
ManufacturersProductId

Manufacturer product identifier

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

>
{Integer}</ManufacturersProductId>
13
          <Name
Name

Manufacturers name of the product. Also known as Manufacturer Part Number (MPN).

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

>
{String}</Name>
14
          <ManufacturersProductLink
ManufacturersProductLink

Manufacturers product reference

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

>
{String}</ManufacturersProductLink>
15
     </ManufacturersProduct>
16
     <GoodsReceptionItem>
17
          <GoodsReceptionItemId
GoodsReceptionItemId

Item-/line-number of the goods reception

>
{Integer}</GoodsReceptionItemId>
18
          <Database
Database

Company code/database the object belongs to

>
{String}</Database>
19
          <GoodsReception>
20
               <GoodsReceptionId
GoodsReceptionId

Goods reception identifier

>
{Integer}</GoodsReceptionId>
21
               <GoodsReceptionLink
GoodsReceptionLink

Goods reception identifier

>
{String}</GoodsReceptionLink>
22
          </GoodsReception>
23
          <Product>
24
               <ProductId
ProductId

Assignment register identifier

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

Name of the product

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

>
{String}</Name>
26
               <Description
Description

Description of the product

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

Product reference

>
{String}</ProductLink>
28
          </Product>
29
          <StockAssignment>
30
               <StockAssignmentId
StockAssignmentId

Assignment register identifier

>
{Integer}</StockAssignmentId>
31
               <StockAssignmentLink
StockAssignmentLink

Assignment register reference

>
{String}</StockAssignmentLink>
32
          </StockAssignment>
33
          <GoodsReceptionItemLink
GoodsReceptionItemLink

Goods reception item reference

>
{String}</GoodsReceptionItemLink>
34
     </GoodsReceptionItem>
35
     <StockLocation>
36
          <StockLocationId
StockLocationId

Stock location identifier

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

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

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

>
{String}</Label>
38
          <IsBlockedForStock
IsBlockedForStock

Determines whether or not this stock location is blocked for stock

>
{Boolean}</IsBlockedForStock>
39
          <Location>
40
               <LocationId
LocationId

Location identifier

>
{Integer}</LocationId>
41
               <LocationLink
LocationLink

Location reference

>
{String}</LocationLink>
42
          </Location>
43
          <StockLocationLink
StockLocationLink

Stock location reference

>
{String}</StockLocationLink>
44
     </StockLocation>
45
</StockLocationAssignment>
1
{
2
     "stockLocationAssignment": {
3
          "stockLocationAssignmentId
StockLocationAssignmentId

Stock location assignment identifier

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

Status of stock location assignment

Possible domain values can be found here

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

Date and time of creation

":
"{Datetime}",
6
          "quantity
Quantity

Initial quantity placed in the stock location

":
"{Decimal}",
7
          "remainingQuantity
RemainingQuantity

Quantity from goods reception item remaining in stock location

":
"{Decimal}",
8
          "isBlockedForPicking
IsBlockedForPicking

True if picking from this stock location is not allowed

":
"{Boolean}",
9
          "isBlockedForStockAssignments
IsBlockedForStockAssignments

True if block linking

":
"{Boolean}",
10
          "containsSecondHandProducts
ContainsSecondHandProducts

True if location contains second hand products. Location will be blocked for stock assignments.

":
"{Boolean}",
11
          "containsSparepartsUsedForRepair
ContainsSparepartsUsedForRepair

True if location contains spareparts used for repair.

":
"{Boolean}",
12
          "manufacturersProduct
ManufacturersProduct

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

":
{
13
               "manufacturersProductId
ManufacturersProductId

Manufacturer product identifier

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

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

Manufacturers name of the product. Also known as Manufacturer Part Number (MPN).

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

":
"{String}",
15
               "manufacturersProductLink
ManufacturersProductLink

Manufacturers product reference

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

":
"{String}"
16
          },
17
          "goodsReceptionItem": {
18
               "goodsReceptionItemId
GoodsReceptionItemId

Item-/line-number of the goods reception

":
"{Integer}",
19
               "database
Database

Company code/database the object belongs to

":
"{String}",
20
               "goodsReception": {
21
                    "goodsReceptionId
GoodsReceptionId

Goods reception identifier

":
"{Integer}",
22
                    "goodsReceptionLink
GoodsReceptionLink

Goods reception identifier

":
"{String}"
23
               },
24
               "product": {
25
                    "productId
ProductId

Assignment register identifier

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

Name of the product

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

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

Description of the product

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

Product reference

":
"{String}"
29
               },
30
               "stockAssignment": {
31
                    "stockAssignmentId
StockAssignmentId

Assignment register identifier

":
"{Integer}",
32
                    "stockAssignmentLink
StockAssignmentLink

Assignment register reference

":
"{String}"
33
               },
34
               "goodsReceptionItemLink
GoodsReceptionItemLink

Goods reception item reference

":
"{String}"
35
          },
36
          "stockLocation": {
37
               "stockLocationId
StockLocationId

Stock location identifier

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

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

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

":
"{String}",
39
               "isBlockedForStock
IsBlockedForStock

Determines whether or not this stock location is blocked for stock

":
"{Boolean}",
40
               "location": {
41
                    "locationId
LocationId

Location identifier

":
"{Integer}",
42
                    "locationLink
LocationLink

Location reference

":
"{String}"
43
               },
44
               "stockLocationLink
StockLocationLink

Stock location reference

":
"{String}"
45
          }
46
     }
47
}

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 100050 HTTP 403 No admittance as customer {0}
Error 100053 HTTP 403 You have only admittance to your own suppliers
Error 101420 HTTP 404 Setting definition not found