HTTP + JSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/TimeClockActivityGet HTTP/1.1
Host: partnerhub.pbsdealers.com
Content-Type: text/jsv
Content-Length: length
{
UserRef: 00000000000000000000000000000000,
SerialNumber: String,
StartDate: 0001-01-01,
EndDate: 0001-01-01,
TechniciansOnly: False
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
TimeClockActivities:
[
{
Id: string/0,
TimeClockId: 0,
SerialNumber: String,
ClockedInUTCOffset: 0001-01-01T00:00:00.0000000+00:00,
ClockedOutUTCOffset: 0001-01-01T00:00:00.0000000+00:00,
UserRef: 00000000000000000000000000000000,
IsTech: False
}
]
}