| GET | /v1/workforce/planning |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| AsOf | query | DateTime? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Surface | form | PlanningSurface | No | |
| CanSeePay | form | bool | No | |
| ResponseStatus | form | ResponseStatus | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| WeekLabel | form | string | No | |
| WeekStart | form | DateTime | No | |
| WorkerCount | form | int | No | |
| Ot | form | OtExposureBoard | No | |
| PerDiem | form | PerDiemBoard | No | |
| Margin | form | MarginBoard | No | |
| Utilization | form | UtilizationBoard | No | |
| Suggestions | form | List<PlanningSuggestion> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| TotalOtCost | form | decimal? | No | |
| TotalOtHours | form | decimal | No | |
| OverCount | form | int | No | |
| WorkerCount | form | int | No | |
| Rows | form | List<OtRow> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ContactID | form | int | No | |
| WorkerName | form | string | No | |
| ClassCode | form | string | No | |
| Crew | form | string | No | |
| Job | form | string | No | |
| PatternLabel | form | string | No | |
| ProjHours | form | decimal | No | |
| OtHours | form | decimal | No | |
| DtHours | form | decimal | No | |
| OtCost | form | decimal? | No | |
| State | form | string | No | |
| Tone | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| TotalCost | form | decimal | No | |
| NonTaxable | form | decimal | No | |
| Taxable | form | decimal | No | |
| AwayCount | form | int | No | |
| Jobs | form | List<PerDiemJobRow> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Job | form | string | No | |
| Total | form | decimal | No | |
| NonTax | form | decimal | No | |
| Tax | form | decimal | No | |
| Days | form | int | No | |
| AwayCount | form | int | No | |
| DayRateFlag | form | bool | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| JobCount | form | int | No | |
| TotalFade | form | decimal? | No | |
| Jobs | form | List<MarginJobRow> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Job | form | string | No | |
| BasePct | form | decimal | No | |
| ProjPct | form | decimal | No | |
| FadePts | form | decimal | No | |
| Severity | form | string | No | |
| OtCost | form | decimal? | No | |
| PerDiem | form | decimal | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| UnderCount | form | int | No | |
| OverCount | form | int | No | |
| Rows | form | List<UtilRow> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ContactID | form | int | No | |
| WorkerName | form | string | No | |
| Crew | form | string | No | |
| ProjHours | form | decimal | No | |
| BaselineHours | form | decimal | No | |
| Pct | form | decimal | No | |
| Band | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | string | No | |
| Kind | form | string | No | |
| Title | form | string | No | |
| Detail | form | string | No | |
| SaveText | form | string | No | |
| Effect | form | string | No | |
| RuleId | form | string | No | |
| LegalNote | form | string | No | |
| ApplyLabel | form | string | No | |
| Severity | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/workforce/planning HTTP/1.1 Host: api.dev.dynamics.trendsic.com Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<PlanningResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRM.AgencyPlatform.API.Internal">
<CanSeePay>false</CanSeePay>
<ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types">
<d2p1:ErrorCode>String</d2p1:ErrorCode>
<d2p1:Message>String</d2p1:Message>
<d2p1:StackTrace>String</d2p1:StackTrace>
<d2p1:Errors>
<d2p1:ResponseError>
<d2p1:ErrorCode>String</d2p1:ErrorCode>
<d2p1:FieldName>String</d2p1:FieldName>
<d2p1:Message>String</d2p1:Message>
<d2p1:Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:KeyValueOfstringstring>
<d5p1:Key>String</d5p1:Key>
<d5p1:Value>String</d5p1:Value>
</d5p1:KeyValueOfstringstring>
</d2p1:Meta>
</d2p1:ResponseError>
</d2p1:Errors>
<d2p1:Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:KeyValueOfstringstring>
<d3p1:Key>String</d3p1:Key>
<d3p1:Value>String</d3p1:Value>
</d3p1:KeyValueOfstringstring>
</d2p1:Meta>
</ResponseStatus>
<Surface>
<Margin>
<JobCount>0</JobCount>
<Jobs>
<MarginJobRow>
<BasePct>0</BasePct>
<FadePts>0</FadePts>
<Job>String</Job>
<OtCost>0</OtCost>
<PerDiem>0</PerDiem>
<ProjPct>0</ProjPct>
<Severity>String</Severity>
</MarginJobRow>
</Jobs>
<TotalFade>0</TotalFade>
</Margin>
<Ot>
<OverCount>0</OverCount>
<Rows>
<OtRow>
<ClassCode>String</ClassCode>
<ContactID>0</ContactID>
<Crew>String</Crew>
<DtHours>0</DtHours>
<Job>String</Job>
<OtCost>0</OtCost>
<OtHours>0</OtHours>
<PatternLabel>String</PatternLabel>
<ProjHours>0</ProjHours>
<State>String</State>
<Tone>String</Tone>
<WorkerName>String</WorkerName>
</OtRow>
</Rows>
<TotalOtCost>0</TotalOtCost>
<TotalOtHours>0</TotalOtHours>
<WorkerCount>0</WorkerCount>
</Ot>
<PerDiem>
<AwayCount>0</AwayCount>
<Jobs>
<PerDiemJobRow>
<AwayCount>0</AwayCount>
<DayRateFlag>false</DayRateFlag>
<Days>0</Days>
<Job>String</Job>
<NonTax>0</NonTax>
<Tax>0</Tax>
<Total>0</Total>
</PerDiemJobRow>
</Jobs>
<NonTaxable>0</NonTaxable>
<Taxable>0</Taxable>
<TotalCost>0</TotalCost>
</PerDiem>
<Suggestions>
<PlanningSuggestion>
<ApplyLabel>String</ApplyLabel>
<Detail>String</Detail>
<Effect>String</Effect>
<Id>String</Id>
<Kind>String</Kind>
<LegalNote>String</LegalNote>
<RuleId>String</RuleId>
<SaveText>String</SaveText>
<Severity>String</Severity>
<Title>String</Title>
</PlanningSuggestion>
</Suggestions>
<Utilization>
<OverCount>0</OverCount>
<Rows>
<UtilRow>
<Band>String</Band>
<BaselineHours>0</BaselineHours>
<ContactID>0</ContactID>
<Crew>String</Crew>
<Pct>0</Pct>
<ProjHours>0</ProjHours>
<WorkerName>String</WorkerName>
</UtilRow>
</Rows>
<UnderCount>0</UnderCount>
</Utilization>
<WeekLabel>String</WeekLabel>
<WeekStart>0001-01-01T00:00:00</WeekStart>
<WorkerCount>0</WorkerCount>
</Surface>
</PlanningResponse>