Update Data Source Configuration

PUT {{baseUrl}}/agents/:id/dataSourceConfiguration

Creates or updates data source configuration object.

Request Body

{"configurationId"=>"<string>", "dataSources"=>[{"name"=>"<string>", "dataPoints"=>[{"id"=>"<string>", "name"=>"<string>", "type"=>"<string>", "unit"=>"<string>", "description"=>"<string>"}, {"id"=>"<string>", "name"=>"<string>", "type"=>"<string>", "unit"=>"<string>", "description"=>"<string>"}], "description"=>"<string>"}, {"name"=>"<string>", "dataPoints"=>[{"id"=>"<string>", "name"=>"<string>", "type"=>"<string>", "unit"=>"<string>", "description"=>"<string>"}, {"id"=>"<string>", "name"=>"<string>", "type"=>"<string>", "unit"=>"<string>", "description"=>"<string>"}], "description"=>"<string>"}]}

HEADERS

KeyDatatypeRequiredDescription
If-Matchstring(Required) ETag number of resource.
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;configurationId&quot;:&quot;Configuration01&quot;,&quot;dataSources&quot;:[{&quot;name&quot;:&quot;OPC-UA Server&quot;,&quot;dataPoints&quot;:[{&quot;id&quot;:&quot;DP001&quot;,&quot;name&quot;:&quot;Voltage&quot;,&quot;type&quot;:&quot;DOUBLE&quot;,&quot;unit&quot;:&quot;V&quot;,&quot;description&quot;:&quot;Voltage value read.&quot;,&quot;customData&quot;:{&quot;est_2&quot;:{},&quot;est_&quot;:{}}},{&quot;id&quot;:&quot;DP001&quot;,&quot;name&quot;:&quot;Voltage&quot;,&quot;type&quot;:&quot;DOUBLE&quot;,&quot;unit&quot;:&quot;V&quot;,&quot;description&quot;:&quot;Voltage value read.&quot;,&quot;customData&quot;:{&quot;elit_e99&quot;:{},&quot;enimb&quot;:{},&quot;incididunt6d&quot;:{},&quot;officia6&quot;:{}}}],&quot;description&quot;:&quot;OPC-UA Server installed on site.&quot;,&quot;customData&quot;:{&quot;adipisicing4aa&quot;:{}}},{&quot;name&quot;:&quot;OPC-UA Server&quot;,&quot;dataPoints&quot;:[{&quot;id&quot;:&quot;DP001&quot;,&quot;name&quot;:&quot;Voltage&quot;,&quot;type&quot;:&quot;DOUBLE&quot;,&quot;unit&quot;:&quot;V&quot;,&quot;description&quot;:&quot;Voltage value read.&quot;,&quot;customData&quot;:{&quot;voluptatec&quot;:{}}},{&quot;id&quot;:&quot;DP001&quot;,&quot;name&quot;:&quot;Voltage&quot;,&quot;type&quot;:&quot;DOUBLE&quot;,&quot;unit&quot;:&quot;V&quot;,&quot;description&quot;:&quot;Voltage value read.&quot;,&quot;customData&quot;:{&quot;sintb&quot;:{},&quot;eiusmodf&quot;:{}}}],&quot;description&quot;:&quot;OPC-UA Server installed on site.&quot;,&quot;customData&quot;:{&quot;et_b&quot;:{},&quot;tempor_86&quot;:{}}}],&quot;id&quot;:&quot;c3b7d31d-e966-46e6-9db1-d4b3e8c90d7b&quot;,&quot;eTag&quot;:&quot;2&quot;}