GET product/units/{productUnitId}

Product unit details for the provided identifier

Note: Log in to check if your API client have access to run this resource
Version: 14
Success HTTP Status Code: 200

Uri parameters

{productUnitId} Integer Product unit 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.
$expand String, optional Use to expand Output fields that are not shown by default in the output result. Possible Expandable fields are listed in the Output tab for the resource. Accepts a comma-separated list of expandable Output Field names. See the Expand and Select page for more information about this.
$showDomainDescriptions Boolean, optional Use to show an additional descriptional field for fields that are using Domain Values.
$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.

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
<ProductUnit>
2
     <ProductUnitId
ProductUnitId

Product unit identifier

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

Status of product unit

Possible domain values can be found here when logged in

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

Date and time of creation

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

Serial number

>
{String}</SerialNumber>
6
     <TreeLevel
TreeLevel

The treelevel (starting at 0) of the product unit

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

>
{Integer}</TreeLevel>
7
     <ShippingAdviceItem
ShippingAdviceItem

The shipping advice item used for shipping. Note that this field is only available if no parents exists (tree level = 0).

>
8
          <Database
Database

Database of the object

>
{String}</Database>
9
          <ShippingAdviceItemId
ShippingAdviceItemId

Item-/line-number of the shipping advice

>
{Integer}</ShippingAdviceItemId>
10
          <ShippingAdvice>
11
               <ShippingAdviceId
ShippingAdviceId

Shipping advice identifier

>
{Integer}</ShippingAdviceId>
12
               <ShippingDate
ShippingDate

The registration date of the shipping advice/supplier return/ goods transfer, -which is the day stock was reduced (quantity and value)

>
{Date}</ShippingDate>
13
               <ShippingAdviceLink
ShippingAdviceLink

Shipping advice reference

>
{String}</ShippingAdviceLink>
14
          </ShippingAdvice>
15
          <ShippingAdviceItemLink
ShippingAdviceItemLink

Shipping advice item reference

>
{String}</ShippingAdviceItemLink>
16
     </ShippingAdviceItem>
17
     <ProductionWorkOrder>
18
          <ProductionWorkOrderId
ProductionWorkOrderId

Production work order identifier

>
{Integer}</ProductionWorkOrderId>
19
          <ProductionWorkOrderLink
ProductionWorkOrderLink

Production work order reference

>
{String}</ProductionWorkOrderLink>
20
     </ProductionWorkOrder>
21
     <Product>
22
          <ProductId
ProductId

Product identifier

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

Name of the product

>
{String}</Name>
24
          <ProductLink
ProductLink

Product reference

>
{String}</ProductLink>
25
     </Product>
26
     <ParentProductUnits
ParentProductUnits

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

>
27
          <ProductUnit
ProductUnit

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

>
28
               <ProductUnitId
ProductUnitId

Product unit identifier

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

>
{Integer}</ProductUnitId>
29
               <Status
Status

Status of product unit

Possible domain values can be found here when logged in

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

>
{Integer}</Status>
30
               <TreeLevel
TreeLevel

The treelevel (starting at 0) of the product unit

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

>
{Integer}</TreeLevel>
31
               <ProductUnitLink
ProductUnitLink

Product unit reference

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

>
{String}</ProductUnitLink>
32
          </ProductUnit>
33
     </ParentProductUnits>
34
</ProductUnit>
1
{
2
     "productUnit": {
3
          "productUnitId
ProductUnitId

Product unit identifier

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

Status of product unit

Possible domain values can be found here when logged in

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

Date and time of creation

":
"{Datetime}",
6
          "serialNumber
SerialNumber

Serial number

":
"{String}",
7
          "treeLevel
TreeLevel

The treelevel (starting at 0) of the product unit

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

":
"{Integer}",
8
          "shippingAdviceItem
ShippingAdviceItem

The shipping advice item used for shipping. Note that this field is only available if no parents exists (tree level = 0).

":
{
9
               "database
Database

Database of the object

":
"{String}",
10
               "shippingAdviceItemId
ShippingAdviceItemId

Item-/line-number of the shipping advice

":
"{Integer}",
11
               "shippingAdvice": {
12
                    "shippingAdviceId
ShippingAdviceId

Shipping advice identifier

":
"{Integer}",
13
                    "shippingDate
ShippingDate

The registration date of the shipping advice/supplier return/ goods transfer, -which is the day stock was reduced (quantity and value)

":
"{Date}",
14
                    "shippingAdviceLink
ShippingAdviceLink

Shipping advice reference

":
"{String}"
15
               },
16
               "shippingAdviceItemLink
ShippingAdviceItemLink

Shipping advice item reference

":
"{String}"
17
          },
18
          "productionWorkOrder": {
19
               "productionWorkOrderId
ProductionWorkOrderId

Production work order identifier

":
"{Integer}",
20
               "productionWorkOrderLink
ProductionWorkOrderLink

Production work order reference

":
"{String}"
21
          },
22
          "product": {
23
               "productId
ProductId

Product identifier

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

Name of the product

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

Product reference

":
"{String}"
26
          },
27
          "parentProductUnits
ParentProductUnits

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

":
[
28
               {
29
                    "productUnitId
ProductUnitId

Product unit identifier

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

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

Status of product unit

Possible domain values can be found here when logged in

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

":
"{Integer}",
31
                    "treeLevel
TreeLevel

The treelevel (starting at 0) of the product unit

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

":
"{Integer}",
32
                    "productUnitLink
ProductUnitLink

Product unit reference

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

":
"{String}"
33
               }
34
          ]
35
     }
36
}

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 100133 HTTP 400 Product unit not found