Capsule API

Opportunity API Tags

View Tags

GET /api/opportunity/{opportunity-id}/tag

Example response:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<tags size="2">
    <
tag>
        <
name>Green</name>
    </
tag>
    <
tag>
        <
name>Consulting</name>
    </
tag>
</
tags

Add Tag

POST /api/opportunity/{opportunity-id}/tag/{tag-name}

The tag name will need to be URL encoded. If the tag is already present on the opportunity status in the response will be 200 OK, when the tag is added the response will be 201 Created.

Add Tag

DELETE /api/opportunity/{opportunity-id}/tag/{tag-name}

The tag name will need to be URL encoded

Capsule is a service of Zestia Ltd which is a company registered in England with company number 06418281. © 2008-2012 Zestia Ltd. All Rights Reserved.