Overview
This structure represents the unique key fields associated with identifying a resource. Resources can be identified by ResourceDisplayName, ResourceReferenceSystemId or ResourceUid. When specifying a PwsResourceRef as an input to a web service, you may specify one or all three fields the ResourceDisplayName, ResourceReferenceSystemId and/or ResourceUid. However, if you do specify more than one, they must refer to the same resource or the resource reference will not be considered valid. When a PwsResourceRef is returned in the response to a web service, the ResourceDisplayName, ResourceReferenceSystemId or ResourceUid will be populated, and guaranteed to refer to a single resource.is included in the response of web service PwsGetOnBehalfOfResources. It identifies a resource which the authenticated user has permission to act on behalf of, in the capacity identified in the call to PwsGetOnBehalfOfResources (e.g. Enter Time or Enter Costs).
Format
Panel | ||
---|---|---|
| ||
|
Elements
Element | Data Type | Description | Sample Data |
---|---|---|---|
ResourceDisplayName | String |
(30) | The resource display name. | Gabrielle Gonzalez |
ResourceId | Int32 |
For internal use only. | |
ResourceReferenceSystemId | String |
(20) | The resource employee ID. | 023 |
ResourceUid | Int64 |
A unique and immutable identifier for the resource. | 1152921504606963004 | |
EmailAddress | String (100) | The resource's email address. |
Gabrielle@revcorp.doc | |
FirstName | String |
(20) | The resource's first name. | Gabrielle |
LastName | String |
The resource's last name. | Gonzalez |
MiddleName | String |
The resource's middle name. | |
InactiveFlag | Boolean |
If set to 'true', the resource has a status of "Inactive", if set to 'false', the resource has a status of "Active". | true |
DashboardOboFlag | Boolean |
If set to 'true', the authenticated user can view this resource's dashboard. | false |
ExpenseReportingOboFlag | Boolean |
If set to 'true', the authenticated user can maintain expense reports for this resource. | false |
TimeEntryOboFlag | Boolean |
If set to 'true', the authenticated user can maintain time for this resource. | true |
TimeOffOboFlag | Boolean |
If set to 'true', the authenticated user can view this resource's time off page. | false | ||
ExpenseReportingOboSetting | String (1) | This specifies the level of ability the caller has to enter expenses on behalf of this resource: N - The caller does not have permission to act on behalf of the resource V - The caller can view the resource's expenses, but not add, update or delete them U - The user has full ability to view, add, update or delete expenses for the resource | U |
TimeEntryOboSetting | String (1) | This specifies the level of ability the caller has to enter time on behalf of this resource: N - The caller does not have permission to act on behalf of the resource V - The caller can view the resource's timecards, but not add, update or delete them U - The user has full ability to view, add, update or delete timecards for the resource | U |
ShowBillableUtilizationOnDashboardFlag | Boolean | True if billable utilization should be displayed on the dashboard (home page) for this resource. | true |
ShowChargeableUtilizationOnDashboardFlag | Boolean | True if charrgeable utilization should be displayed on the dashboard (home page) for this resource. | true |
ShowProductiveUtilizationOnDashboardFlag | Boolean | True if productive utilization should be displayed on the dashboard (home page) for this resource. | true |
ShowTotalUtilizationOnDashboardFlag | Boolean | True if total utilization should be displayed on the dashboard (home page) for this resource. | true |
Usage Example(s)
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<b:PwsOnBehalfOfResource> <b:ResourceDisplayName>Gabrielle Gonzalez</b:ResourceDisplayName> <b:ResourceId i:nil="true"/> <b:ResourceReferenceSystemId>023</b:ResourceReferenceSystemId> <b:ResourceUid>1152921504606963004</b:ResourceUid> <b:EmailAddress>Gabrielle@revcorp.doc</b:EmailAddress> <b:FirstName>Gabrielle</b:FirstName> <b:LastName>Gonzalez</b:LastName> <b:MiddleName i:nil="true"/> <b:InactiveFlag>false</b:InactiveFlag> <b:DashboardOboFlag>false</b:DashboardOboFlag> <b:ExpenseReportingOboFlag>false</b:ExpenseReportingOboFlag> <b:TimeEntryOboFlag>true</b:TimeEntryOboFlag> <b:TimeOffOboFlag>true</b:TimeOffOboFlag> </b:PwsOnBehalfOfResource> <b:ExpenseReportingOboSetting>U</b:ExpenseReportingOboSetting> <b:TimeEntryOboSetting>U</b:TimeEntryOboSetting> <b:ShowBillableUtilizationOnDashboardFlag>true</b:ShowBillableUtilizationOnDashboardFlag> <b:ShowChargeableUtilizationOnDashboardFlag>true</b:ShowChargeableUtilizationOnDashboardFlag> <b:ShowProductiveUtilizationOnDashboardFlag>true</b:ShowProductiveUtilizationOnDashboardFlag> <b:ShowTotalUtilizationOnDashboardFlag>true</b:ShowTotalUtilizationOnDashboardFlag> </b:PwsOnBehalfOfResource> |