Trendsic Platform Service

<back to all web services

CameraTargetsRequest

Requires Authentication
The following routes are available for this service:
GET,OPTIONS/v1/worker/camera/targets
CameraTargetsResponse Parameters:
NameParameterData TypeRequiredDescription
RolesformList<CameraRoleTargets>No
ItemsformList<CameraTarget>No
ArrivalPhotoformstringNo
ServerUtcformDateTimeNo
ResponseStatusformResponseStatusNo
CameraRoleTargets Parameters:
NameParameterData TypeRequiredDescription
RoleformstringNo
CurformstringNo
AltsformList<string>No
RecentformList<string>No
UpcomingformList<string>No
GenformstringNo
LockformstringNo
HiddenformboolNo
DrivingformboolNo
CameraTarget Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
TypeformstringNo
RecordIdformstringNo
RoleformstringNo
CodeformstringNo
TitleformstringNo
DetailformstringNo
StateformstringNo
KindsformList<string>No
DefformstringNo
ClosedformboolNo
ProofNeedformstringNo
InAppformboolNo
GalleryformboolNo
TomorrowformboolNo
SiteLatformdecimal?No
SiteLngformdecimal?No
CountsformDictionary<string, int>No
LogDateformstringNo
SeqformintNo
SeqOfformintNo
WindowformstringNo
ServiceformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

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/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
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-01T00:00:00.0000000","ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}