HTTP + JSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/ServiceScheduleRequest HTTP/1.1
Host: vghost.bulwarkpestcontrol.com
Content-Type: text/jsv
Content-Length: length
{
Id: 0,
Service_Id: 0,
DataObj:
[
{
Id: 0,
Service_Id: 0,
Week: 0,
Hold: False,
DayRange: False,
ServStart: 0,
ServEnd: 0,
TimeReq: False,
EstTime: 0,
Jan: False,
Feb: False,
Mar: False,
Apr: False,
May: False,
Jun: False,
Jul: False,
Aug: False,
Sep: False,
Oct: False,
Nov: False,
Dec: False,
Mon: False,
Tue: False,
Wed: False,
Thr: False,
Fri: False,
Sat: False,
ModifiedOn: "0001-01-01T00:00:00.0000000Z",
ModifiedBy_Id: 0,
TimeReqStart: "0001-01-01T00:00:00.0000000Z",
TimeReqEnd: "0001-01-01T00:00:00.0000000Z",
TimeReqDuration: 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,
Service_Id: 0,
DataObj:
[
{
Id: 0,
Service_Id: 0,
Week: 0,
Hold: False,
DayRange: False,
ServStart: 0,
ServEnd: 0,
TimeReq: False,
EstTime: 0,
Jan: False,
Feb: False,
Mar: False,
Apr: False,
May: False,
Jun: False,
Jul: False,
Aug: False,
Sep: False,
Oct: False,
Nov: False,
Dec: False,
Mon: False,
Tue: False,
Wed: False,
Thr: False,
Fri: False,
Sat: False,
ModifiedOn: "0001-01-01T00:00:00.0000000Z",
ModifiedBy_Id: 0,
TimeReqStart: "0001-01-01T00:00:00.0000000Z",
TimeReqEnd: "0001-01-01T00:00:00.0000000Z",
TimeReqDuration: 0
}
],
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String
}
]
}
}