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

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

{&quot;agentId&quot;:&quot;\u003cuuid\u003e&quot;,&quot;dataPointId&quot;:&quot;DP0001&quot;,&quot;entityId&quot;:&quot;\u003cuuid\u003e&quot;,&quot;propertySetName&quot;:&quot;ElectricalProperties&quot;,&quot;propertyName&quot;:&quot;Voltage&quot;,&quot;id&quot;:&quot;4fad6258-5def-4d84-a4c2-1481b209c116&quot;,&quot;dataPointUnit&quot;:&quot;%&quot;,&quot;dataPointType&quot;:&quot;TIMESTAMP&quot;,&quot;propertyUnit&quot;:&quot;%&quot;,&quot;propertyType&quot;:&quot;INT&quot;,&quot;qualityEnabled&quot;:true,&quot;keepMapping&quot;:false,&quot;validity&quot;:{&quot;status&quot;:&quot;INVALID&quot;,&quot;reasons&quot;:[&quot;MISSING_DATAPOINT&quot;]}}