You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
Version 1
Next »
Overview
This web service updates the skill levels (PwsResourceSkillLevel) for a specified resource (PwsResourceRef) . The service returns the identity of the resource (PwsResourceRef) that has been updated.
- PwsSaveResourceSkillLevelsRq
Request Elements
Element | Data Type | Required? | Description | Sample Data |
---|
RequestId | Int32 | No | Click here for more information | 1 |
SessionTicket | String | Yes | Click here for more information | AVqwYHFUvUT/fJlt22N2DA== |
ResourceIdentity | PwsResourceRef | Yes | This structure represents the unique key fields associated with identifying a resource. |
|
ResourceTimestamp | String | No | This is a Base64 encoded timestamp optionally utilized for resource locking. |
|
SkillLevels | PwsResourceSkillLevel[1..100] | Yes | This structure represents a resource's skill and skill level |
|
Request Usage Example(s)
<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/">
<soapenv:Header/>
<soapenv:Body>
<pws:PwsSaveResourceSkillLevels>
<pws:serviceRequest>
<req:RequestId>1</req:RequestId>
<req:SessionTicket>AVqwYHFUvUT/fJlt22N2DA==</req:SessionTicket>
<req:ResourceIdentity>
<com:ResourceDisplayName>IT Manager</com:ResourceDisplayName>
<com:ResourceReferenceSystemId>IT Manager</com:ResourceReferenceSystemId>
</req:ResourceIdentity>
<req:SkillLevels>
<com:PwsResourceSkillLevel>
<com:SkillGroupIdentity>
<com:SkillGroupName>Programming</com:SkillGroupName>
</com:SkillGroupIdentity>
<com:SkillName>jQuery</com:SkillName>
<com:SkillLevel>5</com:SkillLevel>
</com:PwsResourceSkillLevel>
</req:SkillLevels>
<req:SkillLevels>
<com:PwsResourceSkillLevel>
<com:SkillGroupIdentity>
<com:SkillGroupName>Languages</com:SkillGroupName>
</com:SkillGroupIdentity>
<com:SkillName>English</com:SkillName>
<com:SkillLevel>5</com:SkillLevel>
</com:PwsResourceSkillLevel>
</req:SkillLevels>
</pws:serviceRequest>
</pws:PwsSaveResourceSkillLevels>
</soapenv:Body>
</soapenv:Envelope>
- PwsSaveResourceSkillLevelsRs
Response Elements
Element | Data Type | Description | Sample Data |
---|
Messages | PwsMessage[] | The web service response status and message. Click here for more information |
|
ResponseId | Int32 | Click here for more information |
|
Status | RequestStatus | Click here for more information |
|
ServerTimestampUtc | DateTime | Click here for more information |
|
ResourceIdentity | PwsResourceRef | This structure represents the unique key fields associated with identifying a resource |
|
Timestamp | String | This is a Base64 encoded timestamp optionally utilized for resource locking |
|
Response Usage Example(s)
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<PwsSaveResourceSkillLevelsResponse xmlns="http://projectorpsa.com/PwsProjectorServices/">
<PwsSaveResourceSkillLevelsResult xmlns:a="http://projectorpsa.com/DataContracts/Responses/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<Messages xmlns="http://projectorpsa.com/CommonServices/" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/> <ResponseId xmlns="http://projectorpsa.com/CommonServices/">1</ResponseId>
<Status xmlns="http://projectorpsa.com/CommonServices/">Ok</Status>
<ServerTimestampUtc xmlns="http://projectorpsa.com/CommonServices/">2018-11-06T21:45:55.7273579Z</ServerTimestampUtc>
<a:ResourceIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
<b:ResourceDisplayName>IT Manager</b:ResourceDisplayName>
<b:ResourceId i:nil="true"/>
<b:ResourceReferenceSystemId>IT Manager</b:ResourceReferenceSystemId>
<b:ResourceUid>1152921504607131532</b:ResourceUid>
</a:ResourceIdentity>
<a:Timestamp>AAAAABCzITc=</a:Timestamp>
</PwsSaveResourceSkillLevelsResult>
</PwsSaveResourceSkillLevelsResponse>
</s:Body>
</s:Envelope>
PwsSaveResourceSkillLevels - Common Errors and Warnings
ErrorNumber | ErrorCode | ErrorText |
---|
10117 | ValueOutOfRange | The value specified in the field "SkillLevel" in the class "PwsResourceSkillLevel" is out of range. The value must be between 0 and 5. |
50024 | EntityNotFound | Error 50024, State 3: Entity not found ### [refStructureName:PwsResourceRef] |