Policy Import Intents
List all policy import intents
Changed onReturns a paginated list of policy import intents. The intents are returned sorted by creation date, with the most recent intent appearing first. Results can be filtered by employee ID, group ID, and status.
get/policy_import_intents
Request
- Base URLhttps://test.api.kota.io
- URLhttps://test.api.kota.io/policy_import_intents
- AuthHTTP bearer
Query parameters
employee_idstring
Filters policy import intents by employee ID. Prefixed with ee_.
Example:ee_3b1333d87d9d4fd6ad83ba7f6b0e951a
group_idstring
Filters policy import intents by group ID. Prefixed with g_.
Example:gr_3b1333d87d9d4fd6ad83ba7f6b0e951a
statusstring
Multiple values can be provided by separating them with a comma. Allowed values are: processing, failed, success.
pageinteger
The page of results to return. Defaults to 1 if not provided.
page_sizeinteger
The number of results to return per page. Defaults to 10 if not provided. Maximum value is 100.
Response
OK
Example response
{
"items": [
{
"id": "pii_3b1333d87d9d4fd6ad83ba7f6b0e951a",
"employee_id": "ee_3b1333d87d9d4fd6ad83ba7f6b0e951a",
"group_id": "gr_3b1333d87d9d4fd6ad83ba7f6b0e951a",
"group_policy_id": "gp_3b1333d87d9d4fd6ad83ba7f6b0e951a",
"policy_start_date": "2024-12-01",
"policy_end_date": "2024-12-01",
"associated_persons": [
{
"associated_person_id": "ap_3b1333d87d9d4fd6ad83ba7f6b0e951a",
"start_date": "2024-12-01",
"end_date": "2024-12-01"
}
]
}
],
"page": 1,
"page_size": 20,
"total_count": 1
}Changes
- warning
deleted the
headerrequest parameterX-Platform-Id
- warning
- info
added the optional property
//to the response with the status
- info