s1 API Host

<back to all web services

CreateRetourRequest

The following routes are available for this service:
POST,OPTIONS/api/retours/current/itemsCreate a new retour item.User has to be authenticated.
Parameters:
NameParameterData TypeRequiredDescription
CreateRetourRequestbodyCreateRetourRequestYesThe required information to return a product.

To override the Content-type in your clients HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /xml/oneway/CreateRetourRequest HTTP/1.1 
Host: api-beta.ghs-automotive.nl 
Content-Type: application/xml
Content-Length: length

<CreateRetourRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/S1.Api.Domain.Models.Retours">
  <Characteristic>String</Characteristic>
  <DepositAmount>0</DepositAmount>
  <IsDepositRetour>false</IsDepositRetour>
  <OrderId>String</OrderId>
  <OrderLineId>String</OrderLineId>
  <ProductId>String</ProductId>
  <Quantity>0</Quantity>
  <Reason>String</Reason>
</CreateRetourRequest>