Overview
Save changes to a role type or create a new role type.
...
Panel | ||
---|---|---|
| ||
|
Request Elements
Element | Data Type | Required? | Default | Description | Sample Data |
---|---|---|---|---|---|
Int32 | No | Click here for more information. | 1 | ||
String | Yes | Click here for more information. | AS/RAku1pN9F58A3WQh3aw== | ||
FullDetailFlag | Boolean | No | false | If set to true, include full detailed project estimate element PwsRoleTypeElement in response | true |
RoleType | Yes | This structure contains the complete set of information about a role type |
Request Usage Example(s)
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pws="http://projectorpsa.com/PwsProjectorServices/" xmlns:req="http://projectorpsa.com/DataContracts/Requests/" xmlns:com="http://projectorpsa.com/DataContracts/Shared/Common/" xmlns:com1="http://projectorpsa.com/CommonServices/"> <soapenv:Header/> <soapenv:Body> <pws:PwsSaveRoleType> <pws:serviceRequest> <req:RequestId>1</req:RequestId> <req:SessionTicket>AS/RAku1pN9F58A3WQh3aw==</req:SessionTicket> <req:FullDetailFlag>true</req:FullDetailFlag> <req:RoleType> <com:RoleTypeName>Developer</com:RoleTypeName> <com:Description>Software Developer (US Based)</com:Description> <com:InactiveFlag>false</com:InactiveFlag> <com:AllocationFraction>100</com:AllocationFraction> <com:BaseRatesOnTitleClearFlag>false</com:BaseRatesOnTitleClearFlag> <com:BaseRatesOnTitleIdentity> <com:DepartmentIdentity> <com:DepartmentName>IT Team</com:DepartmentName> </com:DepartmentIdentity> <com:TitleName>Level 1</com:TitleName> </com:BaseRatesOnTitleIdentity> <com:CostCenterCriteria> <com1:PwsCostCenterCriteria> <com1:CascadeFlag>true</com1:CascadeFlag> <com1:CostCenterIdentity> <com:CostCenterName>IT Team (USA)</com:CostCenterName> </com1:CostCenterIdentity> </com1:PwsCostCenterCriteria> </com:CostCenterCriteria> <com:CostCenterCriteriaClearFlag>false</com:CostCenterCriteriaClearFlag> <com:CostCenterIdentity> <com:CostCenterName>IT Team (Canada)</com:CostCenterName> </com:CostCenterIdentity> <com:DescriptionClearFlag>false</com:DescriptionClearFlag> <com:Keywords>Developer</com:Keywords> <com:KeywordsCriteriaClearFlag>false</com:KeywordsCriteriaClearFlag> <com:LocationCriteriaClearFlag>false</com:LocationCriteriaClearFlag> <com:LocationIdentities> <com:PwsLocationRef> <com:LocationName>USA - California</com:LocationName> </com:PwsLocationRef> </com:LocationIdentities> <com:LocationIdentity> <com:LocationName>USA - Illinois</com:LocationName> </com:LocationIdentity> <com:ResourceTypeClearFlag>false</com:ResourceTypeClearFlag> <com:ResourceTypeCriteriaClearFlag>false</com:ResourceTypeCriteriaClearFlag> <com:ResourceTypeIdentities> <com:PwsResourceTypeRef> <com:ResourceTypeName>Full Time Employee</com:ResourceTypeName> </com:PwsResourceTypeRef> </com:ResourceTypeIdentities> <com:ResourceTypeIdentity> <com:ResourceTypeName>Subcontractor</com:ResourceTypeName> </com:ResourceTypeIdentity> <com:SkillCriteria> <com:PwsSkillCriteria> <com:SkillIdentity> <com:SkillGroupIdentity> <com:SkillGroupName>Languages</com:SkillGroupName> </com:SkillGroupIdentity> <com:SkillName>French</com:SkillName> </com:SkillIdentity> <com:SkillLevelMask>2</com:SkillLevelMask> </com:PwsSkillCriteria> </com:SkillCriteria> <com:SkillCriteriaClearFlag>false</com:SkillCriteriaClearFlag> <com:SortOrder>1</com:SortOrder> <com:TitleCriteriaClearFlag>true</com:TitleCriteriaClearFlag> <com:TitleIdentities> <com:PwsTitleRef> <com:DepartmentIdentity> <com:DepartmentName>IT Team</com:DepartmentName> </com:DepartmentIdentity> <com:TitleName>Level 1</com:TitleName> </com:PwsTitleRef> </com:TitleIdentities> <com:TitleIdentity> <com:DepartmentIdentity> <com:DepartmentName>Management Team</com:DepartmentName> </com:DepartmentIdentity> <com:TitleName>Level 1</com:TitleName> </com:TitleIdentity> </req:RoleType> </pws:serviceRequest> </pws:PwsSaveRoleType> </soapenv:Body> </soapenv:Envelope> |
...
Panel | ||
---|---|---|
| ||
|
Response Elements
Element | Data Type | Description | |
---|---|---|---|
Messages | The web service response status and message. Click here for more information. | ||
Int32 | Click here for more information. | 1 | |
Status | Click here for more information. | Ok | |
DateTime | Click here for more information. | 2022-10-21T18:47:16.2378555Z | |
RoleType | The details of the role type that was fetched. | ||
RoleTypeIdentity | This structure represents the unique key fields associated with identifying a role type. |
Response Usage Example(s)
...
- For all errors and warnings please refer to the Complete List of Errors and Warnings
ErrorNumber | ErrorCode | ErrorText |
---|---|---|
10119 | ValueBelowMinimum | The value specified in the field "AllocationFraction" in the class "PwsRoleTypeDetail" is out of range. The value must not be less than 0. |
50024 | EntityNotFound | Criteria Cost Center: Cost Center was not found. Another user may have deleted it. |