GET api/IQTimecard/GetAllVisitsJsonV2/{clientAbbrev}?dateUpdated={dateUpdated}&areaID={areaID}
Gets a list of visits in JSON format.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| clientAbbrev |
This should be a part of the URL, not as a query parameter. |
string |
Required |
| dateUpdated |
The date the visits were last updated as a query parameter. |
date |
Required |
| areaID |
Optional, limits the results to visits within that area. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Returns a list of Visits in JSON format if all goes well. If the clientAbbrev cannot be found with an associated connection string, returns 400 - Bad Request. If there are no visits to be found, it returns 204 - No content. Returns 500 if something else goes wrong.
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.