PortfolioLinkApi

<back to all web services

DeleteClientV2

Requires Authentication
The following routes are available for this service:
All Verbs/v2/clients/delete
DeleteClientV2 Parameters:
NameParameterData TypeRequiredDescription
ClientIdqueryintNo
CreateOrUpdateClientV2Response Parameters:
NameParameterData TypeRequiredDescription
ResultformboolNo
IdformintNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /v2/clients/delete HTTP/1.1 
Host: api.portfoliolink.co.za 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<DeleteClientV2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PortfolioLinkApi.ServiceModel">
  <ClientId>0</ClientId>
</DeleteClientV2>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<CreateOrUpdateClientV2Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PortfolioLinkApi.ServiceModel">
  <Id>0</Id>
  <Result>false</Result>
</CreateOrUpdateClientV2Response>