/
PwsSetSkillSortOrder

PwsSetSkillSortOrder

Overview


 This web service allows users to set the sort order of a skill within a skill group. The sort order can be set absolutely, or the skill can be moved up or down in the list.


Rate Limiting

In order to protect our servers from inadvertent service overuse or intentional attack, and to fairly distribute services to all our customers, we have implemented a rate limiting algorithm.  When fully deployed, this new algorithm will cause services to either succeed with new warnings or fail with new errors when services are consumed at too high a rate.  Programs that consume Projector services should be enhanced to handle rate limiting errors so that they can continue functioning properly.  For more information please visit: Projector Rate Limiting Behavior.


Request Format


PwsSetSkillSortOrder Request
  • PwsSetSkillSortOrder
    • serviceRequest: PwsSetSkillSortOrderRq

Request Elements


Element

Data Type

Required?

Default

Description

Sample Data

RequestId

Int32

No


Click here for more information.

1

SessionTicket

String

Yes


Click here for more information.

AS2ttZnqHRZ7ij932OjHKQ==

Direction

Int16

Either "Direction" OR "SortOrder" must be specified


If negative, skill is moved up one position; if positive, down one position. Omit to specify sort position absolutely.

-1

SkillIdentity

PwsSkillRef

Yes


This identifies the skill to be moved,


SkillVersionStamp

Int32

No


Version stamp for optimistic locking. Any time a skill or skill group is updated, this version stamp will be changed in the database. The PwsGetSkill service returns this value, and if echoed back here, and it does not match the current version stamp, that indicates that the skill group or skill data has been changed. The request will fail.


SkipInactiveFlag

Boolean

No


If set to "true", the request will skip the inactive skill in a skill group. Applies when using Direction to move the skill up or down.  false

SortOrder

Int16

Either "Direction" OR "SortOrder" must be specified


The order of a skill within a skill group. The base order number is 1. 


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:PwsSetSkillSortOrder>
         <pws:serviceRequest>
            <req:RequestId>1</req:RequestId>
            <req:SessionTicket>AS2ttZnqHRZ7ij932OjHKQ==</req:SessionTicket>
            <req:Direction>-1</req:Direction>
            <req:SkillIdentity>
               <com:SkillGroupIdentity>
                  <com:SkillGroupName>Languages</com:SkillGroupName>
               </com:SkillGroupIdentity>
               <com:SkillName>French</com:SkillName>
            </req:SkillIdentity>
            <req:SkipInactiveFlag>false</req:SkipInactiveFlag>
         </pws:serviceRequest>
      </pws:PwsSetSkillSortOrder>
   </soapenv:Body>
</soapenv:Envelope>

Response Format


PwsSetSkillSortOrder Response

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.

1

Status

RequestStatus

Click here for more information

Ok

ServerTimestampUtc

DateTime

Click here for more information.

2025-01-31T21:21:37.4707032Z

SkillVersionStamp

PwsSkillRef

The new skill version stamp.

16


Response Usage Example(s)


<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <PwsSetSkillSortOrderResponse xmlns="http://projectorpsa.com/PwsProjectorServices/">
         <PwsSetSkillSortOrderResult 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/">2025-01-31T21:21:37.4707032Z</ServerTimestampUtc>
            <a:SkillVersionStamp>16</a:SkillVersionStamp>
         </PwsSetSkillSortOrderResult>
      </PwsSetSkillSortOrderResponse>
   </s:Body>
</s:Envelope>

Common Errors and Warnings

ErrorNumberErrorCodeErrorText
50024EntityNotFoundSkill was not found. Another user may have deleted it.

Related content

PwsGetSkill
More like this
PwsDeleteSkillGroup
PwsDeleteSkillGroup
More like this
PwsDeleteSkill
PwsDeleteSkill
More like this
PwsSkillSummaryElement
PwsSkillSummaryElement
Read with this
PwsSaveSkillGroup
PwsSaveSkillGroup
More like this
PwsSkillDetail
PwsSkillDetail
Read with this