The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/SaveCustomer HTTP/1.1
Host: api.dev.bnn.us
Content-Type: text/jsv
Content-Length: length
{
Customer:
{
Id: 0,
FirstName: String,
LastName: String,
Reporter: String,
Primary: False,
AccountNum: String,
Zip: String,
Type: 0,
Transport: String,
Active: False,
Notes: String,
Email: String,
Distance: 0,
Company: String,
MemberEmail: String,
MobileNumber: String,
TwoFactorAuthEnabled: False,
TwoFactorAuthType: String,
ApiSecretToken: String,
ApiAllowedIpAddresses: String,
Complimentary: False,
Anonymous: False,
DisableDataSubmit: False
}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Data: 0,
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String
}
]
}
}