| GET,OPTIONS | /v1/worker/camera/targets |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Roles | form | List<CameraRoleTargets> | No | |
| Items | form | List<CameraTarget> | No | |
| ArrivalPhoto | form | string | No | |
| ServerUtc | form | DateTime | No | |
| ResponseStatus | form | ResponseStatus | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Role | form | string | No | |
| Cur | form | string | No | |
| Alts | form | List<string> | No | |
| Recent | form | List<string> | No | |
| Upcoming | form | List<string> | No | |
| Gen | form | string | No | |
| Lock | form | string | No | |
| Hidden | form | bool | No | |
| Driving | form | bool | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | string | No | |
| Type | form | string | No | |
| RecordId | form | string | No | |
| Role | form | string | No | |
| Code | form | string | No | |
| Title | form | string | No | |
| Detail | form | string | No | |
| State | form | string | No | |
| Kinds | form | List<string> | No | |
| Def | form | string | No | |
| Closed | form | bool | No | |
| ProofNeed | form | string | No | |
| InApp | form | bool | No | |
| Gallery | form | bool | No | |
| Tomorrow | form | bool | No | |
| SiteLat | form | decimal? | No | |
| SiteLng | form | decimal? | No | |
| Counts | form | Dictionary<string, int> | No | |
| LogDate | form | string | No | |
| Seq | form | int | No | |
| SeqOf | form | int | No | |
| Window | form | string | No | |
| Service | 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/worker/camera/targets HTTP/1.1 Host: api.dev.dynamics.trendsic.com Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Roles:
[
{
Role: String,
Cur: String,
Alts:
[
String
],
Recent:
[
String
],
Upcoming:
[
String
],
Gen: String,
Lock: String,
Hidden: False,
Driving: False
}
],
Items:
[
{
Id: String,
Type: String,
RecordId: String,
Role: String,
Code: String,
Title: String,
Detail: String,
State: String,
Kinds:
[
String
],
Def: String,
Closed: False,
ProofNeed: String,
InApp: False,
Gallery: False,
Tomorrow: False,
SiteLat: 0,
SiteLng: 0,
Counts:
{
String: 0
},
LogDate: String,
Seq: 0,
SeqOf: 0,
Window: String,
Service: String
}
],
ArrivalPhoto: String,
ServerUtc: 0001-01-01,
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
}
}