Versions Compared

Key

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

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.

...

Panel
titlePwsSaveResourceSkillLevelsRq

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

The identity of the resource whose skills are to be updated.


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

level for a particular skill.


Request Usage Example(s)


Code Block
languagexml
titleExample 01
collapsetrue
<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>

...

Panel
titlePwsSaveResourceSkillLevelsRs

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.

Ok

ServerTimestampUtc

DateTime

Click here for more information.

2018-11-06T21:45:55.7273579Z

ResourceIdentity

PwsResourceRef

This structure represents the unique key fields associated with identifying a resource

The fully populated identity of the resource that was updated.


Timestamp

String

This is a Base64 encoded timestamp optionally utilized for resource locking

AAAAABCzITc=

Response Usage Example(s)

...

ErrorNumber

ErrorCode

ErrorText

10117ValueOutOfRangeThe value specified in the field "SkillLevel" in the class "PwsResourceSkillLevel" is out of range. The value must be between 0 and 5.
50024EntityNotFoundError 50024, State 3: Entity not found ### [refStructureName:PwsResourceRef]