{
  "opencollection": "1.0.0",
  "info": {
    "name": "AlayaCare Accounting Accounts Client Risks API",
    "version": "1.0.19-oas3"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Client Risks",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get a list of client risks by a client's AlayaCare ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://example.alayacare.com/ext/api/v2/accounting/clients/:client_id/risks",
            "params": [
              {
                "name": "client_id",
                "value": "",
                "type": "path",
                "description": "The AlayaCare ID of a client"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Filter by page number. If not specified will default to 1."
              },
              {
                "name": "count",
                "value": "",
                "type": "query",
                "description": "Number of items per page. If not specified will default to 100."
              }
            ]
          },
          "docs": "Get a list of client risks by a client's AlayaCare ID"
        },
        {
          "info": {
            "name": "Create a client risk",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://example.alayacare.com/ext/api/v2/accounting/clients/:client_id/risks",
            "params": [
              {
                "name": "client_id",
                "value": "",
                "type": "path",
                "description": "The AlayaCare ID of a client"
              }
            ]
          },
          "docs": "Create a client risk"
        },
        {
          "info": {
            "name": "Update client risks by a client's AlayaCare ID",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://example.alayacare.com/ext/api/v2/accounting/clients/:client_id/risks/:risk_id",
            "params": [
              {
                "name": "client_id",
                "value": "",
                "type": "path",
                "description": "The AlayaCare ID of a client"
              },
              {
                "name": "risk_id",
                "value": "",
                "type": "path",
                "description": "ID of the client risk"
              }
            ]
          },
          "docs": "Update client risks by a client's AlayaCare ID"
        },
        {
          "info": {
            "name": "Remove a client's risk by a client's AlayaCare ID",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://example.alayacare.com/ext/api/v2/accounting/clients/:client_id/risks/:risk_id",
            "params": [
              {
                "name": "client_id",
                "value": "",
                "type": "path",
                "description": "The AlayaCare ID of a client"
              },
              {
                "name": "risk_id",
                "value": "",
                "type": "path",
                "description": "ID of the client risk"
              }
            ]
          },
          "docs": "Remove a client's risk by a client's AlayaCare ID"
        },
        {
          "info": {
            "name": "Get client risks by external client ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://example.alayacare.com/ext/api/v2/accounting/clients/by_id/:external_client_id/risks",
            "params": [
              {
                "name": "external_client_id",
                "value": "",
                "type": "path",
                "description": "The external ID of a client"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Filter by page number. If not specified will default to 1."
              },
              {
                "name": "count",
                "value": "",
                "type": "query",
                "description": "Number of items per page. If not specified will default to 100."
              }
            ]
          },
          "docs": "Get client risks by external client ID"
        },
        {
          "info": {
            "name": "Create a client risk by external client ID",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://example.alayacare.com/ext/api/v2/accounting/clients/by_id/:external_client_id/risks",
            "params": [
              {
                "name": "external_client_id",
                "value": "",
                "type": "path",
                "description": "The external ID of a client"
              }
            ]
          },
          "docs": "Create a client risk by external client ID"
        },
        {
          "info": {
            "name": "Update client risks by external client ID",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://example.alayacare.com/ext/api/v2/accounting/clients/by_id/:external_client_id/risks/:risk_id",
            "params": [
              {
                "name": "external_client_id",
                "value": "",
                "type": "path",
                "description": "External ID of a client"
              },
              {
                "name": "risk_id",
                "value": "",
                "type": "path",
                "description": "ID of the client risk"
              }
            ]
          },
          "docs": "Update client risks by external client ID"
        },
        {
          "info": {
            "name": "Remove a client's risk by external client ID",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://example.alayacare.com/ext/api/v2/accounting/clients/by_id/:external_client_id/risks/:risk_id",
            "params": [
              {
                "name": "external_client_id",
                "value": "",
                "type": "path",
                "description": "External ID of a client"
              },
              {
                "name": "risk_id",
                "value": "",
                "type": "path",
                "description": "ID of the client risk"
              }
            ]
          },
          "docs": "Remove a client's risk by external client ID"
        }
      ]
    }
  ],
  "bundled": true
}