| GET | /v1/CustomersInLine/{LocationId} | ||
|---|---|---|---|
| GET | /v1/CustomersInLine |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ApiKey | query | Guid | No | |
| LocationId | path | Guid | No | |
| clientIsLoading | query | bool | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Customers | form | List<CustomerInLineObject> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | Guid | No | |
| Name | form | string | No | |
| FullName | form | string | No | |
| SignInTime | form | DateTime | No | |
| AdjustedSignInTime | form | DateTime | No | |
| Status | form | int | No | |
| TaskTime | form | int | No | |
| Completed | form | bool | No | |
| SendReminders | form | bool | No | |
| CompletedTime | form | DateTime | No | |
| EmployeeId | form | Guid | No | |
| Employee | form | string | No | |
| Line | form | string | No | |
| Description | form | string | No | |
| ServiceId | form | Guid | No | |
| StationId | form | Guid | No | |
| StationName | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/CustomersInLine/{LocationId} HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
},
Customers:
[
{
Id: 00000000000000000000000000000000,
Name: String,
FullName: String,
SignInTime: 0001-01-01,
AdjustedSignInTime: 0001-01-01,
Status: 0,
TaskTime: 0,
Completed: False,
SendReminders: False,
CompletedTime: 0001-01-01,
EmployeeId: 00000000000000000000000000000000,
Employee: String,
Line: String,
Description: String,
ServiceId: 00000000000000000000000000000000,
StationId: 00000000000000000000000000000000,
StationName: String
}
]
}