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
- PwsRoleTypeRef
- RoleTypeId: Int32
- RoleTypeName: String (50)
- RoleTypeUid: Int64
Elements
Element | Data Type | Required? | Description | Sample Data |
---|---|---|---|---|
ResourceTypeCode | String (20) | One of ResourceTypeCode, ResourceTypeName or ResourceTypeUid is required | The resource type code is a unique identifier for a resource type. | FTE |
ResourceTypeId | Int32 | No | The resource type Id is a unique identifier for a resource type. For internal use only. | |
ResourceTypeName | String (50) | See ResourceTypeCode | The resource type name is a unique identifier for a resource type. | Full Time Employee |
ResourceTypeUid | Int64 | See ResoruceTypeCode | The resource type Uid is a unique and immutable identifier for a resource type. | 1152921504606847348 |