{
    "item": [
        {
            "name": "Audits",
            "description": "",
            "item": [
                {
                    "id": "4dfce7e8-c276-4e9e-b7d1-ccc619c4e877",
                    "name": "List User Audits",
                    "request": {
                        "name": "List User Audits",
                        "description": {
                            "content": "Retrieve a list of user audits.",
                            "type": "text/plain"
                        },
                        "url": {
                            "path": [
                                "users",
                                ""
                            ],
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "query": [
                                {
                                    "disabled": false,
                                    "description": {
                                        "content": "Only include user audits created on or after this timestamp. Must be an ISO 8601 datetime in UTC (applied to the `created_at` field).",
                                        "type": "text/plain"
                                    },
                                    "key": "date_from",
                                    "value": "<dateTime>"
                                },
                                {
                                    "disabled": false,
                                    "description": {
                                        "content": "Only include user audits created on or before this timestamp. Must be an ISO 8601 datetime in UTC (applied to the `created_at` field).",
                                        "type": "text/plain"
                                    },
                                    "key": "date_to",
                                    "value": "<dateTime>"
                                },
                                {
                                    "disabled": false,
                                    "description": {
                                        "content": " (This can only be one of USER_LOGIN,USER_LOGIN_FAILED,USER_UPDATE,USER_LOGOUT)",
                                        "type": "text/plain"
                                    },
                                    "key": "action",
                                    "value": "USER_LOGIN"
                                },
                                {
                                    "disabled": false,
                                    "description": {
                                        "content": "",
                                        "type": "text/plain"
                                    },
                                    "key": "limit",
                                    "value": "50"
                                },
                                {
                                    "disabled": false,
                                    "description": {
                                        "content": "",
                                        "type": "text/plain"
                                    },
                                    "key": "cursor",
                                    "value": "<string>"
                                }
                            ],
                            "variable": []
                        },
                        "header": [
                            {
                                "disabled": false,
                                "description": {
                                    "content": "ID of a child company for authentication. If not provided, the parent company will be authenticated.",
                                    "type": "text/plain"
                                },
                                "key": "x-company-id",
                                "value": "<integer>"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "method": "GET",
                        "body": {},
                        "auth": {
                            "type": "basic",
                            "basic": [
                                {
                                    "key": "username",
                                    "value": "{{basicAuthUsername}}"
                                },
                                {
                                    "key": "password",
                                    "value": "{{basicAuthPassword}}"
                                }
                            ]
                        }
                    },
                    "response": [
                        {
                            "id": "c835b23b-8575-4e49-b688-666bcecd1838",
                            "name": "Successful Response",
                            "originalRequest": {
                                "url": {
                                    "path": [
                                        "users",
                                        ""
                                    ],
                                    "host": [
                                        "{{baseUrl}}"
                                    ],
                                    "query": [
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "Only include user audits created on or after this timestamp. Must be an ISO 8601 datetime in UTC (applied to the `created_at` field).",
                                                "type": "text/plain"
                                            },
                                            "key": "date_from",
                                            "value": "<dateTime>"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "Only include user audits created on or before this timestamp. Must be an ISO 8601 datetime in UTC (applied to the `created_at` field).",
                                                "type": "text/plain"
                                            },
                                            "key": "date_to",
                                            "value": "<dateTime>"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": " (This can only be one of USER_LOGIN,USER_LOGIN_FAILED,USER_UPDATE,USER_LOGOUT)",
                                                "type": "text/plain"
                                            },
                                            "key": "action",
                                            "value": "USER_LOGIN"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "",
                                                "type": "text/plain"
                                            },
                                            "key": "limit",
                                            "value": "50"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "",
                                                "type": "text/plain"
                                            },
                                            "key": "cursor",
                                            "value": "<string>"
                                        }
                                    ],
                                    "variable": []
                                },
                                "header": [
                                    {
                                        "disabled": false,
                                        "description": {
                                            "content": "ID of a child company for authentication. If not provided, the parent company will be authenticated.",
                                            "type": "text/plain"
                                        },
                                        "key": "x-company-id",
                                        "value": "<integer>"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application/json"
                                    },
                                    {
                                        "description": {
                                            "content": "Added as a part of security scheme: basic",
                                            "type": "text/plain"
                                        },
                                        "key": "Authorization",
                                        "value": "Basic <credentials>"
                                    }
                                ],
                                "method": "GET",
                                "body": {}
                            },
                            "status": "OK",
                            "code": 200,
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{\n  \"data\": [\n    {\n      \"id\": \"<integer>\",\n      \"created_at\": \"<dateTime>\",\n      \"action\": \"USER_LOGIN\",\n      \"description\": \"<string>\",\n      \"ip_address\": \"<string>\",\n      \"user\": {\n        \"id\": \"<integer>\",\n        \"username\": \"<string>\",\n        \"first_name\": \"<string>\",\n        \"last_name\": \"<string>\",\n        \"email\": \"<string>\"\n      }\n    },\n    {\n      \"id\": \"<integer>\",\n      \"created_at\": \"<dateTime>\",\n      \"action\": \"USER_UPDATE\",\n      \"description\": \"<string>\",\n      \"ip_address\": \"<string>\",\n      \"user\": {\n        \"id\": \"<integer>\",\n        \"username\": \"<string>\",\n        \"first_name\": \"<string>\",\n        \"last_name\": \"<string>\",\n        \"email\": \"<string>\"\n      }\n    }\n  ],\n  \"next_cursor\": \"<string>\",\n  \"has_more\": false,\n  \"status\": \"success\"\n}",
                            "cookie": [],
                            "_postman_previewlanguage": "json"
                        },
                        {
                            "id": "a2a300c9-a80c-45d7-97fa-a0f4932fe28a",
                            "name": "Forbidden",
                            "originalRequest": {
                                "url": {
                                    "path": [
                                        "users",
                                        ""
                                    ],
                                    "host": [
                                        "{{baseUrl}}"
                                    ],
                                    "query": [
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "Only include user audits created on or after this timestamp. Must be an ISO 8601 datetime in UTC (applied to the `created_at` field).",
                                                "type": "text/plain"
                                            },
                                            "key": "date_from",
                                            "value": "<dateTime>"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "Only include user audits created on or before this timestamp. Must be an ISO 8601 datetime in UTC (applied to the `created_at` field).",
                                                "type": "text/plain"
                                            },
                                            "key": "date_to",
                                            "value": "<dateTime>"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": " (This can only be one of USER_LOGIN,USER_LOGIN_FAILED,USER_UPDATE,USER_LOGOUT)",
                                                "type": "text/plain"
                                            },
                                            "key": "action",
                                            "value": "USER_LOGIN"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "",
                                                "type": "text/plain"
                                            },
                                            "key": "limit",
                                            "value": "50"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "",
                                                "type": "text/plain"
                                            },
                                            "key": "cursor",
                                            "value": "<string>"
                                        }
                                    ],
                                    "variable": []
                                },
                                "header": [
                                    {
                                        "disabled": false,
                                        "description": {
                                            "content": "ID of a child company for authentication. If not provided, the parent company will be authenticated.",
                                            "type": "text/plain"
                                        },
                                        "key": "x-company-id",
                                        "value": "<integer>"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application/json"
                                    },
                                    {
                                        "description": {
                                            "content": "Added as a part of security scheme: basic",
                                            "type": "text/plain"
                                        },
                                        "key": "Authorization",
                                        "value": "Basic <credentials>"
                                    }
                                ],
                                "method": "GET",
                                "body": {}
                            },
                            "status": "Forbidden",
                            "code": 403,
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{\n  \"message\": \"<string>\",\n  \"status\": \"error\",\n  \"error_code\": \"<string>\",\n  \"trace_id\": \"<string>\"\n}",
                            "cookie": [],
                            "_postman_previewlanguage": "json"
                        },
                        {
                            "id": "64046467-c22e-46a1-b872-ea763c2c49b2",
                            "name": "Validation Error",
                            "originalRequest": {
                                "url": {
                                    "path": [
                                        "users",
                                        ""
                                    ],
                                    "host": [
                                        "{{baseUrl}}"
                                    ],
                                    "query": [
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "Only include user audits created on or after this timestamp. Must be an ISO 8601 datetime in UTC (applied to the `created_at` field).",
                                                "type": "text/plain"
                                            },
                                            "key": "date_from",
                                            "value": "<dateTime>"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "Only include user audits created on or before this timestamp. Must be an ISO 8601 datetime in UTC (applied to the `created_at` field).",
                                                "type": "text/plain"
                                            },
                                            "key": "date_to",
                                            "value": "<dateTime>"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": " (This can only be one of USER_LOGIN,USER_LOGIN_FAILED,USER_UPDATE,USER_LOGOUT)",
                                                "type": "text/plain"
                                            },
                                            "key": "action",
                                            "value": "USER_LOGIN"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "",
                                                "type": "text/plain"
                                            },
                                            "key": "limit",
                                            "value": "50"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "",
                                                "type": "text/plain"
                                            },
                                            "key": "cursor",
                                            "value": "<string>"
                                        }
                                    ],
                                    "variable": []
                                },
                                "header": [
                                    {
                                        "disabled": false,
                                        "description": {
                                            "content": "ID of a child company for authentication. If not provided, the parent company will be authenticated.",
                                            "type": "text/plain"
                                        },
                                        "key": "x-company-id",
                                        "value": "<integer>"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application/json"
                                    },
                                    {
                                        "description": {
                                            "content": "Added as a part of security scheme: basic",
                                            "type": "text/plain"
                                        },
                                        "key": "Authorization",
                                        "value": "Basic <credentials>"
                                    }
                                ],
                                "method": "GET",
                                "body": {}
                            },
                            "status": "Unprocessable Entity (WebDAV) (RFC 4918)",
                            "code": 422,
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{\n  \"detail\": [\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    },\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    }\n  ]\n}",
                            "cookie": [],
                            "_postman_previewlanguage": "json"
                        },
                        {
                            "id": "e62f2657-c70b-40b0-abfb-6a224486338e",
                            "name": "Internal Server Error",
                            "originalRequest": {
                                "url": {
                                    "path": [
                                        "users",
                                        ""
                                    ],
                                    "host": [
                                        "{{baseUrl}}"
                                    ],
                                    "query": [
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "Only include user audits created on or after this timestamp. Must be an ISO 8601 datetime in UTC (applied to the `created_at` field).",
                                                "type": "text/plain"
                                            },
                                            "key": "date_from",
                                            "value": "<dateTime>"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "Only include user audits created on or before this timestamp. Must be an ISO 8601 datetime in UTC (applied to the `created_at` field).",
                                                "type": "text/plain"
                                            },
                                            "key": "date_to",
                                            "value": "<dateTime>"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": " (This can only be one of USER_LOGIN,USER_LOGIN_FAILED,USER_UPDATE,USER_LOGOUT)",
                                                "type": "text/plain"
                                            },
                                            "key": "action",
                                            "value": "USER_LOGIN"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "",
                                                "type": "text/plain"
                                            },
                                            "key": "limit",
                                            "value": "50"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "",
                                                "type": "text/plain"
                                            },
                                            "key": "cursor",
                                            "value": "<string>"
                                        }
                                    ],
                                    "variable": []
                                },
                                "header": [
                                    {
                                        "disabled": false,
                                        "description": {
                                            "content": "ID of a child company for authentication. If not provided, the parent company will be authenticated.",
                                            "type": "text/plain"
                                        },
                                        "key": "x-company-id",
                                        "value": "<integer>"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application/json"
                                    },
                                    {
                                        "description": {
                                            "content": "Added as a part of security scheme: basic",
                                            "type": "text/plain"
                                        },
                                        "key": "Authorization",
                                        "value": "Basic <credentials>"
                                    }
                                ],
                                "method": "GET",
                                "body": {}
                            },
                            "status": "Internal Server Error",
                            "code": 500,
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{\n  \"message\": \"<string>\",\n  \"status\": \"error\",\n  \"error_code\": \"<string>\",\n  \"trace_id\": \"<string>\"\n}",
                            "cookie": [],
                            "_postman_previewlanguage": "json"
                        }
                    ],
                    "event": [],
                    "protocolProfileBehavior": {
                        "disableBodyPruning": true
                    }
                }
            ]
        }
    ],
    "event": [],
    "variable": [
        {
            "key": "baseUrl",
            "value": "https://app2test.infiniaweb.com/infinia_api/v1/audits"
        }
    ],
    "info": {
        "_postman_id": "48e820c7-74e7-4aa8-abd8-71f875776a89",
        "name": "Audits",
        "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
        "description": {
            "content": "API for managing audits",
            "type": "text/plain"
        }
    }
}