Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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 includes the differentiating fields of a resource and the on-behalf-of permissions the authenticate user in PwsGetOnBehalfOfResources has on this resource. 

Format

Panel
titlePwsOnBehalfOfResource
  • PwsOnBehalfOfResource
    • ResourceDisplayName: String (30)
    • ResourceId: Int32
    • ResourceReferenceSystemId: String (20)
    • ResourceUid: Int64
    • EmailAddress: String (100)
    • FirstName: String (20)
    • LastName: String (20)
    • MiddleName: String (20)
    • InactiveFlag: Boolean
    • DashboardOboFlag: Boolean
    • ExpenseReportingOboFlag: Boolean
    • TimeEntryOboFlag: Boolean
    • TimeOffOboFlag: Boolean

...

Element

Data Type

Description

Sample Data

ResourceDisplayName

String (30)

The resource display name is a unique identifier for a resource

Gabrielle Gonzalez

ResourceId

Int32



ResourceReferenceSystemId

String (20)

023


ResourceUid

Int64

A unique and immutable identifier for a resource

1152921504606963004

EmailAddress

String (100)

The resource's email address. This is a unique identifier for a resource. 

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', authenticate user can view this resource's dashboard.

false

ExpenseReportingOboFlag

Boolean

If set to 'true', authenticate user can maintain expense report for this resource.

false

TimeEntryOboFlag

Boolean

If set to 'true', authenticate user can maintain time for this resource.

true

TimeOffOboFlag

Boolean

If set to 'true', authenticate user can view this resource's time off page.

false

Usage Example(s)


Code Block
languagexml
titleExample 01
collapsetrue
               <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>