Net3 API Interface for Customer Portal

<back to all web services

AddDatapointByLocationAndTimestamp

Requires Authentication
The following routes are available for this service:
POST/metrics/datapoint/location/timestamp/addAdd a datapoint and timestamp for given location
AddDatapointByLocationAndTimestamp Parameters:
NameParameterData TypeRequiredDescription
CorrelationIdbodyGuidNo
LocationIdbodyGuidNo
StatNamespacebodystringNo
DatapointbodystringNo
DatapointTimestampbodyDateTimeNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + 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
}