POST v1/Orders/{orderId}/Rows/{orderRowId}/ProductRegistrations

Add a new ProductRegistration.

Request Information

Requires Authorization!

URI Parameters

NameDescriptionTypeAdditional information
orderId

The order identifier.

integer

Required.

orderRowId

The order row identifier.

integer

Required.

Body Parameters

The ProductRegisration changes object

ProductRegistrationChanges
NameDescriptionTypeAdditional information
Id

integer

Must be 0

StatusId

integer

Required

ProductRegistrationCategoryId

integer

None.

UseByDatePreWarningDays

integer

Required

OrderRowId

integer

Required

SerialNumber

string

Max length: 50

UseByDate

date

None.

Comment

string

Max length: 1000

ProductSelectionProductId

integer

None.

ProductId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "StatusId": 2,
  "ProductRegistrationCategoryId": 1,
  "UseByDatePreWarningDays": 3,
  "OrderRowId": 4,
  "SerialNumber": "sample string 5",
  "UseByDate": "2021-12-02T20:19:35.0134816+01:00",
  "Comment": "sample string 6",
  "ProductSelectionProductId": 1,
  "ProductId": 1
}

application/xml, text/xml

Sample:
<ProductRegistrationChanges xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Id>1</Id>
  <StatusId>2</StatusId>
  <ProductRegistrationCategoryId>1</ProductRegistrationCategoryId>
  <UseByDatePreWarningDays>3</UseByDatePreWarningDays>
  <OrderRowId>4</OrderRowId>
  <SerialNumber>sample string 5</SerialNumber>
  <UseByDate>2021-12-02T20:19:35.0134816+01:00</UseByDate>
  <Comment>sample string 6</Comment>
  <ProductSelectionProductId>1</ProductSelectionProductId>
  <ProductId>1</ProductId>
</ProductRegistrationChanges>

Response Information

Resource Description

The ProductRegisration object.


ProductRegistration
NameDescriptionTypeAdditional information
Id

integer

Must be 0

StatusId

integer

Required

ProductRegistrationCategoryId

integer

None.

UseByDatePreWarningDays

integer

Required

OrderRowId

integer

Required

SerialNumber

string

Max length: 50

UseByDate

date

None.

Comment

string

Max length: 1000

ProductSelectionProductId

integer

None.

ProductId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "StatusId": 2,
  "ProductRegistrationCategoryId": 1,
  "UseByDatePreWarningDays": 3,
  "OrderRowId": 4,
  "SerialNumber": "sample string 5",
  "UseByDate": "2021-12-02T20:19:35.0134816+01:00",
  "Comment": "sample string 6",
  "ProductSelectionProductId": 1,
  "ProductId": 1
}

application/xml, text/xml

Sample:
<ProductRegistration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Id>1</Id>
  <StatusId>2</StatusId>
  <ProductRegistrationCategoryId>1</ProductRegistrationCategoryId>
  <UseByDatePreWarningDays>3</UseByDatePreWarningDays>
  <OrderRowId>4</OrderRowId>
  <SerialNumber>sample string 5</SerialNumber>
  <UseByDate>2021-12-02T20:19:35.0134816+01:00</UseByDate>
  <Comment>sample string 6</Comment>
  <ProductSelectionProductId>1</ProductSelectionProductId>
  <ProductId>1</ProductId>
</ProductRegistration>