| GET,OPTIONS | /v1/customercheckins/{Id}/timeline |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | path | Guid | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Timeline | form | SvcTimeline | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Visit | form | SvcVisitRow | No | |
| Steps | form | List<SvcTimelineStep> | No | |
| WalkUpSec | form | int? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| CheckinId | form | Guid | No | |
| TicketLabel | form | string | No | |
| LocalDate | form | DateTime | No | |
| LineId | form | Guid | No | |
| ServiceName | form | string | No | |
| StationId | form | Guid? | No | |
| StationName | form | string | No | |
| EmployeeId | form | Guid? | No | |
| EmployeeName | form | string | No | |
| CustomerName | form | string | No | |
| ContactId | form | int? | No | |
| ContactAgentId | form | int? | No | |
| CustomerId | form | Guid | No | |
| IsAppointment | form | bool | No | |
| LocalHere | form | DateTime? | No | |
| LocalCalled | form | DateTime? | No | |
| LocalStart | form | DateTime? | No | |
| LocalEnd | form | DateTime? | No | |
| WaitSec | form | int? | No | |
| ServeSec | form | int? | No | |
| Outcome | form | string | No | |
| Fee | form | decimal? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| AtUtc | form | DateTime | No | |
| LocalAt | form | DateTime | No | |
| Kind | form | string | No | |
| StationName | form | string | No | |
| EmployeeName | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/customercheckins/{Id}/timeline HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Timeline":{"Visit":{"CheckinId":"00000000000000000000000000000000","TicketLabel":"String","LocalDate":"0001-01-01T00:00:00.0000000","LineId":"00000000000000000000000000000000","ServiceName":"String","StationId":"00000000000000000000000000000000","StationName":"String","EmployeeId":"00000000000000000000000000000000","EmployeeName":"String","CustomerName":"String","ContactId":0,"ContactAgentId":0,"CustomerId":"00000000000000000000000000000000","IsAppointment":false,"LocalHere":"0001-01-01T00:00:00.0000000","LocalCalled":"0001-01-01T00:00:00.0000000","LocalStart":"0001-01-01T00:00:00.0000000","LocalEnd":"0001-01-01T00:00:00.0000000","WaitSec":0,"ServeSec":0,"Outcome":"String","Fee":0},"Steps":[{"AtUtc":"0001-01-01T00:00:00.0000000","LocalAt":"0001-01-01T00:00:00.0000000","Kind":"String","StationName":"String","EmployeeName":"String"}],"WalkUpSec":0}}