# Search assignable items (audits, journeys, rules etc) for specified email POST /v3/notification-center/target-items/{itemType}/search Endpoint: POST /v3/notification-center/target-items/{itemType}/search Security: API_Key ## Path parameters: - `itemType` (string, required) Enum: "AUDIT", "WEB_JOURNEY", "RULE", "ALERT", "USAGE_ALERT", "EMAIL_INBOX_MESSAGE_RECEIVED", "EMAIL_INBOX_MESSAGE_PROCESSED", "SCHEDULED_EXPORT" ## Query parameters: - `size` (integer) - `sortBy` (string) Enum: "IS_ASSIGNED", "ITEM_NAME", "RUN_DATE" - `page` (integer) Number of results page of an endpoint with paginated results - `sortDesc` (boolean) Controls sorting order ## Request fields (application/json): - `email` (string, required) email to search for - `itemName` (string) optional "item name contains substring" filter - `itemLabels` (array) non-empty array of labels present on an item. When multiple labels specified, target item is expected to have all of them (condition works as "AND" for all labels specified) - `isAssigned` (boolean) - when TRUE - only target items with the specified currently assigned will be returned; - when FALSE - only target items with the specified currently NOT assigned will be returned; - when UNDEFINED or NULL - flag is ignored. ## Response 200 fields (application/json): - `metadata` (object, required) Common metadata for iterable - `metadata.pagination` (object, required) - `metadata.pagination.totalCount` (integer, required) Total number of items available from all result pages combined - `metadata.pagination.totalPageCount` (integer, required) Total number of pages available - `metadata.pagination.pageSize` (integer, required) Page size - number of items per result page configured by query parameter or default page size - `metadata.pagination.currentPageSize` (integer, required) Number of items in current result page - `metadata.pagination.currentPageNumber` (integer, required) Current page number/ordinal - `items` (array, required) - `items.isAssigned` (boolean, required) TRUE if specified is assigned to this item, FALSE otherwise - `items.isEditable` (boolean, required) TRUE if specified can be assigned or unassigned from this item, FALSE otherwise - `items.itemType` (string, required) Enum: "AUDIT", "WEB_JOURNEY", "RULE", "ALERT", "USAGE_ALERT", "EMAIL_INBOX_MESSAGE_RECEIVED", "EMAIL_INBOX_MESSAGE_PROCESSED", "SCHEDULED_EXPORT" - `items.itemId` (integer, required) ID of a data collector, see ItemType Example: 107239 - `items.itemName` (string, required) Name of audit/WJ/rule/alert etc - `items.itemLastRunAt` (string) Date-time in [RFC3339 profile ISO 8601 format](https://www.ietf.org/rfc/rfc3339.txt) with the following additional restrictions: 1. An uppercase T must separate the date and time portions. 2. An uppercase Z must denote that a numeric time zone offset isn't present. In general, these timestamp requirements are the same in [AWS Step Functions - Choice Rules](https://docs.aws.amazon.com/step-functions/latest/dg/amazon-states-language-choice-state.html) Example: "2016-08-18T17:33:00Z" - `items.itemLabels` (array) may be absent if item does not support labels ## Response 400 fields (application/json): - `timestamp` (string) - `message` (string) - `details` (string) - `validationReport` (object) ## Response 401 fields (application/json): - `timestamp` (string) - `message` (string) - `details` (string) - `validationReport` (object) ## Response 403 fields (application/json): - `timestamp` (string) - `message` (string) - `details` (string) - `validationReport` (object) ## Response 404 fields (application/json): - `timestamp` (string) - `message` (string) - `details` (string) - `validationReport` (object)