PwsRoleTypeRef


Overview


This structure represents the unique key fields associated with identifying a role type. Role types enable an organization to easily set up and classify project roles. Role types can be identified by RoleTypeName or RoleTypeUid. When specifying a PwsRoleTypeRef as an input to a web service, you may specify one, or two identifiers. However, if you do specify multiple identifiers, they must all refer to the same role type or the reference will not be considered valid. When a PwsRoleTypeRef is returned in the response to a web service, RoleTypeName and RoleTypeUid will be populated, and guaranteed to refer to a single role type.

Format


PwsResourceTypeRef
  • PwsRoleTypeRef
    • RoleTypeId: Int32
    • RoleTypeName: String (50)
    • RoleTypeUid: Int64

Elements


Element

Data Type

Required?

Description

Sample Data

RoleTypeId

Int32

No

The role type Id is a unique identifier for a role type. For internal use only.


RoleTypeName

String (28)

Either of RoleTypeName or RoleTypeUid is required

The role type name is a unique identifier for a role type.

Senior Consultant

RoleTypeUid

Int64

Either of RoleTypeName or RoleTypeUid is required

The role type Uid is a unique and immutable identifier for a role type.

1152921504606847348


Usage Example(s)


Example 01
               <com:RoleTypeIdentity>
                  <com:RoleTypeName>Senior Consultant</com:RoleTypeName>
                  <com:RoleTypeUid>1152921504606847348</com:RoleTypeUid>
               </com:RoleTypeIdentity>