The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /json/reply/CreatePreorderEnrollmentAdminRequest HTTP/1.1
Host: s1-api-tst.fource.nl
Content-Type: application/json
Content-Length: length
{"debtorId":"String","debtorName":"String","companyId":"String","warehouseId":"String","preorderId":"String","personnelId":"String","shippingDate":"\/Date(-62135596800000-0000)\/","comment":"String","contactPerson":"String","contactEmail":"String","isDebit":false,"isDeferredPayment":false}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"preorderEnrollment":{"id":"String","preorderId":0,"personnelId":"String","comment":"String","contactPerson":"String","contactEmail":"String","isDebit":false,"isDeferredPayment":false,"isCreatedByPersonnel":false,"shippingDate":"\/Date(-62135596800000-0000)\/","createDate":"\/Date(-62135596800000-0000)\/","user":{"userId":"String","displayName":"String","email":"String","preferredStyle":"Ghs","address":{"id":"String","name":"String","address":"String","zipCode":"String","city":"String","countryCode":"String","countryCodeIso2":"String","telephoneNumber":"String"},"userSettings":{"sendPlacedOrderReceipt":false,"saveGaik":false,"reconfirmGaik":false,"lastApplicant":"String","lastAdditionalIdType":"String","lastAdditionalId":"String","lastIdType":"String","lastId":"String"},"customerGroup":"String","logo":"String","hasMijnGrossierAccounts":false,"linkedWarehouse":{"id":"String","region":"String","address":{"id":"String","name":"String","address":"String","zipCode":"String","city":"String","countryCode":"String","countryCodeIso2":"String","telephoneNumber":"String"},"warehouseEmail":"String","shouldEmailExternalOrders":false},"technicalDataProvider":"String","pickupWarehouse":{"id":"String","region":"String","address":{"id":"String","name":"String","address":"String","zipCode":"String","city":"String","countryCode":"String","countryCodeIso2":"String","telephoneNumber":"String"},"warehouseEmail":"String","shouldEmailExternalOrders":false},"hasReleventPickupWarehouse":false,"linkedCompany":{"linkedCompanyId":"String","linkedCompanyName":"String","companyPreferredStyle":"Ghs","contactEmail":"String","supportEmail":"String","bmfEmail":"String","serverEmail":"String","dieselInjectorEmail":"String","externalOrderEmail":"String","supportTeamPage":"String","mapUrl":"String","b2BUrl":"String"},"district":"String","certificate":{"id":"String","name":"String","endDate":"String","isValid":false},"tireCounts":{"currentYear":{"purchased":0,"returned":0,"delta":0},"lastYear":{"purchased":0,"returned":0,"delta":0}},"vatNr":"String"}},"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String"}]}}