POST | /metrics/datapoint/location/timestamp/add | Add a datapoint and timestamp for given location |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
CorrelationId | body | Guid | No | |
LocationId | body | Guid | No | |
StatNamespace | body | string | No | |
Datapoint | body | string | No | |
DatapointTimestamp | body | DateTime | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /metrics/datapoint/location/timestamp/add HTTP/1.1
Host: n3tapi.palmettovdc.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
correlationId: 00000000000000000000000000000000,
locationId: 00000000000000000000000000000000,
statNamespace: String,
datapoint: String,
datapointTimestamp: 0001-01-01
}