HTTP + JSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/EmployeeRequest HTTP/1.1
Host: vghost.bulwarkpestcontrol.com
Content-Type: text/jsv
Content-Length: length
{
Id: 0,
Email: String,
WindowsIdentity: String,
ActiveOnly: False,
CallCenter_Id: 0,
GetSalesmen: False,
GetTerritoryManagers: False,
Office_Id: 0,
GetAllToText: False,
GetAllToTextSC: False,
GetAllByOffice: False,
GetSalesRepresentatives: False,
AllTechs: False,
AllCSRs: False,
AllEmployeeOffices: False,
ChangedOn: "0001-01-01T00:00:00.0000000Z",
DataObj:
[
{
Id: 0,
FirstName: String,
LastName: String,
Address: String,
City: String,
State: String,
Zip: String,
OfficePhone: String,
CellPhone: String,
Nextel: String,
Email: String,
UserName: String,
Password: String,
AlarmCode: String,
GasCode: String,
VinNumber: String,
Deposit_Id: 0,
Tech: False,
Salesman: False,
Role_Id: 0,
HR_Emp_Id: 0,
HireDate: "0001-01-01T00:00:00.0000000Z",
TerminationDate: "0001-01-01T00:00:00.0000000Z",
DriveTime: 0,
ProductivityFactor: 0,
Office_Id: 0,
Active: False,
Service_Commission_Id: 0,
ModifiedOn: "0001-01-01T00:00:00.0000000Z",
Portrait_Id: 0,
Signature_Id: 0,
JobTitle_Id: 0,
WindowsIdentity: String,
IsAutomated: False,
TechUntil: "0001-01-01T00:00:00.0000000Z",
SaturdayExempt: False
}
],
EmployeeOfficesDataObj:
[
{
Employee_Id: 0,
Office_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,
Email: String,
WindowsIdentity: String,
ActiveOnly: False,
CallCenter_Id: 0,
GetSalesmen: False,
GetTerritoryManagers: False,
Office_Id: 0,
GetAllToText: False,
GetAllToTextSC: False,
GetAllByOffice: False,
GetSalesRepresentatives: False,
AllTechs: False,
AllCSRs: False,
AllEmployeeOffices: False,
ChangedOn: "0001-01-01T00:00:00.0000000Z",
DataObj:
[
{
Id: 0,
FirstName: String,
LastName: String,
Address: String,
City: String,
State: String,
Zip: String,
OfficePhone: String,
CellPhone: String,
Nextel: String,
Email: String,
UserName: String,
Password: String,
AlarmCode: String,
GasCode: String,
VinNumber: String,
Deposit_Id: 0,
Tech: False,
Salesman: False,
Role_Id: 0,
HR_Emp_Id: 0,
HireDate: "0001-01-01T00:00:00.0000000Z",
TerminationDate: "0001-01-01T00:00:00.0000000Z",
DriveTime: 0,
ProductivityFactor: 0,
Office_Id: 0,
Active: False,
Service_Commission_Id: 0,
ModifiedOn: "0001-01-01T00:00:00.0000000Z",
Portrait_Id: 0,
Signature_Id: 0,
JobTitle_Id: 0,
WindowsIdentity: String,
IsAutomated: False,
TechUntil: "0001-01-01T00:00:00.0000000Z",
SaturdayExempt: False
}
],
EmployeeOfficesDataObj:
[
{
Employee_Id: 0,
Office_Id: 0
}
],
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String
}
]
}
}