| Requires any of the roles: | Agent, Administrator |
| GET,OPTIONS | /v1/project/{ProjectID}/timeline |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ProjectID | path | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Timeline | form | ProjectTimeline | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ProjectID | form | int | No | |
| Jobs | form | List<TimelineJob> | No | |
| Dependencies | form | List<JobDependency> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| JobID | form | int | No | |
| JobName | form | string | No | |
| ExpectedStartDate | form | DateTime? | No | |
| ExpectedCompletionDate | form | DateTime? | No | |
| ActualStartDate | form | DateTime? | No | |
| ActualEndDate | form | DateTime? | No | |
| PercentComplete | form | decimal | No | |
| StatusID | form | int? | No | |
| JobCategory | form | string | No | |
| IsAgreementVisit | form | bool | No | |
| OccurrenceDate | form | DateTime? | No | |
| Crew | form | List<TimelineCrew> | No | |
| Equipment | form | List<TimelineEquipment> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ProjectJobCrewMemberID | form | int | No | |
| ContactID | form | int | No | |
| ContactName | form | string | No | |
| BudgetedHours | form | decimal? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ProjectJobEquipmentID | form | int | No | |
| EquipmentID | form | int | No | |
| EquipmentName | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| JobDependencyID | form | int | No | |
| TenantId | form | Guid | No | |
| ProjectID | form | int | No | |
| PredecessorJobID | form | int | No | |
| SuccessorJobID | form | int | No | |
| DependencyType | form | string | No | |
| LagDays | form | int | No | |
| CreatedBy | form | string | No | |
| CreatedAt | form | DateTime? | No | |
| UpdatedAt | form | DateTime? | No |
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
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/project/{ProjectID}/timeline HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Timeline":{"ProjectID":0,"Jobs":[{"JobID":0,"JobName":"String","ExpectedStartDate":"0001-01-01T00:00:00.0000000","ExpectedCompletionDate":"0001-01-01T00:00:00.0000000","ActualStartDate":"0001-01-01T00:00:00.0000000","ActualEndDate":"0001-01-01T00:00:00.0000000","PercentComplete":0,"StatusID":0,"JobCategory":"String","IsAgreementVisit":false,"OccurrenceDate":"0001-01-01T00:00:00.0000000","Crew":[{"ProjectJobCrewMemberID":0,"ContactID":0,"ContactName":"String","BudgetedHours":0}],"Equipment":[{"ProjectJobEquipmentID":0,"EquipmentID":0,"EquipmentName":"String"}]}],"Dependencies":[{"JobDependencyID":0,"TenantId":"00000000000000000000000000000000","ProjectID":0,"PredecessorJobID":0,"SuccessorJobID":0,"DependencyType":"String","LagDays":0,"CreatedBy":"String","CreatedAt":"0001-01-01T00:00:00.0000000","UpdatedAt":"0001-01-01T00:00:00.0000000"}]}}