GET v1/Returns/{id}/Rows

Get a list with all OrderReturnRows for a given OrderReturn.

Request Information

Requires Authorization!

URI Parameters

NameDescriptionTypeAdditional information
id

The OrderReturn identifier.

integer

Required.

Body Parameters

None.

Response Information

Resource Description

A list of the OrderReturnRow objects.


Collection of OrderReturnRow
NameDescriptionTypeAdditional information
Id

Gets or sets the Id

integer

Required

OrderRowId

Gets or sets the order row id

integer

Required

ProductCode

Gets or sets the product code

string

None.

ProductName

Gets or sets the product name

string

None.

Comment

Gets or sets the comment

string

Max length: 2147483647

CustomerComment

Gets or sets the customer comment

string

Max length: 2147483647

ReturnedQuantity

Gets or sets the returned quantity

decimal number

Required

ApprovedQuantity

Gets or sets the approved quantity

decimal number

Required

Resolution

Gets or sets the resolution

ReturnResolutionEnum

None.

ReturnReasonId

Gets or sets the return reason id

integer

None.

MainReturnRowStatusId

Gets or sets the main return row status id

integer

Required

ReturnConditionId

Gets or sets the return condition id

integer

None.

ProductSelectionProductId

Gets or sets the

integer

None.

SupplierName

Gets or sets the supplier name

string

None.

CustomReturnRowStatusId

Gets or sets the customer return row status id

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "OrderRowId": 2,
    "ProductCode": "sample string 3",
    "ProductName": "sample string 4",
    "Comment": "sample string 5",
    "CustomerComment": "sample string 6",
    "ReturnedQuantity": 1.0,
    "ApprovedQuantity": 1.0,
    "Resolution": 0,
    "ReturnReasonId": 1,
    "MainReturnRowStatusId": 1,
    "ReturnConditionId": 1,
    "ProductSelectionProductId": 1,
    "SupplierName": "sample string 7",
    "CustomReturnRowStatusId": 1
  },
  {
    "Id": 1,
    "OrderRowId": 2,
    "ProductCode": "sample string 3",
    "ProductName": "sample string 4",
    "Comment": "sample string 5",
    "CustomerComment": "sample string 6",
    "ReturnedQuantity": 1.0,
    "ApprovedQuantity": 1.0,
    "Resolution": 0,
    "ReturnReasonId": 1,
    "MainReturnRowStatusId": 1,
    "ReturnConditionId": 1,
    "ProductSelectionProductId": 1,
    "SupplierName": "sample string 7",
    "CustomReturnRowStatusId": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfOrderReturnRow xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <OrderReturnRow>
    <Id>1</Id>
    <OrderRowId>2</OrderRowId>
    <ProductCode>sample string 3</ProductCode>
    <ProductName>sample string 4</ProductName>
    <Comment>sample string 5</Comment>
    <CustomerComment>sample string 6</CustomerComment>
    <ReturnedQuantity>1</ReturnedQuantity>
    <ApprovedQuantity>1</ApprovedQuantity>
    <Resolution>Undefined</Resolution>
    <ReturnReasonId>1</ReturnReasonId>
    <MainReturnRowStatusId>1</MainReturnRowStatusId>
    <ReturnConditionId>1</ReturnConditionId>
    <ProductSelectionProductId>1</ProductSelectionProductId>
    <SupplierName>sample string 7</SupplierName>
    <CustomReturnRowStatusId>1</CustomReturnRowStatusId>
  </OrderReturnRow>
  <OrderReturnRow>
    <Id>1</Id>
    <OrderRowId>2</OrderRowId>
    <ProductCode>sample string 3</ProductCode>
    <ProductName>sample string 4</ProductName>
    <Comment>sample string 5</Comment>
    <CustomerComment>sample string 6</CustomerComment>
    <ReturnedQuantity>1</ReturnedQuantity>
    <ApprovedQuantity>1</ApprovedQuantity>
    <Resolution>Undefined</Resolution>
    <ReturnReasonId>1</ReturnReasonId>
    <MainReturnRowStatusId>1</MainReturnRowStatusId>
    <ReturnConditionId>1</ReturnConditionId>
    <ProductSelectionProductId>1</ProductSelectionProductId>
    <SupplierName>sample string 7</SupplierName>
    <CustomReturnRowStatusId>1</CustomReturnRowStatusId>
  </OrderReturnRow>
</ArrayOfOrderReturnRow>