Version 7.8.2

Back | 

AddMetadata

URL

enterprise.piksel.com/services/index.php?
Use "request" param as post variable for submitting json/xml request payload for all POST requests.

Parameters

  • client_id
  • metadata_list

Request

Adds client metadata. This can be seen using the CMS by selecting a client, going to client settings, and then clicking the "Client Metadata" link. Multiple metadata entries can be defined inside of the "metadata_list" array.

Request format

<?xml version="1.0" encoding="utf-8"?>
<add_metadata>
  <client_id></client_id>
  <metadata_list>
    <metadata>
      <meta_name></meta_name>
      <display_name></display_name>
      <default_value></default_value>
      <option_values></option_values>
      <max_length></max_length>
      <sort_num></sort_num>
      <type></type>
    </metadata>
  </metadata_list>
</add_metadata>

Test Example

<?xml version="1.0" encoding="utf-8"?> <request> <authentication> <user_token></user_token> <client_token></client_token> <app_name></app_name> <app_token></app_token> </authentication> <header> <header_version></header_version> <api_version>4.0</api_version> <no_cache></no_cache> </header> <add_metadata> <client_id></client_id> <metadata_list> <metadata> <meta_name></meta_name> <display_name></display_name> <default_value></default_value> <option_values></option_values> <max_length></max_length> <sort_num></sort_num> <type></type> </metadata> </metadata_list> </add_metadata> </request>

Response

Response format