GetRefundReasons
This call is to retrieve an array of RefundReasons for the location.
Response Parameters
- Id
int— Unique Id of this RefundReason - Name
string— Name of this RefundReason
Headers
- Type: stringS
O A P Action required
Body
required
application/json
SOAP envelope for GetRefundReasons request. No parameters required.
Responses
- text/xml; charset=utf-8
Request Example for post/GetRefundReasons
cURL
curl --request POST \
--url 'https://{server_name_goes_here}.parpos.com/Settings2.svc?GetRefundReasons' \
--header 'Content-Type: text/xml; charset=utf-8' \
--header 'AccessToken: your-access-token' \
--header 'LocationToken: your-location-token' \
--header 'SOAPAction: "http://www.brinksoftware.com/webservices/settings/v2/ISettingsWebService2/GetRefundReasons"' \
--data '<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:v2="http://www.brinksoftware.com/webservices/settings/v2">
<soapenv:Header/>
<soapenv:Body>
<v2:GetRefundReasons/>
</soapenv:Body>
</soapenv:Envelope>'
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<GetRefundReasonsResponse xmlns="http://www.brinksoftware.com/webservices/settings/v2">
<GetRefundReasonsResult>
<Collection>
<RefundReason>
<Id>1</Id>
<Name>Customer Dissatisfaction</Name>
</RefundReason>
<RefundReason>
<Id>2</Id>
<Name>Wrong Item</Name>
</RefundReason>
<RefundReason>
<Id>3</Id>
<Name>Quality Issue</Name>
</RefundReason>
</Collection>
</GetRefundReasonsResult>
</GetRefundReasonsResponse>
</s:Body>
</s:Envelope>