OPTIONS api/Return/GetReasonList

Request Information

URI Parameters

None.

Body Parameters

ReturnCommands

None.

Request Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<ReturnCommands xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pronto.Core.Services.ServiceCommands" />

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of ReturnRequestReason
NameDescriptionTypeAdditional information
Id

integer

None.

Title

string

None.

Description

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Title": "sample string 2",
    "Description": "sample string 3"
  },
  {
    "Id": 1,
    "Title": "sample string 2",
    "Description": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfReturnRequestReason xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pronto.Core.Entities">
  <ReturnRequestReason>
    <Description>sample string 3</Description>
    <Id>1</Id>
    <Title>sample string 2</Title>
  </ReturnRequestReason>
  <ReturnRequestReason>
    <Description>sample string 3</Description>
    <Id>1</Id>
    <Title>sample string 2</Title>
  </ReturnRequestReason>
</ArrayOfReturnRequestReason>