Query event types
GET {{baseUrl}}/eventTypes?size=20&page=0&filter=<json>&sort=<json>&includeShared=false&excludeGlobal=false
Returns event types based on the request parameters.
\ !Note! - In case of sub-tenant user, global and related T1 local event types are also visible.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
size | number | Specifies the number of elements in a page. Default is 20, minimum is 1 , maximum is 100. | |
page | number | Specifies the requested page index. Default is 0 | |
filter | string | Filter parameter (JSON) encoded format. Event types can be filtered by the following fields |
id
name
owner
scope
| |sort
| string | | Order in which event types are returned. Supported only on filterable fields. Default isname
ascending order | |includeShared
| boolean | | To specify if received event or eventTypes should be consider for the API operation. | |excludeGlobal
| boolean | | If set to true, the response will include all the event types created only by the tenant along with the Mindsphere's core event types. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
If-None-Match | string | ETag hash of previous request to allow caching | |
Accept | string |
RESPONSES
status: OK
{"_embedded":{"eventTypes":[{"id":"mollit proident Lorem tempor","name":"minim dolor Excepteur pariatur","parentId":"an","ttl":10434150,"etag":-14215070,"owner":"reprehenderit pariatur consectetur","scope":"LOCAL","fields":[{"name":"\u003cstring\u003e","type":"\u003cstring\u003e","filterable":false,"required":false,"updatable":false,"values":["\u003cstring\u003e","\u003cstring\u003e"]},{"name":"\u003cstring\u003e","type":"\u003cstring\u003e","filterable":false,"required":false,"updatable":false,"values":["\u003cstring\u003e","\u003cstring\u003e"]}],"_links":{"self":{"href":"http://jwTiNVrmvgnUWodVeArZcr.rntwSf-u9xkWoGtl2Ja0ktG6VkJuF6fX"},"events":{"href":"https://sNooOoWdmnIavoiBtzPi.qpLkfoxRtOH0fWYojYrqxbym-1jG8jzF.dr9qnyocx5.7uXimD.gsPMHrdi"}},"sharing":{"modes":["SHARER","DEFAULT"]}},{"id":"do in aliquip reprehenderit consectetur","name":"minim","parentId":"con","ttl":-7779069,"etag":-79301450,"owner":"deserunt","scope":"LOCAL","fields":[{"name":"\u003cstring\u003e","type":"\u003cstring\u003e","filterable":false,"required":false,"updatable":false,"values":["\u003cstring\u003e","\u003cstring\u003e"]},{"name":"\u003cstring\u003e","type":"\u003cstring\u003e","filterable":false,"required":false,"updatable":false,"values":["\u003cstring\u003e","\u003cstring\u003e"]}],"_links":{"self":{"href":"https://XVkPGxhKjaymvDBVwlAzPWyqlhriekWa.bsmUv1WNdXwicz"},"events":{"href":"https://tjCOJDIPd.ucitXTCj5kovUiOz4oKTOQXjbMYkEhD-jV0aMq6SbaPdATlurDUZbQXQOWRJtCznAZ"}},"sharing":{"modes":["SHARER","SHARER"]}}]},"_links":{"first":{"href":"https://uJtOAfxNDvpSuoRbKsIvCcQDHTzAV.fzdkPC,BywHjOBrSicczz.0YCUoHi3+Ca9vZUtk3UtftG"},"self":{"href":"https://geydJEwUCbbAhTMuERWB.slyD2rODxtdYJ6JDOaPT,HPTlBVH51hmW,TqQFUbcD1M","templated":true},"next":{"href":"http://ipYlRbPjdgWhFLGalitcvEU.eon6t8TzIvITHWTgLjJmsVBkJmlYsUu"},"prev":{"href":"http://UtoUiKaXNPoVDofBELkWNAOMJJ.wjZ-lG13UKbhkGS2snCnn5SxJsHeP+Xc"},"last":{"href":"https://qbInKrtMhNYOcLzXagdWhUD.ywlFFDZFzvL1xBexvw"}},"page":{"size":-83190742,"totalElements":93706304,"totalPages":-222326,"number":-36329416}}