...
Element | Data Type | Required? | Default | Description | Sample Data |
---|---|---|---|---|---|
RequestId | Int32 | No | Click here for more information. | ||
SessionTicket | String | Yes | Click here for more information. | AQ6SEBGgdJSg3aZ5kSDsDg== | |
BeginDate | DateTime | No | Applies only for ListType T. The response will be limited to resources for whom the caller has permission to enter time on behalf of at any point during the date range bounded by BeginDate and EndDate, If ListType is T and BeginDate is not specified, the first day of the current week is used as the BeginDate. | 2018-01-01z | |
EndDate | DateTime | No | See BeginDate, If ListType is T and EndDate is not specified, the last day of the current week is used as the EndDate. | 2018-12-31z | |
ListType | String (1) | Yes | The type of on-behalf-of users: C: Enter cost T: Enter time O: Enter time off requests D: View dashboard | T | |
MaximumRows | Int32 | No | The maximum number of resources to be returned. This value is disregarded if a resource is specified in ResourceIdentity. | 5 | |
ResourceIdentity | No | If a resource is identifier here, the results will be limited to the specified resource. If the caller does not have on behalf of permissions for the specified resource, an empty list will be returned. Click here for more information. | |||
SearchString | String (255) | No | A search string to narrow down the results. A resource will be included in the results if the caller has the appropriate on behalf of permissions for the resource and the search string matches the resource's display name. This value is disregarded if a resource is specified in ResourceIdentity. |
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<PwsGetOnBehalfOfResourcesResponse xmlns="http://projectorpsa.com/PwsProjectorServices/">
<PwsGetOnBehalfOfResourcesResult xmlns:a="http://projectorpsa.com/DataContracts/Shared/TimeAndCost/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<Messages xmlns="http://projectorpsa.com/CommonServices/" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
<ResponseId xmlns="http://projectorpsa.com/CommonServices/">0</ResponseId>
<Status xmlns="http://projectorpsa.com/CommonServices/">Ok</Status>
<ServerTimestampUtc xmlns="http://projectorpsa.com/CommonServices/">2018-03-12T14:57:19.319861Z</ServerTimestampUtc>
<a:Resources xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
<b:PwsOnBehalfOfResource>
<b:ResourceDisplayName>Bruce Wayne</b:ResourceDisplayName>
<b:ResourceId i:nil="true"/>
<b:ResourceReferenceSystemId>BW-01</b:ResourceReferenceSystemId>
<b:ResourceUid>1152921504606968725</b:ResourceUid>
<b:EmailAddress>bruce@revcorp.doc</b:EmailAddress>
<b:FirstName>Bruce</b:FirstName>
<b:LastName>Wayne</b:LastName>
<b:MiddleName i:nil="true"/>
<b:InactiveFlag>false</b:InactiveFlag>
<b:DashboardOboFlag>true</b:DashboardOboFlag>
<b:ExpenseReportingOboFlag>true</b:ExpenseReportingOboFlag>
<b:TimeEntryOboFlag>true</b:TimeEntryOboFlag>
<b:TimeOffOboFlag>true</b:TimeOffOboFlag>
</b:PwsOnBehalfOfResource>
<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.min.cnv1</b:EmailAddress>
<b:FirstName>Gabrielle</b:FirstName>
<b:LastName>Gonzalez</b:LastName>
<b:MiddleName i:nil="true"/>
<b:InactiveFlag>false</b:InactiveFlag>
<b:DashboardOboFlag>true</b:DashboardOboFlag>
<b:ExpenseReportingOboFlag>true</b:ExpenseReportingOboFlag>
<b:TimeEntryOboFlag>true</b:TimeEntryOboFlag>
<b:TimeOffOboFlag>true</b:TimeOffOboFlag>
<b:ExpenseReportingOboSetting>U</b:ExpenseReportingOboSetting>
<b:TimeEntryOboSetting>U</b:TimeEntryOboSetting>
</b:PwsOnBehalfOfResource>
</a:Resources>
</PwsGetOnBehalfOfResourcesResult>
</PwsGetOnBehalfOfResourcesResponse>
</s:Body>
</s:Envelope> |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<PwsGetOnBehalfOfResourcesResponse xmlns="http://projectorpsa.com/PwsProjectorServices/">
<PwsGetOnBehalfOfResourcesResult xmlns:a="http://projectorpsa.com/DataContracts/Shared/TimeAndCost/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<Messages xmlns="http://projectorpsa.com/CommonServices/" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
<ResponseId xmlns="http://projectorpsa.com/CommonServices/">0</ResponseId>
<Status xmlns="http://projectorpsa.com/CommonServices/">Ok</Status>
<ServerTimestampUtc xmlns="http://projectorpsa.com/CommonServices/">2018-03-12T15:49:02.3452499Z</ServerTimestampUtc>
<a:Resources xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
<b:PwsOnBehalfOfResource>
<b:ResourceDisplayName>Larry Krakauer</b:ResourceDisplayName>
<b:ResourceId i:nil="true"/>
<b:ResourceReferenceSystemId>097</b:ResourceReferenceSystemId>
<b:ResourceUid>1152921504606963016</b:ResourceUid>
<b:EmailAddress>Larry@revcorp.doc</b:EmailAddress>
<b:FirstName>Larry</b:FirstName>
<b:LastName>Krakauer</b:LastName>
<b:MiddleName>A</b:MiddleName>
<b:InactiveFlag>false</b:InactiveFlag>
<b:DashboardOboFlag>false</b:DashboardOboFlag>
<b:ExpenseReportingOboFlag>false</b:ExpenseReportingOboFlag>
<b:TimeEntryOboFlag>true</b:TimeEntryOboFlag>
<b:TimeOffOboFlag>false</b:TimeOffOboFlag>
<b:ExpenseReportingOboSetting>U</b:ExpenseReportingOboSetting>
<b:TimeEntryOboSetting>U</b:TimeEntryOboSetting>
</b:PwsOnBehalfOfResource>
</a:Resources>
</PwsGetOnBehalfOfResourcesResult>
</PwsGetOnBehalfOfResourcesResponse>
</s:Body>
</s:Envelope> |
...