--- id: search-aggregate sidebar_label: Perform a Search Query Aggregation hide_title: true hide_table_of_contents: true api: {"tags":["Search"],"description":"Performs a search query aggregation and returns aggregation result.","operationId":"searchAggregate","parameters":[{"in":"query","name":"offset","description":"Offset into the full result set. Usually specified with *limit* to paginate through the results.\nSee [V3 API Standard Collection Parameters](https://developer.sailpoint.com/docs/standard_collection_parameters.html) for more information.","required":false,"example":0,"schema":{"type":"integer","format":"int32","minimum":0,"default":0}},{"in":"query","name":"limit","description":"Max number of results to return.\nSee [V3 API Standard Collection Parameters](https://developer.sailpoint.com/docs/standard_collection_parameters.html) for more information.","required":false,"example":250,"schema":{"type":"integer","format":"int32","minimum":0,"maximum":250,"default":250}},{"in":"query","name":"count","description":"If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored.\n\nSince requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used.\n\nSee [V3 API Standard Collection Parameters](https://developer.sailpoint.com/docs/standard_collection_parameters.html) for more information.","required":false,"example":true,"schema":{"type":"boolean","default":false}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"indices":{"description":"The names of the Elasticsearch indices in which to search.","externalDocs":{"description":"Learn more about search indices here.","url":"https://documentation.sailpoint.com/saas/help/search/searchable-fields.html"},"type":"array","items":{"description":"Enum representing the currently supported indices.\nAdditional values may be added in the future without notice.","type":"string","enum":["accessprofiles","accountactivities","entitlements","events","identities","roles"],"example":"identities"},"example":["identities"]},"queryType":{"description":"The type of query to use. By default, the `SAILPOINT` query type is used, which requires the `query` object to be defined in the request body.\nTo use the `queryDsl` or `typeAheadQuery` objects in the request, you must set the type to `DSL` or `TYPEAHEAD` accordingly.\nAdditional values may be added in the future without notice.","type":"string","enum":["DSL","SAILPOINT","TYPEAHEAD"],"default":"SAILPOINT","example":"SAILPOINT"},"queryVersion":{"allOf":[{"description":"The current Elasticserver version.","type":"string","default":"5.2"},{"type":"string","description":"The version of the query object.\nThis version number will map to the version of Elasticsearch for the query strings and objects being used."}]},"query":{"type":"object","description":"Query parameters used to construct an Elasticsearch query object.","properties":{"query":{"description":"The query using the Elasticsearch [Query String Query](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/query-dsl-query-string-query.html#query-string) syntax from the Query DSL extended by SailPoint to support Nested queries.","type":"string","example":"name:a*"},"fields":{"description":"The fields to which the specified query will be applied. The available fields are dependent on the indice(s) being searched on. Please refer to the response schema of this API for a list of available fields.","type":"array","items":{"type":"string"},"example":["name"]},"timeZone":{"description":"The time zone to be applied to any range query related to dates.","type":"string","example":"America/Chicago"},"innerHit":{"description":"Inner Hit query object that will cause the specified nested type to be returned as the result matching the supplied query.","type":"object","required":["query","type"],"properties":{"query":{"description":"The search query using the Elasticsearch [Query String Query](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/query-dsl-query-string-query.html#query-string) syntax from the Query DSL extended by SailPoint to support Nested queries.","type":"string","example":"source.name:\\\"Active Directory\\\""},"type":{"description":"The nested type to use in the inner hits query.","type":"string","example":"access"}}}}},"queryDsl":{"description":"The search query using the Elasticsearch [Query DSL](https://www.elastic.co/guide/en/elasticsearch/reference/7.10/query-dsl.html) syntax.","type":"object","example":{"match":{"name":"john.doe"}}},"typeAheadQuery":{"type":"object","description":"Query parameters used to construct an Elasticsearch type ahead query object.","required":["query","field"],"properties":{"query":{"description":"The type ahead query string used to construct a phrase prefix match query.","type":"string","example":"Work"},"field":{"description":"The field on which to perform the type ahead search.","type":"string","example":"source.name"},"nestedType":{"description":"The nested type.","type":"string","example":"access"},"maxExpansions":{"description":"The number of suffixes the last term will be expanded into.\nInfluences the performance of the query and the number results returned.\nValid values: 1 to 1000.","type":"integer","format":"int32","minimum":1,"maximum":1000,"default":10,"example":10}}},"includeNested":{"description":"Indicates if nested objects from returned search results should be included.","type":"boolean","default":true,"example":true},"queryResultFilter":{"type":"object","description":"Allows the query results to be filtered by specifying a list of fields to include and/or exclude from the result documents.","properties":{"includes":{"description":"The list of field names to include in the result documents.","type":"array","items":{"type":"string"},"example":["name","displayName"]},"excludes":{"description":"The list of field names to exclude from the result documents.","type":"array","items":{"type":"string"},"example":["stacktrace"]}}},"aggregationType":{"description":"Enum representing the currently available query languages for aggregations, which are used to perform calculations or groupings on search results.\n\nAdditional values may be added in the future without notice.\n","type":"string","enum":["DSL","SAILPOINT"],"default":"DSL","example":"DSL"},"aggregationsVersion":{"allOf":[{"description":"The current Elasticserver version.","type":"string","default":"5.2"},{"type":"string","description":"The version of the language being used for aggregation queries.\nThis version number will map to the version of Elasticsearch for the aggregation query object."}]},"aggregationsDsl":{"description":"The aggregation search query using Elasticsearch [Aggregations](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/search-aggregations.html) syntax.","type":"object"},"aggregations":{"description":"The aggregation’s specifications, such as the groupings and calculations to be performed.\n","allOf":[{"type":"object","properties":{"nested":{"type":"object","description":"The nested aggregation object.","required":["name","type"],"properties":{"name":{"description":"The name of the nested aggregate to be included in the result.","type":"string","example":"id"},"type":{"description":"The type of the nested object.","type":"string","example":"access"}}},"metric":{"type":"object","description":"The calculation done on the results of the query","required":["name","field"],"properties":{"name":{"description":"The name of the metric aggregate to be included in the result.\nIf the metric aggregation is omitted, the resulting aggregation will be a count of the documents in the search results.","type":"string","example":"Access Name Count"},"type":{"description":"Enum representing the currently supported metric aggregation types.\nAdditional values may be added in the future without notice.","type":"string","enum":["COUNT","UNIQUE_COUNT","AVG","SUM","MEDIAN","MIN","MAX"],"default":"UNIQUE_COUNT"},"field":{"description":"The field the calculation is performed on.\n\nPrefix the field name with '@' to reference a nested object.\n","type":"string","example":"@access.name"}}},"filter":{"type":"object","description":"An additional filter to constrain the results of the search query.","required":["name","field","value"],"properties":{"name":{"description":"The name of the filter aggregate to be included in the result.","type":"string","example":"Entitlements"},"type":{"description":"Enum representing the currently supported filter aggregation types.\nAdditional values may be added in the future without notice.","type":"string","enum":["TERM"],"default":"TERM"},"field":{"description":"The search field to apply the filter to.\n\nPrefix the field name with '@' to reference a nested object.\n","type":"string","example":"access.type"},"value":{"description":"The value to filter on.","type":"string","example":"ENTITLEMENT"}}},"bucket":{"type":"object","description":"The bucket to group the results of the aggregation query by.","required":["name","field"],"properties":{"name":{"description":"The name of the bucket aggregate to be included in the result.","type":"string","example":"Identity Locations"},"type":{"description":"Enum representing the currently supported bucket aggregation types.\nAdditional values may be added in the future without notice.","type":"string","enum":["TERMS"],"default":"TERMS","example":"TERMS"},"field":{"description":"The field to bucket on.\nPrefix the field name with '@' to reference a nested object.","type":"string","example":"attributes.city"},"size":{"description":"Maximum number of buckets to include.","type":"integer","format":"int32","example":100},"minDocCount":{"description":"Minimum number of documents a bucket should have.","type":"integer","format":"int32","example":2}}}}},{"type":"object","properties":{"subAggregation":{"description":"Aggregation to be performed on the result of the parent bucket aggregation.","allOf":[{"type":"object","properties":{"nested":{"type":"object","description":"The nested aggregation object.","required":["name","type"],"properties":{"name":{"description":"The name of the nested aggregate to be included in the result.","type":"string","example":"id"},"type":{"description":"The type of the nested object.","type":"string","example":"access"}}},"metric":{"type":"object","description":"The calculation done on the results of the query","required":["name","field"],"properties":{"name":{"description":"The name of the metric aggregate to be included in the result.\nIf the metric aggregation is omitted, the resulting aggregation will be a count of the documents in the search results.","type":"string","example":"Access Name Count"},"type":{"description":"Enum representing the currently supported metric aggregation types.\nAdditional values may be added in the future without notice.","type":"string","enum":["COUNT","UNIQUE_COUNT","AVG","SUM","MEDIAN","MIN","MAX"],"default":"UNIQUE_COUNT"},"field":{"description":"The field the calculation is performed on.\n\nPrefix the field name with '@' to reference a nested object.\n","type":"string","example":"@access.name"}}},"filter":{"type":"object","description":"An additional filter to constrain the results of the search query.","required":["name","field","value"],"properties":{"name":{"description":"The name of the filter aggregate to be included in the result.","type":"string","example":"Entitlements"},"type":{"description":"Enum representing the currently supported filter aggregation types.\nAdditional values may be added in the future without notice.","type":"string","enum":["TERM"],"default":"TERM"},"field":{"description":"The search field to apply the filter to.\n\nPrefix the field name with '@' to reference a nested object.\n","type":"string","example":"access.type"},"value":{"description":"The value to filter on.","type":"string","example":"ENTITLEMENT"}}},"bucket":{"type":"object","description":"The bucket to group the results of the aggregation query by.","required":["name","field"],"properties":{"name":{"description":"The name of the bucket aggregate to be included in the result.","type":"string","example":"Identity Locations"},"type":{"description":"Enum representing the currently supported bucket aggregation types.\nAdditional values may be added in the future without notice.","type":"string","enum":["TERMS"],"default":"TERMS","example":"TERMS"},"field":{"description":"The field to bucket on.\nPrefix the field name with '@' to reference a nested object.","type":"string","example":"attributes.city"},"size":{"description":"Maximum number of buckets to include.","type":"integer","format":"int32","example":100},"minDocCount":{"description":"Minimum number of documents a bucket should have.","type":"integer","format":"int32","example":2}}}}},{"type":"object","properties":{"subAggregation":{"type":"object","properties":{"nested":{"type":"object","description":"The nested aggregation object.","required":["name","type"],"properties":{"name":{"description":"The name of the nested aggregate to be included in the result.","type":"string","example":"id"},"type":{"description":"The type of the nested object.","type":"string","example":"access"}}},"metric":{"type":"object","description":"The calculation done on the results of the query","required":["name","field"],"properties":{"name":{"description":"The name of the metric aggregate to be included in the result.\nIf the metric aggregation is omitted, the resulting aggregation will be a count of the documents in the search results.","type":"string","example":"Access Name Count"},"type":{"description":"Enum representing the currently supported metric aggregation types.\nAdditional values may be added in the future without notice.","type":"string","enum":["COUNT","UNIQUE_COUNT","AVG","SUM","MEDIAN","MIN","MAX"],"default":"UNIQUE_COUNT"},"field":{"description":"The field the calculation is performed on.\n\nPrefix the field name with '@' to reference a nested object.\n","type":"string","example":"@access.name"}}},"filter":{"type":"object","description":"An additional filter to constrain the results of the search query.","required":["name","field","value"],"properties":{"name":{"description":"The name of the filter aggregate to be included in the result.","type":"string","example":"Entitlements"},"type":{"description":"Enum representing the currently supported filter aggregation types.\nAdditional values may be added in the future without notice.","type":"string","enum":["TERM"],"default":"TERM"},"field":{"description":"The search field to apply the filter to.\n\nPrefix the field name with '@' to reference a nested object.\n","type":"string","example":"access.type"},"value":{"description":"The value to filter on.","type":"string","example":"ENTITLEMENT"}}},"bucket":{"type":"object","description":"The bucket to group the results of the aggregation query by.","required":["name","field"],"properties":{"name":{"description":"The name of the bucket aggregate to be included in the result.","type":"string","example":"Identity Locations"},"type":{"description":"Enum representing the currently supported bucket aggregation types.\nAdditional values may be added in the future without notice.","type":"string","enum":["TERMS"],"default":"TERMS","example":"TERMS"},"field":{"description":"The field to bucket on.\nPrefix the field name with '@' to reference a nested object.","type":"string","example":"attributes.city"},"size":{"description":"Maximum number of buckets to include.","type":"integer","format":"int32","example":100},"minDocCount":{"description":"Minimum number of documents a bucket should have.","type":"integer","format":"int32","example":2}}}},"description":"Aggregation to be performed on the result of the parent bucket aggregation."}}}]}}}]},"sort":{"description":"The fields to be used to sort the search results. Use + or - to specify the sort direction.","type":"array","items":{"type":"string","example":"+id"}},"searchAfter":{"description":"Used to begin the search window at the values specified.\nThis parameter consists of the last values of the sorted fields in the current record set.\nThis is used to expand the Elasticsearch limit of 10K records by shifting the 10K window to begin at this value.\nFor example, when searching for identities, if the last idenitity ID in the search result is 2c91808375d8e80a0175e1f88a575221, then using that ID in this property will start a new search after this identity.","type":"array","items":{"type":"string","example":"2c91808375d8e80a0175e1f88a575221"}},"filters":{"description":"The filters to be applied for each filtered field name.","type":"object","additionalProperties":{"type":"object","properties":{"type":{"description":"Enum representing the currently supported filter types.\nAdditional values may be added in the future without notice.","type":"string","enum":["EXISTS","RANGE","TERMS"],"example":"RANGE"},"range":{"type":"object","description":"The range of values to be filtered.","properties":{"lower":{"description":"The lower bound of the range.","type":"object","required":["value"],"properties":{"value":{"description":"The value of the range's endpoint.","type":"string"},"inclusive":{"description":"Indicates if the endpoint is included in the range.","type":"boolean","default":false}}},"upper":{"description":"The upper bound of the range.","type":"object","required":["value"],"properties":{"value":{"description":"The value of the range's endpoint.","type":"string"},"inclusive":{"description":"Indicates if the endpoint is included in the range.","type":"boolean","default":false}}}}},"terms":{"description":"The terms to be filtered.","type":"array","items":{"type":"string"}},"exclude":{"description":"Indicates if the filter excludes results.","type":"boolean","default":false}}}}},"required":["indices"]},"examples":{"metricAggregation":{"summary":"MetricAggregation","value":{"indices":["aggregations"],"aggregationType":"SAILPOINT","aggregations":{"metric":{"name":"How Many Locations","type":"UNIQUE_COUNT","field":"attributes.city"}}}},"metricAggregation-dsl":{"summary":"MetricAggregation using DSL","value":{"indices":["aggregations"],"aggregationType":"DSL","aggregationsDsl":{"How Many Locations":{"cardinality":{"field":"attributes.city.exact"}}}}},"bucketAggregation":{"summary":"BucketAggregation","value":{"indices":["aggregations"],"aggregationType":"SAILPOINT","aggregations":{"bucket":{"name":"Identity Locations","type":"TERMS","field":"attributes.city"}}}},"bucketAggregation-dsl":{"summary":"BucketAggregation using DSL","value":{"indices":["aggregations"],"aggregationType":"DSL","aggregationsDsl":{"Identity Locations":{"terms":{"field":"attributes.city.exact"}}}}},"nestedAggregation-bucketAggregation":{"summary":"NestedAggregation with BucketAggregation","value":{"indices":["aggregations"],"aggregationType":"SAILPOINT","aggregations":{"nested":{"name":"Access","field":"access","type":"TERMS"},"bucket":{"name":"Access Source Name","type":"TERMS","field":"access.source.name"}}}},"nestedAggregation-bucketAggregation-dsl":{"summary":"NestedAggregation with BucketAggregation using DSL","value":{"indices":["aggregations"],"aggregationType":"DSL","aggregationsDsl":{"access":{"nested":{"path":"access"},"aggs":{"Access Source Name":{"terms":{"field":"access.source.name.exact"}}}}}}},"nestedAggregation-filterAggregation-bucketAggregation":{"summary":"NestedAggregation with FilterAggregation and BucketAggregation","value":{"indices":["aggregations"],"aggregationType":"SAILPOINT","aggregations":{"nested":{"name":"Access","field":"access","type":"TERMS"},"filter":{"name":"Entitlements","field":"access.type","value":"ENTITLEMENT"},"bucket":{"name":"Access Name","type":"TERMS","field":"access.name"}}}},"nestedAggregation-filterAggregation-bucketAggregation-dsl":{"summary":"NestedAggregation with FilterAggregation and BucketAggregation using DSL","value":{"indices":["aggregations"],"aggregationType":"DSL","aggregationsDsl":{"access":{"nested":{"path":"access"},"aggs":{"Entitlements":{"filter":{"term":{"access.type":"ENTITLEMENT"}},"aggs":{"Access Name":{"terms":{"field":"access.name.exact"}}}}}}}}},"bucketAggregation-subAggregation":{"summary":"BucketAggregation with SubAggregation","value":{"indices":["aggregations"],"aggregationType":"SAILPOINT","aggregations":{"bucket":{"name":"Identity Department","type":"TERMS","field":"attributes.department"},"subAggregation":{"bucket":{"name":"Identity Locations","type":"TERMS","field":"attributes.city"}}}}},"bucketAggregation-subAggregation-dsl":{"summary":"BucketAggregation with SubAggregation using DSL","value":{"indices":["aggregations"],"aggregationType":"DSL","aggregationsDsl":{"Identity Department":{"terms":{"field":"attributes.department.exact"},"aggs":{"Identity Locations":{"terms":{"field":"attributes.city.exact"}}}}}}}}}},"required":true},"responses":{"200":{"description":"Aggregation results.","content":{"application/json":{"schema":{"type":"object","properties":{"aggregations":{"type":"object","description":"The document containing the results of the aggregation. This document is controlled by Elasticsearch and depends on the type of aggregation query that is run.\n\nSee Elasticsearch [Aggregations](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/search-aggregations.html) documentation for information.\n","example":{"Identity Locations":{"buckets":[{"key":"Austin","doc_count":109},{"key":"London","doc_count":64},{"key":"San Jose","doc_count":27},{"key":"Brussels","doc_count":26},{"key":"Sao Paulo","doc_count":24},{"key":"Munich","doc_count":23},{"key":"Singapore","doc_count":22},{"key":"Tokyo","doc_count":20},{"key":"Taipei","doc_count":16}]}}},"hits":{"description":"The results of the aggregation search query.\n","type":"array","items":{"discriminator":{"propertyName":"_type","mapping":{"accessprofile":{"description":"This is more of a complete representation of an access profile. ","allOf":[{"type":"object","required":["id","name","_type"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"_type":{"description":"Enum representing the currently supported document types.\n\nAdditional values may be added in the future without notice.","type":"string","enum":["accessprofile","accountactivity","account","aggregation","entitlement","event","identity","role"]}}},{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"description":{"type":"string"},"created":{"type":"string","nullable":true,"format":"date-time","example":"2018-06-25T20:22:28.104Z","description":"A date-time in ISO-8601 format"},"modified":{"type":"string","nullable":true,"format":"date-time","example":"2018-06-25T20:22:28.104Z","description":"A date-time in ISO-8601 format"},"synced":{"type":"string","nullable":true,"format":"date-time","example":"2018-06-25T20:22:28.104Z","description":"A date-time in ISO-8601 format"},"enabled":{"type":"boolean"},"requestable":{"type":"boolean"},"requestCommentsRequired":{"type":"boolean"},"owner":{"allOf":[{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"type":{"type":"string","enum":["ACCOUNT_CORRELATION_CONFIG","ACCESS_PROFILE","ACCESS_REQUEST_APPROVAL","ACCOUNT","APPLICATION","CAMPAIGN","CAMPAIGN_FILTER","CERTIFICATION","CLUSTER","CONNECTOR_SCHEMA","ENTITLEMENT","GOVERNANCE_GROUP","IDENTITY","IDENTITY_PROFILE","IDENTITY_REQUEST","LIFECYCLE_STATE","PASSWORD_POLICY","ROLE","RULE","SOD_POLICY","SOURCE","TAG_CATEGORY","TASK_RESULT","REPORT_RESULT","SOD_VIOLATION","ACCOUNT_ACTIVITY"],"description":"An enumeration of the types of DTOs supported within the IdentityNow infrastructure.","example":"IDENTITY"}}}]},{"type":"object","properties":{"email":{"type":"string"}}}]}}}]},{"type":"object","properties":{"source":{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},"entitlements":{"type":"array","items":{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"description":{"type":"string"},"attribute":{"type":"string"},"value":{"type":"string"}}}]}},"entitlementCount":{"type":"integer"},"tags":{"type":"array","items":{"type":"string"},"example":["TAG_1","TAG_2"]}}}]},"accountactivity":{"description":"AccountActivity","allOf":[{"type":"object","required":["id","name","_type"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"_type":{"description":"Enum representing the currently supported document types.\n\nAdditional values may be added in the future without notice.","type":"string","enum":["accessprofile","accountactivity","account","aggregation","entitlement","event","identity","role"]}}},{"type":"object","properties":{"action":{"type":"string"},"created":{"type":"string","nullable":true,"format":"date-time","example":"2018-06-25T20:22:28.104Z","description":"A date-time in ISO-8601 format"},"modified":{"type":"string","nullable":true,"format":"date-time","example":"2018-06-25T20:22:28.104Z","description":"A date-time in ISO-8601 format"},"stage":{"type":"string"},"origin":{"type":"string"},"status":{"type":"string"},"requester":{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"type":{"type":"string"}}}]},"recipient":{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"type":{"type":"string"}}}]},"trackingNumber":{"type":"string"},"errors":{"type":"array","items":{"type":"string"}},"warnings":{"type":"array","items":{"type":"string"}},"approvals":{"type":"array","items":{"type":"object","properties":{"comments":{"type":"array","items":{"type":"object","properties":{"comment":{"type":"string"},"commenter":{"type":"string"},"date":{"type":"string","nullable":true,"format":"date-time","example":"2018-06-25T20:22:28.104Z","description":"A date-time in ISO-8601 format"}}}},"created":{"type":"string","nullable":true,"format":"date-time","example":"2018-06-25T20:22:28.104Z","description":"A date-time in ISO-8601 format"},"modified":{"type":"string","nullable":true,"format":"date-time","example":"2018-06-25T20:22:28.104Z","description":"A date-time in ISO-8601 format"},"owner":{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"type":{"type":"string"}}}]},"result":{"type":"string"},"type":{"type":"string"}}}},"originalRequests":{"type":"array","items":{"type":"object","properties":{"accountId":{"type":"string"},"attributeRequests":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"op":{"type":"string"},"value":{"type":"string"}}}},"op":{"type":"string"},"source":{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"type":{"type":"string"}}}]}}}},"expansionItems":{"type":"array","items":{"type":"object","properties":{"accountId":{"type":"string"},"cause":{"type":"string"},"name":{"type":"string"},"attributeRequests":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"op":{"type":"string"},"value":{"type":"string"}}}},"source":{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"type":{"type":"string"}}}]}}}},"accountRequests":{"type":"array","items":{"type":"object","properties":{"accountId":{"type":"string"},"attributeRequests":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"op":{"type":"string"},"value":{"type":"string"}}}},"op":{"type":"string"},"provisioningTarget":{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"type":{"type":"string"}}}]},"result":{"type":"object","properties":{"errors":{"type":"array","items":{"type":"string"}},"status":{"type":"string"},"ticketId":{"type":"string"}}},"source":{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"type":{"type":"string"}}}]}}}},"sources":{"type":"array","items":{"type":"string"}}}}]},"account":{"description":"Account","allOf":[{"type":"object","required":["id","name","_type"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"_type":{"description":"Enum representing the currently supported document types.\n\nAdditional values may be added in the future without notice.","type":"string","enum":["accessprofile","accountactivity","account","aggregation","entitlement","event","identity","role"]}}},{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"accountId":{"type":"string"},"source":{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"type":{"type":"string"}}}]},"disabled":{"type":"boolean"},"locked":{"type":"boolean"},"privileged":{"type":"boolean"},"manuallyCorrelated":{"type":"boolean"},"passwordLastSet":{"type":"string","nullable":true,"format":"date-time","example":"2018-06-25T20:22:28.104Z","description":"A date-time in ISO-8601 format"},"entitlementAttributes":{"type":"object","nullable":true,"description":"a map or dictionary of key/value pairs"},"created":{"type":"string","nullable":true,"format":"date-time","example":"2018-06-25T20:22:28.104Z","description":"A date-time in ISO-8601 format"}}}]},{"type":"object","properties":{"modified":{"type":"string","nullable":true,"format":"date-time","example":"2018-06-25T20:22:28.104Z","description":"A date-time in ISO-8601 format"},"attributes":{"type":"object","description":"a map or dictionary of key/value pairs"},"identity":{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"displayName":{"type":"string","example":"John Q. Doe"}}}]},"access":{"type":"array","items":{"description":"EntitlementReference","allOf":[{"allOf":[{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"displayName":{"type":"string","example":"John Q. Doe"}}}]},{"type":"object","properties":{"type":{"type":"string","enum":["ACCOUNT_CORRELATION_CONFIG","ACCESS_PROFILE","ACCESS_REQUEST_APPROVAL","ACCOUNT","APPLICATION","CAMPAIGN","CAMPAIGN_FILTER","CERTIFICATION","CLUSTER","CONNECTOR_SCHEMA","ENTITLEMENT","GOVERNANCE_GROUP","IDENTITY","IDENTITY_PROFILE","IDENTITY_REQUEST","LIFECYCLE_STATE","PASSWORD_POLICY","ROLE","RULE","SOD_POLICY","SOURCE","TAG_CATEGORY","TASK_RESULT","REPORT_RESULT","SOD_VIOLATION","ACCOUNT_ACTIVITY"],"description":"An enumeration of the types of DTOs supported within the IdentityNow infrastructure.","example":"IDENTITY"},"description":{"type":"string","nullable":true}}}]},{"type":"object","properties":{"source":{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},"privileged":{"type":"boolean"},"attribute":{"type":"string"},"value":{"type":"string"},"standalone":{"type":"boolean"}}}]}},"entitlementCount":{"type":"integer"},"uncorrelated":{"type":"boolean"},"tags":{"type":"array","items":{"type":"string"},"example":["TAG_1","TAG_2"]}}}]},"aggregation":{"description":"Aggregation","allOf":[{"type":"object","required":["id","name","_type"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"_type":{"description":"Enum representing the currently supported document types.\n\nAdditional values may be added in the future without notice.","type":"string","enum":["accessprofile","accountactivity","account","aggregation","entitlement","event","identity","role"]}}},{"type":"object","properties":{"status":{"type":"string"},"duration":{"type":"integer"},"avgDuration":{"type":"integer"},"changedAccounts":{"type":"integer"},"nextScheduled":{"type":"string","nullable":true,"format":"date-time","example":"2018-06-25T20:22:28.104Z","description":"A date-time in ISO-8601 format"},"startTime":{"type":"string","nullable":true,"format":"date-time","example":"2018-06-25T20:22:28.104Z","description":"A date-time in ISO-8601 format"},"sourceOwner":{"type":"string"}}}]},"entitlement":{"description":"Entitlement","allOf":[{"type":"object","required":["id","name","_type"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"_type":{"description":"Enum representing the currently supported document types.\n\nAdditional values may be added in the future without notice.","type":"string","enum":["accessprofile","accountactivity","account","aggregation","entitlement","event","identity","role"]}}},{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"description":{"type":"string"},"attribute":{"type":"string"},"value":{"type":"string"}}}]},{"type":"object","properties":{"modified":{"type":"string","nullable":true,"format":"date-time","example":"2018-06-25T20:22:28.104Z","description":"A date-time in ISO-8601 format"},"synced":{"type":"string","nullable":true,"format":"date-time","example":"2018-06-25T20:22:28.104Z","description":"A date-time in ISO-8601 format"},"displayName":{"type":"string"},"source":{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},"privileged":{"type":"boolean"},"identityCount":{"type":"integer"},"tags":{"type":"array","items":{"type":"string"},"example":["TAG_1","TAG_2"]}}}]},"event":{"description":"Event","allOf":[{"type":"object","required":["id","name","_type"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"_type":{"description":"Enum representing the currently supported document types.\n\nAdditional values may be added in the future without notice.","type":"string","enum":["accessprofile","accountactivity","account","aggregation","entitlement","event","identity","role"]}}},{"type":"object","properties":{"created":{"type":"string","nullable":true,"format":"date-time","example":"2018-06-25T20:22:28.104Z","description":"A date-time in ISO-8601 format"},"synced":{"type":"string","nullable":true,"format":"date-time","example":"2018-06-25T20:22:28.104Z","description":"A date-time in ISO-8601 format"},"action":{"type":"string"},"type":{"type":"string"},"actor":{"type":"object","properties":{"name":{"type":"string","example":"John Doe"},"type":{"type":"string","enum":["ACCOUNT_CORRELATION_CONFIG","ACCESS_PROFILE","ACCESS_REQUEST_APPROVAL","ACCOUNT","APPLICATION","CAMPAIGN","CAMPAIGN_FILTER","CERTIFICATION","CLUSTER","CONNECTOR_SCHEMA","ENTITLEMENT","GOVERNANCE_GROUP","IDENTITY","IDENTITY_PROFILE","IDENTITY_REQUEST","LIFECYCLE_STATE","PASSWORD_POLICY","ROLE","RULE","SOD_POLICY","SOURCE","TAG_CATEGORY","TASK_RESULT","REPORT_RESULT","SOD_VIOLATION","ACCOUNT_ACTIVITY"],"description":"An enumeration of the types of DTOs supported within the IdentityNow infrastructure.","example":"IDENTITY"}}},"target":{"type":"object","properties":{"name":{"type":"string","example":"John Doe"},"type":{"type":"string","enum":["ACCOUNT_CORRELATION_CONFIG","ACCESS_PROFILE","ACCESS_REQUEST_APPROVAL","ACCOUNT","APPLICATION","CAMPAIGN","CAMPAIGN_FILTER","CERTIFICATION","CLUSTER","CONNECTOR_SCHEMA","ENTITLEMENT","GOVERNANCE_GROUP","IDENTITY","IDENTITY_PROFILE","IDENTITY_REQUEST","LIFECYCLE_STATE","PASSWORD_POLICY","ROLE","RULE","SOD_POLICY","SOURCE","TAG_CATEGORY","TASK_RESULT","REPORT_RESULT","SOD_VIOLATION","ACCOUNT_ACTIVITY"],"description":"An enumeration of the types of DTOs supported within the IdentityNow infrastructure.","example":"IDENTITY"}}},"stack":{"type":"string"},"trackingNumber":{"type":"string"},"ipAddress":{"type":"string"},"details":{"type":"string"},"attributes":{"type":"object"},"objects":{"type":"array","items":{"type":"string"}},"operation":{"type":"string"},"status":{"type":"string"},"technicalName":{"type":"string"}}}]},"identity":{"description":"Identity","allOf":[{"type":"object","required":["id","name","_type"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"_type":{"description":"Enum representing the currently supported document types.\n\nAdditional values may be added in the future without notice.","type":"string","enum":["accessprofile","accountactivity","account","aggregation","entitlement","event","identity","role"]}}},{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"displayName":{"type":"string","example":"John Q. Doe"}}}]},{"type":"object","properties":{"firstName":{"type":"string"},"lastName":{"type":"string"},"displayName":{"type":"string"},"email":{"type":"string"},"created":{"type":"string","nullable":true,"format":"date-time","example":"2018-06-25T20:22:28.104Z","description":"A date-time in ISO-8601 format"},"modified":{"type":"string","nullable":true,"format":"date-time","example":"2018-06-25T20:22:28.104Z","description":"A date-time in ISO-8601 format"},"synced":{"type":"string","nullable":true,"format":"date-time","example":"2018-06-25T20:22:28.104Z","description":"A date-time in ISO-8601 format"},"phone":{"type":"string"},"inactive":{"type":"boolean"},"protected":{"type":"boolean"},"status":{"type":"string"},"employeeNumber":{"type":"string"},"manager":{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"displayName":{"type":"string","example":"John Q. Doe"}}}],"nullable":true},"isManager":{"type":"boolean"},"identityProfile":{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},"source":{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},"attributes":{"type":"object","description":"a map or dictionary of key/value pairs"},"processingState":{"type":"string","nullable":true},"processingDetails":{"nullable":true,"type":"object","properties":{"date":{"type":"string","nullable":true,"format":"date-time","example":"2018-06-25T20:22:28.104Z","description":"A date-time in ISO-8601 format"},"stage":{"type":"string"},"retryCount":{"type":"integer"},"stackTrace":{"type":"string"},"message":{"type":"string"}}},"accounts":{"type":"array","items":{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"accountId":{"type":"string"},"source":{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"type":{"type":"string"}}}]},"disabled":{"type":"boolean"},"locked":{"type":"boolean"},"privileged":{"type":"boolean"},"manuallyCorrelated":{"type":"boolean"},"passwordLastSet":{"type":"string","nullable":true,"format":"date-time","example":"2018-06-25T20:22:28.104Z","description":"A date-time in ISO-8601 format"},"entitlementAttributes":{"type":"object","nullable":true,"description":"a map or dictionary of key/value pairs"},"created":{"type":"string","nullable":true,"format":"date-time","example":"2018-06-25T20:22:28.104Z","description":"A date-time in ISO-8601 format"}}}]}},"accountCount":{"type":"integer"},"apps":{"type":"array","items":{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"source":{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},"account":{"type":"object","properties":{"id":{"type":"string"},"accountId":{"type":"string"}}}}}]}},"appCount":{"type":"integer"},"access":{"type":"array","items":{"discriminator":{"propertyName":"type","mapping":{"ACCESS_PROFILE":{"description":"This is a summary representation of an access profile. ","allOf":[{"allOf":[{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"displayName":{"type":"string","example":"John Q. Doe"}}}]},{"type":"object","properties":{"type":{"type":"string","enum":["ACCOUNT_CORRELATION_CONFIG","ACCESS_PROFILE","ACCESS_REQUEST_APPROVAL","ACCOUNT","APPLICATION","CAMPAIGN","CAMPAIGN_FILTER","CERTIFICATION","CLUSTER","CONNECTOR_SCHEMA","ENTITLEMENT","GOVERNANCE_GROUP","IDENTITY","IDENTITY_PROFILE","IDENTITY_REQUEST","LIFECYCLE_STATE","PASSWORD_POLICY","ROLE","RULE","SOD_POLICY","SOURCE","TAG_CATEGORY","TASK_RESULT","REPORT_RESULT","SOD_VIOLATION","ACCOUNT_ACTIVITY"],"description":"An enumeration of the types of DTOs supported within the IdentityNow infrastructure.","example":"IDENTITY"},"description":{"type":"string","nullable":true}}}]},{"type":"object","properties":{"source":{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},"owner":{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"displayName":{"type":"string","example":"John Q. Doe"}}}]},"revocable":{"type":"boolean"}}}]},"ENTITLEMENT":{"description":"EntitlementReference","allOf":[{"allOf":[{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"displayName":{"type":"string","example":"John Q. Doe"}}}]},{"type":"object","properties":{"type":{"type":"string","enum":["ACCOUNT_CORRELATION_CONFIG","ACCESS_PROFILE","ACCESS_REQUEST_APPROVAL","ACCOUNT","APPLICATION","CAMPAIGN","CAMPAIGN_FILTER","CERTIFICATION","CLUSTER","CONNECTOR_SCHEMA","ENTITLEMENT","GOVERNANCE_GROUP","IDENTITY","IDENTITY_PROFILE","IDENTITY_REQUEST","LIFECYCLE_STATE","PASSWORD_POLICY","ROLE","RULE","SOD_POLICY","SOURCE","TAG_CATEGORY","TASK_RESULT","REPORT_RESULT","SOD_VIOLATION","ACCOUNT_ACTIVITY"],"description":"An enumeration of the types of DTOs supported within the IdentityNow infrastructure.","example":"IDENTITY"},"description":{"type":"string","nullable":true}}}]},{"type":"object","properties":{"source":{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},"privileged":{"type":"boolean"},"attribute":{"type":"string"},"value":{"type":"string"},"standalone":{"type":"boolean"}}}]},"ROLE":{"description":"Role","allOf":[{"allOf":[{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"displayName":{"type":"string","example":"John Q. Doe"}}}]},{"type":"object","properties":{"type":{"type":"string","enum":["ACCOUNT_CORRELATION_CONFIG","ACCESS_PROFILE","ACCESS_REQUEST_APPROVAL","ACCOUNT","APPLICATION","CAMPAIGN","CAMPAIGN_FILTER","CERTIFICATION","CLUSTER","CONNECTOR_SCHEMA","ENTITLEMENT","GOVERNANCE_GROUP","IDENTITY","IDENTITY_PROFILE","IDENTITY_REQUEST","LIFECYCLE_STATE","PASSWORD_POLICY","ROLE","RULE","SOD_POLICY","SOURCE","TAG_CATEGORY","TASK_RESULT","REPORT_RESULT","SOD_VIOLATION","ACCOUNT_ACTIVITY"],"description":"An enumeration of the types of DTOs supported within the IdentityNow infrastructure.","example":"IDENTITY"},"description":{"type":"string","nullable":true}}}]},{"type":"object","properties":{"owner":{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"displayName":{"type":"string","example":"John Q. Doe"}}}]},"disabled":{"type":"boolean"},"revocable":{"type":"boolean"}}}]}}},"oneOf":[{"description":"This is a summary representation of an access profile. ","allOf":[{"allOf":[{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"displayName":{"type":"string","example":"John Q. Doe"}}}]},{"type":"object","properties":{"type":{"type":"string","enum":["ACCOUNT_CORRELATION_CONFIG","ACCESS_PROFILE","ACCESS_REQUEST_APPROVAL","ACCOUNT","APPLICATION","CAMPAIGN","CAMPAIGN_FILTER","CERTIFICATION","CLUSTER","CONNECTOR_SCHEMA","ENTITLEMENT","GOVERNANCE_GROUP","IDENTITY","IDENTITY_PROFILE","IDENTITY_REQUEST","LIFECYCLE_STATE","PASSWORD_POLICY","ROLE","RULE","SOD_POLICY","SOURCE","TAG_CATEGORY","TASK_RESULT","REPORT_RESULT","SOD_VIOLATION","ACCOUNT_ACTIVITY"],"description":"An enumeration of the types of DTOs supported within the IdentityNow infrastructure.","example":"IDENTITY"},"description":{"type":"string","nullable":true}}}]},{"type":"object","properties":{"source":{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},"owner":{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"displayName":{"type":"string","example":"John Q. Doe"}}}]},"revocable":{"type":"boolean"}}}]},{"description":"EntitlementReference","allOf":[{"allOf":[{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"displayName":{"type":"string","example":"John Q. Doe"}}}]},{"type":"object","properties":{"type":{"type":"string","enum":["ACCOUNT_CORRELATION_CONFIG","ACCESS_PROFILE","ACCESS_REQUEST_APPROVAL","ACCOUNT","APPLICATION","CAMPAIGN","CAMPAIGN_FILTER","CERTIFICATION","CLUSTER","CONNECTOR_SCHEMA","ENTITLEMENT","GOVERNANCE_GROUP","IDENTITY","IDENTITY_PROFILE","IDENTITY_REQUEST","LIFECYCLE_STATE","PASSWORD_POLICY","ROLE","RULE","SOD_POLICY","SOURCE","TAG_CATEGORY","TASK_RESULT","REPORT_RESULT","SOD_VIOLATION","ACCOUNT_ACTIVITY"],"description":"An enumeration of the types of DTOs supported within the IdentityNow infrastructure.","example":"IDENTITY"},"description":{"type":"string","nullable":true}}}]},{"type":"object","properties":{"source":{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},"privileged":{"type":"boolean"},"attribute":{"type":"string"},"value":{"type":"string"},"standalone":{"type":"boolean"}}}]},{"description":"Role","allOf":[{"allOf":[{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"displayName":{"type":"string","example":"John Q. Doe"}}}]},{"type":"object","properties":{"type":{"type":"string","enum":["ACCOUNT_CORRELATION_CONFIG","ACCESS_PROFILE","ACCESS_REQUEST_APPROVAL","ACCOUNT","APPLICATION","CAMPAIGN","CAMPAIGN_FILTER","CERTIFICATION","CLUSTER","CONNECTOR_SCHEMA","ENTITLEMENT","GOVERNANCE_GROUP","IDENTITY","IDENTITY_PROFILE","IDENTITY_REQUEST","LIFECYCLE_STATE","PASSWORD_POLICY","ROLE","RULE","SOD_POLICY","SOURCE","TAG_CATEGORY","TASK_RESULT","REPORT_RESULT","SOD_VIOLATION","ACCOUNT_ACTIVITY"],"description":"An enumeration of the types of DTOs supported within the IdentityNow infrastructure.","example":"IDENTITY"},"description":{"type":"string","nullable":true}}}]},{"type":"object","properties":{"owner":{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"displayName":{"type":"string","example":"John Q. Doe"}}}]},"disabled":{"type":"boolean"},"revocable":{"type":"boolean"}}}]}]}},"accessCount":{"type":"integer"},"accessProfileCount":{"type":"integer"},"entitlementCount":{"type":"integer"},"roleCount":{"type":"integer"},"owns":{"type":"object","properties":{"sources":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}}},"entitlements":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}}},"accessProfiles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}}},"roles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}}},"apps":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}}},"governanceGroups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}}},"fallbackApprover":{"type":"boolean"}}},"tags":{"type":"array","items":{"type":"string"},"example":["TAG_1","TAG_2"]}}}]},"role":{"description":"Role","allOf":[{"type":"object","required":["id","name","_type"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"_type":{"description":"Enum representing the currently supported document types.\n\nAdditional values may be added in the future without notice.","type":"string","enum":["accessprofile","accountactivity","account","aggregation","entitlement","event","identity","role"]}}},{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"description":{"type":"string"},"created":{"type":"string","nullable":true,"format":"date-time","example":"2018-06-25T20:22:28.104Z","description":"A date-time in ISO-8601 format"},"modified":{"type":"string","nullable":true,"format":"date-time","example":"2018-06-25T20:22:28.104Z","description":"A date-time in ISO-8601 format"},"synced":{"type":"string","nullable":true,"format":"date-time","example":"2018-06-25T20:22:28.104Z","description":"A date-time in ISO-8601 format"},"enabled":{"type":"boolean"},"requestable":{"type":"boolean"},"requestCommentsRequired":{"type":"boolean"},"owner":{"allOf":[{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"type":{"type":"string","enum":["ACCOUNT_CORRELATION_CONFIG","ACCESS_PROFILE","ACCESS_REQUEST_APPROVAL","ACCOUNT","APPLICATION","CAMPAIGN","CAMPAIGN_FILTER","CERTIFICATION","CLUSTER","CONNECTOR_SCHEMA","ENTITLEMENT","GOVERNANCE_GROUP","IDENTITY","IDENTITY_PROFILE","IDENTITY_REQUEST","LIFECYCLE_STATE","PASSWORD_POLICY","ROLE","RULE","SOD_POLICY","SOURCE","TAG_CATEGORY","TASK_RESULT","REPORT_RESULT","SOD_VIOLATION","ACCOUNT_ACTIVITY"],"description":"An enumeration of the types of DTOs supported within the IdentityNow infrastructure.","example":"IDENTITY"}}}]},{"type":"object","properties":{"email":{"type":"string"}}}]}}}]},{"type":"object","properties":{"accessProfiles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}}},"accessProfileCount":{"type":"integer"},"tags":{"type":"array","items":{"type":"string"},"example":["TAG_1","TAG_2"]}}}]}}},"oneOf":[{"description":"This is more of a complete representation of an access profile. ","allOf":[{"type":"object","required":["id","name","_type"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"_type":{"description":"Enum representing the currently supported document types.\n\nAdditional values may be added in the future without notice.","type":"string","enum":["accessprofile","accountactivity","account","aggregation","entitlement","event","identity","role"]}}},{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"description":{"type":"string"},"created":{"type":"string","nullable":true,"format":"date-time","example":"2018-06-25T20:22:28.104Z","description":"A date-time in ISO-8601 format"},"modified":{"type":"string","nullable":true,"format":"date-time","example":"2018-06-25T20:22:28.104Z","description":"A date-time in ISO-8601 format"},"synced":{"type":"string","nullable":true,"format":"date-time","example":"2018-06-25T20:22:28.104Z","description":"A date-time in ISO-8601 format"},"enabled":{"type":"boolean"},"requestable":{"type":"boolean"},"requestCommentsRequired":{"type":"boolean"},"owner":{"allOf":[{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"type":{"type":"string","enum":["ACCOUNT_CORRELATION_CONFIG","ACCESS_PROFILE","ACCESS_REQUEST_APPROVAL","ACCOUNT","APPLICATION","CAMPAIGN","CAMPAIGN_FILTER","CERTIFICATION","CLUSTER","CONNECTOR_SCHEMA","ENTITLEMENT","GOVERNANCE_GROUP","IDENTITY","IDENTITY_PROFILE","IDENTITY_REQUEST","LIFECYCLE_STATE","PASSWORD_POLICY","ROLE","RULE","SOD_POLICY","SOURCE","TAG_CATEGORY","TASK_RESULT","REPORT_RESULT","SOD_VIOLATION","ACCOUNT_ACTIVITY"],"description":"An enumeration of the types of DTOs supported within the IdentityNow infrastructure.","example":"IDENTITY"}}}]},{"type":"object","properties":{"email":{"type":"string"}}}]}}}]},{"type":"object","properties":{"source":{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},"entitlements":{"type":"array","items":{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"description":{"type":"string"},"attribute":{"type":"string"},"value":{"type":"string"}}}]}},"entitlementCount":{"type":"integer"},"tags":{"type":"array","items":{"type":"string"},"example":["TAG_1","TAG_2"]}}}]},{"description":"AccountActivity","allOf":[{"type":"object","required":["id","name","_type"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"_type":{"description":"Enum representing the currently supported document types.\n\nAdditional values may be added in the future without notice.","type":"string","enum":["accessprofile","accountactivity","account","aggregation","entitlement","event","identity","role"]}}},{"type":"object","properties":{"action":{"type":"string"},"created":{"type":"string","nullable":true,"format":"date-time","example":"2018-06-25T20:22:28.104Z","description":"A date-time in ISO-8601 format"},"modified":{"type":"string","nullable":true,"format":"date-time","example":"2018-06-25T20:22:28.104Z","description":"A date-time in ISO-8601 format"},"stage":{"type":"string"},"origin":{"type":"string"},"status":{"type":"string"},"requester":{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"type":{"type":"string"}}}]},"recipient":{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"type":{"type":"string"}}}]},"trackingNumber":{"type":"string"},"errors":{"type":"array","items":{"type":"string"}},"warnings":{"type":"array","items":{"type":"string"}},"approvals":{"type":"array","items":{"type":"object","properties":{"comments":{"type":"array","items":{"type":"object","properties":{"comment":{"type":"string"},"commenter":{"type":"string"},"date":{"type":"string","nullable":true,"format":"date-time","example":"2018-06-25T20:22:28.104Z","description":"A date-time in ISO-8601 format"}}}},"created":{"type":"string","nullable":true,"format":"date-time","example":"2018-06-25T20:22:28.104Z","description":"A date-time in ISO-8601 format"},"modified":{"type":"string","nullable":true,"format":"date-time","example":"2018-06-25T20:22:28.104Z","description":"A date-time in ISO-8601 format"},"owner":{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"type":{"type":"string"}}}]},"result":{"type":"string"},"type":{"type":"string"}}}},"originalRequests":{"type":"array","items":{"type":"object","properties":{"accountId":{"type":"string"},"attributeRequests":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"op":{"type":"string"},"value":{"type":"string"}}}},"op":{"type":"string"},"source":{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"type":{"type":"string"}}}]}}}},"expansionItems":{"type":"array","items":{"type":"object","properties":{"accountId":{"type":"string"},"cause":{"type":"string"},"name":{"type":"string"},"attributeRequests":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"op":{"type":"string"},"value":{"type":"string"}}}},"source":{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"type":{"type":"string"}}}]}}}},"accountRequests":{"type":"array","items":{"type":"object","properties":{"accountId":{"type":"string"},"attributeRequests":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"op":{"type":"string"},"value":{"type":"string"}}}},"op":{"type":"string"},"provisioningTarget":{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"type":{"type":"string"}}}]},"result":{"type":"object","properties":{"errors":{"type":"array","items":{"type":"string"}},"status":{"type":"string"},"ticketId":{"type":"string"}}},"source":{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"type":{"type":"string"}}}]}}}},"sources":{"type":"array","items":{"type":"string"}}}}]},{"description":"Account","allOf":[{"type":"object","required":["id","name","_type"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"_type":{"description":"Enum representing the currently supported document types.\n\nAdditional values may be added in the future without notice.","type":"string","enum":["accessprofile","accountactivity","account","aggregation","entitlement","event","identity","role"]}}},{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"accountId":{"type":"string"},"source":{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"type":{"type":"string"}}}]},"disabled":{"type":"boolean"},"locked":{"type":"boolean"},"privileged":{"type":"boolean"},"manuallyCorrelated":{"type":"boolean"},"passwordLastSet":{"type":"string","nullable":true,"format":"date-time","example":"2018-06-25T20:22:28.104Z","description":"A date-time in ISO-8601 format"},"entitlementAttributes":{"type":"object","nullable":true,"description":"a map or dictionary of key/value pairs"},"created":{"type":"string","nullable":true,"format":"date-time","example":"2018-06-25T20:22:28.104Z","description":"A date-time in ISO-8601 format"}}}]},{"type":"object","properties":{"modified":{"type":"string","nullable":true,"format":"date-time","example":"2018-06-25T20:22:28.104Z","description":"A date-time in ISO-8601 format"},"attributes":{"type":"object","description":"a map or dictionary of key/value pairs"},"identity":{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"displayName":{"type":"string","example":"John Q. Doe"}}}]},"access":{"type":"array","items":{"description":"EntitlementReference","allOf":[{"allOf":[{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"displayName":{"type":"string","example":"John Q. Doe"}}}]},{"type":"object","properties":{"type":{"type":"string","enum":["ACCOUNT_CORRELATION_CONFIG","ACCESS_PROFILE","ACCESS_REQUEST_APPROVAL","ACCOUNT","APPLICATION","CAMPAIGN","CAMPAIGN_FILTER","CERTIFICATION","CLUSTER","CONNECTOR_SCHEMA","ENTITLEMENT","GOVERNANCE_GROUP","IDENTITY","IDENTITY_PROFILE","IDENTITY_REQUEST","LIFECYCLE_STATE","PASSWORD_POLICY","ROLE","RULE","SOD_POLICY","SOURCE","TAG_CATEGORY","TASK_RESULT","REPORT_RESULT","SOD_VIOLATION","ACCOUNT_ACTIVITY"],"description":"An enumeration of the types of DTOs supported within the IdentityNow infrastructure.","example":"IDENTITY"},"description":{"type":"string","nullable":true}}}]},{"type":"object","properties":{"source":{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},"privileged":{"type":"boolean"},"attribute":{"type":"string"},"value":{"type":"string"},"standalone":{"type":"boolean"}}}]}},"entitlementCount":{"type":"integer"},"uncorrelated":{"type":"boolean"},"tags":{"type":"array","items":{"type":"string"},"example":["TAG_1","TAG_2"]}}}]},{"description":"Aggregation","allOf":[{"type":"object","required":["id","name","_type"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"_type":{"description":"Enum representing the currently supported document types.\n\nAdditional values may be added in the future without notice.","type":"string","enum":["accessprofile","accountactivity","account","aggregation","entitlement","event","identity","role"]}}},{"type":"object","properties":{"status":{"type":"string"},"duration":{"type":"integer"},"avgDuration":{"type":"integer"},"changedAccounts":{"type":"integer"},"nextScheduled":{"type":"string","nullable":true,"format":"date-time","example":"2018-06-25T20:22:28.104Z","description":"A date-time in ISO-8601 format"},"startTime":{"type":"string","nullable":true,"format":"date-time","example":"2018-06-25T20:22:28.104Z","description":"A date-time in ISO-8601 format"},"sourceOwner":{"type":"string"}}}]},{"description":"Entitlement","allOf":[{"type":"object","required":["id","name","_type"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"_type":{"description":"Enum representing the currently supported document types.\n\nAdditional values may be added in the future without notice.","type":"string","enum":["accessprofile","accountactivity","account","aggregation","entitlement","event","identity","role"]}}},{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"description":{"type":"string"},"attribute":{"type":"string"},"value":{"type":"string"}}}]},{"type":"object","properties":{"modified":{"type":"string","nullable":true,"format":"date-time","example":"2018-06-25T20:22:28.104Z","description":"A date-time in ISO-8601 format"},"synced":{"type":"string","nullable":true,"format":"date-time","example":"2018-06-25T20:22:28.104Z","description":"A date-time in ISO-8601 format"},"displayName":{"type":"string"},"source":{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},"privileged":{"type":"boolean"},"identityCount":{"type":"integer"},"tags":{"type":"array","items":{"type":"string"},"example":["TAG_1","TAG_2"]}}}]},{"description":"Event","allOf":[{"type":"object","required":["id","name","_type"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"_type":{"description":"Enum representing the currently supported document types.\n\nAdditional values may be added in the future without notice.","type":"string","enum":["accessprofile","accountactivity","account","aggregation","entitlement","event","identity","role"]}}},{"type":"object","properties":{"created":{"type":"string","nullable":true,"format":"date-time","example":"2018-06-25T20:22:28.104Z","description":"A date-time in ISO-8601 format"},"synced":{"type":"string","nullable":true,"format":"date-time","example":"2018-06-25T20:22:28.104Z","description":"A date-time in ISO-8601 format"},"action":{"type":"string"},"type":{"type":"string"},"actor":{"type":"object","properties":{"name":{"type":"string","example":"John Doe"},"type":{"type":"string","enum":["ACCOUNT_CORRELATION_CONFIG","ACCESS_PROFILE","ACCESS_REQUEST_APPROVAL","ACCOUNT","APPLICATION","CAMPAIGN","CAMPAIGN_FILTER","CERTIFICATION","CLUSTER","CONNECTOR_SCHEMA","ENTITLEMENT","GOVERNANCE_GROUP","IDENTITY","IDENTITY_PROFILE","IDENTITY_REQUEST","LIFECYCLE_STATE","PASSWORD_POLICY","ROLE","RULE","SOD_POLICY","SOURCE","TAG_CATEGORY","TASK_RESULT","REPORT_RESULT","SOD_VIOLATION","ACCOUNT_ACTIVITY"],"description":"An enumeration of the types of DTOs supported within the IdentityNow infrastructure.","example":"IDENTITY"}}},"target":{"type":"object","properties":{"name":{"type":"string","example":"John Doe"},"type":{"type":"string","enum":["ACCOUNT_CORRELATION_CONFIG","ACCESS_PROFILE","ACCESS_REQUEST_APPROVAL","ACCOUNT","APPLICATION","CAMPAIGN","CAMPAIGN_FILTER","CERTIFICATION","CLUSTER","CONNECTOR_SCHEMA","ENTITLEMENT","GOVERNANCE_GROUP","IDENTITY","IDENTITY_PROFILE","IDENTITY_REQUEST","LIFECYCLE_STATE","PASSWORD_POLICY","ROLE","RULE","SOD_POLICY","SOURCE","TAG_CATEGORY","TASK_RESULT","REPORT_RESULT","SOD_VIOLATION","ACCOUNT_ACTIVITY"],"description":"An enumeration of the types of DTOs supported within the IdentityNow infrastructure.","example":"IDENTITY"}}},"stack":{"type":"string"},"trackingNumber":{"type":"string"},"ipAddress":{"type":"string"},"details":{"type":"string"},"attributes":{"type":"object"},"objects":{"type":"array","items":{"type":"string"}},"operation":{"type":"string"},"status":{"type":"string"},"technicalName":{"type":"string"}}}]},{"description":"Identity","allOf":[{"type":"object","required":["id","name","_type"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"_type":{"description":"Enum representing the currently supported document types.\n\nAdditional values may be added in the future without notice.","type":"string","enum":["accessprofile","accountactivity","account","aggregation","entitlement","event","identity","role"]}}},{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"displayName":{"type":"string","example":"John Q. Doe"}}}]},{"type":"object","properties":{"firstName":{"type":"string"},"lastName":{"type":"string"},"displayName":{"type":"string"},"email":{"type":"string"},"created":{"type":"string","nullable":true,"format":"date-time","example":"2018-06-25T20:22:28.104Z","description":"A date-time in ISO-8601 format"},"modified":{"type":"string","nullable":true,"format":"date-time","example":"2018-06-25T20:22:28.104Z","description":"A date-time in ISO-8601 format"},"synced":{"type":"string","nullable":true,"format":"date-time","example":"2018-06-25T20:22:28.104Z","description":"A date-time in ISO-8601 format"},"phone":{"type":"string"},"inactive":{"type":"boolean"},"protected":{"type":"boolean"},"status":{"type":"string"},"employeeNumber":{"type":"string"},"manager":{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"displayName":{"type":"string","example":"John Q. Doe"}}}],"nullable":true},"isManager":{"type":"boolean"},"identityProfile":{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},"source":{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},"attributes":{"type":"object","description":"a map or dictionary of key/value pairs"},"processingState":{"type":"string","nullable":true},"processingDetails":{"nullable":true,"type":"object","properties":{"date":{"type":"string","nullable":true,"format":"date-time","example":"2018-06-25T20:22:28.104Z","description":"A date-time in ISO-8601 format"},"stage":{"type":"string"},"retryCount":{"type":"integer"},"stackTrace":{"type":"string"},"message":{"type":"string"}}},"accounts":{"type":"array","items":{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"accountId":{"type":"string"},"source":{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"type":{"type":"string"}}}]},"disabled":{"type":"boolean"},"locked":{"type":"boolean"},"privileged":{"type":"boolean"},"manuallyCorrelated":{"type":"boolean"},"passwordLastSet":{"type":"string","nullable":true,"format":"date-time","example":"2018-06-25T20:22:28.104Z","description":"A date-time in ISO-8601 format"},"entitlementAttributes":{"type":"object","nullable":true,"description":"a map or dictionary of key/value pairs"},"created":{"type":"string","nullable":true,"format":"date-time","example":"2018-06-25T20:22:28.104Z","description":"A date-time in ISO-8601 format"}}}]}},"accountCount":{"type":"integer"},"apps":{"type":"array","items":{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"source":{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},"account":{"type":"object","properties":{"id":{"type":"string"},"accountId":{"type":"string"}}}}}]}},"appCount":{"type":"integer"},"access":{"type":"array","items":{"discriminator":{"propertyName":"type","mapping":{"ACCESS_PROFILE":{"description":"This is a summary representation of an access profile. ","allOf":[{"allOf":[{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"displayName":{"type":"string","example":"John Q. Doe"}}}]},{"type":"object","properties":{"type":{"type":"string","enum":["ACCOUNT_CORRELATION_CONFIG","ACCESS_PROFILE","ACCESS_REQUEST_APPROVAL","ACCOUNT","APPLICATION","CAMPAIGN","CAMPAIGN_FILTER","CERTIFICATION","CLUSTER","CONNECTOR_SCHEMA","ENTITLEMENT","GOVERNANCE_GROUP","IDENTITY","IDENTITY_PROFILE","IDENTITY_REQUEST","LIFECYCLE_STATE","PASSWORD_POLICY","ROLE","RULE","SOD_POLICY","SOURCE","TAG_CATEGORY","TASK_RESULT","REPORT_RESULT","SOD_VIOLATION","ACCOUNT_ACTIVITY"],"description":"An enumeration of the types of DTOs supported within the IdentityNow infrastructure.","example":"IDENTITY"},"description":{"type":"string","nullable":true}}}]},{"type":"object","properties":{"source":{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},"owner":{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"displayName":{"type":"string","example":"John Q. Doe"}}}]},"revocable":{"type":"boolean"}}}]},"ENTITLEMENT":{"description":"EntitlementReference","allOf":[{"allOf":[{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"displayName":{"type":"string","example":"John Q. Doe"}}}]},{"type":"object","properties":{"type":{"type":"string","enum":["ACCOUNT_CORRELATION_CONFIG","ACCESS_PROFILE","ACCESS_REQUEST_APPROVAL","ACCOUNT","APPLICATION","CAMPAIGN","CAMPAIGN_FILTER","CERTIFICATION","CLUSTER","CONNECTOR_SCHEMA","ENTITLEMENT","GOVERNANCE_GROUP","IDENTITY","IDENTITY_PROFILE","IDENTITY_REQUEST","LIFECYCLE_STATE","PASSWORD_POLICY","ROLE","RULE","SOD_POLICY","SOURCE","TAG_CATEGORY","TASK_RESULT","REPORT_RESULT","SOD_VIOLATION","ACCOUNT_ACTIVITY"],"description":"An enumeration of the types of DTOs supported within the IdentityNow infrastructure.","example":"IDENTITY"},"description":{"type":"string","nullable":true}}}]},{"type":"object","properties":{"source":{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},"privileged":{"type":"boolean"},"attribute":{"type":"string"},"value":{"type":"string"},"standalone":{"type":"boolean"}}}]},"ROLE":{"description":"Role","allOf":[{"allOf":[{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"displayName":{"type":"string","example":"John Q. Doe"}}}]},{"type":"object","properties":{"type":{"type":"string","enum":["ACCOUNT_CORRELATION_CONFIG","ACCESS_PROFILE","ACCESS_REQUEST_APPROVAL","ACCOUNT","APPLICATION","CAMPAIGN","CAMPAIGN_FILTER","CERTIFICATION","CLUSTER","CONNECTOR_SCHEMA","ENTITLEMENT","GOVERNANCE_GROUP","IDENTITY","IDENTITY_PROFILE","IDENTITY_REQUEST","LIFECYCLE_STATE","PASSWORD_POLICY","ROLE","RULE","SOD_POLICY","SOURCE","TAG_CATEGORY","TASK_RESULT","REPORT_RESULT","SOD_VIOLATION","ACCOUNT_ACTIVITY"],"description":"An enumeration of the types of DTOs supported within the IdentityNow infrastructure.","example":"IDENTITY"},"description":{"type":"string","nullable":true}}}]},{"type":"object","properties":{"owner":{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"displayName":{"type":"string","example":"John Q. Doe"}}}]},"disabled":{"type":"boolean"},"revocable":{"type":"boolean"}}}]}}},"oneOf":[{"description":"This is a summary representation of an access profile. ","allOf":[{"allOf":[{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"displayName":{"type":"string","example":"John Q. Doe"}}}]},{"type":"object","properties":{"type":{"type":"string","enum":["ACCOUNT_CORRELATION_CONFIG","ACCESS_PROFILE","ACCESS_REQUEST_APPROVAL","ACCOUNT","APPLICATION","CAMPAIGN","CAMPAIGN_FILTER","CERTIFICATION","CLUSTER","CONNECTOR_SCHEMA","ENTITLEMENT","GOVERNANCE_GROUP","IDENTITY","IDENTITY_PROFILE","IDENTITY_REQUEST","LIFECYCLE_STATE","PASSWORD_POLICY","ROLE","RULE","SOD_POLICY","SOURCE","TAG_CATEGORY","TASK_RESULT","REPORT_RESULT","SOD_VIOLATION","ACCOUNT_ACTIVITY"],"description":"An enumeration of the types of DTOs supported within the IdentityNow infrastructure.","example":"IDENTITY"},"description":{"type":"string","nullable":true}}}]},{"type":"object","properties":{"source":{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},"owner":{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"displayName":{"type":"string","example":"John Q. Doe"}}}]},"revocable":{"type":"boolean"}}}]},{"description":"EntitlementReference","allOf":[{"allOf":[{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"displayName":{"type":"string","example":"John Q. Doe"}}}]},{"type":"object","properties":{"type":{"type":"string","enum":["ACCOUNT_CORRELATION_CONFIG","ACCESS_PROFILE","ACCESS_REQUEST_APPROVAL","ACCOUNT","APPLICATION","CAMPAIGN","CAMPAIGN_FILTER","CERTIFICATION","CLUSTER","CONNECTOR_SCHEMA","ENTITLEMENT","GOVERNANCE_GROUP","IDENTITY","IDENTITY_PROFILE","IDENTITY_REQUEST","LIFECYCLE_STATE","PASSWORD_POLICY","ROLE","RULE","SOD_POLICY","SOURCE","TAG_CATEGORY","TASK_RESULT","REPORT_RESULT","SOD_VIOLATION","ACCOUNT_ACTIVITY"],"description":"An enumeration of the types of DTOs supported within the IdentityNow infrastructure.","example":"IDENTITY"},"description":{"type":"string","nullable":true}}}]},{"type":"object","properties":{"source":{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},"privileged":{"type":"boolean"},"attribute":{"type":"string"},"value":{"type":"string"},"standalone":{"type":"boolean"}}}]},{"description":"Role","allOf":[{"allOf":[{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"displayName":{"type":"string","example":"John Q. Doe"}}}]},{"type":"object","properties":{"type":{"type":"string","enum":["ACCOUNT_CORRELATION_CONFIG","ACCESS_PROFILE","ACCESS_REQUEST_APPROVAL","ACCOUNT","APPLICATION","CAMPAIGN","CAMPAIGN_FILTER","CERTIFICATION","CLUSTER","CONNECTOR_SCHEMA","ENTITLEMENT","GOVERNANCE_GROUP","IDENTITY","IDENTITY_PROFILE","IDENTITY_REQUEST","LIFECYCLE_STATE","PASSWORD_POLICY","ROLE","RULE","SOD_POLICY","SOURCE","TAG_CATEGORY","TASK_RESULT","REPORT_RESULT","SOD_VIOLATION","ACCOUNT_ACTIVITY"],"description":"An enumeration of the types of DTOs supported within the IdentityNow infrastructure.","example":"IDENTITY"},"description":{"type":"string","nullable":true}}}]},{"type":"object","properties":{"owner":{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"displayName":{"type":"string","example":"John Q. Doe"}}}]},"disabled":{"type":"boolean"},"revocable":{"type":"boolean"}}}]}]}},"accessCount":{"type":"integer"},"accessProfileCount":{"type":"integer"},"entitlementCount":{"type":"integer"},"roleCount":{"type":"integer"},"owns":{"type":"object","properties":{"sources":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}}},"entitlements":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}}},"accessProfiles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}}},"roles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}}},"apps":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}}},"governanceGroups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}}},"fallbackApprover":{"type":"boolean"}}},"tags":{"type":"array","items":{"type":"string"},"example":["TAG_1","TAG_2"]}}}]},{"description":"Role","allOf":[{"type":"object","required":["id","name","_type"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"_type":{"description":"Enum representing the currently supported document types.\n\nAdditional values may be added in the future without notice.","type":"string","enum":["accessprofile","accountactivity","account","aggregation","entitlement","event","identity","role"]}}},{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"description":{"type":"string"},"created":{"type":"string","nullable":true,"format":"date-time","example":"2018-06-25T20:22:28.104Z","description":"A date-time in ISO-8601 format"},"modified":{"type":"string","nullable":true,"format":"date-time","example":"2018-06-25T20:22:28.104Z","description":"A date-time in ISO-8601 format"},"synced":{"type":"string","nullable":true,"format":"date-time","example":"2018-06-25T20:22:28.104Z","description":"A date-time in ISO-8601 format"},"enabled":{"type":"boolean"},"requestable":{"type":"boolean"},"requestCommentsRequired":{"type":"boolean"},"owner":{"allOf":[{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}},{"type":"object","properties":{"type":{"type":"string","enum":["ACCOUNT_CORRELATION_CONFIG","ACCESS_PROFILE","ACCESS_REQUEST_APPROVAL","ACCOUNT","APPLICATION","CAMPAIGN","CAMPAIGN_FILTER","CERTIFICATION","CLUSTER","CONNECTOR_SCHEMA","ENTITLEMENT","GOVERNANCE_GROUP","IDENTITY","IDENTITY_PROFILE","IDENTITY_REQUEST","LIFECYCLE_STATE","PASSWORD_POLICY","ROLE","RULE","SOD_POLICY","SOURCE","TAG_CATEGORY","TASK_RESULT","REPORT_RESULT","SOD_VIOLATION","ACCOUNT_ACTIVITY"],"description":"An enumeration of the types of DTOs supported within the IdentityNow infrastructure.","example":"IDENTITY"}}}]},{"type":"object","properties":{"email":{"type":"string"}}}]}}}]},{"type":"object","properties":{"accessProfiles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","example":"2c91808568c529c60168cca6f90c1313"},"name":{"type":"string","example":"John Doe"}}}},"accessProfileCount":{"type":"integer"},"tags":{"type":"array","items":{"type":"string"},"example":["TAG_1","TAG_2"]}}}]}]}}}}},"text/csv":{"schema":{"description":"If the *Accept:text/csv* header is specified and the *aggregationType* parameter in the request body is *SAILPOINT*,\n\nthe aggregation result will be returned as a CSV document.\n","type":"string","example":["Identity Locations,Count","Munich,23","Brussels,26","Singapore,22","Tokyo,20","Taipei,16","London,64","Austin,109","Sao Paulo,24","San Jose,27"]}}},"headers":{"X-Total-Count":{"description":"The total result count (returned only if the *count* parameter is specified as *true*).","schema":{"type":"integer"}}}},"400":{"description":"Client Error - Returned if the request body is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"detailCode":{"type":"string","description":"Fine-grained error code providing more detail of the error.","example":"400.1 Bad Request Content"},"trackingId":{"type":"string","description":"Unique tracking id for the error.","example":"e7eab60924f64aa284175b9fa3309599"},"messages":{"type":"array","description":"Generic localized reason for error","items":{"type":"object","properties":{"locale":{"type":"string","description":"The locale for the message text, a BCP 47 language tag.","example":"en-US"},"localeOrigin":{"type":"string","enum":["DEFAULT","REQUEST"],"description":"An indicator of how the locale was selected. *DEFAULT* means the locale is the system default. *REQUEST* means the locale was selected from the request context (i.e., best match based on the *Accept-Language* header). Additional values may be added in the future without notice.","example":"DEFAULT"},"text":{"type":"string","description":"Actual text of the error message in the indicated locale.","example":"The request was syntactically correct but its content is semantically invalid."}}}},"causes":{"type":"array","description":"Plain-text descriptive reasons to provide additional detail to the text provided in the messages field","items":{"type":"object","properties":{"locale":{"type":"string","description":"The locale for the message text, a BCP 47 language tag.","example":"en-US"},"localeOrigin":{"type":"string","enum":["DEFAULT","REQUEST"],"description":"An indicator of how the locale was selected. *DEFAULT* means the locale is the system default. *REQUEST* means the locale was selected from the request context (i.e., best match based on the *Accept-Language* header). Additional values may be added in the future without notice.","example":"DEFAULT"},"text":{"type":"string","description":"Actual text of the error message in the indicated locale.","example":"The request was syntactically correct but its content is semantically invalid."}}}}}}}}},"403":{"description":"Forbidden - Returned if the user you are running as, doesn't have access to this end-point.","content":{"application/json":{"schema":{"type":"object","properties":{"detailCode":{"type":"string","description":"Fine-grained error code providing more detail of the error.","example":"400.1 Bad Request Content"},"trackingId":{"type":"string","description":"Unique tracking id for the error.","example":"e7eab60924f64aa284175b9fa3309599"},"messages":{"type":"array","description":"Generic localized reason for error","items":{"type":"object","properties":{"locale":{"type":"string","description":"The locale for the message text, a BCP 47 language tag.","example":"en-US"},"localeOrigin":{"type":"string","enum":["DEFAULT","REQUEST"],"description":"An indicator of how the locale was selected. *DEFAULT* means the locale is the system default. *REQUEST* means the locale was selected from the request context (i.e., best match based on the *Accept-Language* header). Additional values may be added in the future without notice.","example":"DEFAULT"},"text":{"type":"string","description":"Actual text of the error message in the indicated locale.","example":"The request was syntactically correct but its content is semantically invalid."}}}},"causes":{"type":"array","description":"Plain-text descriptive reasons to provide additional detail to the text provided in the messages field","items":{"type":"object","properties":{"locale":{"type":"string","description":"The locale for the message text, a BCP 47 language tag.","example":"en-US"},"localeOrigin":{"type":"string","enum":["DEFAULT","REQUEST"],"description":"An indicator of how the locale was selected. *DEFAULT* means the locale is the system default. *REQUEST* means the locale was selected from the request context (i.e., best match based on the *Accept-Language* header). Additional values may be added in the future without notice.","example":"DEFAULT"},"text":{"type":"string","description":"Actual text of the error message in the indicated locale.","example":"The request was syntactically correct but its content is semantically invalid."}}}}}},"examples":{"403":{"summary":"An example of a 403 response object","value":{"detailCode":"403 Forbidden","trackingId":"b21b1f7ce4da4d639f2c62a57171b427","messages":[{"locale":"en-US","localeOrigin":"DEFAULT","text":"The server understood the request but refuses to authorize it."}]}}}}}}},"method":"post","path":"/search/aggregate","servers":[{"url":"https://{tenant}.api.identitynow.com/v3","description":"This is the production API server.","variables":{"tenant":{"default":"sailpoint","description":"This is the name of your tenant, typically your company's name."}}}],"security":[{"oauth2":[]}],"securitySchemes":{"oauth2":{"type":"oauth2","description":"OAuth2 Bearer token (JWT). See [IdentityNow REST API Authentication](https://developer.sailpoint.com/docs/authentication.html) for more information.\n- Directions for generating a [personal access token](https://developer.sailpoint.com/docs/authentication.html#personal-access-tokens)\n- Directions using [client credentials flow](https://developer.sailpoint.com/docs/authentication.html#client-credentials-grant-flow)\n- Directions for using [authorization code flow](https://developer.sailpoint.com/docs/authentication.html#authorization-code-grant-flow)\n\nWhich authentication method should I choose? See our [guide](https://developer.sailpoint.com/docs/authentication.html#which-oauth-2-0-grant-flow-should-i-use)\n\nLearn more about how to find your `tokenUrl` and `authorizationUrl` [in our docs](https://developer.sailpoint.com/docs/authentication.html#finding-your-tenant-s-oauth-details)\n","flows":{"clientCredentials":{"tokenUrl":"https://tenant.api.identitynow.com/oauth/token","scopes":{"sp:scopes:default":"default scope","sp:scopes:all":"access to all scopes"}},"authorizationCode":{"authorizationUrl":"https://tenant.identitynow.com/oauth/authorize","tokenUrl":"https://tenant.api.identitynow.com/oauth/token","scopes":{"sp:scopes:default":"default scope","sp:scopes:all":"access to all scopes"}}}}},"jsonRequestBodyExample":{"indices":["identities"],"queryType":"SAILPOINT","queryVersion":"5.2","query":{"query":"name:a*","fields":["name"],"timeZone":"America/Chicago","innerHit":{"query":"source.name:\\\"Active Directory\\\"","type":"access"}},"queryDsl":{"match":{"name":"john.doe"}},"typeAheadQuery":{"query":"Work","field":"source.name","nestedType":"access","maxExpansions":10},"includeNested":true,"queryResultFilter":{"includes":["name","displayName"],"excludes":["stacktrace"]},"aggregationType":"DSL","aggregationsVersion":"5.2","aggregationsDsl":{},"aggregations":{"nested":{"name":"id","type":"access"},"metric":{"name":"Access Name Count","type":"UNIQUE_COUNT","field":"@access.name"},"filter":{"name":"Entitlements","type":"TERM","field":"access.type","value":"ENTITLEMENT"},"bucket":{"name":"Identity Locations","type":"TERMS","field":"attributes.city","size":100,"minDocCount":2},"subAggregation":{"nested":{"name":"id","type":"access"},"metric":{"name":"Access Name Count","type":"UNIQUE_COUNT","field":"@access.name"},"filter":{"name":"Entitlements","type":"TERM","field":"access.type","value":"ENTITLEMENT"},"bucket":{"name":"Identity Locations","type":"TERMS","field":"attributes.city","size":100,"minDocCount":2},"subAggregation":{"nested":{"name":"id","type":"access"},"metric":{"name":"Access Name Count","type":"UNIQUE_COUNT","field":"@access.name"},"filter":{"name":"Entitlements","type":"TERM","field":"access.type","value":"ENTITLEMENT"},"bucket":{"name":"Identity Locations","type":"TERMS","field":"attributes.city","size":100,"minDocCount":2}}}},"sort":["+id"],"searchAfter":["2c91808375d8e80a0175e1f88a575221"],"filters":{}},"info":{"contact":{"email":"developers@sailpoint.com","name":"Developer Relations","url":"https://developer.sailpoint.com/discuss"},"description":"These are the public APIs for SailPoint's SaaS services. We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs.","title":"SailPoint - SaaS API","version":"3.0.0"},"postman":{"name":"Perform a Search Query Aggregation","description":{"content":"Performs a search query aggregation and returns aggregation result.","type":"text/plain"},"url":{"path":["search","aggregate"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Offset into the full result set. Usually specified with *limit* to paginate through the results.\nSee [V3 API Standard Collection Parameters](https://developer.sailpoint.com/docs/standard_collection_parameters.html) for more information.","type":"text/plain"},"key":"offset","value":""},{"disabled":false,"description":{"content":"Max number of results to return.\nSee [V3 API Standard Collection Parameters](https://developer.sailpoint.com/docs/standard_collection_parameters.html) for more information.","type":"text/plain"},"key":"limit","value":""},{"disabled":false,"description":{"content":"If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored.\n\nSince requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used.\n\nSee [V3 API Standard Collection Parameters](https://developer.sailpoint.com/docs/standard_collection_parameters.html) for more information.","type":"text/plain"},"key":"count","value":""}],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}}}} sidebar_class_name: "post api-method" info_path: docs/sailpoint-api-v3/sail-point-saa-s-api --- import ApiTabs from "@theme/ApiTabs"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; import SchemaItem from "@theme/SchemaItem" import SchemaTabs from "@theme/SchemaTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; import TabItem from "@theme/TabItem"; ## Perform a Search Query Aggregation Performs a search query aggregation and returns aggregation result.
Query Parameters
Request Body required
    query object
    Query parameters used to construct an Elasticsearch query object.
    innerHit object
    Inner Hit query object that will cause the specified nested type to be returned as the result matching the supplied query.
    typeAheadQuery object
    Query parameters used to construct an Elasticsearch type ahead query object.
    = 1` and `<= 1000`"} defaultValue={10}>
    queryResultFilter object
    Allows the query results to be filtered by specifying a list of fields to include and/or exclude from the result documents.
    aggregations object
    nested object
    The nested aggregation object.
    metric object
    The calculation done on the results of the query
    filter object
    An additional filter to constrain the results of the search query.
    bucket object
    The bucket to group the results of the aggregation query by.
    subAggregation object
    Aggregation to be performed on the result of the parent bucket aggregation.
    nested object
    The nested aggregation object.
    metric object
    The calculation done on the results of the query
    filter object
    An additional filter to constrain the results of the search query.
    bucket object
    The bucket to group the results of the aggregation query by.
    subAggregation object
    Aggregation to be performed on the result of the parent bucket aggregation.
    nested object
    The nested aggregation object.
    metric object
    The calculation done on the results of the query
    filter object
    An additional filter to constrain the results of the search query.
    bucket object
    The bucket to group the results of the aggregation query by.
    filters object
    The filters to be applied for each filtered field name.
  • property name* object
Aggregation results.
Response Headers
  • X-Total-Count integer
    The total result count (returned only if the *count* parameter is specified as *true*).
Schema
Schema
  • string
    If the *Accept:text/csv* header is specified and the *aggregationType* parameter in the request body is *SAILPOINT*, the aggregation result will be returned as a CSV document.
Client Error - Returned if the request body is invalid.
Schema
    messages object[]
    Generic localized reason for error
    causes object[]
    Plain-text descriptive reasons to provide additional detail to the text provided in the messages field
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
Schema
    messages object[]
    Generic localized reason for error
    causes object[]
    Plain-text descriptive reasons to provide additional detail to the text provided in the messages field