GET production/resources/{productionResourceId}/restricted-stock-locations

Returns a list of the restricted stock locations

Note: Log in to check if your API client have access to run this resource
Version: 7
Success HTTP Status Code: 200
Maximum items from list ($top): 80

Uri parameters

{productionResourceId} Integer Production resource identifier

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 is 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.

$inlinecount String, optional Only usable when the result is a list. Set to "allpages" if you want size of the result list to be returned. Accepted values are: "allpages", "none"
$top String, optional Only usable when the result is a list. Set the number of objects to return in result list. Maximum limit is specific for each resource, but is default 80.
$filter String, optional Only usable when the result is a list. Use to filter the result list, see the Filter and OrderBy page for more information about this.
$orderby String, optional Only usable when the result is a list. Use to order the result list, see Filter and OrderBy page for more information about this.
$select String, optional Use to define the fields to return in the result. Accepts a comma-separated list of Output Field names. See the Expand and Select page for more information about this.
$db String, optional Set the database to use for the request
$format String, optional Set the format of the response to use for the request. Accepted values are "xml", "json"
$lang String, optional Use to get localized responses. Supported formats are 3-letter ISO-639-1 [lll], 2-letter ISO-639-2 [ll], or a combination of a two-letter language code and a two-letter country code ISO-639-2 and ISO-3166-1 [ll_CC], [ll-CC]
$useMinimumVersion Integer, optional This can be used to test a new version of a resource when your ApiClient is running an older, deprecated, version of a resource. $useminimumversion can be used to test against a newer version of the resource. See the Deprecated APIs page for more information about this.

See the page about filters and sorting on how to use filter parameters and named filters.

Description String Description of stock location.
Label String Name of current- and parent stock locations, including seperator for location.
Name String Name of stock location.
StockLocationId Integer Stock location identifier.

See the page 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
<RestrictedStockLocations>
2
     <StockLocation>
3
          <StockLocationId
StockLocationId

Stock location identifier

>
{Integer}</StockLocationId>
4
          <Name
Name

Name of stock location

>
{String}</Name>
5
          <Label
Label

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

>
{String}</Label>
6
          <Description
Description

Description of stock location

>
{String}</Description>
7
          <Location>
8
               <LocationId
LocationId

Location identifier

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

Location reference

>
{String}</LocationLink>
10
          </Location>
11
          <StockLocationLink
StockLocationLink

Stock location reference

>
{String}</StockLocationLink>
12
     </StockLocation>
13
</RestrictedStockLocations>
1
{
2
     "restrictedStockLocations": [
3
          {
4
               "stockLocationId
StockLocationId

Stock location identifier

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

Name of stock location

":
"{String}",
6
               "label
Label

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

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

Description of stock location

":
"{String}",
8
               "location": {
9
                    "locationId
LocationId

Location identifier

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

Location reference

":
"{String}"
11
               },
12
               "stockLocationLink
StockLocationLink

Stock location reference

":
"{String}"
13
          }
14
     ]
15
}

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 100207 HTTP 404 Production resource not found
Error 103366 HTTP 404 Production resource group not found