| GET,OPTIONS | /v1/visits/exceptions |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Items | form | List<ExceptionItem> | No | |
| MissedCount | form | int | No | |
| SlaCount | form | int | No | |
| SkippedCount | form | int | No | |
| AtRiskCount | form | int | No | |
| ResponseStatus | form | ResponseStatus | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Kind | form | string | No | |
| VisitKey | form | string | No | |
| JobID | form | int | No | |
| ProjectID | form | int | No | |
| AgreementID | form | int? | No | |
| AgreementJobID | form | int? | No | |
| OccurrenceDate | form | string | No | |
| CustomerName | form | string | No | |
| LocationName | form | string | No | |
| City | form | string | No | |
| Lat | form | double? | No | |
| Lng | form | double? | No | |
| AgeDays | form | int | No | |
| Reason | form | string | No | |
| DurationMinutes | form | int | No | |
| IsCommercial | form | bool | No | |
| PreferredCrewID | form | int? | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/visits/exceptions HTTP/1.1 Host: api.dev.dynamics.trendsic.com Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"Items":[{"Kind":"String","VisitKey":"String","JobID":0,"ProjectID":0,"AgreementID":0,"AgreementJobID":0,"OccurrenceDate":"String","CustomerName":"String","LocationName":"String","City":"String","Lat":0,"Lng":0,"AgeDays":0,"Reason":"String","DurationMinutes":0,"IsCommercial":false,"PreferredCrewID":0}],"MissedCount":0,"SlaCount":0,"SkippedCount":0,"AtRiskCount":0,"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}