This web service sets indicator data for a single indicator using UUID.
POST
None. Open to all public users.
{type}/SMI/{version}/service/{serviceUUID}/indicator/{indicatorUUID}
|
Parameter |
Description |
|
{serviceUUID} |
UUID of the service you are setting indicator data for. |
|
{indicatorUUID} |
UUID of the indicator that the data is associated with |
|
&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. |
|
&indicatorValue |
Defines the indicator value. |
|
&surveyUUID |
When setting indicator data, this defines the UUID of the source survey. |
|
&updateTime |
When setting indicator data, this specifies the time when the survey retrieved the value. The format of the date is YYYY-MM-DD-hh-mm-ss. |
Example:
The following URI sets indicator data for the specified service for the specified indicator from the specified survey.
https://smi.cloudcommons.com:8443/Insight_API/json/SMI/0.5/service/99500098-c4b9-11df-bbd8-6b395a4ff3f3/indicator/22bcca66-bbfd-11df-b5c1-8372b9264e5c?indicatorValue=10&surveyUUID=d5d6ecca-c4b9-11df-abdf-6f1bf8a95be4&updateTime=2010-08-20-19-32-05&key=df3936ec01c5d3adf9f0048116cd5b84&secret=13f6232ebf484e57103cd4ac234a22aa
Sample output of successful execution:
{
"result":
{
"returnCode": "0",
"errorMessage": "Operation Successful.",
"resultCount": 0,
}
}
| Copyright © 2012 CA. Alle Rechte vorbehalten. | Senden Sie CA Technologies eine E-Mail zu diesem Thema. |