s1 API Host

<back to all web services

CreatePreorderEnrollmentAdminRequest

Place a preorder orderUser has to be authenticated to place the order.
Parameters:
NameParameterData TypeRequiredDescription
preorderIdpathstringNo

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

HTTP + SOAP11

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

POST /soap11 HTTP/1.1 
Host: s1-api-tst.fource.nl 
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: CreatePreorderEnrollmentAdminRequest

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>

<CreatePreorderEnrollmentAdminRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/S1.Api.Domain.Models.Preorders">
  <Comment>String</Comment>
  <ContactEmail>String</ContactEmail>
  <ContactPerson>String</ContactPerson>
  <IsDebit>false</IsDebit>
  <IsDeferredPayment>false</IsDeferredPayment>
  <PersonnelId>String</PersonnelId>
  <PreorderId>String</PreorderId>
  <Products i:nil="true" />
  <ShippingDate>0001-01-01T00:00:00</ShippingDate>
  <CompanyId>String</CompanyId>
  <DebtorId>String</DebtorId>
  <DebtorName>String</DebtorName>
  <WarehouseId>String</WarehouseId>
</CreatePreorderEnrollmentAdminRequest>

    </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>

<CreatePreorderEnrollmentResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/S1.Api.Domain.Models.Preorders">
  <PreorderEnrollment>
    <Comment>String</Comment>
    <ContactEmail>String</ContactEmail>
    <ContactPerson>String</ContactPerson>
    <CreateDate>0001-01-01T00:00:00</CreateDate>
    <Id>String</Id>
    <IsCreatedByPersonnel>false</IsCreatedByPersonnel>
    <IsDebit>false</IsDebit>
    <IsDeferredPayment>false</IsDeferredPayment>
    <PersonnelId>String</PersonnelId>
    <PreorderId>0</PreorderId>
    <Products i:nil="true" />
    <ShippingDate>0001-01-01T00:00:00</ShippingDate>
    <User xmlns:d3p1="http://schemas.datacontract.org/2004/07/S1.Api.Domain.Models.Accounts">
      <d3p1:Address>
        <d3p1:Address>String</d3p1:Address>
        <d3p1:City>String</d3p1:City>
        <d3p1:CountryCode>String</d3p1:CountryCode>
        <d3p1:CountryCodeIso2>String</d3p1:CountryCodeIso2>
        <d3p1:Id>String</d3p1:Id>
        <d3p1:Name>String</d3p1:Name>
        <d3p1:TelephoneNumber>String</d3p1:TelephoneNumber>
        <d3p1:ZipCode>String</d3p1:ZipCode>
      </d3p1:Address>
      <d3p1:Certificate>
        <d3p1:EndDate>String</d3p1:EndDate>
        <d3p1:Id>String</d3p1:Id>
        <d3p1:IsValid>false</d3p1:IsValid>
        <d3p1:Name>String</d3p1:Name>
      </d3p1:Certificate>
      <d3p1:CustomerGroup>String</d3p1:CustomerGroup>
      <d3p1:DeliveryAddresses i:nil="true" />
      <d3p1:DeliveryTimePreferences i:nil="true" />
      <d3p1:DisplayName>String</d3p1:DisplayName>
      <d3p1:District>String</d3p1:District>
      <d3p1:Email>String</d3p1:Email>
      <d3p1:Enrollments i:nil="true" />
      <d3p1:ExternalUsers xmlns:d4p1="http://schemas.datacontract.org/2004/07/S1.Api.Domain.Entities.Erp.Account" i:nil="true" />
      <d3p1:HasMijnGrossierAccounts>false</d3p1:HasMijnGrossierAccounts>
      <d3p1:LinkedCompany>
        <d3p1:B2BUrl>String</d3p1:B2BUrl>
        <d3p1:BmfEmail>String</d3p1:BmfEmail>
        <d3p1:CompanyPreferredStyle>Ghs</d3p1:CompanyPreferredStyle>
        <d3p1:ContactEmail>String</d3p1:ContactEmail>
        <d3p1:DieselInjectorEmail>String</d3p1:DieselInjectorEmail>
        <d3p1:ExternalOrderEmail>String</d3p1:ExternalOrderEmail>
        <d3p1:ExtraPermissions xmlns:d5p1="http://schemas.datacontract.org/2004/07/S1.Api.Domain.Models" i:nil="true" />
        <d3p1:LinkedCompanyId>String</d3p1:LinkedCompanyId>
        <d3p1:LinkedCompanyName>String</d3p1:LinkedCompanyName>
        <d3p1:LinkedWarehouses xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
        <d3p1:MapUrl>String</d3p1:MapUrl>
        <d3p1:ServerEmail>String</d3p1:ServerEmail>
        <d3p1:SupportEmail>String</d3p1:SupportEmail>
        <d3p1:SupportNumbers xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
        <d3p1:SupportTeamPage>String</d3p1:SupportTeamPage>
        <d3p1:TypedSupportNumbers xmlns:d5p1="http://schemas.datacontract.org/2004/07/S1.Api.Domain.Models.Admin.ApplicationConfig" i:nil="true" />
      </d3p1:LinkedCompany>
      <d3p1:LinkedWarehouse>
        <d3p1:Address>
          <d3p1:Address>String</d3p1:Address>
          <d3p1:City>String</d3p1:City>
          <d3p1:CountryCode>String</d3p1:CountryCode>
          <d3p1:CountryCodeIso2>String</d3p1:CountryCodeIso2>
          <d3p1:Id>String</d3p1:Id>
          <d3p1:Name>String</d3p1:Name>
          <d3p1:TelephoneNumber>String</d3p1:TelephoneNumber>
          <d3p1:ZipCode>String</d3p1:ZipCode>
        </d3p1:Address>
        <d3p1:Id>String</d3p1:Id>
        <d3p1:Region>String</d3p1:Region>
        <d3p1:ShouldEmailExternalOrders>false</d3p1:ShouldEmailExternalOrders>
        <d3p1:WarehouseEmail>String</d3p1:WarehouseEmail>
        <d3p1:WarehousePhoneNumbers xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
      </d3p1:LinkedWarehouse>
      <d3p1:Logo>String</d3p1:Logo>
      <d3p1:NewsLetters xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
      <d3p1:PaymentMethods xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
      <d3p1:Permissions xmlns:d4p1="http://schemas.datacontract.org/2004/07/S1.Api.Domain.Models" i:nil="true" />
      <d3p1:PickupWarehouse>
        <d3p1:Address>
          <d3p1:Address>String</d3p1:Address>
          <d3p1:City>String</d3p1:City>
          <d3p1:CountryCode>String</d3p1:CountryCode>
          <d3p1:CountryCodeIso2>String</d3p1:CountryCodeIso2>
          <d3p1:Id>String</d3p1:Id>
          <d3p1:Name>String</d3p1:Name>
          <d3p1:TelephoneNumber>String</d3p1:TelephoneNumber>
          <d3p1:ZipCode>String</d3p1:ZipCode>
        </d3p1:Address>
        <d3p1:Id>String</d3p1:Id>
        <d3p1:Region>String</d3p1:Region>
        <d3p1:ShouldEmailExternalOrders>false</d3p1:ShouldEmailExternalOrders>
        <d3p1:WarehouseEmail>String</d3p1:WarehouseEmail>
        <d3p1:WarehousePhoneNumbers xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
      </d3p1:PickupWarehouse>
      <d3p1:PreferredStyle>Ghs</d3p1:PreferredStyle>
      <d3p1:ReturnFees i:nil="true" />
      <d3p1:TechnicalDataProvider>String</d3p1:TechnicalDataProvider>
      <d3p1:TireCounts>
        <d3p1:CurrentYear>
          <d3p1:Delta>0</d3p1:Delta>
          <d3p1:Purchased>0</d3p1:Purchased>
          <d3p1:Returned>0</d3p1:Returned>
        </d3p1:CurrentYear>
        <d3p1:LastYear>
          <d3p1:Delta>0</d3p1:Delta>
          <d3p1:Purchased>0</d3p1:Purchased>
          <d3p1:Returned>0</d3p1:Returned>
        </d3p1:LastYear>
      </d3p1:TireCounts>
      <d3p1:UserId>String</d3p1:UserId>
      <d3p1:UserSettings>
        <d3p1:LastAdditionalId>String</d3p1:LastAdditionalId>
        <d3p1:LastAdditionalIdType>String</d3p1:LastAdditionalIdType>
        <d3p1:LastApplicant>String</d3p1:LastApplicant>
        <d3p1:LastId>String</d3p1:LastId>
        <d3p1:LastIdType>String</d3p1:LastIdType>
        <d3p1:ReconfirmGaik>false</d3p1:ReconfirmGaik>
        <d3p1:SaveGaik>false</d3p1:SaveGaik>
        <d3p1:SendPlacedOrderReceipt>false</d3p1:SendPlacedOrderReceipt>
      </d3p1:UserSettings>
      <d3p1:VatNr>String</d3p1:VatNr>
    </User>
  </PreorderEnrollment>
  <ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types">
    <d2p1:ErrorCode>String</d2p1:ErrorCode>
    <d2p1:Message>String</d2p1:Message>
    <d2p1:StackTrace>String</d2p1:StackTrace>
    <d2p1:Errors>
      <d2p1:ResponseError>
        <d2p1:ErrorCode>String</d2p1:ErrorCode>
        <d2p1:FieldName>String</d2p1:FieldName>
        <d2p1:Message>String</d2p1:Message>
      </d2p1:ResponseError>
    </d2p1:Errors>
  </ResponseStatus>
  <UrgentMessages xmlns:d2p1="http://schemas.datacontract.org/2004/07/S1.Api.Domain.Models.UrgentMessages" i:nil="true" />
</CreatePreorderEnrollmentResponse>

    </soap:Body>
</soap:Envelope>