Update a mapping

PATCH {{baseUrl}}/eventMappings/:id

Updates a mapping.

Request Body

{"agentId"=>"<string>", "assetId"=>"<string>", "eventTypeId"=>"<string>", "eventTypeName"=>"<string>", "eventTypeFieldName"=>"<string>", "eventTypeFieldValue"=>"<string>", "eTag"=>"<string>"}

HEADERS

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

RESPONSES

status: OK

{&quot;id&quot;:&quot;2d94ba61-3e16-415c-a5c0-d428b8d92d42&quot;,&quot;agentId&quot;:&quot;11961bc396cd4a87a9b26b723f5b7ba0&quot;,&quot;assetId&quot;:&quot;2196dbc396cd4a87a9bd6b723fsb7baz&quot;,&quot;eventTypeId&quot;:&quot;mytenant.connectivity.event.type.TestEventType&quot;,&quot;eventTypeName&quot;:&quot;TestEventType&quot;,&quot;eventTypeFieldName&quot;:&quot;source&quot;,&quot;eventTypeFieldValue&quot;:&quot;Machine_1&quot;,&quot;eTag&quot;:&quot;1&quot;}