Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com

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

« Previous Version 2 Next »

catissuecore/rest/ng/participants/{participant_id}

Use this resource to delete an existing participant in the caTissue application. Use HTTP DELETE method to call this API by passing the below details:

Below are the parameters which need to be sent with the request:

Parameter
Details
participant_idIdentifier of the participant to whom you want to delete from caTissuePlus
includeDependents [optional]This is optional parameter, set the value of this variable to true, if you also want to delete all the dependents of this participant. If not set the default value is false.

http[s]:<host>:<port>/catissuecore/rest/ng/participants/{id}

Use this URL to delete participants from caTissuePlus application.

Result:

The response of this request will contains the identifier of the deleted participant and the success message.

Below is the example of the delete participant:

 

 

URLhttp[s]:<host>:<port>/catissuecore/rest/ng/participants/1/includeDependents=true
MethodDELETE
content-typeapplication/json

Response

{

"id" : "1"

}

 

Error Cases :

code
Applies to
Status Message
200All resourcesParticipant deleted successfully
400All requests 
401All requestsAuthorization failed, User doesn’t have privileges to delete Participants
500All requestsInternal server error, Encountered server error while performing operations


  • No labels