Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This web service deletes a specified Client client (PwsClientRef). The service will return the identity of the deleted Client client (PwsClientRef).

Request Format

...

ElementData TypeRequired?DefaultDescriptionSample Data
RequestIdInt32No
Click here for more information.1
SessionTicketString (50)Yes
Click here for more information.
AVWN2cthcvkr13Vtxbkl4Q==
CascadeDeleteFlagBooleanNofalse

This flag is set to " true" , when the user wants to delete the Client client and, all of the Clientclient's children

  • If set to " false", an attempt to delete a client that has one more children will fail
  • If set to " true", and the Client client and all of its children can be deleted, all Clients clients are deleted
  • If set to " true", and the InactivateIfInUseFlag is also set to true, the client and its children will be deleted if possible, otherwise they will be marked inactive. A client can be deleted if it is not in use elsewhere and all its children (if any) can be deleted. Otherwise, it must be inactivated
  • If set to " true", and the InactivateIfInUseFlag is set to false, an error is returned (because at least one client cannot be deleted, per bullet 2 above)
true/false
ClientIdentityPwsClientRefYes
This is the identity of the client to be deleted
InactivateIfInuseFlagBooleanNofalseIf set to true, a client that cannot be deleted because it is in use will be set to inactive, otherwise the request will fail.true

Request Usage Example(s)


Code Block
languagexml
titleRequest 01
collapsetrue
      <PwsDeleteClient>
         <serviceRequest>
            <RequestId>1</RequestId>
            <SessionTicket>AVWN2cthcvkr13Vtxbkl4Q==</SessionTicket>
            <CascadeDeleteFlag>true</CascadeDeleteFlag>
            <ClientIdentity>
               <ClientNumber>C000117</com:ClientNumber>
            </ClientIdentity>
            <InactivateIfInuseFlag>true</InactivateIfInuseFlag>
         </serviceRequest>
      </PwsDeleteClient>

...

Panel
titlePwsDeleteClientRs


Response Elements


ElementData TypeDescriptionSample Data
MessagesPwsMessage
The web service response status and Message.

Click here for more information


ResponseIdInt32Click here for more information
.
1
StatusRequestStatusClick here for more information
.
Ok
ServerTimestampUtcDateTimeClick here for more information
2017-12-21T16:14:01.7558585Z
ClientIdentityPwsClientRef [0..1]The identity of the deleted client
.

Response Usage Example(s)

...