s1 API Host

<back to all web services

UpdateCartViaPartsPlanRequest

The following routes are available for this service:
POST,OPTIONS/api/cart/partsplan/{partsplanid}Update cart via PartsPlan with partsplanidUser has to be authenticated to retrieve the information.
Parameters:
NameParameterData TypeRequiredDescription
partsplanidpathstringYesId of the partsplan order.

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/reply/UpdateCartViaPartsPlanRequest HTTP/1.1 
Host: api-beta.ghs-automotive.nl 
Content-Type: application/xml
Content-Length: length

<UpdateCartViaPartsPlanRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/S1.Api.Domain.Models.Cart">
  <PartsPlanId>String</PartsPlanId>
</UpdateCartViaPartsPlanRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<UpdateCartViaPartsPlanResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/S1.Api.Domain.Models.Cart">
  <PartsPlanOrderReference>String</PartsPlanOrderReference>
</UpdateCartViaPartsPlanResponse>