Overview
This web service inserts or updates a single skill based on a detailed user skill structure (PwsSkillDetail). The service returns the identity (PwsSkillRef) of the skill that has been inserted or updated. The caller can optionally request that the full skill detail (PwsSkillElement) also be included in the response.
Request Format
Panel | ||
---|---|---|
| ||
|
...
Element | Data Type | Required? | Default | Description | Sample Data |
---|---|---|---|---|---|
RequestId | Int32 | No | Click here for more information. | ||
SessionTicket | String | Yes | Click here for more information. | ||
FullDetailFlag | Boolean | NoNo | false | If set to "true", the complete resource detail will be included in response. | |
Skill | Yes | This structure contains the complete set of information about a the skill being created or updated. | |||
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. |
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/"> <soapenv:Header/> <soapenv:Body> <pws:PwsSaveSkill> <!--Optional:--> <pws:serviceRequest> <req:SessionTicket>AQztUvxG5aNFjPJheSuItw==</req:SessionTicket> <req:Skill> <!--Optional:--> <com:SkillGroupIdentity> <com:SkillGroupName>Technology</com:SkillGroupName> </com:SkillGroupIdentity> <com:SkillName>HTML</com:SkillName> <com:InactiveFlag>0</com:InactiveFlag> <!--Optional:--> <com:NewSkillName>HTML2</com:NewSkillName> <!--Optional:--> <com:SortOrder>3</com:SortOrder> </req:Skill> </pws:serviceRequest> </pws:PwsSaveSkill> </soapenv:Body> </soapenv:Envelope> |
...
Element | Data Type | Description |
---|---|---|
Messages | The web service response status and message. Click here for more information | |
Int32 | Click here for more information. | |
RequestStatus | Click here for more information | |
DateTime | Click here for more information. | |
Skill | This structure contains the complete set of information about a skill.the skill that was just created or updated. Included only if FullDetailFlag is set to true in input. | |
SkillIdentity | This structure represents the unique key fields associated with identifying a resource skill. Identifies the newly created or updated skill. | |
SkillVersionStamp | Int32????? | The new skill version stamp. |
Response Usage Example(s)
...