HTTP + JSON
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /service/RequestContact HTTP/1.1
Host: www.bernhardthospitality.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"requestType":"String","taxId":"String","website":"String","mailing":{"id":"String","companyName":"String","personName":{"salutation":"String","first":"String","middle":"String","last":"String","suffix":"String","full":"String String String String String"},"address":"String","address1":"String","address2":"String","city":"String","state":"String","zip":"String","country":"String","phone":"String","fax":"String","email":"String","storeSize":"String","custom2":"String","accountType":"String","meta":{"String":"String"}},"shipping":{"id":"String","companyName":"String","personName":{"salutation":"String","first":"String","middle":"String","last":"String","suffix":"String","full":"String String String String String"},"address":"String","address1":"String","address2":"String","city":"String","state":"String","zip":"String","country":"String","phone":"String","fax":"String","email":"String","storeSize":"String","custom2":"String","accountType":"String","meta":{"String":"String"}},"billing":{"id":"String","companyName":"String","personName":{"salutation":"String","first":"String","middle":"String","last":"String","suffix":"String","full":"String String String String String"},"address":"String","address1":"String","address2":"String","city":"String","state":"String","zip":"String","country":"String","phone":"String","fax":"String","email":"String","storeSize":"String","custom2":"String","accountType":"String","meta":{"String":"String"}},"companyName":"String","contactName":"String","phone":"String","orderNumber":"String","submittedOn":"0001-01-01T00:00:00.0000000Z","meta":{"String":"String"},"stubbornVendorId":"String","sendTo":"String","subject":"String","subjectOverWrite":"String","message":"String","replyTo":"String","bcc":"String","cc":"String","body":"String","toEmail":"String","to":"String","from":"String","fromEmail":"String","replyToList":[],"recipients":[]}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"requestType":"String","taxId":"String","website":"String","mailing":{"id":"String","companyName":"String","personName":{"salutation":"String","first":"String","middle":"String","last":"String","suffix":"String","full":"String String String String String"},"address":"String","address1":"String","address2":"String","city":"String","state":"String","zip":"String","country":"String","phone":"String","fax":"String","email":"String","storeSize":"String","custom2":"String","accountType":"String","meta":{"String":"String"}},"shipping":{"id":"String","companyName":"String","personName":{"salutation":"String","first":"String","middle":"String","last":"String","suffix":"String","full":"String String String String String"},"address":"String","address1":"String","address2":"String","city":"String","state":"String","zip":"String","country":"String","phone":"String","fax":"String","email":"String","storeSize":"String","custom2":"String","accountType":"String","meta":{"String":"String"}},"billing":{"id":"String","companyName":"String","personName":{"salutation":"String","first":"String","middle":"String","last":"String","suffix":"String","full":"String String String String String"},"address":"String","address1":"String","address2":"String","city":"String","state":"String","zip":"String","country":"String","phone":"String","fax":"String","email":"String","storeSize":"String","custom2":"String","accountType":"String","meta":{"String":"String"}},"companyName":"String","contactName":"String","phone":"String","orderNumber":"String","submittedOn":"0001-01-01T00:00:00.0000000Z","meta":{"String":"String"},"stubbornVendorId":"String","sendTo":"String","subject":"String","subjectOverWrite":"String","message":"String","replyTo":"String","bcc":"String","cc":"String","body":"String","toEmail":"String","to":"String","from":"String","fromEmail":"String","replyToList":[],"recipients":[]}