s1 API Host

<back to all web services

UpdatePreorderAdminRequest

The following routes are available for this service:
PUT, OPTIONS/api/admin/preorders/{id}Update the preorderUser has to be authenticated and admin to be able to update the preorder.
Parameters:
NameParameterData TypeRequiredDescription
IdpathstringYesThe id of the preorder

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/UpdatePreorderAdminRequest HTTP/1.1 
Host: s1-api-tst.fource.nl 
Content-Type: application/xml
Content-Length: length

<UpdatePreorderAdminRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/S1.Api.Domain.Models.Preorders">
  <AdvertId>0</AdvertId>
  <CompanyWarehouses xmlns:d2p1="http://schemas.datacontract.org/2004/07/S1.Api.Domain.Models.Notifications" i:nil="true" />
  <Dates i:nil="true" />
  <ImageUrl>String</ImageUrl>
  <IsExpired>false</IsExpired>
  <IsForAllWarehouses>false</IsForAllWarehouses>
  <MainText>String</MainText>
  <SubText>String</SubText>
  <Id>0</Id>
</UpdatePreorderAdminRequest>