• Last edited on: 12 April 2018

Tag API

Use the Tag API to specify tags and to specify whether tags are external.

Associations

The tag API resource is associated with many Coupa objects, including the invoice, and sourcing APIs.

Elements

Element Description Req'd Unique Allowable Value In Out Data Type
created-at Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ         yes datetime
created-by User who created         yes User 
id Coupa unique identifier         yes integer
name Name yes yes   yes yes string(30)
system-tag System tag       yes yes boolean
updated-at Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ         yes datetime
updated-by User who updated         yes User 

Example

When using the Tag API, <tag> should always be wrapped inside <tagging>.

Here is an example:

<invoice-lines>
 <invoice-line>
	<taggings>
	 <tagging>
		<tag>
		 <name>header_tag</name>
		 <system_tag>true</system_tag>
		</tag>
		<description>API Desc</description>
	 </tagging>
	</taggings>
 </invoice-line>
</invoice-lines>

 

Related Items


Differences between XML and JSON in Coupa

16 December 2016

Tagging API

24 April 2017

Use the Tagging API to bring in and export tags to your third-party system.

Integration Runs API

24 April 2017

Use this API to create, query, or update an integration run, as well as update the status.

Dispute Reason API

05 August 2017