Overview
This web service inserts or updates a single skill group based on a detailed skill group structure (PwsSkillGroupDetail). The service returns the identity (PwsSkillGroupRef) of the skill gorup that has been inserted or updated. The caller can optionally request that the full skill group detail (PPwsSkillGroupElement) also be included in the response.
Request Format
- PwsSaveSkillGroup
- serviceRequest: PwsSaveSkillGroupRq
- RequestId: Int32
- SessionTicket: String
- FullDetailFlag: Boolean
- SkillGroup: PwsSkillGroupDetail
- SkillVersionStamp: Int32
- serviceRequest: PwsSaveSkillGroupRq
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 skill group detail will be included in response. | |
SkillGroup | Yes | This structure contains the complete set of information about the skill group 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 PwsGetSkillGroup 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
- PwsSaveSkillGroupResponse
- PwsSaveSkillGroupResult: PwsSaveSkillGroupRs
- Messages: PwsMessage[]
- ResponseId: Int32
- Status: RequestStatus
- ServerTimestampUtc: DateTime
- SkillGroup: PwsSkillGroupElement
- SkillGroupIdentity: PwsSkillGroupRef
- SkillVersionStamp: Int32
- PwsSaveSkillGroupResult: PwsSaveSkillGroupRs
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. | |
SkillGroup | This structure contains the complete set of information about the skill group that was just created or updated. Included only if FullDetailFlag is set to true in input. | |
SkillGroupIdentity | This structure represents the unique key fields associated with identifying a skill group. Identifies the newly created or updated skill group. | |
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 |
---|---|---|
58045 | SkillGroupNameAlreadyInUse | Specified skill group name "Technology2" already in use. |