PwsDeleteSkillGroup
Overview
This web service deletes a specified skill group (PwsSkillGroupRef).
Request Format
- PwsDeleteSkillGroup
- serviceRequest: PwsDeleteSkillGroupRq
- RequestId: Int32
- SessionTicket: String
- CascadeDeleteSkillsFlag: Boolean
- InactivateIfInUseFlag: Boolean
- SkillGroupIdentity: PwsSkillGroupRef
- serviceRequest: PwsDeleteSkillGroupRq
Request Elements
Element | Data Type | Required? | Default | Description | Sample Data |
---|---|---|---|---|---|
Int32 | No | Click here for more information. | |||
String | Yes | Click here for more information. | |||
CascadeDeleteSkillsFlag | Boolean | No | No | If set to "true" and none of the skills in this group are in use, the skills will be deleted too. Otherwise, the delete request will fail. | No |
InactivateIfInUseFlag | Boolean | No | false | If set to "true" and the skill group is in use, the skill group will be inactivated instead of deleted. If set to "false" and the skill group is in use, the delete request will fail. | No |
SkillGroupIdentity | Yes | This structure represents the unique key fields associated with identifying the skill group to be deleted. |
Request Usage Example(s)
Response Format
- PwsDeleteSkillGroupResponse
- PwsDeleteSkillGroupResult: PwsDeleteSkillGroupRs
- Messages: PwsMessage[]
- ResponseId: Int32
- Status: RequestStatus
- ServerTimestampUtc: DateTime
- SkillGroupIdentity: PwsSkillGroupRef
- PwsDeleteSkillGroupResult: PwsDeleteSkillGroupRs
Response Elements
Element | Data Type | Description |
---|---|---|
Messages | 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 |
ServerTimestampUtc | DateTime | Click here for more information. |
SkillGroupIdentity | This structure represents the unique key fields associated with identifying the skill group that was deleted. |
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 |
---|---|---|
58035 | SkillGroupDeletionFailed | Skill group could not be deleted because it contains at least one skill that cannot be deleted. |