HTTP + JSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/EmployeeToZipRequest HTTP/1.1
Host: vghost.bulwarkpestcontrol.com
Content-Type: text/jsv
Content-Length: length
{
Id: 0,
ActiveOnly: False,
Employee_Id: 0,
Zip: String,
Office_Id: 0,
AllZipDetails: False,
Lead_Id: 0,
PassToNextSalesman: False,
DataObj:
[
{
Id: 0,
Employee_Id: 0,
Zip: String,
Deleted: False
}
],
DataObjZipDetails:
[
{
ZipCode: String,
EmployeeName: String,
EmployeeId: 0,
EmployeeTypeId: 0,
LeadSalesman_Id: 0,
OfficeLeadType_Id: 0
}
],
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String
}
]
}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Id: 0,
ActiveOnly: False,
Employee_Id: 0,
Zip: String,
Office_Id: 0,
AllZipDetails: False,
Lead_Id: 0,
PassToNextSalesman: False,
DataObj:
[
{
Id: 0,
Employee_Id: 0,
Zip: String,
Deleted: False
}
],
DataObjZipDetails:
[
{
ZipCode: String,
EmployeeName: String,
EmployeeId: 0,
EmployeeTypeId: 0,
LeadSalesman_Id: 0,
OfficeLeadType_Id: 0
}
],
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String
}
]
}
}