POST production/serial-number-templates

Creates new serial number template

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

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
<SerialNumberTemplate
SerialNumberTemplate

This field is optional.

>
2
     <Description
Description

Description / name of the serial number template.

This field is optional.

>
{String}</Description>
3
     <ProductStatus
ProductStatus

Status of product.
optional - If used this template is only for articles with this value in Status field.

Applicable domain values can be found here when logged in

This field is optional.

>
{Integer}</ProductStatus>
4
</SerialNumberTemplate>
1
{
2
     "serialNumberTemplate
SerialNumberTemplate

This field is optional.

":
{
3
          "description
Description

Description / name of the serial number template.

This field is optional.

":
"{String}",
4
          "productStatus
ProductStatus

Status of product.
optional - If used this template is only for articles with this value in Status field.

Applicable domain values can be found here when logged in

This field is optional.

":
"{Integer}"
5
     }
6
}

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 Use to show an additional descriptional field for fields that are using Domain Values.
$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.

Please note that some fields may be removed from the response, based on user roles/duties/permissions.

Format:
1
<SerialNumberTemplate>
2
     <SerialNumberTemplateId
SerialNumberTemplateId

Serial number template identifer

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

Status of serialnumber template.

values:

1- edit mode
4 - activ
9 - obsolite

Possible domain values can be found here when logged in

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

Date and time of creation

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

Status of product.
optional - If used this template is only for articles with this value in Status field.

Possible domain values can be found here when logged in

>
{Integer}</ProductStatus>
6
     <Description
Description

Description / name of the serial number template.

>
{String}</Description>
7
</SerialNumberTemplate>
1
{
2
     "serialNumberTemplate": {
3
          "serialNumberTemplateId
SerialNumberTemplateId

Serial number template identifer

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

Status of serialnumber template.

values:

1- edit mode
4 - activ
9 - obsolite

Possible domain values can be found here when logged in

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

Date and time of creation

":
"{Datetime}",
6
          "productStatus
ProductStatus

Status of product.
optional - If used this template is only for articles with this value in Status field.

Possible domain values can be found here when logged in

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

Description / name of the serial number template.

":
"{String}"
8
     }
9
}

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 104116 HTTP 404 Serialnumber template was not found.
Error 103090 HTTP 400 Edit is only allowed in status 1
Error 104136 HTTP 400 Product status must be between 1 and 9