Trendsic Platform Service

<back to all web services

ResourceConflictsRequest

Requires Authentication
The following routes are available for this service:
GET/v1/resource-conflicts
ResourceConflictsRequest Parameters:
NameParameterData TypeRequiredDescription
WindowqueryintNo
ResourceConflictsResponse Parameters:
NameParameterData TypeRequiredDescription
ConflictsformList<ResourceConflictDto>No
EquipmentWatchedformintNo
WorkersWatchedformintNo
CrewsWatchedformintNo
ResolvedInWindowformintNo
CanResolveformboolNo
ResponseStatusformResponseStatusNo
ResourceConflictDto Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
KindformstringNo
NameformstringNo
SeverityformstringNo
SummaryformstringNo
BookingsformList<ResourceConflictBookingDto>No
OptionsformList<ResourceConflictOptionDto>No
ResourceConflictBookingDto Parameters:
NameParameterData TypeRequiredDescription
ProjectformstringNo
JobformstringNo
WindowformstringNo
TagformstringNo
HotformboolNo
ResourceConflictOptionDto Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
LabelformstringNo
NoteformstringNo
ClearsformboolNo
RecommendedformboolNo
WhyformstringNo
ActionJsonformstringNo

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

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /v1/resource-conflicts HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Conflicts":[{"Id":"String","Kind":"String","Name":"String","Severity":"String","Summary":"String","Bookings":[{"Project":"String","Job":"String","Window":"String","Tag":"String","Hot":false}],"Options":[{"Id":"String","Label":"String","Note":"String","Clears":false,"Recommended":false,"Why":"String","ActionJson":"String"}]}],"EquipmentWatched":0,"WorkersWatched":0,"CrewsWatched":0,"ResolvedInWindow":0,"CanResolve":false,"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}