Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Overview

This web service deletes a specified skill (PwsSkillRef). 

Request Format

PwsDeleteSkillGroup Request
  • PwsDeleteSkillGroup

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.


CascadeDeleteSkillsFlag

Boolean

No

No

If set to "true" and none of the skills in this group is 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

PwsSkillGroupRef

Yes


This structure represents the unique key fields associated with identifying the skill group to be deleted.


Request Usage Example(s)


Example 01
<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:PwsDeleteSkillGroup>
         <!--Optional:-->
         <pws:serviceRequest>
            <req:SessionTicket>AUQnUBfR4twqQVdcrh4+jA==</req:SessionTicket>
            <!--Optional:-->
            <req:CascadeDeleteSkillsFlag>0</req:CascadeDeleteSkillsFlag>
            <req:SkillGroupIdentity>
               <!--Optional:-->
               <com:SkillGroupName>TBDSkillGroup</com:SkillGroupName>
            </req:SkillGroupIdentity>
         </pws:serviceRequest>
      </pws:PwsDeleteSkillGroup>
   </soapenv:Body>
</soapenv:Envelope>


Response Format

PwsDeleteSkillGroup Response

Response Elements

Element

Data Type

Description

Messages

PwsMessage[]

The web service response status and message. Click here for more information

ResponseId

Int32

Click here for more information.

Status

RequestStatusClick here for more information

ServerTimestampUtc

DateTime

Click here for more information.

SkillGroupIdentity

PwsSkillGroupRef

This structure represents the unique key fields associated with identifying the skill group that was deleted.


Response Usage Example(s)


Example - 01
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <PwsDeleteSkillGroupResponse xmlns="http://projectorpsa.com/PwsProjectorServices/">
         <PwsDeleteSkillGroupResult 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/">
               <b:PwsMessage>
                  <b:AdditionalErrorText>Message 136: This request was executed against the Staging [appst.projectorpsa.com] environment.</b:AdditionalErrorText>
                  <b:ErrorCode>NonProductionEnvironment</b:ErrorCode>
                  <b:ErrorNumber>136</b:ErrorNumber>
                  <b:ErrorText>This web service request was executed against a non-production instance of Projector.</b:ErrorText>
                  <b:Type>Information</b:Type>
                  <b:ReferenceId1 i:nil="true"/>
                  <b:ReferenceId2 i:nil="true"/>
               </b:PwsMessage>
            </Messages>
            <ResponseId xmlns="http://projectorpsa.com/CommonServices/">0</ResponseId>
            <Status xmlns="http://projectorpsa.com/CommonServices/">Ok</Status>
            <ServerTimestampUtc xmlns="http://projectorpsa.com/CommonServices/">2023-01-12T15:29:10.0449725Z</ServerTimestampUtc>
            <a:SkillGroupIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
               <b:SkillGroupId i:nil="true"/>
               <b:SkillGroupName>TBDSkillGroup</b:SkillGroupName>
               <b:SkillGroupUid>1152921504606857996</b:SkillGroupUid>
            </a:SkillGroupIdentity>
         </PwsDeleteSkillGroupResult>
      </PwsDeleteSkillGroupResponse>
   </s:Body>
</s:Envelope>

Common Errors and Warnings

ErrorNumberErrorCodeErrorText
58035SkillGroupDeletionFailedSkill group could not be deleted because it contains at least one skill that cannot be deleted.
  • No labels