PUT v1/Orders/{orderId}/Rows/{orderRowId}/ProductRegistrations
Updates a ProductRegistration.
Request Information
Requires Authorization!
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
orderId |
The order identifier. |
integer |
Required. |
orderRowId |
The order row identifier. |
integer |
Required. |
Body Parameters
The ProductRegisration changes object
ProductRegistrationChangesName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
Required |
|
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:34.935362+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:34.935362+01:00</UseByDate> <Comment>sample string 6</Comment> <ProductSelectionProductId>1</ProductSelectionProductId> <ProductId>1</ProductId> </ProductRegistrationChanges>
Response Information
Resource Description
The ProductRegisration object.
ProductRegistration
Name | Description | Type | Additional information |
---|---|---|---|
Id | integer |
Required |
|
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:34.9509897+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:34.9509897+01:00</UseByDate> <Comment>sample string 6</Comment> <ProductSelectionProductId>1</ProductSelectionProductId> <ProductId>1</ProductId> </ProductRegistration>