Create single mapping
POST {{baseUrl}}/dataPointMappings
Creates a single mapping.
Request Body
{"agentId"=>"<uuid>", "dataPointId"=>"<string>", "entityId"=>"<uuid>", "propertySetName"=>"<string>", "propertyName"=>"<string>", "keepMapping"=>false}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"agentId":"\u003cuuid\u003e","dataPointId":"DP0001","entityId":"\u003cuuid\u003e","propertySetName":"ElectricalProperties","propertyName":"Voltage","id":"4fad6258-5def-4d84-a4c2-1481b209c116","dataPointUnit":"%","dataPointType":"TIMESTAMP","propertyUnit":"%","propertyType":"INT","qualityEnabled":true,"keepMapping":false,"validity":{"status":"INVALID","reasons":["MISSING_DATAPOINT"]}}