WebAPI

<back to all web services

ContactUs

Contact us

The following routes are available for this service:
POST/ContactUsContact us form.

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /json/reply/ContactUs HTTP/1.1 
Host: api-preprod.merseyflow.co.uk 
Content-Type: application/json
Content-Length: length

{"IsAccount":false,"AccountContactFormInfo":{"AccountNumber":"String","DepartmentId":0,"CaseTypeId":0,"Description":"String","Note":"String","Attachment":"AA==","FileName":"String"},"NonAccountContactFormInfo":{"FirstName":"String","LastName":"String","EmailAddress":"String","Phone":"String","InvoiceNumber":"String","AddressLine1":"String","AddressLine2":"String","City":"String","CountryCode":"String","PostalCode":"String","DepartmentId":0,"CaseTypeId":0,"Description":"String","Note":"String","Attachment":"AA==","FileName":"String"},"LicPlateNumber":"String","AccountNumber":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"CaseId":0,"CaseNumber":"String","ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String"}]}}