The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/ContactUs HTTP/1.1
Host: api-preprod.merseyflow.co.uk
Content-Type: text/jsv
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: text/jsv
Content-Length: length
{
CaseId: 0,
CaseNumber: String,
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String
}
]
}
}