DELETE associations({associationId})/representatives({startRepresentativeId})/relationships({relationshipType})/representatives({endRepresentativeId})
Method to delete a relationship between two representatives
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
associationId | Association of interest |
Define this parameter in the request URI. |
startRepresentativeId | Representative that no longer wants a relationship |
Define this parameter in the request URI. |
relationshipType | Type of relationship |
Define this parameter in the request URI. |
endRepresentativeId | Representative that will now be ignored |
Define this parameter in the request URI. |
Response Information
Newly deleted relationship
Response body formats
application/json, text/json
Sample:
{ "StartRepresentativeId": 1, "EndRepresentativeId": 2, "RelationshipType": 64 }
application/xml, text/xml
Sample:
<RepresentativeRelationshipResource xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MicroNet.WebAPI.Classes.Resources"> <EndRepresentativeId>2</EndRepresentativeId> <RelationshipType>64</RelationshipType> <StartRepresentativeId>1</StartRepresentativeId> </RepresentativeRelationshipResource>