Overview
This web service inserts or updates a single skill based on a detailed 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
- PwsSaveSkill
- serviceRequest: PwsSaveSkillRq
- RequestId: Int32
- SessionTicket: String
- FullDetailFlag: Boolean
- Skill: PwsSkillDetail
- SkillVersionStamp: Int32
- serviceRequest: PwsSaveSkillRq
Request Elements
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 | No | 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 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)
Response Format
- PwsSaveSkillResponse
- PwsSaveSkillResult: PwsSaveSkillRs
- Messages: PwsMessage[]
- ResponseId: Int32
- Status: RequestStatus
- ServerTimestampUtc: DateTime
- Skill: PwsSkillElement
- SkillIdentity: PwsSkillRef
- SkillVersionStamp: Int32
- PwsSaveSkillResult: PwsSaveSkillRs
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. | |
RequestStatus | Click here for more information | |
DateTime | Click here for more information. | |
Skill | This structure contains the complete set of information about 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)
Common Errors and Warnings
- For all errors and warnings please refer to the Complete List of Errors and Warnings
ErrorNumber | ErrorCode | ErrorText |
---|---|---|
58037 | SkillNameAlreadyInUse | Specified skill name "HTML2" already in use. |