POST api/Returns/CreateReturn
Request Information
URI Parameters
None.
Body Parameters
CreateReturnDto| Name | Description | Type | Additional information |
|---|---|---|---|
| ReturnLabel | string |
String length: inclusive between 0 and 155 |
|
| LocationId | integer |
Required |
|
| CreatedDate | date |
Required |
|
| CreatedBy | integer |
Required |
|
| ReturnStatusId | integer |
Required |
|
| OrderLineDetail | Collection of OrderLineDetailDto |
None. |
Request Formats
application/json, text/json
Sample:
{
"ReturnLabel": "sample string 1",
"LocationId": 2,
"CreatedDate": "2026-04-29T22:08:10.9157476+00:00",
"CreatedBy": 4,
"ReturnStatusId": 5,
"OrderLineDetail": [
{
"OrderLineId": 1,
"ReturnReasonId": 2,
"QtyReturned": 3
},
{
"OrderLineId": 1,
"ReturnReasonId": 2,
"QtyReturned": 3
}
]
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ApiResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Message | string |
None. |
|
| Result | Object |
None. |
|
| StatusCode | integer |
None. |
|
| StatusGroup | string |
None. |
|
| Details | Collection of Object |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.