Home > Cloud Cruiser 3 > REST API reference > Publishing usage data > XML data using PUT

XML data using PUT

Publishes XML data via PUT. The data is appended to a file underneath the < working_dir >/usage_files directory, in a directory specified by the feedPath URL path parameter. The file is created if it does not exist. The filename is named based on the current date and follows the pattern yyyyMMdd-PUT.xml . As an example, If the URL example below was invoked on March 15, 2013 the file would be < CC_Usage_Directory >/myfeeds/feed1/20130315-PUT.xml .

URL syntax

http://<ccServerURL
>/rest/v1/usage/myfeeds/<feedPath
>

HTTP method

PUT

Request

Content-Type
application/xml
Request body

The XML data to be published.

Example URL

http://<ccServerURL
>/rest/v1/usage/myfeeds/feed1
Last modified

Tags

This page has no custom tags.

Classifications

This page has no classifications.
© Copyright 2018 Hewlett Packard Enterprise Development LP