Get mappings

GET {{baseUrl}}/eventMappings?filter=<string>&size=20&page=0

Retrieves a list of mappings.

Request Params

KeyDatatypeRequiredDescription
filterstringFilter as stringified JSON object with agentId as the key.
sizenumberThe maximum number of elements in a page.
pagenumberThe (0-based) index of page.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;content&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;id&quot;:&quot;2d94ba61-3e16-415c-a5c0-d428b8d92d42&quot;,&quot;eTag&quot;:&quot;1&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;id&quot;:&quot;2d94ba61-3e16-415c-a5c0-d428b8d92d42&quot;,&quot;eTag&quot;:&quot;1&quot;}],&quot;totalPages&quot;:1,&quot;totalElements&quot;:1,&quot;last&quot;:true,&quot;numberOfElements&quot;:1,&quot;first&quot;:true,&quot;sort&quot;:[{&quot;direction&quot;:&quot;DESC&quot;,&quot;property&quot;:&quot;commodo in cillum laboris in&quot;,&quot;ignoreCase&quot;:true,&quot;nullHandling&quot;:&quot;NULLS_FIRST&quot;,&quot;descending&quot;:false,&quot;ascending&quot;:false},{&quot;direction&quot;:&quot;ASC&quot;,&quot;property&quot;:&quot;aliqua eu qui ull&quot;,&quot;ignoreCase&quot;:false,&quot;nullHandling&quot;:&quot;NATIVE&quot;,&quot;descending&quot;:true,&quot;ascending&quot;:true}],&quot;size&quot;:20,&quot;number&quot;:0}