Vorheriges Thema: Set a Metric Value to DB for a Service by Name

Nächstes Thema: Indicators

Send Metric Data via an XML Body

This web service sets aggregated metric data for a bulk of metrics using an XML body. It is important to note that the size of the URI is limited to about 8192 bytes. Due to the increased size of the URI because of the added xml body, please ensure that the URI is kept under this limit.

HTTP Type

POST

Restriction

None. Open to all public users.

URI

{type}/SMI/{version}/setMetric

Parameter

Description

&key

The API Key that is provided when your application has been registered.

&secret

The Shared Secret that is provided when your application has been registered.

&xmlData

Defines the XML body that contains the metric data.

Example:

See the section on XML Data Input in this document for more information.

Sample output of successful execution:

{
"result":
	{
	"returnCode": "0",
	"errorMessage": "Operation Successful.",
	"resultCount": 0,
	}
}