Versions Compared

Key

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

...

This structure contains the complete set of information about a role Type. The structure is used both to retrieve detailed role type information and to pass information about a role back to the server to get updated.

Format

PwsRoleTypeDetailRoleTypeId
Panel
titlePwsRoleTypeDetail
PwsSkillDetail
  • PwsSkillDetail
    • SkillGroupIdentity: PwsSkillGroupRef
    • SkillId: Int32
    • RoleTypeNameSkillName: String
    • RoleTypeUidSkillUid: Int64Description: String
    • InactiveFlag: Boolean
    • AllocationFraction: Double
    • BaseRatesOnTitleClearFlag: Boolean
    • BaseRatesOnTitleIdentity: PwsTitleRef
    • CostCenterCriteria: PwsCostCenterCriteria[]
    • CostCenterCriteriaClearFlag: Boolean
    • CostCenterIdentity: PwsCostCenterRef
    • DescriptionClearFlag: Boolean
    • Keywords: String
    • KeywordsCriteriaClearFlag: Boolean
    • LocationCriteriaClearFlag: Boolean
    • LocationIdentities: PwsLocationRef[]
    • LocationIdentity: PwsLocationRef
    • NewRoleTypeName: String
    • ResourceTypeClearFlag: Boolean
    • ResourceTypeCriteriaClearFlag: Boolean
    • ResourceTypeIdentities: PwsResourceTypeRef[]
    • ResourceTypeIdentity: PwsResourceTypeRef
    • SkillCriteria: PwsSkillCriteria[]
    • SkillCriteriaClearFlag: Boolean
    • SortOrder: Int16
    • Timestamp: String
    • TitleCriteriaClearFlag: Boolean
    • TitleIdentities: PwsTitleRef[]
    • TitleIdentity: PwsTitleRef
    • NewSkillName: String
    • SortOrder: Int16


Elements

Element

Data Type

Required?

Default

Description

SkillGroupIdentity

Sample Data

PwsSkillGroupRef

RoleTypeId




SkillId

Int32

No

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

RoleTypeName

String

One of RoleTypeName or RoleTypeUID is required

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

RoleTypeUid

Int64

See RoleTypeName

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

Description

String

The role type description

InactiveFlag

Boolean

If set to 'true', the role type is marked as inactive

AllocationFraction

Double

No

The percentage of the hours that is routed to this role type.  Fraction 2.1 sets allocation percentage at 210%. 

BaseRatesOnTitleClearFlag

Boolean

If set to 'true,' the Base Rates on Title Flag is cleared for this role type

BaseRatesOnTitleIdentity

PwsTitleRef

If set to 'true', the rates for this role will be based on role type

CostCenterCriteria

PwsCostCenterCriteria[]

The cost center criteria for this role type

CostCenterCriteriaClearFlag

Boolean

If set to 'true' the cost center criteria is cleared for this role type

CostCenterIdentity

PwsCostCenterRef

The cost center criteria associated with this role type

DescriptionClearFlag

Boolean

If set to 'true', the description associated with this role type will be cleared

Keywords

String

The keywords associated with this role type

KeywordsCriteriaClearFlag

Boolean

If set to 'true', the keywords associated with this role type will be cleared

LocationCriteriaClearFlag

Boolean

If set to 'true', the location criteria associated with this role type will be cleared

LocationIdentities

PwsLocationRef[]

The location criteria associated with this role type

LocationIdentity

PwsLocationRef

The preferred location identity associated with this role type

NewRoleTypeName

String

The new role type name

ResourceTypeClearFlag

Boolean

If set to 'true', the resource type associated with this role type will be cleared

ResourceTypeCriteriaClearFlag

Boolean

If set to 'true', the resource type associated with this role type will be cleared

ResourceTypeIdentities

PwsResourceTypeRef[]

The resource type identities associated with this role type

ResourceTypeIdentity

PwsResourceTypeRef

The preferred resource type identity associated with this role type

SkillCriteria

PwsSkillCriteria[]

The skill criteria associated with this role type

SkillCriteriaClearFlag

Boolean

If set to 'true', the skill criteria associated with this role type will be cleared

SortOrder

Int16

The sort order of this role type

Timestamp

String

The row version in Base64 format.

TitleCriteriaClearFlag

Boolean

If set to 'true', the title criteria associated with this role type will be cleared

TitleIdentities

PwsTitleRef[]

The title identities associated with this role type

TitleIdentity

PwsTitleRef

The preferred identities associated with this role type




SkillName

String




SkillUid

Int64




InactiveFlag

Boolean




NewSkillName

String




SortOrder

Int16




Usage Example(s)


Code Block
languagexml
titleExample
collapsetrue
               <b:RoleTypeDetail>
                  <b:RoleTypeId i:nil="true"/>
    <req:Skill>
             <b:RoleTypeName>Developer</b:RoleTypeName>                   <b:RoleTypeUid>1152921504606848578</b:RoleTypeUid>
                  <b:Description>Software Developer (US Based)</b:Description>
                  <b:InactiveFlag>false</b:InactiveFlag>
                  <b:AllocationFraction>100</b:AllocationFraction>
                  <b:BaseRatesOnTitleClearFlag>false</b:BaseRatesOnTitleClearFlag>
                  <b:BaseRatesOnTitleIdentity>
                     <b:DepartmentIdentity>
                        <b:DepartmentId i:nil="true"/>
                        <b:DepartmentName>IT Team</b:DepartmentName>
                        <b:DepartmentUid>1152921504606854184</b:DepartmentUid>
                     </b:DepartmentIdentity>
                     <b:TitleId i:nil="true"/>
                     <b:TitleName>Level 1</b:TitleName>
                     <b:TitleUid>1152921504606875474</b:TitleUid>
                  </b:BaseRatesOnTitleIdentity>
                  <b:CostCenterCriteria xmlns:c="http://projectorpsa.com/CommonServices/">
                     <c:PwsCostCenterCriteria>
                        <c:CascadeFlag>false</c:CascadeFlag>
                        <c:CostCenterIdentity>
                           <b:CostCenterId i:nil="true"/>
                           <b:CostCenterName>IT Team (Canada)</b:CostCenterName>
                           <b:CostCenterNumber>IT Team (Canada)</b:CostCenterNumber>
                           <b:CostCenterUid>1152921504606867373</b:CostCenterUid>
                        </c:CostCenterIdentity>
                     </c:PwsCostCenterCriteria>
                     <c:PwsCostCenterCriteria>
                        <c:CascadeFlag>true</c:CascadeFlag>
                        <c:CostCenterIdentity>
                           <b:CostCenterId i:nil="true"/>
                           <b:CostCenterName>IT Team (USA)</b:CostCenterName>
                           <b:CostCenterNumber>IT Team (USA)</b:CostCenterNumber>
                           <b:CostCenterUid>1152921504606867365</b:CostCenterUid>
                        </c:CostCenterIdentity>
                     </c:PwsCostCenterCriteria>
                  </b:CostCenterCriteria>
                  <b:CostCenterCriteriaClearFlag>false</b:CostCenterCriteriaClearFlag>
                  <b:CostCenterIdentity>
                     <b:CostCenterId i:nil="true"/>
                     <b:CostCenterName>IT Team (Canada)</b:CostCenterName>
                     <b:CostCenterNumber>IT Team (Canada)</b:CostCenterNumber>
                     <b:CostCenterUid>1152921504606867373</b:CostCenterUid>
                  </b:CostCenterIdentity>
                  <b:DescriptionClearFlag>false</b:DescriptionClearFlag>
                  <b:Keywords>Developer</b:Keywords>
                  <b:KeywordsCriteriaClearFlag>false</b:KeywordsCriteriaClearFlag>
                  <b:LocationCriteriaClearFlag>false</b:LocationCriteriaClearFlag>
                  <b:LocationIdentities>
                     <b:PwsLocationRef>
                        <b:LocationId i:nil="true"/>
                        <b:LocationName>USA - California</b:LocationName>
                        <b:LocationUid>1152921504606863500</b:LocationUid>
                     </b:PwsLocationRef>
                     <b:PwsLocationRef>
                        <b:LocationId i:nil="true"/>
                        <b:LocationName>USA - Illinois</b:LocationName>
                        <b:LocationUid>1152921504606863508</b:LocationUid>
                     </b:PwsLocationRef>
                  </b:LocationIdentities>
                  <b:LocationIdentity>
                     <b:LocationId i:nil="true"/>
                     <b:LocationName>USA - Illinois</b:LocationName>
                     <b:LocationUid>1152921504606863508</b:LocationUid>
                  </b:LocationIdentity>
                  <b:NewRoleTypeName i:nil="true"/<!--Optional:-->
                  <b:ResourceTypeClearFlag>false</b:ResourceTypeClearFlag>
                  <b:ResourceTypeCriteriaClearFlag>false</b:ResourceTypeCriteriaClearFlag>
                  <b:ResourceTypeIdentities>
                     <b:PwsResourceTypeRef>
                        <b:ResourceTypeCode>FTE</b:ResourceTypeCode>
                        <b:ResourceTypeId i:nil="true"/>
                        <b:ResourceTypeName>Full Time Employee</b:ResourceTypeName>
                        <b:ResourceTypeUid>1152921504606847348</b:ResourceTypeUid>
                     </b:PwsResourceTypeRef>
                     <b:PwsResourceTypeRef>
                        <b:ResourceTypeCode>SC</b:ResourceTypeCode>
                        <b:ResourceTypeId i:nil="true"/>
                        <b:ResourceTypeName>Subcontractor</b:ResourceTypeName>
                        <b:ResourceTypeUid>1152921504606847346</b:ResourceTypeUid>
                     </b:PwsResourceTypeRef>
                  </b:ResourceTypeIdentities>
                  <b:ResourceTypeIdentity>
                     <b:ResourceTypeCode>SC</b:ResourceTypeCode>
                     <b:ResourceTypeId i:nil="true"/>
                     <b:ResourceTypeName>Subcontractor</b:ResourceTypeName>
                     <b:ResourceTypeUid>1152921504606847346</b:ResourceTypeUid>
                  </b:ResourceTypeIdentity>
                  <b:SkillCriteria>
                     <b:PwsSkillCriteria>
                        <b:SkillIdentity>
                           <b:<com:SkillGroupIdentity>
                              <b:SkillGroupId i:nil="true"/>
                              <b:SkillGroupName>Languages</b:SkillGroupName>
                              <b:SkillGroupUid>1152921504606854520</b:SkillGroupUid>
           <com:SkillGroupName>Technology</com:SkillGroupName>
               </bcom:SkillGroupIdentity>
                           <b:SkillId i:nil="true"/>
                           <b:SkillName>French</b:<com:SkillName>HTML</com:SkillName>
                           <b:SkillUid>1152921504606918049</b:SkillUid>
        <com:InactiveFlag>0</com:InactiveFlag>
               </b:SkillIdentity>
                        <b:SkillLevelMask>2</b:SkillLevelMask>
                     </b:PwsSkillCriteria>
                  </b:SkillCriteria>
                  <b:SkillCriteriaClearFlag>false</b:SkillCriteriaClearFlag>
                  <b:SortOrder>1</b:SortOrder>
                  <b:Timestamp>AAAAACA3Iqo=</b:Timestamp>
                  <b:TitleCriteriaClearFlag>false</b:TitleCriteriaClearFlag>
                  <b:TitleIdentities/!--Optional:-->
                  <b:TitleIdentity>
                     <b:DepartmentIdentity>
                        <b:DepartmentId i:nil="true"/>
                        <b:DepartmentName>Management Team</b:DepartmentName><com:NewSkillName>HTML2</com:NewSkillName>
                        <b:DepartmentUid>1152921504606854180</b:DepartmentUid>
                     </b:DepartmentIdentity>
                     <b:TitleId i:nil="true"/<!--Optional:-->
                     <b:TitleName>Level 1</b:TitleName>
                     <b:TitleUid>1152921504606875470</b:TitleUid><com:SortOrder>3</com:SortOrder>
                  </b:TitleIdentity>
               </b:RoleTypeDetail>
req:Skill>