GET v1/Orders/{orderId}/ProductRegistrations

Get the ProductRegistration entries registered to an order.

Request Information

Requires Authorization!

URI Parameters

NameDescriptionTypeAdditional information
orderId

The order identifier.

integer

Required.

Body Parameters

None.

Response Information

Response Codes

  • OK (200)
  • NotFound (404)

Resource Description

A list of ProductRegistration objects.


Collection of ProductRegistration
NameDescriptionTypeAdditional 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.8259838+01:00",
    "Comment": "sample string 6",
    "ProductSelectionProductId": 1,
    "ProductId": 1
  },
  {
    "Id": 1,
    "StatusId": 2,
    "ProductRegistrationCategoryId": 1,
    "UseByDatePreWarningDays": 3,
    "OrderRowId": 4,
    "SerialNumber": "sample string 5",
    "UseByDate": "2021-12-02T20:19:34.8259838+01:00",
    "Comment": "sample string 6",
    "ProductSelectionProductId": 1,
    "ProductId": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfProductRegistration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ProductRegistration>
    <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.8259838+01:00</UseByDate>
    <Comment>sample string 6</Comment>
    <ProductSelectionProductId>1</ProductSelectionProductId>
    <ProductId>1</ProductId>
  </ProductRegistration>
  <ProductRegistration>
    <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.8259838+01:00</UseByDate>
    <Comment>sample string 6</Comment>
    <ProductSelectionProductId>1</ProductSelectionProductId>
    <ProductId>1</ProductId>
  </ProductRegistration>
</ArrayOfProductRegistration>