{
  "openapi": "3.0.1",
  "info": {
    "title": "Rethink.Api",
    "version": "v1"
  },
  "paths": {
    "/api/v1/AccountStaffCredentials": {
      "get": {
        "tags": [
          "AccountStaffCredentials"
        ],
        "summary": "Returns all Staff Credentials for the current Company Account",
        "parameters": [
          {
            "name": "IncludeDeleted",
            "in": "query",
            "description": "Indicates whether response includes deleted records or not",
            "schema": {
              "type": "boolean",
              "example": true
            },
            "example": true
          },
          {
            "name": "After",
            "in": "query",
            "description": "All records with Last Modified Date Time after the date timestamp will be returned.",
            "schema": {
              "type": "string",
              "format": "date-time",
              "example": "2021-12-30T00:00:00Z"
            },
            "example": "2021-12-30T00:00:00Z"
          },
          {
            "name": "PageSize",
            "in": "query",
            "description": "Data page size",
            "schema": {
              "maximum": 50,
              "minimum": 10,
              "type": "integer",
              "format": "int32",
              "example": 10
            },
            "example": 10
          },
          {
            "name": "CurrentPage",
            "in": "query",
            "description": "Data page number",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32",
              "example": 1
            },
            "example": 1
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountStaffCredentialGetResponseSearchResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid account"
          }
        }
      }
    },
    "/api/v1/AccountStaffCredentials/add": {
      "post": {
        "tags": [
          "AccountStaffCredentials"
        ],
        "summary": "Adds new Staff Credential to the current Company Account",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AccountStaffCredentialAddRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AccountStaffCredentialAddRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AccountStaffCredentialAddRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Account Staff Credential added",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountStaffCredentialResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid input, object invalid or current Account Staff Credential exists"
          }
        }
      }
    },
    "/api/v1/AccountStaffCredentials/update": {
      "post": {
        "tags": [
          "AccountStaffCredentials"
        ],
        "summary": "Updates existing Account Staff Credential",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AccountStaffCredentialUpdateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AccountStaffCredentialUpdateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AccountStaffCredentialUpdateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Account Staff Credential updated",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountStaffCredentialResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid input, object invalid, current Account Staff Credential doesn't exist or deleted or Staff Credential already exists for this account"
          }
        }
      }
    },
    "/api/v1/AccountStaffCredentials/delete": {
      "post": {
        "tags": [
          "AccountStaffCredentials"
        ],
        "summary": "Deletes Account Staff Credential by id",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AccountStaffCredentialDeleteRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AccountStaffCredentialDeleteRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AccountStaffCredentialDeleteRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Account Staff Credential deleted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountStaffCredentialDeleteResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid input, invalid id, current Account Staff Credential doesn't exist or already deleted"
          }
        }
      }
    },
    "/api/v1/AccountStaffCredentials/reactivate": {
      "post": {
        "tags": [
          "AccountStaffCredentials"
        ],
        "summary": "Reactivates deleted Account Staff Credential by id",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AccountStaffCredentialReactivateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AccountStaffCredentialReactivateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AccountStaffCredentialReactivateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Account Staff Credential reactivated",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountStaffCredentialDeleteResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid input, invalid id, current Account Staff Credential doesn't exist or not deleted or Staff Credential already exists for this account"
          }
        }
      }
    },
    "/api/v1/Appointments/GetTravelDetails/{id}": {
      "get": {
        "tags": [
          "Appointments"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTravelDetailsModel"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTravelDetailsModel"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTravelDetailsModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Appointments": {
      "get": {
        "tags": [
          "Appointments"
        ],
        "summary": "returns appointment information of a client that exists in Rethink, ordered by ScheduledStartDateTime ascending",
        "parameters": [
          {
            "name": "after",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAppointmentsResponseModel"
                }
              }
            }
          }
        },
        "deprecated": true
      }
    },
    "/api/v1/Appointments/search": {
      "get": {
        "tags": [
          "Appointments"
        ],
        "summary": "returns appointment information of a client that exists in Rethink, ordered by ScheduledStartDateTime ascending",
        "parameters": [
          {
            "name": "After",
            "in": "query",
            "description": "All appointments with Last Modified Date Time after the datetimestamp will be returned.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date-time",
              "example": "2021-12-30T00:00:00Z"
            },
            "example": "2021-12-30T00:00:00Z"
          },
          {
            "name": "ToDate",
            "in": "query",
            "description": "All appointments with Last Modified Date Time up to the datetimestamp will be returned.",
            "schema": {
              "type": "string",
              "format": "date-time",
              "example": "2021-12-30T00:00:00Z"
            },
            "example": "2021-12-30T00:00:00Z"
          },
          {
            "name": "AppointmentDateAfter",
            "in": "query",
            "description": "All appointments with Appointment Start Date Time on an after the datetimestamp will be returned.",
            "schema": {
              "type": "string",
              "format": "date-time",
              "example": "2021-12-30T00:00:00Z"
            },
            "example": "2021-12-30T00:00:00Z"
          },
          {
            "name": "AppointmentDateBefore",
            "in": "query",
            "description": "All appointments with Appointment Start Date Time up to the datetimestamp will be returned.",
            "schema": {
              "type": "string",
              "format": "date-time",
              "example": "2021-12-30T00:00:00Z"
            },
            "example": "2021-12-30T00:00:00Z"
          },
          {
            "name": "ClientId",
            "in": "query",
            "description": "Return all appointments based on clientId.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StaffId",
            "in": "query",
            "description": "Return all appointments based on StaffId.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "LocationId",
            "in": "query",
            "description": "Return all appointments based on LocationId.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "description": "Page size",
            "schema": {
              "maximum": 1000,
              "minimum": 50,
              "type": "integer",
              "format": "int32",
              "example": 500
            },
            "example": 500
          },
          {
            "name": "Page",
            "in": "query",
            "description": "Page number",
            "required": true,
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32",
              "example": 1
            },
            "example": 1
          },
          {
            "name": "IncludeDeleted",
            "in": "query",
            "description": "Indicates whether response includes deleted records or not",
            "schema": {
              "type": "boolean",
              "example": true
            },
            "example": true
          },
          {
            "name": "IncludeParentSignature",
            "in": "query",
            "description": "Indicates whether response includes parent signature or not",
            "schema": {
              "type": "boolean",
              "example": true
            },
            "example": true
          },
          {
            "name": "EvvStatus",
            "in": "query",
            "description": "Indicates whether response includes EvvStatus or not. \r\nPress (1) for \"Pending\", (2) for \"Approved\", (3) for \"Submitted\" , (4) for \"Success\" and (5) for \"Rejected\" .",
            "schema": {
              "$ref": "#/components/schemas/EvvStatus"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Successful response returns appoingment object",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAppointmentsByPagesResponseModel"
                }
              }
            }
          },
          "400": {
            "description": "The specified timestamp is invalid"
          }
        }
      }
    },
    "/api/v1/Appointments/search/series": {
      "get": {
        "tags": [
          "Appointments"
        ],
        "summary": "Returns appointment information ordered by ScheduledStartDateTime ascending. Behaves like\r\nAppointments/Search Endpoint but, when IncludeUnmodifiedSeriesOccurrences is enabled together with an\r\nappointment date range, the response also includes occurrences of recurring series that have\r\nnot been individually modified.",
        "parameters": [
          {
            "name": "IncludeUnmodifiedSeriesOccurrences",
            "in": "query",
            "description": "When true, the response also includes past/future occurrences that belong to a recurring series\r\nbut have not been individually modified. Requires both AppointmentDateAfter and AppointmentDateBefore\r\nto bound the occurrence generation window. When false or omitted, behaves like the standard search endpoint.",
            "schema": {
              "type": "boolean",
              "example": false
            },
            "example": false
          },
          {
            "name": "After",
            "in": "query",
            "description": "All appointments with Last Modified Date Time after the datetimestamp will be returned.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date-time",
              "example": "2021-12-30T00:00:00Z"
            },
            "example": "2021-12-30T00:00:00Z"
          },
          {
            "name": "ToDate",
            "in": "query",
            "description": "All appointments with Last Modified Date Time up to the datetimestamp will be returned.",
            "schema": {
              "type": "string",
              "format": "date-time",
              "example": "2021-12-30T00:00:00Z"
            },
            "example": "2021-12-30T00:00:00Z"
          },
          {
            "name": "AppointmentDateAfter",
            "in": "query",
            "description": "All appointments with Appointment Start Date Time on an after the datetimestamp will be returned.",
            "schema": {
              "type": "string",
              "format": "date-time",
              "example": "2021-12-30T00:00:00Z"
            },
            "example": "2021-12-30T00:00:00Z"
          },
          {
            "name": "AppointmentDateBefore",
            "in": "query",
            "description": "All appointments with Appointment Start Date Time up to the datetimestamp will be returned.",
            "schema": {
              "type": "string",
              "format": "date-time",
              "example": "2021-12-30T00:00:00Z"
            },
            "example": "2021-12-30T00:00:00Z"
          },
          {
            "name": "ClientId",
            "in": "query",
            "description": "Return all appointments based on clientId.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StaffId",
            "in": "query",
            "description": "Return all appointments based on StaffId.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "LocationId",
            "in": "query",
            "description": "Return all appointments based on LocationId.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "description": "Page size",
            "schema": {
              "maximum": 1000,
              "minimum": 50,
              "type": "integer",
              "format": "int32",
              "example": 500
            },
            "example": 500
          },
          {
            "name": "Page",
            "in": "query",
            "description": "Page number",
            "required": true,
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32",
              "example": 1
            },
            "example": 1
          },
          {
            "name": "IncludeDeleted",
            "in": "query",
            "description": "Indicates whether response includes deleted records or not",
            "schema": {
              "type": "boolean",
              "example": true
            },
            "example": true
          },
          {
            "name": "IncludeParentSignature",
            "in": "query",
            "description": "Indicates whether response includes parent signature or not",
            "schema": {
              "type": "boolean",
              "example": true
            },
            "example": true
          },
          {
            "name": "EvvStatus",
            "in": "query",
            "description": "Indicates whether response includes EvvStatus or not. \r\nPress (1) for \"Pending\", (2) for \"Approved\", (3) for \"Submitted\" , (4) for \"Success\" and (5) for \"Rejected\" .",
            "schema": {
              "$ref": "#/components/schemas/EvvStatus"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Successful response returns appointment objects including unmodified series occurrences",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAppointmentsWithSeriesByPagesResponseModel"
                }
              }
            }
          },
          "400": {
            "description": "The specified timestamp is invalid"
          }
        }
      }
    },
    "/api/v1/Appointments/{appointmentId}": {
      "get": {
        "tags": [
          "Appointments"
        ],
        "summary": "To get appointment by appointment id",
        "operationId": "GetAppointmentById",
        "parameters": [
          {
            "name": "appointmentId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "example": 15013191
          },
          {
            "name": "includeDeleted",
            "in": "query",
            "description": "",
            "schema": {
              "type": "boolean"
            },
            "example": true
          },
          {
            "name": "IncludeParentSignature",
            "in": "query",
            "description": "",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAppointmentByIdResponseModel"
                }
              }
            }
          },
          "400": {
            "description": "invalid appointment ID"
          }
        }
      }
    },
    "/api/v1/Appointments/GetBillingDetails": {
      "get": {
        "tags": [
          "Appointments"
        ],
        "summary": "Returns appointment's billing details by appointment id",
        "parameters": [
          {
            "name": "appointmentId",
            "in": "query",
            "description": "Appointment id",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetBillingDetailsResponseModel"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetBillingDetailsResponseModel"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetBillingDetailsResponseModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Appointments/add": {
      "post": {
        "tags": [
          "Appointments"
        ],
        "summary": "To add a new appointment",
        "parameters": [
          {
            "name": "enforceExceedAuthRestriction",
            "in": "query",
            "description": "",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "autoSetBillingCredential",
            "in": "query",
            "description": "Optional. When true, automatically sets BillingCodeCredentialId using the same staff/billing-code\r\ncredential matching as the BH Website UI, unless BillingCodeCredentialId is already provided in the request body.\r\nWhen omitted or false, behavior is unchanged: BillingCodeCredentialId is taken from the payload only.",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddAppointmentRequestModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AddAppointmentRequestModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AddAppointmentRequestModel"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "201": {
            "description": "Successful response returns appoingment id added",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AddAppointmentResponseModel"
                }
              }
            }
          },
          "400": {
            "description": "invalid input, object invalid"
          }
        }
      }
    },
    "/api/v1/Appointments/update": {
      "post": {
        "tags": [
          "Appointments"
        ],
        "summary": "To update an appointment",
        "parameters": [
          {
            "name": "enforceExceedAuthRestriction",
            "in": "query",
            "description": "",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "autoSetBillingCredential",
            "in": "query",
            "description": "Optional. When true, automatically sets BillingCodeCredentialId using the same staff/billing-code\r\ncredential matching as the BH Website UI, unless BillingCodeCredentialId is already set on the appointment\r\nor provided in the request body. When omitted or false, behavior is unchanged: BillingCodeCredentialId is taken from the payload only.",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAppointmentRequestModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAppointmentRequestModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAppointmentRequestModel"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateAppointmentResponseModel"
                }
              }
            }
          },
          "400": {
            "description": "invalid input, object invalid"
          }
        }
      }
    },
    "/api/v1/Appointments/delete": {
      "post": {
        "tags": [
          "Appointments"
        ],
        "summary": "To delete an appointment",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "example": [
                9992710,
                10014308,
                10112881
              ]
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "example": [
                9992710,
                10014308,
                10112881
              ]
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "example": [
                9992710,
                10014308,
                10112881
              ]
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteAppointmentsResponseModel"
                }
              }
            }
          },
          "400": {
            "description": "invalid appointment ID"
          }
        }
      }
    },
    "/api/v1/Appointments/reactivate/{id}": {
      "post": {
        "tags": [
          "Appointments"
        ],
        "summary": "Reactivates appointment by provided id",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "example": 10112881
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReactivateAppointmentResponseModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Appointments/SaveOccurrence": {
      "post": {
        "tags": [
          "Appointments"
        ],
        "summary": "save occurence of Series appoinment",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddAppointmentRequestModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AddAppointmentRequestModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AddAppointmentRequestModel"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AddAppointmentResponseModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Appointments/GetAppointmentTypes": {
      "get": {
        "tags": [
          "Appointments"
        ],
        "summary": "Retrieves a collection of appointment types.",
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Successful response returns appointment types object",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppointmentTypesResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Appointments/GetCancellationTypes": {
      "get": {
        "tags": [
          "Appointments"
        ],
        "summary": "Retrieves a collection of cancellation types details.",
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Successful response returns cancellation types details object.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppointmentCancellationTypeResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Appointments/GetTags": {
      "get": {
        "tags": [
          "Appointments"
        ],
        "summary": "Retrieves a collection of custom tags.",
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Successful response returns custom tags object.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppointmentCustomTagResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Appointments/GetCancellationSubTypes": {
      "get": {
        "tags": [
          "Appointments"
        ],
        "summary": "Retrieves a collection of cancellation sub types.",
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Successful response returns cancellation sub types object.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppointmentCustomTagResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Appointments/check-exceed-authorization": {
      "post": {
        "tags": [
          "Appointments"
        ],
        "summary": "Checks whether the provided appointments exceed authorization.",
        "operationId": "CheckExceedAuthorization",
        "requestBody": {
          "description": "List of appointment IDs",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CheckExceedAuthorizationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CheckExceedAuthorizationRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CheckExceedAuthorizationRequest"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Returns authorization status for each appointment",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CheckExceedAuthorizationResponse"
                }
              }
            }
          },
          "400": {
            "description": "If appointment count exceeds allowed limit,\r\ninput is invalid,\r\na single appointment is not found,\r\nor all requested appointments are not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseStatus"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Appointments/series/{seriesId}": {
      "get": {
        "tags": [
          "Appointments"
        ],
        "summary": "Get Series Pattern based on the provided series appointment ID.",
        "parameters": [
          {
            "name": "seriesId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "AppointmentDateAfter",
            "in": "query",
            "description": "get linked appointments for the series which are after this date.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date-time",
              "example": "2026-02-01T00:00:00Z"
            },
            "example": "2026-02-01T00:00:00Z"
          },
          {
            "name": "AppointmentDateBefore",
            "in": "query",
            "description": "get linked appointments for the series which are before this date",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date-time",
              "example": "2026-02-10T00:00:00Z"
            },
            "example": "2026-02-10T00:00:00Z"
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Returns authorization status for each appointment",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetSeriesPatternResponse"
                }
              }
            }
          },
          "400": {
            "description": "If appointment count exceeds allowed limit,\r\ninput is invalid,\r\na single appointment is not found,\r\nor all requested appointments are not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseStatus"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Appointments/series/{seriesId}/past": {
      "get": {
        "tags": [
          "Appointments"
        ],
        "summary": "Get past occurrences of a series within a bounded historical window, including\r\noccurrences that have never been individually persisted (projected from the recurrence rule).\r\nCancelled occurrences are excluded by default; set IncludeCancelled=true to include them.\r\nExpired series are included when their end date falls within the requested window.",
        "parameters": [
          {
            "name": "seriesId",
            "in": "path",
            "description": "Master series appointment ID",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "AppointmentDateAfter",
            "in": "query",
            "description": "Inclusive start of the historical window. Optional — defaults to 56 days (8 weeks) before\r\nRethinkAutism.API.Services.Models.Appointments.GetSeriesPastOccurrencesQueryParam.AppointmentDateBefore. Must be in the past.",
            "schema": {
              "type": "string",
              "format": "date-time",
              "example": "2026-02-01T00:00:00Z"
            },
            "example": "2026-02-01T00:00:00Z"
          },
          {
            "name": "AppointmentDateBefore",
            "in": "query",
            "description": "Exclusive end of the historical window. Optional — defaults to the current UTC time.\r\nMust be in the past.",
            "schema": {
              "type": "string",
              "format": "date-time",
              "example": "2026-02-10T00:00:00Z"
            },
            "example": "2026-02-10T00:00:00Z"
          },
          {
            "name": "IncludeCancelled",
            "in": "query",
            "description": "When true, cancelled occurrences are included in the result.\r\nDefaults to false (cancelled occurrences excluded).",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Returns the recurrence pattern and merged (persisted + projected) occurrences",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetSeriesPatternResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid window, series not found, or id is not a series appointment",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseStatus"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Appointments/series/{seriesId}/recurrence": {
      "post": {
        "tags": [
          "Appointments"
        ],
        "summary": "Updates the recurrence pattern and/or date range of a series appointment.\r\nAll fields are optional; only provided fields are updated (partial update).",
        "parameters": [
          {
            "name": "seriesId",
            "in": "path",
            "description": "Master series appointment ID",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "enforceExceedAuthRestriction",
            "in": "query",
            "description": "Whether to enforce authorization limits",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "requestBody": {
          "description": "Recurrence update payload",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSeriesRecurrenceRequestModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSeriesRecurrenceRequestModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSeriesRecurrenceRequestModel"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Series recurrence updated successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateSeriesRecurrenceResponseModel"
                }
              }
            }
          },
          "400": {
            "description": "Validation failed or series not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseStatus"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/AuthorizationBillingCodes": {
      "get": {
        "tags": [
          "AuthorizationBillingCodes"
        ],
        "summary": "Returns all Client Authorization Billing Codes for the current Company Account",
        "parameters": [
          {
            "name": "IncludeDeleted",
            "in": "query",
            "description": "Indicates whether response includes deleted records or not",
            "schema": {
              "type": "boolean",
              "example": true
            },
            "example": true
          },
          {
            "name": "After",
            "in": "query",
            "description": "All records with Last Modified Date Time after the date timestamp will be returned.",
            "schema": {
              "type": "string",
              "format": "date-time",
              "example": "2021-12-30T00:00:00Z"
            },
            "example": "2021-12-30T00:00:00Z"
          },
          {
            "name": "PageSize",
            "in": "query",
            "description": "Data page size",
            "schema": {
              "maximum": 50,
              "minimum": 10,
              "type": "integer",
              "format": "int32",
              "example": 10
            },
            "example": 10
          },
          {
            "name": "CurrentPage",
            "in": "query",
            "description": "Data page number",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32",
              "example": 1
            },
            "example": 1
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthorizationBillingCodesGetResponseSearchResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid account, invalid input"
          }
        }
      }
    },
    "/api/v1/AuthorizationBillingCodes/FrequencyTypes": {
      "get": {
        "tags": [
          "AuthorizationBillingCodes"
        ],
        "summary": "Returns all Frequency Types",
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FrequencyTypeModel"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid account, invalid input"
          }
        }
      }
    },
    "/api/v1/AuthorizationBillingCodes/{authorizationBillingCodeId}": {
      "get": {
        "tags": [
          "AuthorizationBillingCodes"
        ],
        "summary": "Returns Client Authorization Billing Code for the current Company Account by id",
        "parameters": [
          {
            "name": "authorizationBillingCodeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthorizationBillingCodeResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid account, invalid input"
          }
        }
      }
    },
    "/api/v1/AuthorizationBillingCodes/Create": {
      "post": {
        "tags": [
          "AuthorizationBillingCodes"
        ],
        "summary": "Create Client Authorization Billing Code",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AuthorizationBillingCodeCreateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AuthorizationBillingCodeCreateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AuthorizationBillingCodeCreateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthorizationBillingCodeResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid account, invalid input"
          }
        }
      }
    },
    "/api/v1/AuthorizationBillingCodes/Update": {
      "post": {
        "tags": [
          "AuthorizationBillingCodes"
        ],
        "summary": "Update Client Authorization Billing Code",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AuthorizationBillingCodeUpdateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AuthorizationBillingCodeUpdateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AuthorizationBillingCodeUpdateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthorizationBillingCodeResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid account, invalid input"
          }
        }
      }
    },
    "/api/v1/AuthorizationBillingCodes/Delete": {
      "post": {
        "tags": [
          "AuthorizationBillingCodes"
        ],
        "summary": "Delete Client Authorization Billing Code by id",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AuthorizationBillingCodeDeleteRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AuthorizationBillingCodeDeleteRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AuthorizationBillingCodeDeleteRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthorizationBillingCodeResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid account, invalid input"
          }
        }
      }
    },
    "/api/v1/AuthorizationBillingCodes/Reactivate": {
      "post": {
        "tags": [
          "AuthorizationBillingCodes"
        ],
        "summary": "Reactivate Client Authorization Billing Code by id",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AuthorizationBillingCodeReactivateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AuthorizationBillingCodeReactivateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AuthorizationBillingCodeReactivateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthorizationBillingCodeResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid account, invalid input"
          }
        }
      }
    },
    "/api/v1/BillingCodeCredentials": {
      "get": {
        "tags": [
          "BillingCodeCredentials"
        ],
        "summary": "Returns all Billing Code Credentials for the current Company Account",
        "parameters": [
          {
            "name": "IncludeDeleted",
            "in": "query",
            "description": "Indicates whether response includes deleted records or not",
            "schema": {
              "type": "boolean",
              "example": true
            },
            "example": true
          },
          {
            "name": "After",
            "in": "query",
            "description": "All records with Last Modified Date Time after the date timestamp will be returned.",
            "schema": {
              "type": "string",
              "format": "date-time",
              "example": "2021-12-30T00:00:00Z"
            },
            "example": "2021-12-30T00:00:00Z"
          },
          {
            "name": "PageSize",
            "in": "query",
            "description": "Data page size",
            "schema": {
              "maximum": 50,
              "minimum": 10,
              "type": "integer",
              "format": "int32",
              "example": 10
            },
            "example": 10
          },
          {
            "name": "CurrentPage",
            "in": "query",
            "description": "Data page number",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32",
              "example": 1
            },
            "example": 1
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BillingCodeCredentialGetResponseSearchResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid account, invalid input"
          }
        }
      }
    },
    "/api/v1/BillingCodeCredentials/add": {
      "post": {
        "tags": [
          "BillingCodeCredentials"
        ],
        "summary": "Adds new Billing Code Credential",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BillingCodeCredentialAddRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/BillingCodeCredentialAddRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/BillingCodeCredentialAddRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Billing Code Credential added",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BillingCodeCredentialResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid input, object invalid or current Billing Code Credential already exists"
          }
        }
      }
    },
    "/api/v1/BillingCodeCredentials/update": {
      "post": {
        "tags": [
          "BillingCodeCredentials"
        ],
        "summary": "Updates existing Billing Code Credential",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BillingCodeCredentialUpdateRequestModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/BillingCodeCredentialUpdateRequestModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/BillingCodeCredentialUpdateRequestModel"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Billing Code Credential updated",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BillingCodeCredentialResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid input, object invalid, current Billing Code Credential doesn't exist or deleted or specified Billing Code Credential already exists"
          }
        }
      }
    },
    "/api/v1/BillingCodeCredentials/delete": {
      "post": {
        "tags": [
          "BillingCodeCredentials"
        ],
        "summary": "Deletes Billing Code Credential by id",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BillingCodeCredentialDeleteRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/BillingCodeCredentialDeleteRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/BillingCodeCredentialDeleteRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Billing Code Credential deleted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BillingCodeCredentialDeleteResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid input, invalid id, current Billing Code Credential doesn't exist or already deleted"
          }
        }
      }
    },
    "/api/v1/BillingCodeCredentials/reactivate": {
      "post": {
        "tags": [
          "BillingCodeCredentials"
        ],
        "summary": "Reactivates deleted Billing Code Credential by id",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BillingCodeCredentialDeleteRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/BillingCodeCredentialDeleteRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/BillingCodeCredentialDeleteRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Billing Code Credential reactivated",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BillingCodeCredentialDeleteResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid input, invalid id, current Billing Code Credential doesn't exist or not deleted or specified Billing Code Credential already exists"
          }
        }
      }
    },
    "/api/v1/BillingCodes": {
      "get": {
        "tags": [
          "BillingCodes"
        ],
        "summary": "Returns all Billing Codes for the current Company Account",
        "parameters": [
          {
            "name": "IncludeDeleted",
            "in": "query",
            "description": "Indicates whether response includes deleted records or not",
            "schema": {
              "type": "boolean",
              "example": true
            },
            "example": true
          },
          {
            "name": "After",
            "in": "query",
            "description": "All records with Last Modified Date Time after the date timestamp will be returned.",
            "schema": {
              "type": "string",
              "format": "date-time",
              "example": "2021-12-30T00:00:00Z"
            },
            "example": "2021-12-30T00:00:00Z"
          },
          {
            "name": "PageSize",
            "in": "query",
            "description": "Data page size",
            "schema": {
              "maximum": 50,
              "minimum": 10,
              "type": "integer",
              "format": "int32",
              "example": 10
            },
            "example": 10
          },
          {
            "name": "CurrentPage",
            "in": "query",
            "description": "Data page number",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32",
              "example": 1
            },
            "example": 1
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BillingCodeModelSearchResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid account"
          }
        }
      }
    },
    "/api/v1/BillingCodes/add": {
      "post": {
        "tags": [
          "BillingCodes"
        ],
        "summary": "Add new Billing Code.",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BillingCodeRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/BillingCodeRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/BillingCodeRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Billing Code added",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BillingCodeResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid input, object invalid or current Billing Code exists"
          }
        }
      }
    },
    "/api/v1/BillingCodes/update": {
      "post": {
        "tags": [
          "BillingCodes"
        ],
        "summary": "Update existing Billing Code.",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BillingCodeUpdateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/BillingCodeUpdateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/BillingCodeUpdateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Billing Code updated",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BillingCodeResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid input, object invalid or current Billing Code does not exists"
          }
        }
      }
    },
    "/api/v1/BillingCodes/delete": {
      "post": {
        "tags": [
          "BillingCodes"
        ],
        "summary": "Delete billing code.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BillingCodeDeleteRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/BillingCodeDeleteRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/BillingCodeDeleteRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Billing Code deleted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BillingCodeDeleteResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid input, current Billing Code doesn't exists or already deleted"
          }
        }
      }
    },
    "/api/v1/BillingCodes/reactivate": {
      "post": {
        "tags": [
          "BillingCodes"
        ],
        "summary": "Reactivate billing code.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BillingCodeDeleteRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/BillingCodeDeleteRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/BillingCodeDeleteRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Billing Code reactivated",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BillingCodeDeleteResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid input, current Billing Code doesn't exists or not deleted"
          }
        }
      }
    },
    "/api/v1/ClientContacts/{clientId}": {
      "get": {
        "tags": [
          "ClientContacts"
        ],
        "summary": "return information of all client contacts",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "description": "The id assigned to a client by Rehink Behavioral Heal",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "example": 176890
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ClientContactInfo"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/ClientContacts/add": {
      "post": {
        "tags": [
          "ClientContacts"
        ],
        "summary": "add one or more client contacts",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ClientContactInfo"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ClientContactInfo"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ClientContactInfo"
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClientContactactsResponseModel"
                }
              }
            }
          },
          "400": {
            "description": "invalid input, object invalid"
          }
        }
      }
    },
    "/api/v1/ClientContacts/update": {
      "post": {
        "tags": [
          "ClientContacts"
        ],
        "summary": "update one or more client contacts",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ClientContactInfo"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ClientContactInfo"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ClientContactInfo"
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClientContactactsResponseModel"
                }
              }
            }
          },
          "400": {
            "description": "invalid input, object invalid"
          }
        }
      }
    },
    "/api/v1/ClientContacts/delete": {
      "post": {
        "tags": [
          "ClientContacts"
        ],
        "summary": "remove one or more client contacts",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "example": [
                140560,
                146789
              ]
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "example": [
                140560,
                146789
              ]
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "example": [
                140560,
                146789
              ]
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "integer",
                    "format": "int32"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/ClientCustomFields/{clientId}": {
      "get": {
        "tags": [
          "ClientCustomFields"
        ],
        "summary": "Retrieves client custom fields.",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "description": "The Client Id",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClientCustomFieldData"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/ClientCustomFields": {
      "post": {
        "tags": [
          "ClientCustomFields"
        ],
        "summary": "Adds client custom fields.",
        "requestBody": {
          "description": "The model containing data for adding client custom fields.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddClientCustomFields"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AddClientCustomFields"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AddClientCustomFields"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClientCustomFieldData"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "ClientCustomFields"
        ],
        "summary": "Updates client custom fields.",
        "requestBody": {
          "description": "The model containing data for updating client custom fields.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateClientCustomFields"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateClientCustomFields"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateClientCustomFields"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClientCustomFieldData"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/ClientFunders": {
      "get": {
        "tags": [
          "ClientFunders"
        ],
        "summary": "Returns all Client Funders for the current Company Account",
        "parameters": [
          {
            "name": "IncludeDeleted",
            "in": "query",
            "description": "Indicates whether response includes deleted records or not",
            "schema": {
              "type": "boolean",
              "example": true
            },
            "example": true
          },
          {
            "name": "After",
            "in": "query",
            "description": "All records with Last Modified Date Time after the date timestamp will be returned.",
            "schema": {
              "type": "string",
              "format": "date-time",
              "example": "2021-12-30T00:00:00Z"
            },
            "example": "2021-12-30T00:00:00Z"
          },
          {
            "name": "PageSize",
            "in": "query",
            "description": "Data page size",
            "schema": {
              "maximum": 50,
              "minimum": 10,
              "type": "integer",
              "format": "int32",
              "example": 10
            },
            "example": 10
          },
          {
            "name": "CurrentPage",
            "in": "query",
            "description": "Data page number",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32",
              "example": 1
            },
            "example": 1
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClientFunderGetResponseSearchResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid account, invalid input"
          }
        }
      }
    },
    "/api/v1/ClientFunders/add": {
      "post": {
        "tags": [
          "ClientFunders"
        ],
        "summary": "Adds new Client Funder to the current Company Account",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ClientFunderAddRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ClientFunderAddRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ClientFunderAddRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Client Funder added",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClientFunderResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid input, object invalid, or the plan overlaps another plan of the same funder, priority and plan name (reasonCode and conflict are returned)"
          }
        }
      }
    },
    "/api/v1/ClientFunders/update": {
      "post": {
        "tags": [
          "ClientFunders"
        ],
        "summary": "Updates existing Client Funder",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ClientFunderUpdateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ClientFunderUpdateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ClientFunderUpdateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Client Funder updated",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClientFunderResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid input, object invalid, current Client Funder doesn't exist or deleted, or the plan overlaps another plan of the same funder, priority and plan name (reasonCode and conflict are returned)"
          }
        }
      }
    },
    "/api/v1/ClientFunders/delete": {
      "post": {
        "tags": [
          "ClientFunders"
        ],
        "summary": "Deletes Client Funder by id",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ClientFunderDeleteRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ClientFunderDeleteRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ClientFunderDeleteRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Client Funder deleted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClientFunderDeleteResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid input, invalid id, current Client Funder doesn't exist or already deleted, or the plan is used by an authorization or appointment (reasonCode FUNDER_PLAN_DELETE_REFERENCED)"
          }
        }
      }
    },
    "/api/v1/ClientFunders/reactivate": {
      "post": {
        "tags": [
          "ClientFunders"
        ],
        "summary": "Reactivates deleted Client Funder by id",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ClientFunderReactivateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ClientFunderReactivateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ClientFunderReactivateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Client Funder reactivated",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClientFunderDeleteResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid input, invalid id, current Client Funder doesn't exist or not deleted, or the plan overlaps another live plan (reasonCode and conflict are returned)"
          }
        }
      }
    },
    "/api/v1/ClientReferringProviders": {
      "get": {
        "tags": [
          "ClientReferringProviders"
        ],
        "summary": "Returns all Client Referring Providers for the current Company Account",
        "parameters": [
          {
            "name": "IncludeDeleted",
            "in": "query",
            "description": "Indicates whether response includes deleted records or not",
            "schema": {
              "type": "boolean",
              "example": true
            },
            "example": true
          },
          {
            "name": "After",
            "in": "query",
            "description": "All records with Last Modified Date Time after the date timestamp will be returned.",
            "schema": {
              "type": "string",
              "format": "date-time",
              "example": "2021-12-30T00:00:00Z"
            },
            "example": "2021-12-30T00:00:00Z"
          },
          {
            "name": "PageSize",
            "in": "query",
            "description": "Data page size",
            "schema": {
              "maximum": 50,
              "minimum": 10,
              "type": "integer",
              "format": "int32",
              "example": 10
            },
            "example": 10
          },
          {
            "name": "CurrentPage",
            "in": "query",
            "description": "Data page number",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32",
              "example": 1
            },
            "example": 1
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClientReferringProviderGetResponseSearchResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid account, invalid input"
          }
        }
      }
    },
    "/api/v1/ClientReferringProviders/add": {
      "post": {
        "tags": [
          "ClientReferringProviders"
        ],
        "summary": "Adds new Referring Provider to the Client",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ClientReferringProviderAddRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ClientReferringProviderAddRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ClientReferringProviderAddRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Client Referring Provider added",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClientReferringProviderResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid input, object invalid or current Client Referring Provider already exists"
          }
        }
      }
    },
    "/api/v1/ClientReferringProviders/update": {
      "post": {
        "tags": [
          "ClientReferringProviders"
        ],
        "summary": "Updates existing Client Referring Provider",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ClientReferringProviderUpdateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ClientReferringProviderUpdateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ClientReferringProviderUpdateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Client Referring Provider updated",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClientReferringProviderResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid input, object invalid, current Client Referring Provider doesn't exist or deleted or specified Client Referring Provider already exists"
          }
        }
      }
    },
    "/api/v1/ClientReferringProviders/delete": {
      "post": {
        "tags": [
          "ClientReferringProviders"
        ],
        "summary": "Deletes Client Referring Provider by id",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ClientReferringProviderDeleteRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ClientReferringProviderDeleteRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ClientReferringProviderDeleteRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Client Referring Provider deleted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClientReferringProviderDeleteResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid input, invalid id, current Client Referring Provider doesn't exist or already deleted"
          }
        }
      }
    },
    "/api/v1/ClientReferringProviders/reactivate": {
      "post": {
        "tags": [
          "ClientReferringProviders"
        ],
        "summary": "Reactivates deleted Client Referring Provider by id",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ClientReferringProviderReactivateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ClientReferringProviderReactivateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ClientReferringProviderReactivateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Client Referring Provider reactivated",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClientReferringProviderDeleteResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid input, invalid id, current Client Referring Provider doesn't exist or not deleted or specified Client Referring Provider already exists"
          }
        }
      }
    },
    "/api/v1/Clients/all": {
      "get": {
        "tags": [
          "Clients"
        ],
        "summary": "Retrieve all clients",
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Client"
                  }
                }
              }
            }
          }
        },
        "deprecated": true
      }
    },
    "/api/v1/Clients/search": {
      "get": {
        "tags": [
          "Clients"
        ],
        "summary": "Return clients that exists in Rethink",
        "parameters": [
          {
            "name": "After",
            "in": "query",
            "description": "All clients with Last Modified Date Time after the datetimestamp will be returned.",
            "schema": {
              "type": "string",
              "format": "date-time",
              "example": "2021-12-30T00:00:00Z"
            },
            "example": "2021-12-30T00:00:00Z"
          },
          {
            "name": "PageSize",
            "in": "query",
            "description": "Page size",
            "schema": {
              "maximum": 50,
              "minimum": 10,
              "type": "integer",
              "format": "int32",
              "example": 30
            },
            "example": 30
          },
          {
            "name": "Page",
            "in": "query",
            "description": "Page number",
            "required": true,
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32",
              "example": 1
            },
            "example": 1
          },
          {
            "name": "IncludeDeleted",
            "in": "query",
            "description": "Indicates whether response includes deleted records or not",
            "schema": {
              "type": "boolean",
              "example": true
            },
            "example": true
          },
          {
            "name": "IncludeClientFunder",
            "in": "query",
            "description": "Indicates whether response includes client funder records or not",
            "schema": {
              "type": "boolean",
              "example": true
            },
            "example": true
          },
          {
            "name": "IncludeClientAuthorization",
            "in": "query",
            "description": "Indicates whether response includes client authorization records or not",
            "schema": {
              "type": "boolean",
              "example": true
            },
            "example": true
          },
          {
            "name": "IncludeClientAvailabilities",
            "in": "query",
            "description": "Indicates whether response includes client availabilities records or not",
            "schema": {
              "type": "boolean",
              "example": true
            },
            "example": true
          },
          {
            "name": "IncludeClientNotes",
            "in": "query",
            "description": "Indicates whether response includes client notes records or not",
            "schema": {
              "type": "boolean",
              "example": true
            },
            "example": true
          },
          {
            "name": "SortBy",
            "in": "query",
            "description": "Choose 0 for \"LastName\" or 1 for \"DateLastModified\" in swagger only otherwise use the string value",
            "schema": {
              "$ref": "#/components/schemas/SortBy"
            }
          },
          {
            "name": "SortOn",
            "in": "query",
            "description": "Choose 0 for \"Asc\" or 1 for \"Desc\" order in swagger only otherwise use the string value",
            "schema": {
              "$ref": "#/components/schemas/SortOn"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClientSearchResponse"
                }
              }
            }
          }
        },
        "deprecated": true
      }
    },
    "/api/v1/Clients/{clientId}": {
      "get": {
        "tags": [
          "Clients"
        ],
        "summary": "returns information of a client that exists in Rethink",
        "operationId": "GetClientAsync",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "description": "The id assigned to a client by Rehink Behavioral Health",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "example": 182849
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Client"
                }
              }
            }
          },
          "400": {
            "description": "The specified Client Id is invalid"
          }
        },
        "deprecated": true
      },
      "put": {
        "tags": [
          "Clients"
        ],
        "summary": "Update existing client.",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateClientModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateClientModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateClientModel"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Client"
                }
              }
            }
          },
          "400": {
            "description": "invalid input, object invalid"
          }
        },
        "deprecated": true
      },
      "patch": {
        "tags": [
          "Clients"
        ],
        "summary": "Update existing client.",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateClientModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateClientModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateClientModel"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Client"
                }
              }
            }
          },
          "400": {
            "description": "invalid input, object invalid"
          }
        },
        "deprecated": true
      }
    },
    "/api/v1/Clients/add": {
      "post": {
        "tags": [
          "Clients"
        ],
        "summary": "Add new client.",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddClientModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AddClientModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AddClientModel"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "201": {
            "description": "client added",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Client"
                }
              }
            }
          },
          "400": {
            "description": "invalid input, object invalid"
          }
        },
        "deprecated": true
      }
    },
    "/api/v1/Clients/update": {
      "post": {
        "tags": [
          "Clients"
        ],
        "summary": "Update existing client.",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateClientModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateClientModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateClientModel"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Client"
                }
              }
            }
          },
          "400": {
            "description": "invalid input, object invalid"
          }
        },
        "deprecated": true
      }
    },
    "/api/v1/Clients/delete/{clientId}": {
      "post": {
        "tags": [
          "Clients"
        ],
        "summary": "Delete a client",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Client was successfully deleted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteClientResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid clientId"
          }
        }
      }
    },
    "/api/v1/Clients/reactivate/{clientId}": {
      "post": {
        "tags": [
          "Clients"
        ],
        "summary": "Reactivate a client",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Client was successfully reactivated",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReactivateClientResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid clientId"
          }
        }
      }
    },
    "/api/v1/Clients/{clientId}/assignments": {
      "get": {
        "tags": [
          "Clients"
        ],
        "summary": "returns information of a client staff assignments",
        "operationId": "GetClientStaffAssignments",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "description": "The id assigned to a client by Rehink Behavioral Health",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "example": 182849
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/StaffAssignment"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Clients/{clientId}/assignments/add": {
      "post": {
        "tags": [
          "Clients"
        ],
        "summary": "creates new assignment",
        "operationId": "AddClientStaffAssignment",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "description": "The id assigned to a client by Rehink Behavioral Health",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "example": 182849
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/NewStaffAssignment"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/NewStaffAssignment"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/NewStaffAssignment"
                }
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/StaffAssignment"
                  }
                }
              }
            }
          },
          "400": {
            "description": "invalid input, object invalid"
          }
        }
      }
    },
    "/api/v1/Clients/{clientId}/assignments/{assignmentId}/delete": {
      "post": {
        "tags": [
          "Clients"
        ],
        "summary": "removes assignment",
        "operationId": "RemoveClientStaffAssignment",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "description": "The id assigned to a client by Rehink Behavioral Health",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "example": 182849
          },
          {
            "name": "assignmentId",
            "in": "path",
            "description": "The id of assignment to remove",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "example": 182849
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseStatus"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Clients/deleteauthorizations": {
      "post": {
        "tags": [
          "Clients"
        ],
        "summary": "Remove one or more client authorizations",
        "requestBody": {
          "description": "List of authorization ids for remove.",
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "example": [
                183547,
                183548,
                183549
              ]
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "example": [
                183547,
                183548,
                183549
              ]
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "example": [
                183547,
                183548,
                183549
              ]
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseStatus"
                }
              }
            }
          },
          "400": {
            "description": "invalid input, object invalid"
          }
        }
      }
    },
    "/api/v1/Clients/files/add": {
      "post": {
        "tags": [
          "Clients"
        ],
        "summary": "Upload file to file cabinet.",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ClientFileModel"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ClientFileModel"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ClientFileModel"
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "file added",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ClientFileModel"
                  }
                }
              }
            }
          },
          "400": {
            "description": "invalid input, object invalid"
          }
        }
      }
    },
    "/api/v1/Clients/files/deletebyids": {
      "post": {
        "tags": [
          "Clients"
        ],
        "summary": "Delete File by ids from file cabinet",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "example": [
                5851490,
                5851491
              ]
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "example": [
                5851490,
                5851491
              ]
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "example": [
                5851490,
                5851491
              ]
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ClientDeleteFilesByIdModel"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request"
          }
        }
      }
    },
    "/api/v1/Clients/files/deletebyname": {
      "post": {
        "tags": [
          "Clients"
        ],
        "summary": "Delete File by names from file cabinet",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ClientDeleteFilesByNameModel"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ClientDeleteFilesByNameModel"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ClientDeleteFilesByNameModel"
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ClientDeleteFilesByNameModel"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request"
          }
        }
      }
    },
    "/api/v1/ClientsAuthorizations": {
      "get": {
        "tags": [
          "ClientsAuthorizations"
        ],
        "summary": "Returns Client Authorizations for the current company account",
        "parameters": [
          {
            "name": "IncludeDeleted",
            "in": "query",
            "description": "Indicates whether response includes deleted records or not",
            "schema": {
              "type": "boolean",
              "example": true
            },
            "example": true
          },
          {
            "name": "After",
            "in": "query",
            "description": "All records with Last Modified Date Time after the date timestamp will be returned.",
            "schema": {
              "type": "string",
              "format": "date-time",
              "example": "2021-12-30T00:00:00Z"
            },
            "example": "2021-12-30T00:00:00Z"
          },
          {
            "name": "PageSize",
            "in": "query",
            "description": "Data page size",
            "schema": {
              "maximum": 50,
              "minimum": 10,
              "type": "integer",
              "format": "int32",
              "example": 10
            },
            "example": 10
          },
          {
            "name": "CurrentPage",
            "in": "query",
            "description": "Data page number",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32",
              "example": 1
            },
            "example": 1
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Returns all client authorizations for your account",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetClientAuthorizationResponseModelSearchResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid account"
          }
        }
      }
    },
    "/api/v1/ClientsAuthorizations/add": {
      "post": {
        "tags": [
          "ClientsAuthorizations"
        ],
        "summary": "Creates a new Client Authorization for the current company account",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddClientAuthorizationRequestModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AddClientAuthorizationRequestModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AddClientAuthorizationRequestModel"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Client authorization created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AddClientAuthorizationResponseModel"
                }
              }
            }
          },
          "400": {
            "description": "Invalid account or invalid model (see validation errors)"
          }
        }
      }
    },
    "/api/v1/ClientsAuthorizations/update": {
      "post": {
        "tags": [
          "ClientsAuthorizations"
        ],
        "summary": "Updates an existent Client Authorization for the current company account",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateClientAuthorizationRequestModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateClientAuthorizationRequestModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateClientAuthorizationRequestModel"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Client authorization updated",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateClientAuthorizationResponseModel"
                }
              }
            }
          },
          "400": {
            "description": "Invalid account or invalid model (see validation errors)"
          }
        }
      }
    },
    "/api/v1/ClientsAuthorizations/delete": {
      "post": {
        "tags": [
          "ClientsAuthorizations"
        ],
        "summary": "Deletes an existent Client Authorization for the current company account",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteClientAuthorizationRequestModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteClientAuthorizationRequestModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteClientAuthorizationRequestModel"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Client authorization deleted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteClientAuthorizationResponseModel"
                }
              }
            }
          },
          "400": {
            "description": "Invalid account or invalid model (see validation errors)"
          }
        }
      }
    },
    "/api/v1/ClientsAuthorizations/reactivate": {
      "post": {
        "tags": [
          "ClientsAuthorizations"
        ],
        "summary": "Reactivates deleted Client Authorization for the current company account",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteClientAuthorizationRequestModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteClientAuthorizationRequestModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteClientAuthorizationRequestModel"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Client authorization activated",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteClientAuthorizationResponseModel"
                }
              }
            }
          },
          "400": {
            "description": "Invalid account or invalid model (see validation errors)"
          }
        }
      }
    },
    "/api/v1/ClientsStatuses": {
      "get": {
        "tags": [
          "ClientsStatuses"
        ],
        "summary": "returns all clients statuses for account id",
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ClientStatus"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid account"
          }
        }
      }
    },
    "/api/v1/locations": {
      "get": {
        "tags": [
          "CompanyAccount"
        ],
        "summary": "Returns Company Account Locations by account id",
        "description": "You can add filter params to the query string; \r\nFor now you can use '?includeDeleted=true' to get all account locations",
        "parameters": [
          {
            "name": "IncludeDeleted",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Returns all locations for your account",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProviderLocation"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/locations/search": {
      "get": {
        "tags": [
          "CompanyAccount"
        ],
        "summary": "Returns Company Account Locations by account id",
        "description": "You can add filter params to the query string",
        "parameters": [
          {
            "name": "IncludeDeleted",
            "in": "query",
            "description": "Indicates whether response includes deleted records or not",
            "schema": {
              "type": "boolean",
              "example": true
            },
            "example": true
          },
          {
            "name": "After",
            "in": "query",
            "description": "All records with Last Modified Date Time after the date timestamp will be returned.",
            "schema": {
              "type": "string",
              "format": "date-time",
              "example": "2021-12-30T00:00:00Z"
            },
            "example": "2021-12-30T00:00:00Z"
          },
          {
            "name": "PageSize",
            "in": "query",
            "description": "Data page size",
            "schema": {
              "maximum": 50,
              "minimum": 10,
              "type": "integer",
              "format": "int32",
              "example": 10
            },
            "example": 10
          },
          {
            "name": "CurrentPage",
            "in": "query",
            "description": "Data page number",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32",
              "example": 1
            },
            "example": 1
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Returns all locations for your account",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProviderLocationSearchResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/staffcredentials": {
      "get": {
        "tags": [
          "CompanyAccount"
        ],
        "summary": "returns Company Account Staff Credentials by account id",
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/StaffCredential"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request (Invalid account)"
          }
        }
      }
    },
    "/api/v1/locations/add": {
      "post": {
        "tags": [
          "CompanyAccount"
        ],
        "summary": "Adds batch of new company locations",
        "description": "Possible errors are:\r\n'Invalid input for models fields',\r\n'You are trying to create location with the same Street1, Street2, StateAbbreviation, Zip'",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/AddLocationsRequestModel"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/AddLocationsRequestModel"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/AddLocationsRequestModel"
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "If any of batch models was created",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AddLocationsResponseModel"
                  }
                }
              }
            }
          },
          "400": {
            "description": "If all models in batch werent created"
          }
        }
      }
    },
    "/api/v1/locations/update": {
      "post": {
        "tags": [
          "CompanyAccount"
        ],
        "summary": "Updates existing company location",
        "description": "Possible errors are:\r\n'Invalid input for models fields',\r\n'You are trying to update existing location with the same Street1, Street2, StateAbbreviation, Zip as in location that has already existed'",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/UpdateLocationsRequestModel"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/UpdateLocationsRequestModel"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/UpdateLocationsRequestModel"
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "If any of batch models was created",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UpdateLocationsResponseModel"
                  }
                }
              }
            }
          },
          "400": {
            "description": "If all models in batch werent updated"
          }
        }
      }
    },
    "/api/v1/locations/deletebyids": {
      "post": {
        "tags": [
          "CompanyAccount"
        ],
        "summary": "Deletes company locations by ids",
        "description": "Possible errors are:\r\n'Cannot find location with this id',\r\n'Location was already deleted',\r\n'Location was assigned to staff member or client'",
        "requestBody": {
          "description": "Array of company location ids",
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "example": [
                3933,
                3934
              ]
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "example": [
                3933,
                3934
              ]
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "example": [
                3933,
                3934
              ]
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "If any of batch models was deleted",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DeleteLocationByIdResponseModel"
                  }
                }
              }
            }
          },
          "400": {
            "description": "If all models in batch werent deleted"
          }
        }
      }
    },
    "/api/v1/locations/deletebyname": {
      "post": {
        "tags": [
          "CompanyAccount"
        ],
        "summary": "Delete Company Account Location by names",
        "description": "Possible errors are:\r\n'Cannot find location with this name',\r\n'Location was already deleted',\r\n'Location was assigned to staff member or client',\r\n'Location is belong to another user'",
        "requestBody": {
          "description": "Array of company location names",
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "example": [
                "test3"
              ]
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "example": [
                "test3"
              ]
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "example": [
                "test3"
              ]
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "If any of batch models was deleted",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DeleteLocationByNameResponseModel"
                  }
                }
              }
            }
          },
          "400": {
            "description": "If all models in batch werent deleted"
          }
        }
      }
    },
    "/api/v1/locations/reactivate": {
      "post": {
        "tags": [
          "CompanyAccount"
        ],
        "summary": "Reactivates deleted locations",
        "description": "Possible errors are:\r\n'Cannot find location with this name',\r\n'Cannot reactivate existing locations',\r\n'You are trying to reactivate existing location with the same Street1, Street2, StateAbbreviation, Zip as in location that has already existed'",
        "requestBody": {
          "description": "Array of Company Account Location ids",
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "example": [
                3933,
                3934
              ]
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "example": [
                3933,
                3934
              ]
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "example": [
                3933,
                3934
              ]
            }
          }
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "If any of batch models was reactivated",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ReactivateLocationResponceModel"
                  }
                }
              }
            }
          },
          "400": {
            "description": "If all models in batch werent reactivated"
          }
        }
      }
    },
    "/api/v1/EmployeeTypes": {
      "get": {
        "tags": [
          "EmployeeTypes"
        ],
        "summary": "returns all employee types for account id",
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EmployeeType"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid account"
          }
        }
      }
    },
    "/api/v1/Funders": {
      "get": {
        "tags": [
          "Funders"
        ],
        "summary": "get all Provider Funders by account id",
        "description": "There is possible error:\r\n'Invalid account'",
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Returns all provider funders for your account",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Funder"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Funders/all": {
      "get": {
        "tags": [
          "Funders"
        ],
        "summary": "get all funders by account id",
        "description": "There is possible error:\r\n'Invalid account'",
        "parameters": [
          {
            "name": "IncludeDeleted",
            "in": "query",
            "description": "Indicates whether response includes deleted records or not",
            "schema": {
              "type": "boolean",
              "example": true
            },
            "example": true
          },
          {
            "name": "After",
            "in": "query",
            "description": "All records with Last Modified Date Time after the date timestamp will be returned.",
            "schema": {
              "type": "string",
              "format": "date-time",
              "example": "2021-12-30T00:00:00Z"
            },
            "example": "2021-12-30T00:00:00Z"
          },
          {
            "name": "PageSize",
            "in": "query",
            "description": "Data page size",
            "schema": {
              "maximum": 50,
              "minimum": 10,
              "type": "integer",
              "format": "int32",
              "example": 10
            },
            "example": 10
          },
          {
            "name": "CurrentPage",
            "in": "query",
            "description": "Data page number",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32",
              "example": 1
            },
            "example": 1
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Returns all funders for your account",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HcFunderSearchResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Funders/{funderId}": {
      "get": {
        "tags": [
          "Funders"
        ],
        "summary": "get a funder by funder id",
        "description": "There are some possible errors:\r\n'Funder belongs another account',\r\n'The funder with this id does not exist or already deleted',\r\n'Invalid account'",
        "parameters": [
          {
            "name": "funderId",
            "in": "path",
            "description": "Id of a funder you want to get",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "example": 142258
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "get the funder",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HcFunder"
                }
              }
            }
          },
          "400": {
            "description": "Invalid funderId"
          }
        }
      }
    },
    "/api/v1/Funders/add": {
      "post": {
        "tags": [
          "Funders"
        ],
        "summary": "Create new funder",
        "description": "There are some possible errors:\r\n'The counrty with this name isn't exist',\r\n'The state with this abbreviation isn't exist',\r\n'Invalid account'",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateFunderModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateFunderModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateFunderModel"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "funder was successfully created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HcFunder"
                }
              }
            }
          },
          "400": {
            "description": "Invalid funderId"
          }
        }
      }
    },
    "/api/v1/Funders/update": {
      "post": {
        "tags": [
          "Funders"
        ],
        "summary": "Update exist funder",
        "description": "There are some possible errors:\r\n'The funder with this id does not exist or already deleted',\r\n'The counrty with this name isn't exist',\r\n'The state with this abbreviation isn't exist',\r\n'Invalid account'",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateFunderModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateFunderModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateFunderModel"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "funder was successfully updated",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HcFunder"
                }
              }
            }
          },
          "400": {
            "description": "Invalid funderId"
          }
        }
      }
    },
    "/api/v1/Funders/delete/{funderId}": {
      "post": {
        "tags": [
          "Funders"
        ],
        "summary": "Delete exist funder by id",
        "description": "There are some possible errors:\r\n'The funder with this id does not exist or already deleted',\r\n'Funder belongs another account',\r\n'Invalid account'",
        "parameters": [
          {
            "name": "funderId",
            "in": "path",
            "description": "Id of a funder you want to delete",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "example": 142258
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "funder was successfully deleted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HcFunder"
                }
              }
            }
          },
          "400": {
            "description": "Invalid funderId"
          }
        }
      }
    },
    "/api/v1/Funders/reactivate/{funderId}": {
      "post": {
        "tags": [
          "Funders"
        ],
        "summary": "Reactivate exist funder by id",
        "description": "There are some possible errors:\r\n'The funder with this id does not exist or already deleted',\r\n'Funder belongs another account',\r\n'Funder is already active',\r\n'Invalid account'",
        "parameters": [
          {
            "name": "funderId",
            "in": "path",
            "description": "Id of a funder you want to reactivate",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "example": 142258
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "funder was successfully reactivated",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HcFunder"
                }
              }
            }
          },
          "400": {
            "description": "Invalid funderId"
          }
        }
      }
    },
    "/api/v1/FunderServiceLine": {
      "get": {
        "tags": [
          "FunderServiceLine"
        ],
        "summary": "Returns Funder service lines for the current company account",
        "parameters": [
          {
            "name": "IncludeDeleted",
            "in": "query",
            "description": "Indicates whether response includes deleted records or not",
            "schema": {
              "type": "boolean",
              "example": true
            },
            "example": true
          },
          {
            "name": "After",
            "in": "query",
            "description": "All records with Last Modified Date Time after the date timestamp will be returned.",
            "schema": {
              "type": "string",
              "format": "date-time",
              "example": "2021-12-30T00:00:00Z"
            },
            "example": "2021-12-30T00:00:00Z"
          },
          {
            "name": "PageSize",
            "in": "query",
            "description": "Data page size",
            "schema": {
              "maximum": 50,
              "minimum": 10,
              "type": "integer",
              "format": "int32",
              "example": 10
            },
            "example": 10
          },
          {
            "name": "CurrentPage",
            "in": "query",
            "description": "Data page number",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32",
              "example": 1
            },
            "example": 1
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Returns all funder servicec lines for your account",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetFunderServiceLineResponseModelSearchResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid account"
          }
        }
      }
    },
    "/api/v1/FunderServiceLine/add": {
      "post": {
        "tags": [
          "FunderServiceLine"
        ],
        "summary": "Creates a new Funder service line for the current company account",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddFunderServiceLineRequestModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AddFunderServiceLineRequestModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AddFunderServiceLineRequestModel"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Funder service line created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetFunderServiceLineResponseModel"
                }
              }
            }
          },
          "400": {
            "description": "Invalid account or invalid model (see validation errors)"
          }
        }
      }
    },
    "/api/v1/FunderServiceLine/update": {
      "post": {
        "tags": [
          "FunderServiceLine"
        ],
        "summary": "Updates an existent Funder service line for the current company account",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateFunderServiceLineRequestModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateFunderServiceLineRequestModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateFunderServiceLineRequestModel"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Funder service line updated",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetFunderServiceLineResponseModel"
                }
              }
            }
          },
          "400": {
            "description": "Invalid account or invalid model"
          }
        }
      }
    },
    "/api/v1/FunderServiceLine/delete": {
      "post": {
        "tags": [
          "FunderServiceLine"
        ],
        "summary": "Deletes an existent Funder service line for the current company account",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteFunderServiceLineRequestModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteFunderServiceLineRequestModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteFunderServiceLineRequestModel"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Funder service line deleted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteFunderServiceLineResponseModel"
                }
              }
            }
          },
          "400": {
            "description": "Invalid account or invalid model"
          }
        }
      }
    },
    "/api/v1/FunderServiceLine/reactivate": {
      "post": {
        "tags": [
          "FunderServiceLine"
        ],
        "summary": "Reactivates deleted Funder service line for the current company account",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteFunderServiceLineRequestModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteFunderServiceLineRequestModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteFunderServiceLineRequestModel"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Funder service line activated",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteFunderServiceLineResponseModel"
                }
              }
            }
          },
          "400": {
            "description": "Invalid account or invalid model"
          }
        }
      }
    },
    "/api/v1/ReferringProviders": {
      "get": {
        "tags": [
          "ReferringProviders"
        ],
        "summary": "Returns all Referring Providers for the current Company Account",
        "parameters": [
          {
            "name": "IncludeDeleted",
            "in": "query",
            "description": "Indicates whether response includes deleted records or not",
            "schema": {
              "type": "boolean",
              "example": true
            },
            "example": true
          },
          {
            "name": "After",
            "in": "query",
            "description": "All records with Last Modified Date Time after the date timestamp will be returned.",
            "schema": {
              "type": "string",
              "format": "date-time",
              "example": "2021-12-30T00:00:00Z"
            },
            "example": "2021-12-30T00:00:00Z"
          },
          {
            "name": "PageSize",
            "in": "query",
            "description": "Data page size",
            "schema": {
              "maximum": 50,
              "minimum": 10,
              "type": "integer",
              "format": "int32",
              "example": 10
            },
            "example": 10
          },
          {
            "name": "CurrentPage",
            "in": "query",
            "description": "Data page number",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32",
              "example": 1
            },
            "example": 1
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReferringProviderGetResponseSearchResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid account, invalid input"
          }
        }
      }
    },
    "/api/v1/ReferringProviders/add": {
      "post": {
        "tags": [
          "ReferringProviders"
        ],
        "summary": "Adds new Referring Provider to the current Company Account",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReferringProviderAddRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ReferringProviderAddRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ReferringProviderAddRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Referring Provider added",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReferringProviderResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid input, object invalid or current Referring Provider exists"
          }
        }
      }
    },
    "/api/v1/ReferringProviders/update": {
      "post": {
        "tags": [
          "ReferringProviders"
        ],
        "summary": "Updates existing Referring Provider",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReferringProviderUpdateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ReferringProviderUpdateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ReferringProviderUpdateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Referring Provider updated",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReferringProviderResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid input, object invalid, current Referring Provider doesn't exist or deleted or specified Referring Provider already exists"
          }
        }
      }
    },
    "/api/v1/ReferringProviders/delete": {
      "post": {
        "tags": [
          "ReferringProviders"
        ],
        "summary": "Deletes Referring Provider by id",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReferringProviderDeleteRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ReferringProviderDeleteRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ReferringProviderDeleteRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Referring Provider deleted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReferringProviderDeleteResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid input, invalid id, current Referring Provider doesn't exist or already deleted"
          }
        }
      }
    },
    "/api/v1/ReferringProviders/reactivate": {
      "post": {
        "tags": [
          "ReferringProviders"
        ],
        "summary": "Reactivates deleted Referring Provider by id",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReferringProviderReactivateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ReferringProviderReactivateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ReferringProviderReactivateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Referring Provider reactivated",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReferringProviderDeleteResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid input, invalid id, current Referring Provider doesn't exist or not deleted or specified Referring Provider already exists"
          }
        }
      }
    },
    "/api/v1/ServiceLines": {
      "get": {
        "tags": [
          "ServiceLines"
        ],
        "summary": "Returns all Service Lines for the current Company Account",
        "parameters": [
          {
            "name": "IncludeDeleted",
            "in": "query",
            "description": "Indicates whether response includes deleted records or not",
            "schema": {
              "type": "boolean",
              "example": true
            },
            "example": true
          },
          {
            "name": "After",
            "in": "query",
            "description": "All records with Last Modified Date Time after the date timestamp will be returned.",
            "schema": {
              "type": "string",
              "format": "date-time",
              "example": "2021-12-30T00:00:00Z"
            },
            "example": "2021-12-30T00:00:00Z"
          },
          {
            "name": "PageSize",
            "in": "query",
            "description": "Data page size",
            "schema": {
              "maximum": 50,
              "minimum": 10,
              "type": "integer",
              "format": "int32",
              "example": 10
            },
            "example": 10
          },
          {
            "name": "CurrentPage",
            "in": "query",
            "description": "Data page number",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32",
              "example": 1
            },
            "example": 1
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ServiceLineGetResponseSearchResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid account"
          }
        }
      }
    },
    "/api/v1/ServiceLines/add": {
      "post": {
        "tags": [
          "ServiceLines"
        ],
        "summary": "Adds new Service Line to the current Company Account",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ServiceLineAddRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ServiceLineAddRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ServiceLineAddRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Service Line added",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ServiceLineResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid input, object invalid or current Service Line exists"
          }
        }
      }
    },
    "/api/v1/ServiceLines/update": {
      "post": {
        "tags": [
          "ServiceLines"
        ],
        "summary": "Updates existing Service Line",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ServiceLineUpdateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ServiceLineUpdateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ServiceLineUpdateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Service Line updated",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ServiceLineResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid input, object invalid, current Service Line doesn't exist or deleted or Service Line with specified name already exists"
          }
        }
      }
    },
    "/api/v1/ServiceLines/delete": {
      "post": {
        "tags": [
          "ServiceLines"
        ],
        "summary": "Deletes Service Line by id",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ServiceLineDeleteRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ServiceLineDeleteRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ServiceLineDeleteRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Service Line deleted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ServiceLineDeleteResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid input, invalid id, current Service Line doesn't exist or already deleted"
          }
        }
      }
    },
    "/api/v1/ServiceLines/reactivate": {
      "post": {
        "tags": [
          "ServiceLines"
        ],
        "summary": "Reactivates deleted Service Line by id",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ServiceLineDeleteRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ServiceLineDeleteRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ServiceLineDeleteRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Service Line reactivated",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ServiceLineDeleteResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid input, invalid id, current Service Line doesn't exist or not deleted or Service Line with specified name already exists"
          }
        }
      }
    },
    "/api/v1/Services": {
      "get": {
        "tags": [
          "Services"
        ],
        "summary": "Returns all Services for the current Company Account",
        "parameters": [
          {
            "name": "IncludeDeleted",
            "in": "query",
            "description": "Indicates whether response includes deleted records or not",
            "schema": {
              "type": "boolean",
              "example": true
            },
            "example": true
          },
          {
            "name": "After",
            "in": "query",
            "description": "All records with Last Modified Date Time after the date timestamp will be returned.",
            "schema": {
              "type": "string",
              "format": "date-time",
              "example": "2021-12-30T00:00:00Z"
            },
            "example": "2021-12-30T00:00:00Z"
          },
          {
            "name": "PageSize",
            "in": "query",
            "description": "Data page size",
            "schema": {
              "maximum": 50,
              "minimum": 10,
              "type": "integer",
              "format": "int32",
              "example": 10
            },
            "example": 10
          },
          {
            "name": "CurrentPage",
            "in": "query",
            "description": "Data page number",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32",
              "example": 1
            },
            "example": 1
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ServiceGetResponseSearchResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid account"
          }
        }
      }
    },
    "/api/v1/Services/add": {
      "post": {
        "tags": [
          "Services"
        ],
        "summary": "Adds new Service to the current Company Account",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ServiceAddRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ServiceAddRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ServiceAddRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Service added",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ServiceResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid input, object invalid or Service with specified name already exists"
          }
        }
      }
    },
    "/api/v1/Services/update": {
      "post": {
        "tags": [
          "Services"
        ],
        "summary": "Updates existing Service",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ServiceUpdateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ServiceUpdateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ServiceUpdateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Service updated",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ServiceResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid input, object invalid, current Service doesn't exist or deleted or Service with specified name already exists"
          }
        }
      }
    },
    "/api/v1/Services/delete": {
      "post": {
        "tags": [
          "Services"
        ],
        "summary": "Deletes Service by id",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ServiceDeleteRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ServiceDeleteRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ServiceDeleteRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Service deleted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ServiceDeleteResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid input, invalid id, current Service doesn't exist or already deleted"
          }
        }
      }
    },
    "/api/v1/Services/reactivate": {
      "post": {
        "tags": [
          "Services"
        ],
        "summary": "Reactivates deleted Service by id",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ServiceReactivateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ServiceReactivateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ServiceReactivateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Service reactivated",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ServiceDeleteResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid input, invalid id, current Service doesn't exist or not deleted or Service with specified name already exists"
          }
        }
      }
    },
    "/api/v1/Appointments/sessionnotes": {
      "get": {
        "tags": [
          "SessionNotes"
        ],
        "summary": "To get session notes which appointment has Last Modified Date after timestamp",
        "parameters": [
          {
            "name": "after",
            "in": "query",
            "description": "Returns session notes which appointment has Last Modified Date after timestamp. Example- 2021-12-30T00:00:00Z",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "2021-12-30T00:00:00Z"
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SessionNotesResponseModel"
                }
              }
            }
          },
          "400": {
            "description": "Invalid timestamp"
          }
        }
      }
    },
    "/api/v1/Appointments/sessionnotes/{appointmentId}": {
      "get": {
        "tags": [
          "SessionNotes"
        ],
        "summary": "To get session note by appointment id",
        "parameters": [
          {
            "name": "appointmentId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "example": 15013191
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Successful response returns session note if it's found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SessionNotesResponseModel"
                }
              }
            }
          },
          "400": {
            "description": "invalid appointment ID"
          }
        }
      }
    },
    "/api/v1/Staffs/credentials": {
      "get": {
        "tags": [
          "StaffCredentials"
        ],
        "summary": "Returns all Credentials assigned to the current Company Account Staffs",
        "parameters": [
          {
            "name": "IncludeAttachment",
            "in": "query",
            "description": "Indicates whether response includes attachment or not",
            "schema": {
              "type": "boolean",
              "example": true
            },
            "example": true
          },
          {
            "name": "IncludeDeleted",
            "in": "query",
            "description": "Indicates whether response includes deleted records or not",
            "schema": {
              "type": "boolean",
              "example": true
            },
            "example": true
          },
          {
            "name": "After",
            "in": "query",
            "description": "All records with Last Modified Date Time after the date timestamp will be returned.",
            "schema": {
              "type": "string",
              "format": "date-time",
              "example": "2021-12-30T00:00:00Z"
            },
            "example": "2021-12-30T00:00:00Z"
          },
          {
            "name": "PageSize",
            "in": "query",
            "description": "Data page size",
            "schema": {
              "maximum": 50,
              "minimum": 10,
              "type": "integer",
              "format": "int32",
              "example": 10
            },
            "example": 10
          },
          {
            "name": "CurrentPage",
            "in": "query",
            "description": "Data page number",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32",
              "example": 1
            },
            "example": 1
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StaffCredentialGetResponseSearchResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid account, invalid input"
          }
        }
      }
    },
    "/api/v1/Staffs/credentials/add": {
      "post": {
        "tags": [
          "StaffCredentials"
        ],
        "summary": "Add one or more Staff Credential information into Rethink",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/StaffCredentialAddRequestModel"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/StaffCredentialAddRequestModel"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/StaffCredentialAddRequestModel"
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Staff Credentials added",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StaffCredentialsResponseModel"
                }
              }
            }
          },
          "400": {
            "description": "Invalid input, object invalid or Staff Credential already exists"
          }
        }
      }
    },
    "/api/v1/Staffs/credentials/update": {
      "post": {
        "tags": [
          "StaffCredentials"
        ],
        "summary": "Update one or more Staff Credential information",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/StaffCredentialUpdateRequestModel"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/StaffCredentialUpdateRequestModel"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/StaffCredentialUpdateRequestModel"
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Saff Credentials updated",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StaffCredentialsResponseModel"
                }
              }
            }
          },
          "400": {
            "description": "Invalid input, object invalid, current Staff Credential doesn't exist or deleted or Staff Credential already exists"
          }
        }
      }
    },
    "/api/v1/Staffs/credentials/delete": {
      "post": {
        "tags": [
          "StaffCredentials"
        ],
        "summary": "Remove one or more Staff Credential information",
        "requestBody": {
          "description": "List of Staff Credential ids for remove.",
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "example": [
                140560,
                146789
              ]
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "example": [
                140560,
                146789
              ]
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "example": [
                140560,
                146789
              ]
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Staff Credentials deleted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StaffRemoveCredentialModel"
                }
              }
            }
          },
          "400": {
            "description": "Invalid input, invalid id, Staff Credential doesn't exist or already deleted"
          }
        }
      }
    },
    "/api/v1/Staffs/credentials/reactivate": {
      "post": {
        "tags": [
          "StaffCredentials"
        ],
        "summary": "Reactivates one or more deleted Staff Credential information",
        "requestBody": {
          "description": "List of Staff Credential ids for reactivate.",
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "example": [
                140560,
                146789
              ]
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "example": [
                140560,
                146789
              ]
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "example": [
                140560,
                146789
              ]
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Staff Credential reactivated",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StaffRemoveCredentialModel"
                }
              }
            }
          },
          "400": {
            "description": "Invalid input, invalid id, Staff Credential doesn't exist or not deleted or Staff Credential already exists"
          }
        }
      }
    },
    "/api/v1/StaffCustomFields/{staffMemberId}": {
      "get": {
        "tags": [
          "StaffCustomFields"
        ],
        "summary": "Retrieves staff custom fields.",
        "parameters": [
          {
            "name": "staffMemberId",
            "in": "path",
            "description": "The Staff ID",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StaffCustomFieldData"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/StaffCustomFields": {
      "post": {
        "tags": [
          "StaffCustomFields"
        ],
        "summary": "Adds staff custom fields.",
        "requestBody": {
          "description": "The model containing data for adding staff custom fields.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddStaffCustomFields"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AddStaffCustomFields"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AddStaffCustomFields"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StaffCustomFieldData"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "StaffCustomFields"
        ],
        "summary": "Updates staff custom fields.",
        "requestBody": {
          "description": "The model containing data for updating staff custom fields.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateStaffCustomFields"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateStaffCustomFields"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateStaffCustomFields"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StaffCustomFieldData"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Staffs/files/add": {
      "post": {
        "tags": [
          "StaffFiles"
        ],
        "summary": "Upload file to file cabinet.",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/StaffFileModel"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/StaffFileModel"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/StaffFileModel"
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "file added",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/StaffFileModel"
                  }
                }
              }
            }
          },
          "400": {
            "description": "invalid input, object invalid"
          }
        }
      }
    },
    "/api/v1/Staffs/files/deletebyids": {
      "post": {
        "tags": [
          "StaffFiles"
        ],
        "summary": "Delete File by ids from file cabinet",
        "requestBody": {
          "description": "List of staff file ids",
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "example": [
                8173224,
                8173225
              ]
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "example": [
                8173224,
                8173225
              ]
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "example": [
                8173224,
                8173225
              ]
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/StaffDeleteFilesByIdModel"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request"
          }
        }
      }
    },
    "/api/v1/Staffs/files/deletebyname": {
      "post": {
        "tags": [
          "StaffFiles"
        ],
        "summary": "Delete File by names from file cabinet",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/StaffDeleteFilesByNameModel"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/StaffDeleteFilesByNameModel"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/StaffDeleteFilesByNameModel"
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/StaffDeleteFilesByNameModel"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request"
          }
        }
      }
    },
    "/api/v1/StaffLocations": {
      "get": {
        "tags": [
          "StaffLocations"
        ],
        "summary": "Returns all Staff Locations for the current Company Account",
        "parameters": [
          {
            "name": "IncludeDeleted",
            "in": "query",
            "description": "Indicates whether response includes deleted records or not",
            "schema": {
              "type": "boolean",
              "example": true
            },
            "example": true
          },
          {
            "name": "After",
            "in": "query",
            "description": "All records with Last Modified Date Time after the date timestamp will be returned.",
            "schema": {
              "type": "string",
              "format": "date-time",
              "example": "2021-12-30T00:00:00Z"
            },
            "example": "2021-12-30T00:00:00Z"
          },
          {
            "name": "PageSize",
            "in": "query",
            "description": "Data page size",
            "schema": {
              "maximum": 50,
              "minimum": 10,
              "type": "integer",
              "format": "int32",
              "example": 10
            },
            "example": 10
          },
          {
            "name": "CurrentPage",
            "in": "query",
            "description": "Data page number",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32",
              "example": 1
            },
            "example": 1
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StaffLocationModelSearchResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid account"
          }
        }
      }
    },
    "/api/v1/StaffLocations/add": {
      "post": {
        "tags": [
          "StaffLocations"
        ],
        "summary": "Add new Location to Staff",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StaffLocationAddRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/StaffLocationAddRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/StaffLocationAddRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Staff Location added",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StaffLocationResponseModel"
                }
              }
            }
          },
          "400": {
            "description": "Invalid input, object invalid or current Staff Location exists"
          }
        }
      }
    },
    "/api/v1/StaffLocations/update": {
      "post": {
        "tags": [
          "StaffLocations"
        ],
        "summary": "Update existing staff location.",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StaffLocationUpdateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/StaffLocationUpdateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/StaffLocationUpdateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Staff Location updated",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StaffLocationResponseModel"
                }
              }
            }
          },
          "400": {
            "description": "Invalid input, object invalid or current Staff Location does not exists"
          }
        }
      }
    },
    "/api/v1/StaffLocations/delete": {
      "post": {
        "tags": [
          "StaffLocations"
        ],
        "summary": "Delete staff location",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StaffLocationDeleteRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/StaffLocationDeleteRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/StaffLocationDeleteRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Staff Location deleted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StaffLocationDeleteResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid input, current Staff Location doesn't exists or already deleted"
          }
        }
      }
    },
    "/api/v1/StaffLocations/reactivate": {
      "post": {
        "tags": [
          "StaffLocations"
        ],
        "summary": "Reactivate staff location",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StaffLocationReactivateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/StaffLocationReactivateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/StaffLocationReactivateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Staff Location reactivated",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StaffLocationDeleteResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid input, current Staff Location doesn't exists or not deleted"
          }
        }
      }
    },
    "/api/v1/Staffs/all": {
      "get": {
        "tags": [
          "StaffMember"
        ],
        "summary": "Returns information for all staff in the account",
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GetStaffMemberResponseModel"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Staffs/search": {
      "get": {
        "tags": [
          "StaffMember"
        ],
        "summary": "Returns all Staff Members for the current Company Account",
        "parameters": [
          {
            "name": "IncludeDeleted",
            "in": "query",
            "description": "Indicates whether response includes deleted records or not",
            "schema": {
              "type": "boolean",
              "example": true
            },
            "example": true
          },
          {
            "name": "After",
            "in": "query",
            "description": "All records with Last Modified Date Time after the date timestamp will be returned.",
            "schema": {
              "type": "string",
              "format": "date-time",
              "example": "2021-12-30T00:00:00Z"
            },
            "example": "2021-12-30T00:00:00Z"
          },
          {
            "name": "PageSize",
            "in": "query",
            "description": "Data page size",
            "schema": {
              "maximum": 50,
              "minimum": 10,
              "type": "integer",
              "format": "int32",
              "example": 10
            },
            "example": 10
          },
          {
            "name": "CurrentPage",
            "in": "query",
            "description": "Data page number",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32",
              "example": 1
            },
            "example": 1
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetStaffMemberResponseModelSearchResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid account, invalid input"
          }
        }
      }
    },
    "/api/v1/Staffs/{staffId}": {
      "get": {
        "tags": [
          "StaffMember"
        ],
        "summary": "Returns information of a staff member that exists in Rethink",
        "operationId": "GetStaffAsync",
        "parameters": [
          {
            "name": "staffId",
            "in": "path",
            "description": "The id assigned to a staff Id by Rehink Behavioral Health",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "example": 337576
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetStaffMemberResponseModel"
                }
              }
            }
          },
          "400": {
            "description": "The specified staff Id is invalid"
          },
          "404": {
            "description": "A staff member with the specified Id was not found"
          }
        }
      },
      "put": {
        "tags": [
          "StaffMember"
        ],
        "summary": "Updates staff member",
        "parameters": [
          {
            "name": "staffId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateStaffMemberRequestModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateStaffMemberRequestModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateStaffMemberRequestModel"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Staff Member updated successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateStaffMemberResponseModel"
                }
              }
            }
          },
          "400": {
            "description": "Staff Member wasnt updated"
          }
        }
      },
      "patch": {
        "tags": [
          "StaffMember"
        ],
        "summary": "Updates staff member",
        "parameters": [
          {
            "name": "staffId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateStaffMemberRequestModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateStaffMemberRequestModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateStaffMemberRequestModel"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Staff Member updated successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateStaffMemberResponseModel"
                }
              }
            }
          },
          "400": {
            "description": "Staff Member wasnt updated"
          }
        }
      }
    },
    "/api/v1/Staffs/add": {
      "post": {
        "tags": [
          "StaffMember"
        ],
        "summary": "Adds new staff member",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddStaffMemberRequestModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AddStaffMemberRequestModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AddStaffMemberRequestModel"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "201": {
            "description": "Staff Member added successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AddStaffMemberResponseModel"
                }
              }
            }
          },
          "400": {
            "description": "Staff Member wasnt added"
          }
        }
      }
    },
    "/api/v1/Staffs/update": {
      "post": {
        "tags": [
          "StaffMember"
        ],
        "summary": "Updates staff member",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateStaffMemberRequestModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateStaffMemberRequestModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateStaffMemberRequestModel"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Staff Member updated successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateStaffMemberResponseModel"
                }
              }
            }
          },
          "400": {
            "description": "Staff Member wasnt updated"
          }
        }
      }
    },
    "/api/v1/Staffs/delete/{id}": {
      "post": {
        "tags": [
          "StaffMember"
        ],
        "summary": "Deletes staff member",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Staff Member was deleted successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteStaffMemberResponseModel"
                }
              }
            }
          },
          "400": {
            "description": "Staff Member wasnt deleted"
          }
        }
      }
    },
    "/api/v1/Staffs/reactivate/{id}": {
      "post": {
        "tags": [
          "StaffMember"
        ],
        "summary": "Reactivates staff member",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Staff Member was reactivated successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReactivateStaffMemberResponseModel"
                }
              }
            }
          },
          "400": {
            "description": "Staff Member wasnt reactivated"
          }
        }
      }
    },
    "/api/v1/Staffs/{staffId}/paycodes": {
      "get": {
        "tags": [
          "StaffMember"
        ],
        "summary": "returns paycode list of a staff member that exists in Rethink",
        "parameters": [
          {
            "name": "staffId",
            "in": "path",
            "description": "The id assigned to a staff Id by Rehink Behavioral Health",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "example": 337576
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPayrollsModel"
                }
              }
            }
          },
          "400": {
            "description": "An error has occurred"
          }
        }
      }
    },
    "/api/v1/Staffs/paycodes/add": {
      "post": {
        "tags": [
          "StaffMember"
        ],
        "summary": "Add one or more staff paycodes to the staff profile",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePayroll"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePayroll"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePayroll"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreatePayrollResponseModel"
                }
              }
            }
          },
          "400": {
            "description": "An error has occurred"
          }
        }
      }
    },
    "/api/v1/Staffs/paycodes/update": {
      "post": {
        "tags": [
          "StaffMember"
        ],
        "summary": "Update one or more staff paycodes to the staff profile",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePayroll"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePayroll"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePayroll"
              }
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdatePayrollResponseModel"
                }
              }
            }
          },
          "400": {
            "description": "An error has occurred"
          }
        }
      }
    },
    "/api/v1/Staffs/paycodes/delete": {
      "post": {
        "tags": [
          "StaffMember"
        ],
        "summary": "Remove one or more staff paycodes",
        "requestBody": {
          "description": "List of staff paycode ids for remove.",
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "example": [
                140560,
                146789
              ]
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "example": [
                140560,
                146789
              ]
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "example": [
                140560,
                146789
              ]
            }
          },
          "required": true
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeletePayrollModel"
                }
              }
            }
          },
          "400": {
            "description": "An error has occurred"
          }
        }
      }
    },
    "/api/v1/Staffs/{staffId}/credentials": {
      "get": {
        "tags": [
          "StaffMember"
        ],
        "summary": "get staff credentials by a Staff ID",
        "parameters": [
          {
            "name": "staffId",
            "in": "path",
            "description": "ID assigned to the Staff when staff member was created in Rethink",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "example": 349126
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/StaffCredentialGetResponse"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/StaffPayCodes": {
      "get": {
        "tags": [
          "StaffPayCodes"
        ],
        "summary": "Returns information for all staff pay codes for a Company Account",
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/StaffPayCodeModel"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid account"
          }
        }
      }
    },
    "/api/v1/StaffRoles/all": {
      "get": {
        "tags": [
          "StaffRoles"
        ],
        "summary": "Returns information for all staff title roles for an Account",
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/StaffTitleRole"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid account"
          }
        }
      }
    },
    "/api/v1/StaffStatuses": {
      "get": {
        "tags": [
          "StaffStatuses"
        ],
        "summary": "returns information of staff statuses",
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/StaffMemberStatus"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/TimeZones": {
      "get": {
        "tags": [
          "TimeZones"
        ],
        "summary": "Returns all time zones for Rethink.",
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TimeZoneResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid account"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "AccountStaffCredentialAddRequest": {
        "required": [
          "credentialLicense"
        ],
        "type": "object",
        "properties": {
          "credentialLicense": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "example": "Master Of Education (M.Ed)"
          },
          "credentialTypeId": {
            "maximum": 2147483647,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 171
          },
          "credentialLicenseDescription": {
            "maxLength": 500,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "This staff credential is for staff who have a Masters in Education."
          },
          "inactive": {
            "type": "boolean",
            "example": false
          }
        },
        "additionalProperties": false
      },
      "AccountStaffCredentialDeleteRequest": {
        "required": [
          "credentialId"
        ],
        "type": "object",
        "properties": {
          "credentialId": {
            "type": "integer",
            "format": "int32",
            "example": 1234
          }
        },
        "additionalProperties": false
      },
      "AccountStaffCredentialDeleteResponse": {
        "type": "object",
        "properties": {
          "credentialId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 1234
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "AccountStaffCredentialGetResponse": {
        "type": "object",
        "properties": {
          "credentialId": {
            "type": "integer",
            "format": "int32",
            "example": 1272
          },
          "credentialLicense": {
            "type": "string",
            "nullable": true,
            "example": "Master Of Education (M.Ed)"
          },
          "credentialTypeId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 171
          },
          "credentialType": {
            "type": "string",
            "nullable": true,
            "example": "Education"
          },
          "credentialLicenseDescription": {
            "type": "string",
            "nullable": true,
            "example": "This staff credential is for staff who have a Masters in Education."
          },
          "inactive": {
            "type": "boolean",
            "example": false
          },
          "dateCreated": {
            "type": "string",
            "format": "date-time",
            "example": "2020-12-10T17:45:58.453"
          },
          "dateLastModified": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2020-12-24T10:15:06.127"
          },
          "dateDeleted": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2021-01-15T13:45:47.237"
          }
        },
        "additionalProperties": false
      },
      "AccountStaffCredentialGetResponseSearchResponse": {
        "type": "object",
        "properties": {
          "count": {
            "type": "integer",
            "format": "int32"
          },
          "totalDataCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalPages": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "currentPage": {
            "type": "integer",
            "format": "int32"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AccountStaffCredentialGetResponse"
            },
            "nullable": true
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "AccountStaffCredentialReactivateRequest": {
        "required": [
          "credentialId"
        ],
        "type": "object",
        "properties": {
          "credentialId": {
            "type": "integer",
            "format": "int32",
            "example": 1234
          }
        },
        "additionalProperties": false
      },
      "AccountStaffCredentialResponse": {
        "type": "object",
        "properties": {
          "credentialId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 1272
          },
          "credentialLicense": {
            "type": "string",
            "nullable": true,
            "example": "Master Of Education (M.Ed)"
          },
          "credentialTypeId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 171
          },
          "credentialType": {
            "type": "string",
            "nullable": true,
            "example": "Education"
          },
          "credentialLicenseDescription": {
            "type": "string",
            "nullable": true,
            "example": "This staff credential is for staff who have a Masters in Education."
          },
          "inactive": {
            "type": "boolean",
            "nullable": true,
            "example": false
          },
          "dateCreated": {
            "type": "string",
            "format": "date-time",
            "example": "2020-12-10T17:45:58.453"
          },
          "dateLastModified": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2020-12-24T10:15:06.127"
          },
          "dateDeleted": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2021-01-15T13:45:47.237"
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "AccountStaffCredentialUpdateRequest": {
        "required": [
          "credentialId",
          "credentialLicense"
        ],
        "type": "object",
        "properties": {
          "credentialId": {
            "maximum": 2147483647,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "example": 1272
          },
          "credentialLicense": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "example": "Master Of Education (M.Ed)"
          },
          "credentialTypeId": {
            "maximum": 2147483647,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 171
          },
          "credentialLicenseDescription": {
            "maxLength": 500,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "This staff credential is for staff who have a Masters in Education."
          },
          "inactive": {
            "type": "boolean",
            "example": false
          }
        },
        "additionalProperties": false
      },
      "AcknowledgeableException": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "appointmentId": {
            "type": "integer",
            "format": "int32"
          },
          "exceptionId": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "AddAppointmentLocationModel": {
        "type": "object",
        "properties": {
          "latitude": {
            "type": "number",
            "description": "latitude",
            "format": "double",
            "nullable": true,
            "example": 38.8951
          },
          "longitude": {
            "type": "number",
            "description": "longitude",
            "format": "double",
            "nullable": true,
            "example": -77.0364
          }
        },
        "additionalProperties": false
      },
      "AddAppointmentRequestModel": {
        "required": [
          "appointmentTypeId",
          "scheduledEndDateTime",
          "scheduledStartDateTime",
          "staffId"
        ],
        "type": "object",
        "properties": {
          "appointmentTypeId": {
            "$ref": "#/components/schemas/AppointmentTypes"
          },
          "scheduledStartDateTime": {
            "type": "string",
            "description": "scheduled start time - UTC datetime",
            "format": "date-time",
            "example": "2021-17-21T08:20:00Z"
          },
          "scheduledEndDateTime": {
            "type": "string",
            "description": "scheduled end time - UTC datetime",
            "format": "date-time",
            "example": "2021-17-21T08:20:00Z"
          },
          "staffId": {
            "type": "integer",
            "description": "staff ID",
            "format": "int32",
            "example": 349174
          },
          "clientId": {
            "type": "integer",
            "description": "client ID",
            "format": "int32",
            "nullable": true,
            "example": 175239
          },
          "payCodeId": {
            "type": "integer",
            "description": "hcStaffPaycodes (hcStaffMemberPayroll.hcStaffPaycodeId)",
            "format": "int32",
            "nullable": true,
            "example": 3467
          },
          "tagId": {
            "type": "integer",
            "description": "hcAppointmentCustomTags (hcAppointments.ActivityTagId)",
            "format": "int32",
            "nullable": true,
            "example": 1
          },
          "locationCodeId": {
            "type": "integer",
            "description": "hcLocationCodes (hcAppointments.LocationId)",
            "format": "int32",
            "nullable": true,
            "example": 3
          },
          "locationId": {
            "type": "integer",
            "description": "hcProviderLocation (hcAppointments.ToLocationId)",
            "format": "int32",
            "nullable": true,
            "example": 2801
          },
          "scheduledLocationAddress": {
            "type": "string",
            "description": "single line address",
            "nullable": true,
            "example": "49 W 27th St, New York, NY 10001"
          },
          "authorizationBillingCodeId": {
            "type": "integer",
            "description": "hcChildProfileAuthorizationBillingCode (hcAppointments.ProcedureCodeId)",
            "format": "int32",
            "nullable": true,
            "example": 378222
          },
          "funderBillingCodeId": {
            "type": "integer",
            "description": "hcProviderBillingCode (hcChildProfileAuthorizationBillingCode.hcProviderBillingCodeId)",
            "format": "int32",
            "nullable": true
          },
          "cancellationTypeId": {
            "$ref": "#/components/schemas/AppointmentCancellationTypes"
          },
          "cancellationSubtypeId": {
            "type": "integer",
            "description": "hcAppointmentCustomTags (hcAppointments.CancellationTagId), hcAppointmentCustomTagTypeId 1=Cancellation",
            "format": "int32",
            "nullable": true,
            "example": 1
          },
          "actualStartDateTime": {
            "type": "string",
            "description": "actual start time - UTC datetime",
            "nullable": true,
            "example": "2021-17-21T08:20:00Z"
          },
          "actualEndDateTime": {
            "type": "string",
            "description": "actual end time - UTC datetime",
            "nullable": true,
            "example": "2021-17-21T08:20:00Z"
          },
          "staffVerificationDateTime": {
            "type": "string",
            "description": "staff verification timestamp (UTC)",
            "nullable": true,
            "example": "2021-17-21T08:20:00Z"
          },
          "parentVerificationDateTime": {
            "type": "string",
            "description": "parent verification timestamp (UTC)",
            "nullable": true,
            "example": "2021-17-21T08:20:00Z"
          },
          "scheduledLocation": {
            "$ref": "#/components/schemas/AddAppointmentLocationModel"
          },
          "actualStartLocation": {
            "$ref": "#/components/schemas/AddAppointmentLocationModel"
          },
          "actualEndLocation": {
            "$ref": "#/components/schemas/AddAppointmentLocationModel"
          },
          "parentSignature": {
            "type": "string",
            "description": "parent signature - base64 encoded image",
            "nullable": true,
            "example": "R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
          },
          "billingCodeCredentialId": {
            "type": "integer",
            "description": "hcProviderBillingCodeCredentials",
            "format": "int32",
            "nullable": true,
            "example": 1256
          },
          "overrideFunderServiceLimits": {
            "type": "boolean",
            "description": "When true, persist despite Funder Service Limit Blocks if the staff member's role has\r\nOverride Funder Service Limits. Default false. Does not bypass authorization or other failures."
          },
          "seriesAppointmentId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "travelDetail": {
            "$ref": "#/components/schemas/TravelDetail"
          },
          "notes": {
            "type": "string",
            "nullable": true
          },
          "clientFunderId": {
            "type": "integer",
            "description": "RHD-51545: the client funder plan this appointment belongs to (`clientFunderId` from the client funders list).\r\nRequired when the client has more than one plan of the funder effective on the appointment date. When omitted, the\r\nplan of the authorization billing code is used, or the client's only plan effective on that date.",
            "format": "int32",
            "nullable": true,
            "example": 491174
          }
        },
        "additionalProperties": false
      },
      "AddAppointmentResponseModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 456456555
          },
          "status": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "AddClientAuthorizationRequestModel": {
        "required": [
          "authEndDate",
          "authorizationNumber",
          "authorizationSubmissionTypeId",
          "authStartDate",
          "clientId",
          "diagnosis",
          "funderId",
          "providerServiceId",
          "renderingProviderTypeId"
        ],
        "type": "object",
        "properties": {
          "clientId": {
            "type": "integer",
            "format": "int32",
            "example": 186168
          },
          "funderId": {
            "type": "integer",
            "format": "int32",
            "example": 131319
          },
          "providerServiceId": {
            "type": "integer",
            "format": "int32",
            "example": 1921
          },
          "authorizationNumber": {
            "maxLength": 50,
            "minLength": 0,
            "type": "string",
            "example": "3489423134"
          },
          "authStartDate": {
            "type": "string",
            "format": "date-time",
            "example": "2022-07-08T00:00:00.000"
          },
          "authEndDate": {
            "type": "string",
            "format": "date-time",
            "example": "2022-07-09T00:00:00.000"
          },
          "authorizationDistributionTypeId": {
            "$ref": "#/components/schemas/AuthorizationDistributionTypes"
          },
          "clientDiagnosisId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "diagnosis": {
            "$ref": "#/components/schemas/AuthDiagnosisUpdateModel"
          },
          "referringProviderId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 24423
          },
          "renderingProviderTypeId": {
            "$ref": "#/components/schemas/AuthorizationRenderingProviderTypes"
          },
          "renderingProviderStaffId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 138331
          },
          "totalNumberOfUnits": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 0
          },
          "authorizationSubmissionTypeId": {
            "$ref": "#/components/schemas/AuthorizationSubmissionTypes"
          },
          "clientFunderId": {
            "type": "integer",
            "description": "RHD-51545: the client funder plan this authorization belongs to (`clientFunderId` from the client funders list).\r\nRequired when the client has more than one live plan for this funder; when it is omitted and the client has exactly one\r\nplan of the funder, that plan is used.",
            "format": "int32",
            "nullable": true,
            "example": 491174
          }
        },
        "additionalProperties": false
      },
      "AddClientAuthorizationResponseModel": {
        "type": "object",
        "properties": {
          "clientAuthorizationId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 271611
          },
          "clientId": {
            "type": "integer",
            "format": "int32",
            "example": 217882
          },
          "funderId": {
            "type": "integer",
            "format": "int32",
            "example": 138331
          },
          "providerServiceId": {
            "type": "integer",
            "format": "int32",
            "example": 1969
          },
          "authorizationNumber": {
            "type": "string",
            "nullable": true,
            "example": "3489423134"
          },
          "authStartDate": {
            "type": "string",
            "format": "date-time",
            "example": "2022-07-08T00:00:00.000"
          },
          "authEndDate": {
            "type": "string",
            "format": "date-time",
            "example": "2022-07-09T00:00:00.000"
          },
          "authorizationDistributionTypeId": {
            "$ref": "#/components/schemas/AuthorizationDistributionTypes"
          },
          "clientDiagnosisId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 27354
          },
          "diagnosis": {
            "$ref": "#/components/schemas/AuthDiagnosisUpdateModel"
          },
          "referringProviderId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 24423
          },
          "renderingProviderTypeId": {
            "type": "integer",
            "format": "int32",
            "example": 2
          },
          "renderingProviderStaffId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 138331
          },
          "totalNumberOfUnits": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 3
          },
          "authorizationSubmissionTypeId": {
            "type": "integer",
            "format": "int32",
            "example": 1
          },
          "clientFunderId": {
            "type": "integer",
            "description": "RHD-51545: the client funder plan stored on this authorization.",
            "format": "int32",
            "nullable": true,
            "example": 491174
          },
          "reasonCode": {
            "type": "string",
            "description": "RHD-51545: the stable reason code when the request was refused, the same token the funder endpoints return\r\n(for example `CLIENT_FUNDER_PLAN_REQUIRED`). Null on success.",
            "nullable": true,
            "example": "CLIENT_FUNDER_PLAN_REQUIRED"
          },
          "dateCreated": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2020-12-10T17:45:58.453"
          },
          "dateLastModified": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2020-12-24T10:15:06.127"
          },
          "dateDeleted": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2021-01-15T13:45:47.237"
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "AddClientCustomFields": {
        "required": [
          "clientCustomFieldData",
          "clientId",
          "memberId"
        ],
        "type": "object",
        "properties": {
          "memberId": {
            "type": "integer",
            "description": "Gets or sets the member ID associated with the custom fields.",
            "format": "int32"
          },
          "clientId": {
            "type": "integer",
            "description": "Gets or sets the client ID associated with the custom fields.",
            "format": "int32"
          },
          "clientCustomFieldData": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClientCustomFieldData"
            },
            "description": "Gets or sets the client custom field data to add."
          }
        },
        "additionalProperties": false,
        "description": "Represents the data model for adding client custom fields."
      },
      "AddClientModel": {
        "required": [
          "dateOfBirth",
          "firstName",
          "genderId",
          "lastName",
          "locationId",
          "serviceIntensityId",
          "statusId"
        ],
        "type": "object",
        "properties": {
          "firstName": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "example": "Eric"
          },
          "middleName": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "T"
          },
          "lastName": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "example": "Morales"
          },
          "dateOfBirth": {
            "maxLength": 10,
            "minLength": 0,
            "type": "string",
            "example": "2015-12-10"
          },
          "genderId": {
            "maximum": 3,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "example": 1
          },
          "addressStreet": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "12345 21 Street"
          },
          "city": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "New York City"
          },
          "stateId": {
            "maximum": 52,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 35
          },
          "zipCode": {
            "maxLength": 9,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "7745"
          },
          "clientExternalID": {
            "maxLength": 20,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "234RTY7699"
          },
          "uniqueClientIdentifierNumber": {
            "maxLength": 20,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "12345"
          },
          "clientOrder": {
            "maximum": 2147483647,
            "minimum": 0,
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 12345
          },
          "reasonForReferral": {
            "maxLength": 200,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "Social skill issues"
          },
          "noticeOfPrivacyPracticeDate": {
            "type": "string",
            "nullable": true,
            "example": "2015-03-18"
          },
          "locationId": {
            "type": "integer",
            "format": "int32",
            "example": 2801
          },
          "statusId": {
            "type": "integer",
            "format": "int32",
            "example": 41200
          },
          "serviceIntensityId": {
            "maximum": 2,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "example": 1
          },
          "notes": {
            "maxLength": 500,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "NO BCBA on Case"
          },
          "stateAbbreviation": {
            "type": "string",
            "nullable": true,
            "example": "NY"
          },
          "clientFunders": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClientFunder"
            },
            "nullable": true
          },
          "clientAuthorizations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClientAuthorization"
            },
            "nullable": true
          },
          "clientAvailabilities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClientAvailability"
            },
            "nullable": true
          },
          "clientNotes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClientNote"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AddFunderServiceLineRequestModel": {
        "required": [
          "funderId",
          "serviceLineId"
        ],
        "type": "object",
        "properties": {
          "funderId": {
            "type": "integer",
            "format": "int32",
            "example": 13342
          },
          "serviceLineId": {
            "type": "integer",
            "format": "int32",
            "example": 1921
          },
          "billingSubmissionMethodId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 1
          }
        },
        "additionalProperties": false
      },
      "AddLocationsRequestModel": {
        "required": [
          "address1",
          "city",
          "isBillingProvider",
          "isMainLocation",
          "locationName",
          "state",
          "zip"
        ],
        "type": "object",
        "properties": {
          "isMainLocation": {
            "type": "boolean",
            "example": false
          },
          "isBillingProvider": {
            "type": "boolean",
            "example": false
          },
          "locationName": {
            "maxLength": 75,
            "minLength": 1,
            "type": "string",
            "example": "Temecula, CA 834"
          },
          "billingProviderName": {
            "maxLength": 35,
            "type": "string",
            "nullable": true,
            "example": "Oakland123"
          },
          "taxId": {
            "pattern": "^\\d{9}$",
            "type": "string",
            "nullable": true,
            "example": "841647103"
          },
          "npiNumber": {
            "type": "string",
            "nullable": true,
            "example": "1538406616"
          },
          "taxonomyCode": {
            "pattern": "^\\d{3}[A-Z]{2}\\d{4}[A-Z]$",
            "type": "string",
            "nullable": true,
            "example": "103TA0400X"
          },
          "countryId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 23
          },
          "address1": {
            "minLength": 1,
            "type": "string",
            "example": "10850 S US Highway 1, Ste 2 upd"
          },
          "address2": {
            "type": "string",
            "nullable": true,
            "example": "10850 S US Highway 1, Ste 2 upd"
          },
          "city": {
            "minLength": 1,
            "type": "string",
            "example": "Port St Lucie"
          },
          "state": {
            "maxLength": 2,
            "minLength": 1,
            "type": "string",
            "example": "FL"
          },
          "zip": {
            "minLength": 1,
            "type": "string",
            "example": "77455"
          },
          "email": {
            "maxLength": 50,
            "type": "string",
            "format": "email",
            "nullable": true,
            "example": "ktorsiello112@behaviorbasicsin.com"
          },
          "phone": {
            "maxLength": 13,
            "pattern": "^\\d+$",
            "type": "string",
            "nullable": true,
            "example": "4567876545679"
          },
          "fax": {
            "maxLength": 13,
            "pattern": "^\\d+$",
            "type": "string",
            "nullable": true,
            "example": "7724630444112"
          },
          "additionalLocationId": {
            "type": "string",
            "nullable": true,
            "example": "772463"
          },
          "additionalLocationIdentifierType": {
            "$ref": "#/components/schemas/AdditionalLocationIdentifierTypes"
          }
        },
        "additionalProperties": false
      },
      "AddLocationsResponseModel": {
        "type": "object",
        "properties": {
          "locationId": {
            "type": "integer",
            "format": "int32",
            "example": 2802
          },
          "isMainLocation": {
            "type": "boolean",
            "example": false
          },
          "isBillingProvider": {
            "type": "boolean",
            "example": false
          },
          "locationName": {
            "type": "string",
            "nullable": true,
            "example": "Temecula, CA 834"
          },
          "billingProviderName": {
            "type": "string",
            "nullable": true,
            "example": "Oakland123"
          },
          "taxId": {
            "type": "string",
            "nullable": true,
            "example": "841647103"
          },
          "npiNumber": {
            "type": "string",
            "nullable": true,
            "example": "1538406616"
          },
          "taxonomyCode": {
            "type": "string",
            "nullable": true,
            "example": "103TA0400X"
          },
          "countryId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 23
          },
          "address1": {
            "type": "string",
            "nullable": true,
            "example": "10850 S US Highway 1, Ste 2 upd"
          },
          "address2": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true,
            "example": "Port St Lucie"
          },
          "state": {
            "type": "string",
            "nullable": true,
            "example": "FL"
          },
          "zip": {
            "type": "string",
            "nullable": true,
            "example": "77455"
          },
          "email": {
            "type": "string",
            "nullable": true,
            "example": "ktorsiello112@behaviorbasicsin.com"
          },
          "phone": {
            "type": "string",
            "nullable": true,
            "example": "4567876545679"
          },
          "fax": {
            "type": "string",
            "nullable": true,
            "example": "7724630444112"
          },
          "additionalLocationId": {
            "type": "string",
            "nullable": true,
            "example": "772463"
          },
          "additionalLocationIdentifierType": {
            "$ref": "#/components/schemas/AdditionalLocationIdentifierTypes"
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "AddStaffCustomFields": {
        "required": [
          "memberId",
          "staffCustomFieldData"
        ],
        "type": "object",
        "properties": {
          "memberId": {
            "type": "integer",
            "description": "Gets or sets the staff member ID associated with the custom fields.",
            "format": "int32"
          },
          "staffCustomFieldData": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StaffCustomFieldData"
            },
            "description": "Gets or sets the staff custom field data to add."
          }
        },
        "additionalProperties": false,
        "description": "Represents the data model for adding staff custom fields."
      },
      "AddStaffMemberRequestModel": {
        "required": [
          "email",
          "firstName",
          "lastName",
          "roleId",
          "statusId",
          "timeZoneId",
          "username"
        ],
        "type": "object",
        "properties": {
          "username": {
            "maxLength": 100,
            "minLength": 0,
            "pattern": "^.{6,}$",
            "type": "string",
            "example": "KBADD19"
          },
          "statusId": {
            "type": "integer",
            "format": "int32",
            "example": 2938
          },
          "companyStaffId": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "234RTY7699"
          },
          "firstName": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "example": "Eric"
          },
          "middleName": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "T"
          },
          "lastName": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "example": "Morales"
          },
          "dateOfBirth": {
            "maxLength": 10,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "2015-12-10"
          },
          "phone": {
            "maxLength": 13,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "7879898877"
          },
          "addressStreet": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "12345 21 Street"
          },
          "city": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "New York City"
          },
          "stateId": {
            "maximum": 52,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 35
          },
          "zipCode": {
            "maxLength": 9,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "7745"
          },
          "timeZoneId": {
            "type": "integer",
            "format": "int32",
            "example": 5
          },
          "locationIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true,
            "example": [
              2801,
              2802
            ]
          },
          "employeeTypeId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 597
          },
          "roleId": {
            "type": "integer",
            "format": "int32",
            "example": 9028
          },
          "email": {
            "maxLength": 200,
            "minLength": 0,
            "type": "string",
            "format": "email",
            "example": "kavitha.bingi19@rethinkfirst.com"
          },
          "npiNumber": {
            "maxLength": 10,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "1750496923"
          },
          "medicaidNumber": {
            "maxLength": 15,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "18014249782213"
          },
          "practionerId": {
            "maxLength": 20,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "18014249782213"
          },
          "taxonomyCode": {
            "maxLength": 10,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "1801424973"
          },
          "ssn": {
            "maxLength": 11,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "123-45-6789"
          },
          "supervisorId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 337579
          },
          "serviceLineIds": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StaffServiceLineRequestModel"
            },
            "nullable": true
          },
          "staffAvailabilities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StaffAvailabilityRequestModel"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AddStaffMemberResponseModel": {
        "type": "object",
        "properties": {
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          },
          "staffId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 355018
          },
          "username": {
            "type": "string",
            "nullable": true,
            "example": "KBADD19"
          },
          "statusId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 2938
          },
          "companyStaffId": {
            "type": "string",
            "nullable": true,
            "example": "234RTY7699"
          },
          "firstName": {
            "type": "string",
            "nullable": true,
            "example": "Eric"
          },
          "middleName": {
            "type": "string",
            "nullable": true,
            "example": "T"
          },
          "lastName": {
            "type": "string",
            "nullable": true,
            "example": "Morales"
          },
          "dateOfBirth": {
            "type": "string",
            "nullable": true,
            "example": "2015-12-10"
          },
          "phone": {
            "type": "string",
            "nullable": true,
            "example": "7879898877"
          },
          "addressStreet": {
            "type": "string",
            "nullable": true,
            "example": "12345 21 Street"
          },
          "city": {
            "type": "string",
            "nullable": true,
            "example": "New York City"
          },
          "stateId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 35
          },
          "zipCode": {
            "type": "string",
            "nullable": true,
            "example": "7745"
          },
          "timeZoneId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 5
          },
          "locationIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true,
            "example": [
              2801,
              2802
            ]
          },
          "employeeTypeId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 597
          },
          "roleId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 9028
          },
          "email": {
            "type": "string",
            "nullable": true,
            "example": "kavitha.bingi19@rethinkfirst.com"
          },
          "npiNumber": {
            "type": "string",
            "nullable": true,
            "example": "1750496923"
          },
          "medicaidNumber": {
            "type": "string",
            "nullable": true,
            "example": "18014249782213"
          },
          "practionerId": {
            "type": "string",
            "nullable": true,
            "example": "18014249782213"
          },
          "taxonomyCode": {
            "type": "string",
            "nullable": true,
            "example": "1801424973"
          },
          "ssn": {
            "type": "string",
            "nullable": true,
            "example": "xxx-xx-6789"
          },
          "supervisorId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 337579
          },
          "serviceLineIds": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StaffServiceLineResponseModel"
            },
            "nullable": true
          },
          "staffAvailabilities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StaffAvailabilityResponseModel"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AdditionalLocationIdentifierTypes": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "AddressEntity": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "street1": {
            "type": "string",
            "nullable": true
          },
          "street2": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "stateId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "zip": {
            "type": "string",
            "nullable": true
          },
          "countryId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "town": {
            "type": "string",
            "nullable": true
          },
          "dateCreated": {
            "type": "string",
            "format": "date-time"
          },
          "dateLastModified": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "dateDeleted": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "createdBy": {
            "type": "integer",
            "format": "int32"
          },
          "modifiedBy": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "deletedBy": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "stateLU": {
            "$ref": "#/components/schemas/StateEntity"
          },
          "countryLU": {
            "$ref": "#/components/schemas/CountryEntity"
          }
        },
        "additionalProperties": false
      },
      "AppointmentBasicDetails": {
        "type": "object",
        "properties": {
          "appointmentId": {
            "type": "integer",
            "format": "int32"
          },
          "startDate": {
            "type": "string",
            "format": "date-time"
          },
          "endDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AppointmentCancellationTypeResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AppointmentCancellationTypes": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32"
      },
      "AppointmentCustomTagResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "tagType": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AppointmentStatusTypes": {
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6
        ],
        "type": "integer",
        "format": "int32"
      },
      "AppointmentTypes": {
        "enum": [
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32"
      },
      "AppointmentTypesResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AuthDiagnosis": {
        "required": [
          "diagnosisCode"
        ],
        "type": "object",
        "properties": {
          "diagnosisCode": {
            "maxLength": 10,
            "minLength": 1,
            "type": "string",
            "example": "C44.101"
          },
          "diagnosisTypeId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 3
          }
        },
        "additionalProperties": false
      },
      "AuthDiagnosisGetModel": {
        "required": [
          "diagnosisCode"
        ],
        "type": "object",
        "properties": {
          "diagnosisCode": {
            "maxLength": 10,
            "minLength": 1,
            "type": "string",
            "example": "C44.101"
          },
          "diagnosisTypeId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 3
          },
          "diagnosisOrder": {
            "type": "integer",
            "format": "int32"
          },
          "diagnosisIncludeOnClaims": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "AuthDiagnosisUpdateModel": {
        "required": [
          "diagnosisCode",
          "diagnosisIncludeOnClaims",
          "isPrimary"
        ],
        "type": "object",
        "properties": {
          "diagnosisCode": {
            "maxLength": 10,
            "minLength": 1,
            "type": "string",
            "example": "C44.101"
          },
          "diagnosisTypeId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 3
          },
          "diagnosisIncludeOnClaims": {
            "type": "boolean",
            "example": false
          },
          "isPrimary": {
            "type": "boolean",
            "example": false
          }
        },
        "additionalProperties": false
      },
      "AuthorizationBillingCodeCreateRequest": {
        "required": [
          "authorizedUnits",
          "billingCodeId",
          "clientAuthorizationId",
          "diagnosisCode",
          "unitTypeId"
        ],
        "type": "object",
        "properties": {
          "clientAuthorizationId": {
            "type": "integer",
            "format": "int32"
          },
          "billingCodeId": {
            "type": "integer",
            "format": "int32"
          },
          "authorizedUnits": {
            "type": "integer",
            "format": "int32"
          },
          "unitTypeId": {
            "type": "integer",
            "format": "int32"
          },
          "diagnosisCode": {
            "maxLength": 20,
            "minLength": 0,
            "type": "string"
          },
          "frequencyType": {
            "$ref": "#/components/schemas/FrequencyTypes"
          }
        },
        "additionalProperties": false
      },
      "AuthorizationBillingCodeDeleteRequest": {
        "required": [
          "authorizationBillingCodeId"
        ],
        "type": "object",
        "properties": {
          "authorizationBillingCodeId": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "AuthorizationBillingCodeReactivateRequest": {
        "required": [
          "authorizationBillingCodeId"
        ],
        "type": "object",
        "properties": {
          "authorizationBillingCodeId": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "AuthorizationBillingCodeResponse": {
        "type": "object",
        "properties": {
          "authorizationBillingCodeId": {
            "type": "integer",
            "format": "int32"
          },
          "clientAuthorizationID": {
            "type": "integer",
            "format": "int32"
          },
          "billingCodeId": {
            "type": "integer",
            "format": "int32"
          },
          "authorizedUnits": {
            "type": "integer",
            "format": "int32"
          },
          "unitTypeId": {
            "type": "integer",
            "format": "int32"
          },
          "unitTypeName": {
            "type": "string",
            "nullable": true
          },
          "diagnosisCode": {
            "type": "string",
            "nullable": true
          },
          "frequencyType": {
            "$ref": "#/components/schemas/FrequencyTypes"
          },
          "frequencyTypeName": {
            "type": "string",
            "nullable": true
          },
          "dateCreated": {
            "type": "string",
            "format": "date-time"
          },
          "dateLastModified": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "dateDeleted": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "AuthorizationBillingCodeUpdateRequest": {
        "required": [
          "authorizationBillingCodeId",
          "authorizedUnits",
          "billingCodeId",
          "clientAuthorizationId",
          "diagnosisCode",
          "unitTypeId"
        ],
        "type": "object",
        "properties": {
          "authorizationBillingCodeId": {
            "type": "integer",
            "format": "int32"
          },
          "clientAuthorizationId": {
            "type": "integer",
            "format": "int32"
          },
          "billingCodeId": {
            "type": "integer",
            "format": "int32"
          },
          "authorizedUnits": {
            "type": "integer",
            "format": "int32"
          },
          "unitTypeId": {
            "type": "integer",
            "format": "int32"
          },
          "frequencyType": {
            "$ref": "#/components/schemas/FrequencyTypes"
          },
          "diagnosisCode": {
            "maxLength": 20,
            "minLength": 0,
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "AuthorizationBillingCodesGetResponse": {
        "type": "object",
        "properties": {
          "authorizationBillingCodeId": {
            "type": "integer",
            "format": "int32"
          },
          "clientAuthorizationID": {
            "type": "integer",
            "format": "int32"
          },
          "billingCodeId": {
            "type": "integer",
            "format": "int32"
          },
          "authorizedUnits": {
            "type": "integer",
            "format": "int32"
          },
          "unitTypeId": {
            "type": "integer",
            "format": "int32"
          },
          "unitTypeName": {
            "type": "string",
            "nullable": true
          },
          "diagnosisCode": {
            "type": "string",
            "nullable": true
          },
          "frequencyType": {
            "$ref": "#/components/schemas/FrequencyTypes"
          },
          "frequencyTypeName": {
            "type": "string",
            "nullable": true
          },
          "dateCreated": {
            "type": "string",
            "format": "date-time"
          },
          "dateLastModified": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "dateDeleted": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AuthorizationBillingCodesGetResponseSearchResponse": {
        "type": "object",
        "properties": {
          "count": {
            "type": "integer",
            "format": "int32"
          },
          "totalDataCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalPages": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "currentPage": {
            "type": "integer",
            "format": "int32"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AuthorizationBillingCodesGetResponse"
            },
            "nullable": true
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "AuthorizationDistributionTypes": {
        "enum": [
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "AuthorizationRenderingProviderTypes": {
        "enum": [
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32"
      },
      "AuthorizationSubmissionTypes": {
        "enum": [
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32"
      },
      "BillingCode": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "serviceDescription": {
            "type": "string",
            "nullable": true
          },
          "inactive": {
            "type": "boolean",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BillingCodeCredentialAddRequest": {
        "required": [
          "billingCodeId",
          "contractRate",
          "credentialId"
        ],
        "type": "object",
        "properties": {
          "billingCodeId": {
            "type": "integer",
            "format": "int32",
            "example": 98061
          },
          "credentialId": {
            "type": "integer",
            "format": "int32",
            "example": 5123
          },
          "contractRate": {
            "type": "number",
            "format": "double",
            "example": 15
          },
          "modifier1": {
            "maxLength": 100,
            "minLength": 0,
            "pattern": "[a-zA-Z0-9 ]+",
            "type": "string",
            "nullable": true,
            "example": "ten"
          },
          "modifier2": {
            "maxLength": 100,
            "minLength": 0,
            "pattern": "[a-zA-Z0-9 ]+",
            "type": "string",
            "nullable": true,
            "example": "modifier_2"
          },
          "serviceDescription": {
            "maxLength": 100,
            "minLength": 0,
            "pattern": "[a-zA-Z0-9 ]+",
            "type": "string",
            "nullable": true,
            "example": "SD"
          },
          "modifier3": {
            "maxLength": 100,
            "minLength": 0,
            "pattern": "[a-zA-Z0-9 ]+",
            "type": "string",
            "nullable": true,
            "example": "M3"
          },
          "modifier4": {
            "maxLength": 100,
            "minLength": 0,
            "pattern": "[a-zA-Z0-9 ]+",
            "type": "string",
            "nullable": true,
            "example": "M4"
          }
        },
        "additionalProperties": false
      },
      "BillingCodeCredentialDeleteRequest": {
        "required": [
          "billingCodeCredentialId"
        ],
        "type": "object",
        "properties": {
          "billingCodeCredentialId": {
            "type": "integer",
            "format": "int32",
            "example": 98061
          }
        },
        "additionalProperties": false
      },
      "BillingCodeCredentialDeleteResponse": {
        "type": "object",
        "properties": {
          "billingCodeCredentialId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 98061
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "BillingCodeCredentialGetResponse": {
        "type": "object",
        "properties": {
          "billingCodeCredentialId": {
            "type": "integer",
            "format": "int32",
            "example": 6538
          },
          "billingCodeId": {
            "type": "integer",
            "format": "int32",
            "example": 98061
          },
          "credentialId": {
            "type": "integer",
            "format": "int32",
            "example": 5123
          },
          "contractRate": {
            "type": "number",
            "format": "double",
            "example": 15
          },
          "isPrimary": {
            "type": "boolean",
            "example": false
          },
          "modifier1": {
            "type": "string",
            "nullable": true,
            "example": "ten"
          },
          "modifier2": {
            "type": "string",
            "nullable": true,
            "example": "modifier_2"
          },
          "serviceDescription": {
            "type": "string",
            "nullable": true,
            "example": "SD"
          },
          "modifier3": {
            "type": "string",
            "nullable": true,
            "example": "M3"
          },
          "modifier4": {
            "type": "string",
            "nullable": true,
            "example": "M4"
          },
          "dateCreated": {
            "type": "string",
            "format": "date-time",
            "example": "2020-12-10T17:45:58.453"
          },
          "dateLastModified": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2020-12-24T10:15:06.127"
          },
          "dateDeleted": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2021-01-15T13:45:47.237"
          }
        },
        "additionalProperties": false
      },
      "BillingCodeCredentialGetResponseSearchResponse": {
        "type": "object",
        "properties": {
          "count": {
            "type": "integer",
            "format": "int32"
          },
          "totalDataCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalPages": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "currentPage": {
            "type": "integer",
            "format": "int32"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BillingCodeCredentialGetResponse"
            },
            "nullable": true
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "BillingCodeCredentialRequest": {
        "required": [
          "billingCodeId",
          "contractRate",
          "credentialId",
          "isPrimary"
        ],
        "type": "object",
        "properties": {
          "billingCodeId": {
            "type": "integer",
            "format": "int32",
            "example": 98061
          },
          "credentialId": {
            "type": "integer",
            "format": "int32",
            "example": 5123
          },
          "contractRate": {
            "type": "number",
            "format": "double",
            "example": 15
          },
          "isPrimary": {
            "type": "boolean",
            "example": false
          },
          "modifier1": {
            "maxLength": 100,
            "minLength": 0,
            "pattern": "[a-zA-Z0-9 ]+",
            "type": "string",
            "nullable": true,
            "example": "ten"
          },
          "modifier2": {
            "maxLength": 100,
            "minLength": 0,
            "pattern": "[a-zA-Z0-9 ]+",
            "type": "string",
            "nullable": true,
            "example": "modifier_2"
          },
          "serviceDescription": {
            "maxLength": 100,
            "minLength": 0,
            "pattern": "[a-zA-Z0-9 ]+",
            "type": "string",
            "nullable": true,
            "example": "SD"
          },
          "modifier3": {
            "maxLength": 100,
            "minLength": 0,
            "pattern": "[a-zA-Z0-9 ]+",
            "type": "string",
            "nullable": true,
            "example": "M3"
          },
          "modifier4": {
            "maxLength": 100,
            "minLength": 0,
            "pattern": "[a-zA-Z0-9 ]+",
            "type": "string",
            "nullable": true,
            "example": "M4"
          }
        },
        "additionalProperties": false
      },
      "BillingCodeCredentialResponse": {
        "type": "object",
        "properties": {
          "billingCodeCredentialId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 6538
          },
          "billingCodeId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 98061
          },
          "credentialId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 5123
          },
          "contractRate": {
            "type": "number",
            "format": "double",
            "nullable": true,
            "example": 15
          },
          "isPrimary": {
            "type": "boolean",
            "example": false
          },
          "modifier1": {
            "type": "string",
            "nullable": true,
            "example": "ten"
          },
          "modifier2": {
            "type": "string",
            "nullable": true,
            "example": "modifier_2"
          },
          "serviceDescription": {
            "type": "string",
            "nullable": true,
            "example": "SD"
          },
          "modifier3": {
            "type": "string",
            "nullable": true,
            "example": "M3"
          },
          "modifier4": {
            "type": "string",
            "nullable": true,
            "example": "M4"
          },
          "dateCreated": {
            "type": "string",
            "format": "date-time",
            "example": "2020-12-10T17:45:58.453"
          },
          "dateLastModified": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2020-12-24T10:15:06.127"
          },
          "dateDeleted": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2021-01-15T13:45:47.237"
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "BillingCodeCredentialUpdateRequest": {
        "required": [
          "billingCodeId",
          "contractRate",
          "credentialId",
          "isPrimary"
        ],
        "type": "object",
        "properties": {
          "billingCodeId": {
            "type": "integer",
            "format": "int32",
            "example": 98061
          },
          "credentialId": {
            "type": "integer",
            "format": "int32",
            "example": 5123
          },
          "contractRate": {
            "type": "number",
            "format": "double",
            "example": 15
          },
          "isPrimary": {
            "type": "boolean",
            "example": false
          },
          "modifier1": {
            "maxLength": 100,
            "minLength": 0,
            "pattern": "[a-zA-Z0-9 ]+",
            "type": "string",
            "nullable": true,
            "example": "ten"
          },
          "modifier2": {
            "maxLength": 100,
            "minLength": 0,
            "pattern": "[a-zA-Z0-9 ]+",
            "type": "string",
            "nullable": true,
            "example": "modifier_2"
          },
          "serviceDescription": {
            "maxLength": 100,
            "minLength": 0,
            "pattern": "[a-zA-Z0-9 ]+",
            "type": "string",
            "nullable": true,
            "example": "SD"
          },
          "modifier3": {
            "maxLength": 100,
            "minLength": 0,
            "pattern": "[a-zA-Z0-9 ]+",
            "type": "string",
            "nullable": true,
            "example": "M3"
          },
          "modifier4": {
            "maxLength": 100,
            "minLength": 0,
            "pattern": "[a-zA-Z0-9 ]+",
            "type": "string",
            "nullable": true,
            "example": "M4"
          },
          "id": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 6538
          }
        },
        "additionalProperties": false
      },
      "BillingCodeCredentialUpdateRequestModel": {
        "required": [
          "billingCodeCredentialId",
          "billingCodeId",
          "contractRate",
          "credentialId"
        ],
        "type": "object",
        "properties": {
          "billingCodeCredentialId": {
            "type": "integer",
            "format": "int32",
            "example": 6538
          },
          "billingCodeId": {
            "type": "integer",
            "format": "int32",
            "example": 98061
          },
          "credentialId": {
            "type": "integer",
            "format": "int32",
            "example": 5123
          },
          "contractRate": {
            "type": "number",
            "format": "double",
            "example": 15
          },
          "modifier1": {
            "maxLength": 100,
            "minLength": 0,
            "pattern": "[a-zA-Z0-9 ]+",
            "type": "string",
            "nullable": true,
            "example": "ten"
          },
          "modifier2": {
            "maxLength": 100,
            "minLength": 0,
            "pattern": "[a-zA-Z0-9 ]+",
            "type": "string",
            "nullable": true,
            "example": "modifier_2"
          },
          "serviceDescription": {
            "maxLength": 100,
            "minLength": 0,
            "pattern": "[a-zA-Z0-9 ]+",
            "type": "string",
            "nullable": true,
            "example": "SD"
          },
          "modifier3": {
            "maxLength": 100,
            "minLength": 0,
            "pattern": "[a-zA-Z0-9 ]+",
            "type": "string",
            "nullable": true,
            "example": "M3"
          },
          "modifier4": {
            "maxLength": 100,
            "minLength": 0,
            "pattern": "[a-zA-Z0-9 ]+",
            "type": "string",
            "nullable": true,
            "example": "M4"
          }
        },
        "additionalProperties": false
      },
      "BillingCodeDeleteRequest": {
        "required": [
          "billingCodeId"
        ],
        "type": "object",
        "properties": {
          "billingCodeId": {
            "type": "integer",
            "format": "int32",
            "example": 56789
          }
        },
        "additionalProperties": false
      },
      "BillingCodeDeleteResponse": {
        "type": "object",
        "properties": {
          "billingCodeId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "BillingCodeModel": {
        "type": "object",
        "properties": {
          "billingCodeId": {
            "type": "integer",
            "format": "int32",
            "example": 45678
          },
          "funderId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 6318
          },
          "funderServiceLineId": {
            "type": "integer",
            "format": "int32",
            "example": 28
          },
          "isRestrictStaffProviderToService": {
            "type": "boolean",
            "nullable": true,
            "example": false
          },
          "serviceId": {
            "type": "integer",
            "format": "int32",
            "example": 126
          },
          "billingCodeName": {
            "type": "string",
            "nullable": true,
            "example": "0361T"
          },
          "billingCodeName2": {
            "type": "string",
            "nullable": true,
            "example": "0374T"
          },
          "billingCodeDescription": {
            "type": "string",
            "nullable": true,
            "example": "Observational Assessment Follow-Up 1st 30 minutes(Technician)"
          },
          "unitTypeId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 12
          },
          "unitTypeId2": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 23
          },
          "rate": {
            "type": "number",
            "format": "double",
            "nullable": true,
            "example": 2.5
          },
          "rate2": {
            "type": "number",
            "format": "double",
            "nullable": true,
            "example": 0.5
          },
          "duration": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 15
          },
          "durationTypeId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 1
          },
          "noAuthRequired": {
            "type": "boolean",
            "nullable": true,
            "example": false
          },
          "renderingProviderTypeId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 3
          },
          "renderingProviderStaffId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 23455
          },
          "roundingTypeId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 1
          },
          "roundingTypeId2": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 2
          },
          "templateId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 234
          },
          "dateCreated": {
            "type": "string",
            "format": "date-time",
            "example": "2015-04-17 10:21:54.347"
          },
          "dateLastModified": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2016-02-08 12:57:55.833"
          },
          "dateDeleted": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2020-03-05 10:25:12.418"
          },
          "isInactiveBillingCode": {
            "type": "boolean",
            "nullable": true,
            "example": false
          },
          "funderServiceLimits": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FunderServiceLimitModel"
            },
            "nullable": true
          },
          "billingWeekStartDay": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "billingWeek": {
            "type": "string",
            "nullable": true
          },
          "funderName": {
            "type": "string",
            "nullable": true
          },
          "unitTypeDisplay": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BillingCodeModelSearchResponse": {
        "type": "object",
        "properties": {
          "count": {
            "type": "integer",
            "format": "int32"
          },
          "totalDataCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalPages": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "currentPage": {
            "type": "integer",
            "format": "int32"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BillingCodeModel"
            },
            "nullable": true
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "BillingCodeRequest": {
        "required": [
          "billingCodeName",
          "funderId",
          "funderServiceLineId",
          "isRestrictStaffProviderToService",
          "rate",
          "roundingTypeId",
          "serviceId",
          "unitTypeId"
        ],
        "type": "object",
        "properties": {
          "funderId": {
            "type": "integer",
            "format": "int32",
            "example": 28
          },
          "funderServiceLineId": {
            "type": "integer",
            "format": "int32",
            "example": 7895
          },
          "serviceId": {
            "type": "integer",
            "format": "int32",
            "example": 3456
          },
          "billingCodeName": {
            "maxLength": 30,
            "minLength": 0,
            "type": "string",
            "example": "0373T"
          },
          "billingCodeName2": {
            "maxLength": 30,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "0374T"
          },
          "isRestrictStaffProviderToService": {
            "type": "boolean",
            "example": false
          },
          "billingCodeDescription": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "Observational Assessment Follow-Up 1st 30 minutes(Technician)"
          },
          "unitTypeId": {
            "type": "integer",
            "format": "int32",
            "example": 12
          },
          "unitTypeId2": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 23
          },
          "rate": {
            "type": "number",
            "format": "double",
            "example": 2.5
          },
          "rate2": {
            "type": "number",
            "format": "double",
            "nullable": true,
            "example": 0.5
          },
          "duration": {
            "pattern": "[0-9]{0,3}",
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 15
          },
          "durationTypeId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 1
          },
          "noAuthRequired": {
            "type": "boolean",
            "nullable": true,
            "example": false
          },
          "renderingProviderTypeId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 3
          },
          "renderingProviderStaffId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 23455
          },
          "roundingTypeId": {
            "maximum": 4,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "example": 1
          },
          "roundingTypeId2": {
            "maximum": 4,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 2
          },
          "templateId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 234
          },
          "isInactiveBillingCode": {
            "type": "boolean",
            "nullable": true,
            "example": false
          },
          "billingCodeCredentials": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BillingCodeCredentialRequest"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BillingCodeResponse": {
        "type": "object",
        "properties": {
          "billingCodeId": {
            "type": "integer",
            "format": "int32",
            "example": 45678
          },
          "funderId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 6318
          },
          "funderServiceLineId": {
            "type": "integer",
            "format": "int32",
            "example": 28
          },
          "isRestrictStaffProviderToService": {
            "type": "boolean",
            "nullable": true,
            "example": false
          },
          "serviceId": {
            "type": "integer",
            "format": "int32",
            "example": 126
          },
          "billingCodeName": {
            "type": "string",
            "nullable": true,
            "example": "0361T"
          },
          "billingCodeName2": {
            "type": "string",
            "nullable": true,
            "example": "0374T"
          },
          "billingCodeDescription": {
            "type": "string",
            "nullable": true,
            "example": "Observational Assessment Follow-Up 1st 30 minutes(Technician)"
          },
          "unitTypeId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 12
          },
          "unitTypeId2": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 23
          },
          "rate": {
            "type": "number",
            "format": "double",
            "nullable": true,
            "example": 2.5
          },
          "rate2": {
            "type": "number",
            "format": "double",
            "nullable": true,
            "example": 0.5
          },
          "duration": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 15
          },
          "durationTypeId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 1
          },
          "noAuthRequired": {
            "type": "boolean",
            "nullable": true,
            "example": false
          },
          "renderingProviderTypeId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 3
          },
          "renderingProviderStaffId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 23455
          },
          "roundingTypeId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 1
          },
          "roundingTypeId2": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 2
          },
          "templateId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 234
          },
          "dateCreated": {
            "type": "string",
            "format": "date-time",
            "example": "2015-04-17 10:21:54.347"
          },
          "dateLastModified": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2016-02-08 12:57:55.833"
          },
          "dateDeleted": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2020-03-05 10:25:12.418"
          },
          "isInactiveBillingCode": {
            "type": "boolean",
            "nullable": true,
            "example": false
          },
          "funderServiceLimits": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FunderServiceLimitModel"
            },
            "nullable": true
          },
          "billingWeekStartDay": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "billingWeek": {
            "type": "string",
            "nullable": true
          },
          "funderName": {
            "type": "string",
            "nullable": true
          },
          "unitTypeDisplay": {
            "type": "string",
            "nullable": true
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "BillingCodeUpdateRequest": {
        "required": [
          "billingCodeId",
          "billingCodeName",
          "funderId",
          "funderServiceLineId",
          "isRestrictStaffProviderToService",
          "rate",
          "roundingTypeId",
          "serviceId",
          "unitTypeId"
        ],
        "type": "object",
        "properties": {
          "funderId": {
            "type": "integer",
            "format": "int32",
            "example": 28
          },
          "funderServiceLineId": {
            "type": "integer",
            "format": "int32",
            "example": 7895
          },
          "serviceId": {
            "type": "integer",
            "format": "int32",
            "example": 3456
          },
          "billingCodeName": {
            "maxLength": 30,
            "minLength": 0,
            "type": "string",
            "example": "0373T"
          },
          "billingCodeName2": {
            "maxLength": 30,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "0374T"
          },
          "isRestrictStaffProviderToService": {
            "type": "boolean",
            "example": false
          },
          "billingCodeDescription": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "Observational Assessment Follow-Up 1st 30 minutes(Technician)"
          },
          "unitTypeId": {
            "type": "integer",
            "format": "int32",
            "example": 12
          },
          "unitTypeId2": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 23
          },
          "rate": {
            "type": "number",
            "format": "double",
            "example": 2.5
          },
          "rate2": {
            "type": "number",
            "format": "double",
            "nullable": true,
            "example": 0.5
          },
          "duration": {
            "pattern": "[0-9]{0,3}",
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 15
          },
          "durationTypeId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 1
          },
          "noAuthRequired": {
            "type": "boolean",
            "nullable": true,
            "example": false
          },
          "renderingProviderTypeId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 3
          },
          "renderingProviderStaffId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 23455
          },
          "roundingTypeId": {
            "maximum": 4,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "example": 1
          },
          "roundingTypeId2": {
            "maximum": 4,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 2
          },
          "templateId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 234
          },
          "isInactiveBillingCode": {
            "type": "boolean",
            "nullable": true,
            "example": false
          },
          "billingCodeCredentials": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BillingCodeCredentialUpdateRequest"
            },
            "nullable": true
          },
          "billingCodeId": {
            "type": "integer",
            "format": "int32",
            "example": 45678
          },
          "propagatingAppointmentTypeId": {
            "maximum": 3,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 1
          },
          "propagateStartDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2021-12-10T17:45:58.453"
          }
        },
        "additionalProperties": false
      },
      "CheckExceedAuthorizationRequest": {
        "type": "object",
        "properties": {
          "appointmentIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CheckExceedAuthorizationResponse": {
        "type": "object",
        "properties": {
          "status": {
            "$ref": "#/components/schemas/ResponseStatus"
          },
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ExceedAuthorizationResult"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Client": {
        "required": [
          "dateOfBirth",
          "firstName",
          "genderId",
          "lastName",
          "locationId",
          "serviceIntensityId",
          "statusId"
        ],
        "type": "object",
        "properties": {
          "clientId": {
            "type": "integer",
            "format": "int32"
          },
          "firstName": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "example": "Eric"
          },
          "middleName": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "T"
          },
          "lastName": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "example": "Morales"
          },
          "dateOfBirth": {
            "maxLength": 10,
            "minLength": 0,
            "type": "string",
            "example": "2015-12-10"
          },
          "genderId": {
            "maximum": 3,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "example": 1
          },
          "addressStreet": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "12345 21 Street"
          },
          "city": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "New York City"
          },
          "stateId": {
            "maximum": 52,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 35
          },
          "zipCode": {
            "maxLength": 9,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "7745"
          },
          "clientExternalID": {
            "maxLength": 20,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "234RTY7699"
          },
          "uniqueClientIdentifierNumber": {
            "maxLength": 20,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "12345"
          },
          "clientOrder": {
            "maximum": 2147483647,
            "minimum": 0,
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 12345
          },
          "reasonForReferral": {
            "maxLength": 200,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "Social skill issues"
          },
          "noticeOfPrivacyPracticeDate": {
            "type": "string",
            "nullable": true,
            "example": "2015-03-18"
          },
          "locationId": {
            "type": "integer",
            "format": "int32",
            "example": 2801
          },
          "statusId": {
            "type": "integer",
            "format": "int32",
            "example": 41200
          },
          "serviceIntensityId": {
            "maximum": 2,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "example": 1
          },
          "notes": {
            "maxLength": 500,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "NO BCBA on Case"
          },
          "stateAbbreviation": {
            "type": "string",
            "nullable": true,
            "example": "NY"
          },
          "dateCreated": {
            "type": "string",
            "format": "date-time",
            "example": "2012-04-23T18:25:43"
          },
          "dateLastModified": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2012-04-23T18:25:43"
          },
          "dateDeleted": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2012-04-23T18:25:43"
          },
          "clientFunders": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClientFunder"
            },
            "nullable": true
          },
          "clientAuthorizations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClientAuthorization"
            },
            "nullable": true
          },
          "clientAvailabilities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClientAvailability"
            },
            "nullable": true
          },
          "clientNotes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClientNote"
            },
            "nullable": true
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          },
          "enrollmentNumber": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ClientAuthorization": {
        "required": [
          "authEndDate",
          "authorizationNumber",
          "authorizationReceived",
          "authStartDate",
          "diagnosis",
          "funderId",
          "renderingProviderTypeId",
          "serviceLineId"
        ],
        "type": "object",
        "properties": {
          "authorizationId": {
            "type": "integer",
            "format": "int32",
            "example": 45697
          },
          "authorizationReceived": {
            "maximum": 3,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "example": 2
          },
          "funderId": {
            "type": "integer",
            "format": "int32",
            "example": 130336
          },
          "serviceLineId": {
            "type": "integer",
            "format": "int32",
            "example": 1969
          },
          "authStartDate": {
            "minLength": 1,
            "type": "string",
            "example": "2022-01-31"
          },
          "authEndDate": {
            "minLength": 1,
            "type": "string",
            "example": "2022-01-31"
          },
          "authorizationNumber": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "example": "Authnumber12345"
          },
          "diagnosis": {
            "$ref": "#/components/schemas/AuthDiagnosis"
          },
          "renderingProviderTypeId": {
            "maximum": 3,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "example": 3
          },
          "renderingProviderStaffId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 305757
          },
          "totalNumberOfUnits": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 3
          },
          "childProfileReferringProviderId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 305757
          },
          "distributionTypeId": {
            "$ref": "#/components/schemas/AuthorizationDistributionTypes"
          },
          "authorizationServices": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClientBillingCode"
            },
            "nullable": true
          },
          "clientFunderId": {
            "type": "integer",
            "description": "RHD-51545: the client funder plan this authorization belongs to. Null on a legacy authorization.",
            "format": "int32",
            "nullable": true
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "ClientAvailability": {
        "required": [
          "dayId",
          "endTime",
          "startTime"
        ],
        "type": "object",
        "properties": {
          "clientAvailabilityId": {
            "type": "integer",
            "format": "int32",
            "example": 4567
          },
          "dayId": {
            "maximum": 6,
            "minimum": 0,
            "type": "integer",
            "format": "int32",
            "example": 4
          },
          "startTime": {
            "minLength": 1,
            "type": "string",
            "example": "16:00"
          },
          "endTime": {
            "minLength": 1,
            "type": "string",
            "example": "17:00"
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "ClientBillingCode": {
        "required": [
          "authorizedFrequency",
          "authorizedUnits",
          "billingCodeId"
        ],
        "type": "object",
        "properties": {
          "authorizationBillingCodeId": {
            "type": "integer",
            "format": "int32",
            "example": 234567
          },
          "billingCodeId": {
            "type": "integer",
            "format": "int32",
            "example": 305757
          },
          "authorizedUnits": {
            "maximum": 2147483647,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "example": 9999
          },
          "authorizedFrequency": {
            "maximum": 4,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "example": 4
          },
          "deletedAuthorizationBillingCodeId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 943
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "ClientContactInfo": {
        "required": [
          "clientId",
          "firstName",
          "lastName",
          "relationship",
          "timeZoneId"
        ],
        "type": "object",
        "properties": {
          "clientContactId": {
            "type": "integer",
            "format": "int32"
          },
          "clientId": {
            "type": "integer",
            "format": "int32",
            "example": 175890
          },
          "firstName": {
            "maxLength": 50,
            "minLength": 0,
            "type": "string",
            "example": "Eric"
          },
          "lastName": {
            "maxLength": 50,
            "minLength": 0,
            "type": "string",
            "example": "Morales"
          },
          "relationship": {
            "maxLength": 40,
            "minLength": 0,
            "type": "string",
            "example": "parent"
          },
          "primaryPhone": {
            "maxLength": 13,
            "minLength": 0,
            "pattern": "^[0-9]+$",
            "type": "string",
            "nullable": true,
            "example": "1111111111"
          },
          "secondaryPhone": {
            "maxLength": 13,
            "minLength": 0,
            "pattern": "^[0-9]+$",
            "type": "string",
            "nullable": true,
            "example": "1111111111"
          },
          "tertiaryPhone": {
            "maxLength": 13,
            "minLength": 0,
            "pattern": "^[0-9]+$",
            "type": "string",
            "nullable": true,
            "example": "1111111111"
          },
          "email": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "format": "email",
            "nullable": true,
            "example": "jane.morales@rethinkfirst.com"
          },
          "addressStreet": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "12345 21 Street"
          },
          "city": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "New York City"
          },
          "stateId": {
            "maximum": 52,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 35
          },
          "zipCode": {
            "pattern": "^(?=[0-9-]*$)(?:.{5}|.{9})$",
            "type": "string",
            "nullable": true,
            "example": "77451"
          },
          "timeZoneId": {
            "maximum": 105,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "example": 8
          },
          "rethinkLogin": {
            "type": "boolean",
            "example": false
          },
          "theraweLogin": {
            "type": "boolean",
            "example": false
          },
          "isPrimary": {
            "type": "boolean"
          },
          "hasActiveAccount": {
            "type": "boolean"
          },
          "memberId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ClientContactactsResponseModel": {
        "type": "object",
        "properties": {
          "contacts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClientContactInfo"
            },
            "nullable": true
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "ClientCustomFieldData": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "accountInfoId": {
            "type": "integer",
            "format": "int32"
          },
          "label": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/CustomFieldTypes"
          },
          "order": {
            "type": "integer",
            "format": "int32"
          },
          "showInProfile": {
            "type": "boolean"
          },
          "showInList": {
            "type": "boolean"
          },
          "dateDeleted": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "isDeleting": {
            "type": "boolean"
          },
          "clientId": {
            "type": "integer",
            "format": "int32"
          },
          "hasOptions": {
            "type": "boolean"
          },
          "customFieldValues": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClientCustomFieldValue"
            },
            "nullable": true
          },
          "customFieldOptions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClientCustomFieldOption"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ClientCustomFieldOption": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "value": {
            "type": "string",
            "nullable": true
          },
          "clientCustomFieldId": {
            "type": "integer",
            "format": "int32"
          },
          "values": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClientCustomFieldOptionValue"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ClientCustomFieldOptionValue": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "optionId": {
            "type": "integer",
            "format": "int32"
          },
          "clientId": {
            "type": "integer",
            "format": "int32"
          },
          "selected": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ClientCustomFieldValue": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ClientDeleteFilesByIdModel": {
        "type": "object",
        "properties": {
          "fileId": {
            "type": "integer",
            "format": "int32",
            "example": 5851490
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "ClientDeleteFilesByNameModel": {
        "required": [
          "clientId",
          "fileName",
          "folderName"
        ],
        "type": "object",
        "properties": {
          "clientId": {
            "maximum": 2147483647,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "example": 175239
          },
          "folderName": {
            "maxLength": 250,
            "minLength": 0,
            "type": "string",
            "example": "Assessment"
          },
          "fileName": {
            "minLength": 1,
            "type": "string",
            "example": "Preference_Assessment_02172021.pdf"
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "ClientFileModel": {
        "required": [
          "clientId",
          "file",
          "fileName",
          "folderName"
        ],
        "type": "object",
        "properties": {
          "folderName": {
            "minLength": 1,
            "type": "string",
            "example": "Intake Forms"
          },
          "file": {
            "minLength": 1,
            "type": "string",
            "example": "dGVzdCBhdHRhY2hlbWVudA=="
          },
          "fileName": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "example": "abc.txt"
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          },
          "clientId": {
            "type": "integer",
            "format": "int32",
            "example": 63602
          },
          "clientFileId": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "ClientFunder": {
        "required": [
          "authPaymentId",
          "authReleaseId",
          "funderId",
          "insuredGenderId",
          "insuredId",
          "relationshipId",
          "serviceLineIds"
        ],
        "type": "object",
        "properties": {
          "clientFunderId": {
            "type": "integer",
            "format": "int32",
            "example": 34567
          },
          "funderSequence": {
            "maximum": 3,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "example": 1
          },
          "funderId": {
            "type": "integer",
            "format": "int32",
            "example": 130336
          },
          "caseManagerId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 56789
          },
          "clientMedicalRecordNumber": {
            "maxLength": 15,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "A334456"
          },
          "relationshipId": {
            "maximum": 2,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "example": 1
          },
          "serviceLineIds": {
            "minItems": 1,
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "example": [
              1921,
              1969
            ]
          },
          "insuredFirstName": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "Jane"
          },
          "insuredLastName": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "Morales"
          },
          "insuredAddressLine1": {
            "maxLength": 500,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "4000 Bedford Street"
          },
          "insuredCity": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "Boston"
          },
          "insuredStateId": {
            "maximum": 52,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 20
          },
          "insuredZip": {
            "maxLength": 9,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "34567"
          },
          "insuredPhone": {
            "maxLength": 13,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "1111111111"
          },
          "insuredEmail": {
            "maxLength": 50,
            "minLength": 0,
            "type": "string",
            "format": "email",
            "nullable": true,
            "example": "jane.morales@rethinkfirst.com"
          },
          "insuredDob": {
            "type": "string",
            "nullable": true,
            "example": "1965-12-12"
          },
          "insuredGenderId": {
            "maximum": 3,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "example": 2
          },
          "insuredMaritalStatusId": {
            "maximum": 3,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 2
          },
          "insuredId": {
            "maxLength": 20,
            "minLength": 0,
            "type": "string",
            "example": "2"
          },
          "policyStartDate": {
            "type": "string",
            "nullable": true,
            "example": "2021-01-01"
          },
          "policyEndDate": {
            "type": "string",
            "nullable": true,
            "example": "2021-01-01"
          },
          "policyGroup": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "W0049980"
          },
          "planId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": null
          },
          "authReleaseId": {
            "maximum": 2,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "example": 1
          },
          "authPaymentId": {
            "maximum": 2,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "example": 1
          },
          "authReleaseDate": {
            "type": "string",
            "nullable": true,
            "example": "2021-01-01"
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "ClientFunderAddRequest": {
        "required": [
          "authPaymentId",
          "authReleaseId",
          "clientId",
          "funderId",
          "insuredGenderId",
          "insuredId",
          "relationshipId"
        ],
        "type": "object",
        "properties": {
          "funderId": {
            "maximum": 2147483647,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "example": 130336
          },
          "clientId": {
            "maximum": 2147483647,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "example": 15789
          },
          "funderSequence": {
            "maximum": 3,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 1
          },
          "caseManagerId": {
            "maximum": 2147483647,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 56789
          },
          "clientMedicalRecordNumber": {
            "maxLength": 15,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "A334456"
          },
          "relationshipId": {
            "maximum": 2,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "example": 1
          },
          "insuredFirstName": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "Jane"
          },
          "insuredLastName": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "Morales"
          },
          "insuredAddressLine1": {
            "maxLength": 500,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "4000 Bedford Street"
          },
          "insuredCity": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "Boston"
          },
          "insuredStateId": {
            "maximum": 52,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 20
          },
          "insuredZip": {
            "maxLength": 9,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "34567"
          },
          "insuredPhone": {
            "maxLength": 13,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "1111111111"
          },
          "insuredEmail": {
            "maxLength": 50,
            "minLength": 0,
            "pattern": "^(([^<>()\\[\\]\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[?[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\]?)|(([a-zA-Z0-9]+[a-zA-Z-0-9]*\\.)+[a-zA-Z]{2,}))$",
            "type": "string",
            "nullable": true,
            "example": "jane.morales@rethinkfirst.com"
          },
          "serviceLineIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true,
            "example": [
              2,
              10,
              16
            ]
          },
          "insuredDob": {
            "type": "string",
            "nullable": true,
            "example": "1965-12-12"
          },
          "insuredGenderId": {
            "maximum": 3,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "example": 2
          },
          "insuredMaritalStatusId": {
            "maximum": 3,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 2
          },
          "insuredId": {
            "maxLength": 20,
            "minLength": 0,
            "type": "string",
            "example": "23235"
          },
          "policyStartDate": {
            "type": "string",
            "nullable": true,
            "example": "2021-01-01"
          },
          "policyEndDate": {
            "type": "string",
            "nullable": true,
            "example": "2021-01-01"
          },
          "policyGroup": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "W0049980"
          },
          "planId": {
            "maximum": 2147483647,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 1045
          },
          "authReleaseId": {
            "maximum": 2,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "example": 1
          },
          "authPaymentId": {
            "maximum": 2,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "example": 1
          },
          "authReleaseDate": {
            "type": "string",
            "nullable": true,
            "example": "2021-01-01"
          }
        },
        "additionalProperties": false
      },
      "ClientFunderDeleteRequest": {
        "required": [
          "clientFunderId"
        ],
        "type": "object",
        "properties": {
          "clientFunderId": {
            "type": "integer",
            "format": "int32",
            "example": 1234
          }
        },
        "additionalProperties": false
      },
      "ClientFunderDeleteResponse": {
        "type": "object",
        "properties": {
          "clientFunderId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 1234
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          },
          "reasonCode": {
            "type": "string",
            "description": "Set only when a funder plan rule rejected the request.",
            "nullable": true,
            "example": "FUNDER_PLAN_DELETE_REFERENCED"
          },
          "conflict": {
            "$ref": "#/components/schemas/FunderCoverageConflict"
          }
        },
        "additionalProperties": false
      },
      "ClientFunderGetResponse": {
        "type": "object",
        "properties": {
          "clientFunderId": {
            "type": "integer",
            "format": "int32",
            "example": 34567
          },
          "funderId": {
            "type": "integer",
            "format": "int32",
            "example": 130336
          },
          "clientId": {
            "type": "integer",
            "format": "int32",
            "example": 15789
          },
          "funderSequence": {
            "type": "integer",
            "format": "int32",
            "example": 1
          },
          "caseManagerId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 56789
          },
          "clientMedicalRecordNumber": {
            "type": "string",
            "nullable": true,
            "example": "A334456"
          },
          "relationshipId": {
            "type": "integer",
            "format": "int32",
            "example": 1
          },
          "insuredFirstName": {
            "type": "string",
            "nullable": true,
            "example": "Jane"
          },
          "insuredLastName": {
            "type": "string",
            "nullable": true,
            "example": "Morales"
          },
          "insuredAddressLine1": {
            "type": "string",
            "nullable": true,
            "example": "4000 Bedford Street"
          },
          "insuredCity": {
            "type": "string",
            "nullable": true,
            "example": "Boston"
          },
          "insuredStateId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 20
          },
          "insuredStateAbbreviation": {
            "type": "string",
            "nullable": true,
            "example": "20"
          },
          "insuredZip": {
            "type": "string",
            "nullable": true,
            "example": "34567"
          },
          "insuredPhone": {
            "type": "string",
            "nullable": true,
            "example": "1111111111"
          },
          "insuredEmail": {
            "type": "string",
            "nullable": true,
            "example": "jane.morales@rethinkfirst.com"
          },
          "insuredDob": {
            "type": "string",
            "nullable": true,
            "example": "1965-12-12"
          },
          "insuredGenderId": {
            "type": "integer",
            "format": "int32",
            "example": 2
          },
          "insuredMaritalStatusId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 2
          },
          "insuredId": {
            "type": "string",
            "nullable": true,
            "example": "2"
          },
          "serviceLineIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true,
            "example": [
              2,
              10,
              16
            ]
          },
          "policyStartDate": {
            "type": "string",
            "nullable": true,
            "example": "2021-01-01"
          },
          "policyEndDate": {
            "type": "string",
            "nullable": true,
            "example": "2021-01-01"
          },
          "policyGroup": {
            "type": "string",
            "nullable": true,
            "example": "W0049980"
          },
          "planId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 1045
          },
          "planName": {
            "type": "string",
            "nullable": true,
            "example": "ABC"
          },
          "authReleaseId": {
            "type": "integer",
            "format": "int32",
            "example": 1
          },
          "authPaymentId": {
            "type": "integer",
            "format": "int32",
            "example": 1
          },
          "authReleaseDate": {
            "type": "string",
            "nullable": true,
            "example": "2021-01-01"
          },
          "stateAbbreviation": {
            "type": "string",
            "nullable": true,
            "example": "2021-01-01"
          },
          "dateCreated": {
            "type": "string",
            "format": "date-time",
            "example": "2020-12-10T17:45:58.453"
          },
          "dateLastModified": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2020-12-24T10:15:06.127"
          },
          "dateDeleted": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2021-01-15T13:45:47.237"
          }
        },
        "additionalProperties": false
      },
      "ClientFunderGetResponseSearchResponse": {
        "type": "object",
        "properties": {
          "count": {
            "type": "integer",
            "format": "int32"
          },
          "totalDataCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalPages": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "currentPage": {
            "type": "integer",
            "format": "int32"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClientFunderGetResponse"
            },
            "nullable": true
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "ClientFunderReactivateRequest": {
        "required": [
          "clientFunderId"
        ],
        "type": "object",
        "properties": {
          "clientFunderId": {
            "type": "integer",
            "format": "int32",
            "example": 1234
          }
        },
        "additionalProperties": false
      },
      "ClientFunderResponse": {
        "type": "object",
        "properties": {
          "clientFunderId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 34567
          },
          "funderId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 130336
          },
          "clientId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 15789
          },
          "funderSequence": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 1
          },
          "caseManagerId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 56789
          },
          "clientMedicalRecordNumber": {
            "type": "string",
            "nullable": true,
            "example": "A334456"
          },
          "relationshipId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 1
          },
          "insuredFirstName": {
            "type": "string",
            "nullable": true,
            "example": "Jane"
          },
          "insuredLastName": {
            "type": "string",
            "nullable": true,
            "example": "Morales"
          },
          "insuredAddressLine1": {
            "type": "string",
            "nullable": true,
            "example": "4000 Bedford Street"
          },
          "insuredCity": {
            "type": "string",
            "nullable": true,
            "example": "Boston"
          },
          "insuredStateId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 20
          },
          "insuredZip": {
            "type": "string",
            "nullable": true,
            "example": "34567"
          },
          "insuredPhone": {
            "type": "string",
            "nullable": true,
            "example": "1111111111"
          },
          "insuredEmail": {
            "type": "string",
            "nullable": true,
            "example": "jane.morales@rethinkfirst.com"
          },
          "insuredDob": {
            "type": "string",
            "nullable": true,
            "example": "1965-12-12"
          },
          "insuredGenderId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 2
          },
          "insuredMaritalStatusId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 2
          },
          "insuredId": {
            "type": "string",
            "nullable": true,
            "example": "23235"
          },
          "serviceLineIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true,
            "example": [
              9,
              12,
              33
            ]
          },
          "policyStartDate": {
            "type": "string",
            "nullable": true,
            "example": "2021-01-01"
          },
          "policyEndDate": {
            "type": "string",
            "nullable": true,
            "example": "2021-01-01"
          },
          "policyGroup": {
            "type": "string",
            "nullable": true,
            "example": "W0049980"
          },
          "planId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 1045
          },
          "authReleaseId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 1
          },
          "authPaymentId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 1
          },
          "authReleaseDate": {
            "type": "string",
            "nullable": true,
            "example": "2021-01-01"
          },
          "dateCreated": {
            "type": "string",
            "format": "date-time",
            "example": "2020-12-10T17:45:58.453"
          },
          "dateLastModified": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2020-12-24T10:15:06.127"
          },
          "dateDeleted": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2021-01-15T13:45:47.237"
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          },
          "reasonCode": {
            "type": "string",
            "description": "Set only when a funder plan rule rejected the request.",
            "nullable": true,
            "example": "FUNDER_PLAN_OVERLAP"
          },
          "conflict": {
            "$ref": "#/components/schemas/FunderCoverageConflict"
          }
        },
        "additionalProperties": false
      },
      "ClientFunderUpdateRequest": {
        "required": [
          "authPaymentId",
          "authReleaseId",
          "clientFunderId",
          "clientId",
          "funderId",
          "insuredGenderId",
          "insuredId",
          "relationshipId"
        ],
        "type": "object",
        "properties": {
          "clientFunderId": {
            "maximum": 2147483647,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "example": 34567
          },
          "funderId": {
            "maximum": 2147483647,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "example": 130336
          },
          "clientId": {
            "maximum": 2147483647,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "example": 15789
          },
          "funderSequence": {
            "maximum": 3,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 1
          },
          "caseManagerId": {
            "maximum": 2147483647,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 56789
          },
          "clientMedicalRecordNumber": {
            "maxLength": 15,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "A334456"
          },
          "relationshipId": {
            "maximum": 2,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "example": 1
          },
          "insuredFirstName": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "Jane"
          },
          "insuredLastName": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "Morales"
          },
          "insuredAddressLine1": {
            "maxLength": 500,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "4000 Bedford Street"
          },
          "insuredCity": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "Boston"
          },
          "insuredStateId": {
            "maximum": 52,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 20
          },
          "insuredZip": {
            "maxLength": 9,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "34567"
          },
          "insuredPhone": {
            "maxLength": 13,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "1111111111"
          },
          "insuredEmail": {
            "maxLength": 50,
            "minLength": 0,
            "pattern": "^(([^<>()\\[\\]\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[?[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\]?)|(([a-zA-Z0-9]+[a-zA-Z-0-9]*\\.)+[a-zA-Z]{2,}))$",
            "type": "string",
            "nullable": true,
            "example": "jane.morales@rethinkfirst.com"
          },
          "serviceLineIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true,
            "example": [
              2,
              10,
              16
            ]
          },
          "insuredDob": {
            "type": "string",
            "nullable": true,
            "example": "1965-12-12"
          },
          "insuredGenderId": {
            "maximum": 3,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "example": 2
          },
          "insuredMaritalStatusId": {
            "maximum": 3,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 2
          },
          "insuredId": {
            "maxLength": 20,
            "minLength": 0,
            "type": "string",
            "example": "23235"
          },
          "policyStartDate": {
            "type": "string",
            "nullable": true,
            "example": "2021-01-01"
          },
          "policyEndDate": {
            "type": "string",
            "nullable": true,
            "example": "2021-01-01"
          },
          "policyGroup": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "W0049980"
          },
          "planId": {
            "maximum": 2147483647,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 1045
          },
          "authReleaseId": {
            "maximum": 2,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "example": 1
          },
          "authPaymentId": {
            "maximum": 2,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "example": 1
          },
          "authReleaseDate": {
            "type": "string",
            "nullable": true,
            "example": "2021-01-01"
          }
        },
        "additionalProperties": false
      },
      "ClientNote": {
        "required": [
          "notes",
          "noteTitle",
          "noteTypeId"
        ],
        "type": "object",
        "properties": {
          "noteId": {
            "type": "integer",
            "format": "int32",
            "example": 45678
          },
          "private": {
            "type": "boolean",
            "example": true
          },
          "noteTypeId": {
            "type": "integer",
            "format": "int32",
            "example": 511
          },
          "noteTitle": {
            "maxLength": 250,
            "minLength": 0,
            "type": "string",
            "example": "phone call with mom"
          },
          "notes": {
            "maxLength": 1000,
            "minLength": 0,
            "type": "string",
            "example": "received a text message from dad on 9/30/20 stating to not contact mom and threatened to go to the news. I called mom and told her."
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "ClientReferringProviderAddRequest": {
        "required": [
          "clientId",
          "referringProviderId"
        ],
        "type": "object",
        "properties": {
          "clientId": {
            "type": "integer",
            "format": "int32",
            "example": 244474
          },
          "referringProviderId": {
            "type": "integer",
            "format": "int32",
            "example": 10064
          },
          "isDefault": {
            "type": "boolean",
            "example": false
          }
        },
        "additionalProperties": false
      },
      "ClientReferringProviderDeleteRequest": {
        "required": [
          "clientReferringProviderId"
        ],
        "type": "object",
        "properties": {
          "clientReferringProviderId": {
            "type": "integer",
            "format": "int32",
            "example": 10064
          }
        },
        "additionalProperties": false
      },
      "ClientReferringProviderDeleteResponse": {
        "type": "object",
        "properties": {
          "clientReferringProviderId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 10064
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "ClientReferringProviderGetResponse": {
        "type": "object",
        "properties": {
          "clientReferringProviderId": {
            "type": "integer",
            "format": "int32",
            "example": 15526
          },
          "clientId": {
            "type": "integer",
            "format": "int32",
            "example": 244474
          },
          "referringProviderId": {
            "type": "integer",
            "format": "int32",
            "example": 10064
          },
          "isDefault": {
            "type": "boolean",
            "example": false
          },
          "dateCreated": {
            "type": "string",
            "format": "date-time",
            "example": "2020-12-10T17:45:58.453"
          },
          "dateLastModified": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2020-12-24T10:15:06.127"
          },
          "dateDeleted": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2021-01-15T13:45:47.237"
          }
        },
        "additionalProperties": false
      },
      "ClientReferringProviderGetResponseSearchResponse": {
        "type": "object",
        "properties": {
          "count": {
            "type": "integer",
            "format": "int32"
          },
          "totalDataCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalPages": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "currentPage": {
            "type": "integer",
            "format": "int32"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClientReferringProviderGetResponse"
            },
            "nullable": true
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "ClientReferringProviderReactivateRequest": {
        "required": [
          "clientReferringProviderId"
        ],
        "type": "object",
        "properties": {
          "clientReferringProviderId": {
            "type": "integer",
            "format": "int32",
            "example": 10064
          }
        },
        "additionalProperties": false
      },
      "ClientReferringProviderResponse": {
        "type": "object",
        "properties": {
          "clientReferringProviderId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 15526
          },
          "clientId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 244474
          },
          "referringProviderId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 10064
          },
          "isDefault": {
            "type": "boolean",
            "example": false
          },
          "dateCreated": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2020-12-10T17:45:58.453"
          },
          "dateLastModified": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2020-12-24T10:15:06.127"
          },
          "dateDeleted": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2021-01-15T13:45:47.237"
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "ClientReferringProviderUpdateRequest": {
        "required": [
          "clientId",
          "clientReferringProviderId",
          "referringProviderId"
        ],
        "type": "object",
        "properties": {
          "clientReferringProviderId": {
            "type": "integer",
            "format": "int32",
            "example": 15526
          },
          "clientId": {
            "type": "integer",
            "format": "int32",
            "example": 244474
          },
          "referringProviderId": {
            "type": "integer",
            "format": "int32",
            "example": 10064
          },
          "isDefault": {
            "type": "boolean",
            "example": false
          }
        },
        "additionalProperties": false
      },
      "ClientSearchResponse": {
        "type": "object",
        "properties": {
          "count": {
            "type": "integer",
            "format": "int32"
          },
          "totalDataCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalPages": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "currentPage": {
            "type": "integer",
            "format": "int32"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Client"
            },
            "nullable": true
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "ClientStatus": {
        "type": "object",
        "properties": {
          "statusId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "statusName": {
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          },
          "isDemo": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "CountryEntity": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "pos": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "utcOffSet": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "utcdstOffSet": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "dateCreated": {
            "type": "string",
            "format": "date-time"
          },
          "dateLastModified": {
            "type": "string",
            "format": "date-time"
          },
          "dateDeleted": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateFunderModel": {
        "required": [
          "addressLine1",
          "city",
          "country",
          "funderName",
          "locationID",
          "stateAbbreviation",
          "zipCode"
        ],
        "type": "object",
        "properties": {
          "locationID": {
            "type": "integer",
            "format": "int32"
          },
          "funderTypeID": {
            "maximum": 2147483647,
            "minimum": 1,
            "type": "integer",
            "format": "int32"
          },
          "funderName": {
            "maxLength": 35,
            "minLength": 1,
            "type": "string"
          },
          "addressLine1": {
            "maxLength": 30,
            "minLength": 1,
            "type": "string"
          },
          "city": {
            "maxLength": 30,
            "minLength": 1,
            "type": "string"
          },
          "stateAbbreviation": {
            "maxLength": 3,
            "minLength": 1,
            "type": "string"
          },
          "country": {
            "maxLength": 35,
            "minLength": 1,
            "type": "string"
          },
          "zipCode": {
            "maxLength": 10,
            "minLength": 1,
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "CreatePayroll": {
        "required": [
          "paycodes"
        ],
        "type": "object",
        "properties": {
          "staffId": {
            "maximum": 2147483647,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "example": 345355
          },
          "paycodes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Payroll"
            }
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "CreatePayrollResponseModel": {
        "type": "object",
        "properties": {
          "staffId": {
            "type": "integer",
            "format": "int32"
          },
          "paycodes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetPayrollModel"
            },
            "nullable": true
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "CustomFieldTypes": {
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6
        ],
        "type": "integer",
        "format": "int32"
      },
      "DayOfWeek": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6
        ],
        "type": "integer",
        "format": "int32"
      },
      "DeleteAppointmentsResponseModel": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "nullable": true,
            "example": "success"
          },
          "messages": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DeleteClientAuthorizationRequestModel": {
        "required": [
          "clientAuthorizationId"
        ],
        "type": "object",
        "properties": {
          "clientAuthorizationId": {
            "type": "integer",
            "format": "int32",
            "example": 271611
          }
        },
        "additionalProperties": false
      },
      "DeleteClientAuthorizationResponseModel": {
        "type": "object",
        "properties": {
          "clientAuthorizationId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 271611
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "DeleteClientResponse": {
        "type": "object",
        "properties": {
          "clientId": {
            "type": "integer",
            "format": "int32"
          },
          "firstName": {
            "type": "string",
            "nullable": true,
            "example": "Eric"
          },
          "middleName": {
            "type": "string",
            "nullable": true,
            "example": "T"
          },
          "lastName": {
            "type": "string",
            "nullable": true,
            "example": "Morales"
          },
          "dateOfBirth": {
            "type": "string",
            "nullable": true,
            "example": "2015-12-10"
          },
          "genderId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 1
          },
          "addressStreet": {
            "type": "string",
            "nullable": true,
            "example": "12345 21 Street"
          },
          "city": {
            "type": "string",
            "nullable": true,
            "example": "New York City"
          },
          "stateId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 35
          },
          "zipCode": {
            "type": "string",
            "nullable": true,
            "example": "7745"
          },
          "clientExternalID": {
            "type": "string",
            "nullable": true,
            "example": "234RTY7699"
          },
          "clientOrder": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 12345
          },
          "reasonForReferral": {
            "type": "string",
            "nullable": true,
            "example": "Social skill issues"
          },
          "locationId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 2801
          },
          "statusId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 41200
          },
          "serviceIntensityId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 1
          },
          "notes": {
            "type": "string",
            "nullable": true,
            "example": "NO BCBA on Case"
          },
          "dateCreated": {
            "type": "string",
            "format": "date-time"
          },
          "dateLastModified": {
            "type": "string",
            "format": "date-time"
          },
          "dateDeleted": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "DeleteFunderServiceLineRequestModel": {
        "required": [
          "funderServiceLineId"
        ],
        "type": "object",
        "properties": {
          "funderServiceLineId": {
            "type": "integer",
            "format": "int32",
            "example": 1223
          }
        },
        "additionalProperties": false
      },
      "DeleteFunderServiceLineResponseModel": {
        "type": "object",
        "properties": {
          "funderServiceLineId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 1223
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "DeleteLocationByIdResponseModel": {
        "type": "object",
        "properties": {
          "locationId": {
            "type": "integer",
            "format": "int32"
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "DeleteLocationByNameResponseModel": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "DeletePayrollModel": {
        "type": "object",
        "properties": {
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "DeleteStaffMemberResponseModel": {
        "type": "object",
        "properties": {
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          },
          "id": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "EVVReason": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "appointmentId": {
            "type": "integer",
            "format": "int32"
          },
          "evvReasonCodeId": {
            "type": "integer",
            "format": "int32"
          },
          "isDeactivated": {
            "type": "boolean",
            "nullable": true
          },
          "note": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EmployeeType": {
        "type": "object",
        "properties": {
          "employeeTypeId": {
            "type": "integer",
            "format": "int32"
          },
          "employeeTypeName": {
            "type": "string",
            "nullable": true
          },
          "employeeTypeDescription": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EvvStatus": {
        "enum": [
          1,
          2,
          3,
          4,
          5
        ],
        "type": "integer",
        "format": "int32"
      },
      "ExceedAuthorizationResult": {
        "type": "object",
        "properties": {
          "appointmentId": {
            "type": "integer",
            "format": "int32"
          },
          "isExceedAuthorization": {
            "type": "boolean",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FrequencyTypeModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FrequencyTypes": {
        "enum": [
          1,
          2,
          3,
          4
        ],
        "type": "integer",
        "format": "int32"
      },
      "Funder": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "serviceLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ServiceLine"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FunderCoverageConflict": {
        "type": "object",
        "properties": {
          "mappingId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "funderId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "priority": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "planNameSnapshot": {
            "type": "string",
            "nullable": true
          },
          "existingStartDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "existingEndDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "requestedStartDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "requestedEndDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "The conflict fields of a rejected funder plan change. Key names match the body HealthPlans and FHIR return\r\n(mappingId, funderId, priority, planNameSnapshot, existing and requested date ranges).\r\nCarries no insured id and no plan name other than the conflicting mapping's snapshot."
      },
      "FunderServiceLimitModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "ruleType": {
            "type": "integer",
            "format": "int32"
          },
          "ruleTypeName": {
            "type": "string",
            "nullable": true
          },
          "unitLimit": {
            "type": "integer",
            "format": "int32"
          },
          "frequency": {
            "type": "integer",
            "format": "int32"
          },
          "frequencyName": {
            "type": "string",
            "nullable": true
          },
          "behavior": {
            "type": "integer",
            "format": "int32"
          },
          "behaviorName": {
            "type": "string",
            "nullable": true
          },
          "modifierConditionMode": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "modifierCodes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetAppointmentByIdResponseModel": {
        "type": "object",
        "properties": {
          "appointments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetAppointmentModel"
            },
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "GetAppointmentLocationModel": {
        "type": "object",
        "properties": {
          "latitude": {
            "type": "number",
            "description": "latitude",
            "format": "double",
            "nullable": true,
            "example": 38.8951
          },
          "longitude": {
            "type": "number",
            "description": "longitude",
            "format": "double",
            "nullable": true,
            "example": -77.0364
          }
        },
        "additionalProperties": false
      },
      "GetAppointmentModel": {
        "type": "object",
        "properties": {
          "appointmentId": {
            "type": "integer",
            "description": "primary key",
            "format": "int32",
            "nullable": true,
            "example": 456456555
          },
          "appointmentTypeId": {
            "type": "integer",
            "description": "hcAppointmentTypes",
            "format": "int32",
            "nullable": true,
            "example": 1
          },
          "appointmentTypeName": {
            "type": "string",
            "description": "Appointment Type Name",
            "nullable": true,
            "example": "Appointment Name"
          },
          "evvStatusId": {
            "type": "integer",
            "description": "hcAppointments.EVVStatusId",
            "format": "int32",
            "nullable": true,
            "example": 1
          },
          "evvStatusName": {
            "type": "string",
            "description": "hcAppointments.EVVStatusId (Name)",
            "nullable": true,
            "example": "Pending"
          },
          "scheduledStartDateTime": {
            "type": "string",
            "description": "scheduled start time - UTC datetime",
            "nullable": true,
            "example": "2021-17-21T08:20:00Z"
          },
          "scheduledEndDateTime": {
            "type": "string",
            "description": "scheduled end time - UTC datetime",
            "nullable": true,
            "example": "2021-17-21T08:20:00Z"
          },
          "staffId": {
            "type": "integer",
            "description": "staff ID",
            "format": "int32",
            "nullable": true,
            "example": 349174
          },
          "clientId": {
            "type": "integer",
            "description": "client ID",
            "format": "int32",
            "nullable": true,
            "example": 175239
          },
          "payCodeId": {
            "type": "integer",
            "description": "hcStaffPaycodes (hcStaffMemberPayroll.hcStaffPaycodeId)",
            "format": "int32",
            "nullable": true,
            "example": 3467
          },
          "payCodeName": {
            "type": "string",
            "description": "hcStaffPaycodes (hcStaffMemberPayroll.hcStaffPaycodeName)",
            "nullable": true,
            "example": "3467"
          },
          "tagId": {
            "type": "integer",
            "description": "hcAppointmentCustomTags (hcAppointments.ActivityTagId)",
            "format": "int32",
            "nullable": true,
            "example": 1
          },
          "tagName": {
            "type": "string",
            "description": "hcAppointmentCustomTags (hcAppointments.ActivityTagName)",
            "nullable": true,
            "example": "1"
          },
          "locationCodeId": {
            "type": "integer",
            "description": "hcLocationCodes (hcAppointments.LocationId)",
            "format": "int32",
            "nullable": true,
            "example": 3
          },
          "locationId": {
            "type": "integer",
            "description": "hcProviderLocation (hcAppointments.ToLocationId)",
            "format": "int32",
            "nullable": true,
            "example": 2801
          },
          "scheduledLocationAddress": {
            "type": "string",
            "description": "single line address",
            "nullable": true,
            "example": "49 W 27th St, New York, NY 10001"
          },
          "authorizationBillingCodeId": {
            "type": "integer",
            "description": "hcChildProfileAuthorizationBillingCode (hcAppointments.ProcedureCodeId)",
            "format": "int32",
            "nullable": true,
            "example": 378222
          },
          "funderBillingCodeId": {
            "type": "integer",
            "description": "hcProviderBillingCode (hcChildProfileAuthorizationBillingCode.hcProviderBillingCodeId)",
            "format": "int32",
            "nullable": true
          },
          "cancellationTypeId": {
            "type": "integer",
            "description": "hcAppointmentCancellationTypes",
            "format": "int32",
            "nullable": true,
            "example": 1
          },
          "cancellationSubtypeId": {
            "type": "integer",
            "description": "hcAppointmentCustomTags (hcAppointments.CancellationTagId), hcAppointmentCustomTagTypeId 1=Cancellation",
            "format": "int32",
            "nullable": true,
            "example": 1
          },
          "cancellationNote": {
            "type": "string",
            "description": "(hcAppointments.CancellationNote),",
            "nullable": true,
            "example": "1"
          },
          "actualStartDateTime": {
            "type": "string",
            "description": "actual start time - UTC datetime",
            "nullable": true,
            "example": "2021-17-21T08:20:00Z"
          },
          "actualEndDateTime": {
            "type": "string",
            "description": "actual end time - UTC datetime",
            "nullable": true,
            "example": "2021-17-21T08:20:00Z"
          },
          "staffVerificationDateTime": {
            "type": "string",
            "description": "staff verification timestamp (UTC)",
            "nullable": true,
            "example": "2021-17-21T08:20:00Z"
          },
          "parentVerificationDateTime": {
            "type": "string",
            "description": "parent verification timestamp (UTC)",
            "nullable": true,
            "example": "2021-17-21T08:20:00Z"
          },
          "hasStaffVerified": {
            "type": "boolean",
            "description": "staff verification timestamp has a date",
            "readOnly": true,
            "example": true
          },
          "hasParentVerified": {
            "type": "boolean",
            "description": "parent verification timestamp has a date",
            "readOnly": true,
            "example": true
          },
          "sessionNoteDraftFormId": {
            "type": "integer",
            "description": "SessionNoteDraftFormId",
            "format": "int32",
            "nullable": true,
            "example": 73136
          },
          "appointmentStatusId": {
            "$ref": "#/components/schemas/AppointmentStatusTypes"
          },
          "appointmentStatusName": {
            "type": "string",
            "description": "Scheduled, NeedsVerification, Completed, CancelledNeedsReschedule, CancelledCannotReschedule, Archived",
            "nullable": true,
            "readOnly": true,
            "example": "Scheduled"
          },
          "sessionNoteStatusId": {
            "$ref": "#/components/schemas/SessionNoteStatusType"
          },
          "scheduledLocation": {
            "$ref": "#/components/schemas/GetAppointmentLocationModel"
          },
          "actualStartLocation": {
            "$ref": "#/components/schemas/GetAppointmentLocationModel"
          },
          "actualEndLocation": {
            "$ref": "#/components/schemas/GetAppointmentLocationModel"
          },
          "parentSignature": {
            "type": "string",
            "description": "parent signature - base64 encoded image",
            "nullable": true,
            "example": "R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
          },
          "billingCodeCredentialId": {
            "type": "integer",
            "description": "hcProviderBillingCodeCredentials",
            "format": "int32",
            "nullable": true,
            "example": 1256
          },
          "dateCreated": {
            "type": "string",
            "format": "date-time"
          },
          "dateLastModified": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "lastModifiedBy": {
            "type": "string",
            "description": "Full name of the member who last created or modified this appointment (from audit trail).",
            "nullable": true,
            "example": "Jane Smith"
          },
          "createdByUserId": {
            "type": "integer",
            "description": "Member id of the user who originally created this appointment (from create audit).\r\nSearch, paged, and series responses receive this from the same Created By audit summary as get-by-id.\r\nNull when there is no CreateAppointment audit row or when TransactionBy is 0.",
            "format": "int32",
            "nullable": true,
            "example": 823401
          },
          "createdByUserName": {
            "type": "string",
            "description": "Full name of the user who originally created this appointment (from create audit).\r\nSearch, paged, and series responses receive this from the same Created By audit summary as get-by-id.\r\nNull when there is no CreateAppointment audit row or when TransactionBy is 0.",
            "nullable": true,
            "example": "Rethink Admin"
          },
          "dateDeleted": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "occurrenceTypeId": {
            "type": "integer",
            "format": "int32"
          },
          "occurrenceTypeName": {
            "type": "string",
            "nullable": true
          },
          "seriesAppointmentId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "travelDetail": {
            "$ref": "#/components/schemas/TravelDetail"
          },
          "notes": {
            "type": "string",
            "nullable": true
          },
          "clientFunderId": {
            "type": "integer",
            "description": "RHD-51545: the client funder plan this visit belongs to (`clientFunderId`). Null on a legacy visit saved\r\nbefore plans were stored on visits.",
            "format": "int32",
            "nullable": true,
            "example": 491174
          },
          "duration": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "GetAppointmentWithSeriesModel": {
        "type": "object",
        "properties": {
          "appointmentId": {
            "type": "integer",
            "description": "primary key",
            "format": "int32",
            "nullable": true,
            "example": 456456555
          },
          "appointmentTypeId": {
            "type": "integer",
            "description": "hcAppointmentTypes",
            "format": "int32",
            "nullable": true,
            "example": 1
          },
          "appointmentTypeName": {
            "type": "string",
            "description": "Appointment Type Name",
            "nullable": true,
            "example": "Appointment Name"
          },
          "evvStatusId": {
            "type": "integer",
            "description": "hcAppointments.EVVStatusId",
            "format": "int32",
            "nullable": true,
            "example": 1
          },
          "evvStatusName": {
            "type": "string",
            "description": "hcAppointments.EVVStatusId (Name)",
            "nullable": true,
            "example": "Pending"
          },
          "scheduledStartDateTime": {
            "type": "string",
            "description": "scheduled start time - UTC datetime",
            "nullable": true,
            "example": "2021-17-21T08:20:00Z"
          },
          "scheduledEndDateTime": {
            "type": "string",
            "description": "scheduled end time - UTC datetime",
            "nullable": true,
            "example": "2021-17-21T08:20:00Z"
          },
          "staffId": {
            "type": "integer",
            "description": "staff ID",
            "format": "int32",
            "nullable": true,
            "example": 349174
          },
          "clientId": {
            "type": "integer",
            "description": "client ID",
            "format": "int32",
            "nullable": true,
            "example": 175239
          },
          "payCodeId": {
            "type": "integer",
            "description": "hcStaffPaycodes (hcStaffMemberPayroll.hcStaffPaycodeId)",
            "format": "int32",
            "nullable": true,
            "example": 3467
          },
          "payCodeName": {
            "type": "string",
            "description": "hcStaffPaycodes (hcStaffMemberPayroll.hcStaffPaycodeName)",
            "nullable": true,
            "example": "3467"
          },
          "tagId": {
            "type": "integer",
            "description": "hcAppointmentCustomTags (hcAppointments.ActivityTagId)",
            "format": "int32",
            "nullable": true,
            "example": 1
          },
          "tagName": {
            "type": "string",
            "description": "hcAppointmentCustomTags (hcAppointments.ActivityTagName)",
            "nullable": true,
            "example": "1"
          },
          "locationCodeId": {
            "type": "integer",
            "description": "hcLocationCodes (hcAppointments.LocationId)",
            "format": "int32",
            "nullable": true,
            "example": 3
          },
          "locationId": {
            "type": "integer",
            "description": "hcProviderLocation (hcAppointments.ToLocationId)",
            "format": "int32",
            "nullable": true,
            "example": 2801
          },
          "scheduledLocationAddress": {
            "type": "string",
            "description": "single line address",
            "nullable": true,
            "example": "49 W 27th St, New York, NY 10001"
          },
          "authorizationBillingCodeId": {
            "type": "integer",
            "description": "hcChildProfileAuthorizationBillingCode (hcAppointments.ProcedureCodeId)",
            "format": "int32",
            "nullable": true,
            "example": 378222
          },
          "funderBillingCodeId": {
            "type": "integer",
            "description": "hcProviderBillingCode (hcChildProfileAuthorizationBillingCode.hcProviderBillingCodeId)",
            "format": "int32",
            "nullable": true
          },
          "cancellationTypeId": {
            "type": "integer",
            "description": "hcAppointmentCancellationTypes",
            "format": "int32",
            "nullable": true,
            "example": 1
          },
          "cancellationSubtypeId": {
            "type": "integer",
            "description": "hcAppointmentCustomTags (hcAppointments.CancellationTagId), hcAppointmentCustomTagTypeId 1=Cancellation",
            "format": "int32",
            "nullable": true,
            "example": 1
          },
          "cancellationNote": {
            "type": "string",
            "description": "(hcAppointments.CancellationNote),",
            "nullable": true,
            "example": "1"
          },
          "actualStartDateTime": {
            "type": "string",
            "description": "actual start time - UTC datetime",
            "nullable": true,
            "example": "2021-17-21T08:20:00Z"
          },
          "actualEndDateTime": {
            "type": "string",
            "description": "actual end time - UTC datetime",
            "nullable": true,
            "example": "2021-17-21T08:20:00Z"
          },
          "staffVerificationDateTime": {
            "type": "string",
            "description": "staff verification timestamp (UTC)",
            "nullable": true,
            "example": "2021-17-21T08:20:00Z"
          },
          "parentVerificationDateTime": {
            "type": "string",
            "description": "parent verification timestamp (UTC)",
            "nullable": true,
            "example": "2021-17-21T08:20:00Z"
          },
          "hasStaffVerified": {
            "type": "boolean",
            "description": "staff verification timestamp has a date",
            "readOnly": true,
            "example": true
          },
          "hasParentVerified": {
            "type": "boolean",
            "description": "parent verification timestamp has a date",
            "readOnly": true,
            "example": true
          },
          "sessionNoteDraftFormId": {
            "type": "integer",
            "description": "SessionNoteDraftFormId",
            "format": "int32",
            "nullable": true,
            "example": 73136
          },
          "appointmentStatusId": {
            "$ref": "#/components/schemas/AppointmentStatusTypes"
          },
          "appointmentStatusName": {
            "type": "string",
            "description": "Scheduled, NeedsVerification, Completed, CancelledNeedsReschedule, CancelledCannotReschedule, Archived",
            "nullable": true,
            "readOnly": true,
            "example": "Scheduled"
          },
          "sessionNoteStatusId": {
            "$ref": "#/components/schemas/SessionNoteStatusType"
          },
          "scheduledLocation": {
            "$ref": "#/components/schemas/GetAppointmentLocationModel"
          },
          "actualStartLocation": {
            "$ref": "#/components/schemas/GetAppointmentLocationModel"
          },
          "actualEndLocation": {
            "$ref": "#/components/schemas/GetAppointmentLocationModel"
          },
          "parentSignature": {
            "type": "string",
            "description": "parent signature - base64 encoded image",
            "nullable": true,
            "example": "R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
          },
          "billingCodeCredentialId": {
            "type": "integer",
            "description": "hcProviderBillingCodeCredentials",
            "format": "int32",
            "nullable": true,
            "example": 1256
          },
          "dateCreated": {
            "type": "string",
            "format": "date-time"
          },
          "dateLastModified": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "lastModifiedBy": {
            "type": "string",
            "description": "Full name of the member who last created or modified this appointment (from audit trail).",
            "nullable": true,
            "example": "Jane Smith"
          },
          "createdByUserId": {
            "type": "integer",
            "description": "Member id of the user who originally created this appointment (from create audit).\r\nSearch, paged, and series responses receive this from the same Created By audit summary as get-by-id.\r\nNull when there is no CreateAppointment audit row or when TransactionBy is 0.",
            "format": "int32",
            "nullable": true,
            "example": 823401
          },
          "createdByUserName": {
            "type": "string",
            "description": "Full name of the user who originally created this appointment (from create audit).\r\nSearch, paged, and series responses receive this from the same Created By audit summary as get-by-id.\r\nNull when there is no CreateAppointment audit row or when TransactionBy is 0.",
            "nullable": true,
            "example": "Rethink Admin"
          },
          "dateDeleted": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "occurrenceTypeId": {
            "type": "integer",
            "format": "int32"
          },
          "occurrenceTypeName": {
            "type": "string",
            "nullable": true
          },
          "seriesAppointmentId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "travelDetail": {
            "$ref": "#/components/schemas/TravelDetail"
          },
          "notes": {
            "type": "string",
            "nullable": true
          },
          "clientFunderId": {
            "type": "integer",
            "description": "RHD-51545: the client funder plan this visit belongs to (`clientFunderId`). Null on a legacy visit saved\r\nbefore plans were stored on visits.",
            "format": "int32",
            "nullable": true,
            "example": 491174
          },
          "duration": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "readOnly": true
          },
          "seriesId": {
            "type": "integer",
            "description": "Id of the series master appointment this appointment belongs to.\r\nNull when the appointment is not part of a recurring series.",
            "format": "int32",
            "nullable": true,
            "example": 378222
          }
        },
        "additionalProperties": false
      },
      "GetAppointmentsByPagesResponseModel": {
        "type": "object",
        "properties": {
          "appointments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetAppointmentModel"
            },
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "example": 1234
          },
          "count": {
            "type": "integer",
            "format": "int32",
            "example": 500
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "example": 1
          },
          "pageSize": {
            "type": "integer",
            "format": "int32",
            "example": 500
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "readOnly": true,
            "example": 3
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "GetAppointmentsResponseModel": {
        "type": "object",
        "properties": {
          "appointments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetAppointmentModel"
            },
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "GetAppointmentsWithSeriesByPagesResponseModel": {
        "type": "object",
        "properties": {
          "appointments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetAppointmentWithSeriesModel"
            },
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "example": 1234
          },
          "count": {
            "type": "integer",
            "format": "int32",
            "example": 500
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "example": 1
          },
          "pageSize": {
            "type": "integer",
            "format": "int32",
            "example": 500
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "readOnly": true,
            "example": 3
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "GetBillingDetailsModel": {
        "type": "object",
        "properties": {
          "appointmentId": {
            "type": "integer",
            "description": "Gets or sets AppointmentId",
            "format": "int32"
          },
          "evvStatusId": {
            "type": "integer",
            "description": "Gets or sets EvvStatusId",
            "format": "int32",
            "nullable": true
          },
          "evvRejectedReason": {
            "type": "string",
            "description": "Gets or sets EvvRejectedReason",
            "nullable": true
          },
          "evvReasonCodes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EVVReason"
            },
            "description": "Gets or sets EvvReasonCodes",
            "nullable": true
          },
          "evvAcknowledgedExceptions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AcknowledgeableException"
            },
            "description": "Gets or sets EvvAcknowledgedExceptions",
            "nullable": true
          },
          "kareoEncounterId": {
            "type": "integer",
            "description": "Gets or sets KareoEncounterId",
            "format": "int32",
            "nullable": true
          },
          "sandataID": {
            "type": "string",
            "description": "Gets or sets SandataID",
            "nullable": true
          },
          "hhaxTransactionID": {
            "type": "string",
            "description": "Gets or sets HhaxTransactionID",
            "nullable": true
          },
          "funderId": {
            "type": "integer",
            "description": "Gets or sets FunderId",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Billing Details Response model"
      },
      "GetBillingDetailsResponseModel": {
        "type": "object",
        "properties": {
          "billingDetails": {
            "$ref": "#/components/schemas/GetBillingDetailsModel"
          },
          "status": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false,
        "description": "Billing Details Response model"
      },
      "GetClientAuthorizationResponseModel": {
        "type": "object",
        "properties": {
          "clientAuthorizationId": {
            "type": "integer",
            "format": "int32",
            "example": 271611
          },
          "clientId": {
            "type": "integer",
            "format": "int32",
            "example": 217882
          },
          "funderId": {
            "type": "integer",
            "format": "int32",
            "example": 138331
          },
          "providerServiceId": {
            "type": "integer",
            "format": "int32",
            "example": 1969
          },
          "authorizationNumber": {
            "type": "string",
            "nullable": true,
            "example": "3489423134"
          },
          "authStartDate": {
            "type": "string",
            "format": "date-time",
            "example": "2022-07-08T00:00:00.000"
          },
          "authEndDate": {
            "type": "string",
            "format": "date-time",
            "example": "2022-07-09T00:00:00.000"
          },
          "authorizationDistributionTypeId": {
            "type": "integer",
            "format": "int32",
            "example": 1
          },
          "clientDiagnosisId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 27354
          },
          "diagnosis": {
            "$ref": "#/components/schemas/AuthDiagnosisGetModel"
          },
          "referringProviderId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 24423
          },
          "renderingProviderTypeId": {
            "type": "integer",
            "format": "int32",
            "example": 2
          },
          "renderingProviderStaffId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 138331
          },
          "totalNumberOfUnits": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 3
          },
          "authorizationSubmissionTypeId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 1
          },
          "clientFunderId": {
            "type": "integer",
            "description": "RHD-51545: the client funder plan this authorization belongs to. Null on a legacy authorization that was saved before\r\nplans were stored.",
            "format": "int32",
            "nullable": true,
            "example": 491174
          },
          "dateCreated": {
            "type": "string",
            "format": "date-time",
            "example": "2020-12-10T17:45:58.453"
          },
          "dateLastModified": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2020-12-24T10:15:06.127"
          },
          "dateDeleted": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2021-01-15T13:45:47.237"
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "GetClientAuthorizationResponseModelSearchResponse": {
        "type": "object",
        "properties": {
          "count": {
            "type": "integer",
            "format": "int32"
          },
          "totalDataCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalPages": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "currentPage": {
            "type": "integer",
            "format": "int32"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetClientAuthorizationResponseModel"
            },
            "nullable": true
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "GetFunderServiceLineResponseModel": {
        "type": "object",
        "properties": {
          "funderServiceLineId": {
            "type": "integer",
            "format": "int32",
            "example": 6464
          },
          "funderId": {
            "type": "integer",
            "format": "int32",
            "example": 12353
          },
          "serviceLineId": {
            "type": "integer",
            "format": "int32",
            "example": 2352
          },
          "billingSubmissionMethodId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 1
          },
          "dateCreated": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2020-12-10T17:45:58.453"
          },
          "dateLastModified": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2020-12-24T10:15:06.127"
          },
          "dateDeleted": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2021-01-15T13:45:47.237"
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "GetFunderServiceLineResponseModelSearchResponse": {
        "type": "object",
        "properties": {
          "count": {
            "type": "integer",
            "format": "int32"
          },
          "totalDataCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalPages": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "currentPage": {
            "type": "integer",
            "format": "int32"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetFunderServiceLineResponseModel"
            },
            "nullable": true
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "GetPayrollModel": {
        "type": "object",
        "properties": {
          "staffPayrollId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "payType": {
            "type": "string",
            "nullable": true
          },
          "overtime": {
            "type": "boolean"
          },
          "payCodeId": {
            "type": "integer",
            "format": "int32"
          },
          "hourlyRate": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "salary": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "startDate": {
            "type": "string",
            "nullable": true
          },
          "endDate": {
            "type": "string",
            "nullable": true
          },
          "billableDefault": {
            "type": "boolean"
          },
          "nonBillableDefault": {
            "type": "boolean"
          },
          "travelDefault": {
            "type": "boolean"
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "GetPayrollsModel": {
        "type": "object",
        "properties": {
          "staffId": {
            "type": "integer",
            "format": "int32"
          },
          "paycodes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetPayrollModel"
            },
            "nullable": true
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "GetSeriesPatternResponse": {
        "type": "object",
        "properties": {
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          },
          "seriesId": {
            "type": "integer",
            "format": "int32"
          },
          "rangeOfRecurrenceStartDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "rangeOfRecurrenceEndDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "recurringPattern": {
            "$ref": "#/components/schemas/RecurringPattern"
          },
          "appointments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AppointmentBasicDetails"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetStaffAvailabilityModel": {
        "type": "object",
        "properties": {
          "staffAvailabilityId": {
            "type": "integer",
            "format": "int32",
            "example": 792625
          },
          "dayId": {
            "$ref": "#/components/schemas/DayOfWeek"
          },
          "startTime": {
            "type": "string",
            "nullable": true,
            "example": "16:00"
          },
          "endTime": {
            "type": "string",
            "nullable": true,
            "example": "17:00"
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "GetStaffMemberResponseModel": {
        "type": "object",
        "properties": {
          "staffId": {
            "type": "integer",
            "format": "int32",
            "example": 355018
          },
          "username": {
            "type": "string",
            "nullable": true,
            "example": "KBADD19"
          },
          "statusId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 2938
          },
          "stateAbbreviation": {
            "type": "string",
            "nullable": true,
            "example": "CA"
          },
          "companyStaffId": {
            "type": "string",
            "nullable": true,
            "example": "234RTY7699"
          },
          "firstName": {
            "type": "string",
            "nullable": true,
            "example": "Eric"
          },
          "middleName": {
            "type": "string",
            "nullable": true,
            "example": "T"
          },
          "lastName": {
            "type": "string",
            "nullable": true,
            "example": "Morales"
          },
          "dateOfBirth": {
            "type": "string",
            "nullable": true,
            "example": "2015-12-10"
          },
          "phone": {
            "type": "string",
            "nullable": true,
            "example": "7879898877"
          },
          "addressStreet": {
            "type": "string",
            "nullable": true,
            "example": "12345 21 Street"
          },
          "city": {
            "type": "string",
            "nullable": true,
            "example": "New York City"
          },
          "stateId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 35
          },
          "zipCode": {
            "type": "string",
            "nullable": true,
            "example": "7745"
          },
          "timeZoneId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 5
          },
          "locationIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true,
            "example": [
              2801,
              2802
            ]
          },
          "employeeTypeId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 597
          },
          "roleId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 9028
          },
          "email": {
            "type": "string",
            "nullable": true,
            "example": "kavitha.bingi19@rethinkfirst.com"
          },
          "npiNumber": {
            "type": "string",
            "nullable": true,
            "example": "1750496923"
          },
          "medicaidNumber": {
            "type": "string",
            "nullable": true,
            "example": "18014249782213"
          },
          "practionerId": {
            "type": "string",
            "nullable": true,
            "example": "18014249782213"
          },
          "taxonomyCode": {
            "type": "string",
            "nullable": true,
            "example": "1801424973"
          },
          "ssn": {
            "type": "string",
            "nullable": true,
            "example": "xxx-xx-6789"
          },
          "supervisorId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 337579
          },
          "dateCreated": {
            "type": "string",
            "format": "date-time"
          },
          "dateLastModified": {
            "type": "string",
            "format": "date-time"
          },
          "dateDeleted": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "serviceLineIds": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetStaffServiceLineModel"
            },
            "nullable": true
          },
          "staffAvailabilities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetStaffAvailabilityModel"
            },
            "nullable": true
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "GetStaffMemberResponseModelSearchResponse": {
        "type": "object",
        "properties": {
          "count": {
            "type": "integer",
            "format": "int32"
          },
          "totalDataCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalPages": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "currentPage": {
            "type": "integer",
            "format": "int32"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetStaffMemberResponseModel"
            },
            "nullable": true
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "GetStaffServiceLineModel": {
        "type": "object",
        "properties": {
          "serviceLineId": {
            "type": "integer",
            "format": "int32",
            "example": 1921
          },
          "funderIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true,
            "example": [
              130336,
              131316
            ]
          }
        },
        "additionalProperties": false
      },
      "GetTravelDetailsModel": {
        "type": "object",
        "properties": {
          "appointmentId": {
            "type": "integer",
            "format": "int32"
          },
          "mileage": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "drivingFrom": {
            "type": "string",
            "nullable": true
          },
          "drivingTo": {
            "type": "string",
            "nullable": true
          },
          "clockInLat": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "clockInLong": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "clockInAddress": {
            "type": "string",
            "nullable": true
          },
          "clockOutLat": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "clockOutLong": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "clockOutAddress": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "HcFunder": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "electronicVisitVendorId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "electronicVisitVendorName": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          },
          "funderTypeId": {
            "type": "integer",
            "format": "int32"
          },
          "locationId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "address": {
            "$ref": "#/components/schemas/AddressEntity"
          },
          "dateCreated": {
            "type": "string",
            "format": "date-time"
          },
          "dateLastModified": {
            "type": "string",
            "format": "date-time"
          },
          "dateDeleted": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "HcFunderSearchResponse": {
        "type": "object",
        "properties": {
          "count": {
            "type": "integer",
            "format": "int32"
          },
          "totalDataCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalPages": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "currentPage": {
            "type": "integer",
            "format": "int32"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/HcFunder"
            },
            "nullable": true
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "NewStaffAssignment": {
        "type": "object",
        "properties": {
          "assignmentTypeId": {
            "maximum": 2,
            "minimum": 1,
            "type": "integer",
            "format": "int32"
          },
          "staffId": {
            "maximum": 2147483647,
            "minimum": 1,
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "Payroll": {
        "required": [
          "payType",
          "startDate"
        ],
        "type": "object",
        "properties": {
          "staffPayrollId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "payType": {
            "maxLength": 6,
            "minLength": 0,
            "type": "string",
            "example": "Hourly"
          },
          "overtime": {
            "type": "boolean",
            "example": true
          },
          "payCodeId": {
            "maximum": 2147483647,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "example": 124343
          },
          "hourlyRate": {
            "pattern": "^[0-9]{1,17}([.][0-9]{1,2})?$",
            "type": "number",
            "format": "double",
            "nullable": true,
            "example": 10
          },
          "salary": {
            "pattern": "^[0-9]{1,17}([.][0-9]{1,2})?$",
            "type": "number",
            "format": "double",
            "nullable": true,
            "example": 1200
          },
          "startDate": {
            "minLength": 1,
            "type": "string",
            "example": "2021-01-30"
          },
          "endDate": {
            "type": "string",
            "nullable": true,
            "example": "2021-01-30"
          },
          "billableDefault": {
            "type": "boolean"
          },
          "nonBillableDefault": {
            "type": "boolean",
            "example": false
          },
          "travelDefault": {
            "type": "boolean"
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "ProblemDetails": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "detail": {
            "type": "string",
            "nullable": true
          },
          "instance": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": { }
      },
      "ProviderLocation": {
        "type": "object",
        "properties": {
          "locationId": {
            "type": "integer",
            "format": "int32",
            "example": 2802
          },
          "isMainLocation": {
            "type": "boolean",
            "example": false
          },
          "isBillingProvider": {
            "type": "boolean",
            "example": false
          },
          "locationName": {
            "type": "string",
            "nullable": true,
            "example": "Temecula, CA 834"
          },
          "billingProviderName": {
            "type": "string",
            "nullable": true,
            "example": "Oakland123"
          },
          "taxId": {
            "type": "string",
            "nullable": true,
            "example": "841647103"
          },
          "npiNumber": {
            "type": "string",
            "nullable": true,
            "example": "1538406616"
          },
          "taxonomyCode": {
            "type": "string",
            "nullable": true,
            "example": "103TA0400X"
          },
          "countryId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 23
          },
          "address1": {
            "type": "string",
            "nullable": true,
            "example": "10850 S US Highway 1, Ste 2 upd"
          },
          "address2": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true,
            "example": "Port St Lucie"
          },
          "state": {
            "type": "string",
            "nullable": true,
            "example": "FL"
          },
          "zip": {
            "type": "string",
            "nullable": true,
            "example": "7745"
          },
          "email": {
            "type": "string",
            "nullable": true,
            "example": "ktorsiello112@behaviorbasicsin.com"
          },
          "phone": {
            "type": "string",
            "nullable": true,
            "example": "4567876545679"
          },
          "fax": {
            "type": "string",
            "nullable": true,
            "example": "7724630444112"
          },
          "additionalLocationId": {
            "type": "string",
            "nullable": true,
            "example": "14321321231"
          },
          "additionalLocationIdentifierType": {
            "$ref": "#/components/schemas/AdditionalLocationIdentifierTypes"
          },
          "dateCreated": {
            "type": "string",
            "format": "date-time",
            "example": "2012-04-23T18:25:43"
          },
          "dateLastModified": {
            "type": "string",
            "format": "date-time",
            "example": "2012-04-23T18:25:43"
          },
          "dateDeleted": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2012-04-23T18:25:43"
          }
        },
        "additionalProperties": false
      },
      "ProviderLocationSearchResponse": {
        "type": "object",
        "properties": {
          "count": {
            "type": "integer",
            "format": "int32"
          },
          "totalDataCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalPages": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "currentPage": {
            "type": "integer",
            "format": "int32"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProviderLocation"
            },
            "nullable": true
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "ReactivateAppointmentResponseModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 456456555
          },
          "status": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "ReactivateClientResponse": {
        "type": "object",
        "properties": {
          "clientId": {
            "type": "integer",
            "format": "int32"
          },
          "firstName": {
            "type": "string",
            "nullable": true,
            "example": "Eric"
          },
          "middleName": {
            "type": "string",
            "nullable": true,
            "example": "T"
          },
          "lastName": {
            "type": "string",
            "nullable": true,
            "example": "Morales"
          },
          "dateOfBirth": {
            "type": "string",
            "nullable": true,
            "example": "2015-12-10"
          },
          "genderId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 1
          },
          "addressStreet": {
            "type": "string",
            "nullable": true,
            "example": "12345 21 Street"
          },
          "city": {
            "type": "string",
            "nullable": true,
            "example": "New York City"
          },
          "stateId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 35
          },
          "zipCode": {
            "type": "string",
            "nullable": true,
            "example": "7745"
          },
          "clientExternalID": {
            "type": "string",
            "nullable": true,
            "example": "234RTY7699"
          },
          "clientOrder": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 12345
          },
          "reasonForReferral": {
            "type": "string",
            "nullable": true,
            "example": "Social skill issues"
          },
          "locationId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 2801
          },
          "statusId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 41200
          },
          "serviceIntensityId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 1
          },
          "notes": {
            "type": "string",
            "nullable": true,
            "example": "NO BCBA on Case"
          },
          "dateCreated": {
            "type": "string",
            "format": "date-time"
          },
          "dateLastModified": {
            "type": "string",
            "format": "date-time"
          },
          "dateDeleted": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "ReactivateLocationResponceModel": {
        "type": "object",
        "properties": {
          "locationId": {
            "type": "integer",
            "format": "int32"
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "ReactivateStaffMemberResponseModel": {
        "type": "object",
        "properties": {
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          },
          "id": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "RecurringPattern": {
        "type": "object",
        "properties": {
          "occurrenceTypeName": {
            "type": "string",
            "nullable": true
          },
          "recurEvery": {
            "type": "integer",
            "format": "int32"
          },
          "daysofWeek": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "daysOfMonth": {
            "type": "integer",
            "format": "int32"
          },
          "nthWeekdayOfMonth": {
            "type": "string",
            "nullable": true
          },
          "occurrenceFrequency": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "monthOccurrenceDay": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RecurringPatternRequest": {
        "type": "object",
        "properties": {
          "occurrenceTypeName": {
            "type": "string",
            "nullable": true
          },
          "recurEvery": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "daysofWeek": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "daysOfMonth": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "nthWeekdayOfMonth": {
            "type": "string",
            "nullable": true
          },
          "occurrenceFrequency": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "monthOccurrenceDay": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ReferringProviderAddRequest": {
        "required": [
          "address1",
          "firstName",
          "lastName",
          "zip"
        ],
        "type": "object",
        "properties": {
          "firstName": {
            "maxLength": 25,
            "minLength": 0,
            "type": "string",
            "example": "Jennifer"
          },
          "lastName": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "example": "Aites"
          },
          "npiNumber": {
            "maxLength": 10,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "1194744870"
          },
          "taxonomyCode": {
            "pattern": "^[0-9A-Z]{10}$",
            "type": "string",
            "nullable": true,
            "example": "2084N0402X"
          },
          "facility": {
            "maxLength": 100,
            "minLength": 0,
            "pattern": "^[a-zA-Z0-9 '-]+$",
            "type": "string",
            "nullable": true,
            "example": "Boston Childrens Hospital"
          },
          "address1": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "example": "300 Longwood Ave, Boston MA 02115"
          },
          "address2": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": null
          },
          "city": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "Boston"
          },
          "zip": {
            "maxLength": 9,
            "minLength": 0,
            "pattern": "^(?=[0-9]*$)(?:.{5}|.{9})$",
            "type": "string",
            "example": "02115"
          },
          "stateId": {
            "maximum": 52,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 20
          },
          "phone": {
            "maxLength": 13,
            "minLength": 0,
            "pattern": "^[0-9]+$",
            "type": "string",
            "nullable": true,
            "example": "9123546303"
          },
          "fax": {
            "maxLength": 13,
            "minLength": 0,
            "pattern": "^[0-9]+$",
            "type": "string",
            "nullable": true,
            "example": "9123558655"
          },
          "isActive": {
            "type": "boolean",
            "nullable": true,
            "example": true
          }
        },
        "additionalProperties": false
      },
      "ReferringProviderDeleteRequest": {
        "required": [
          "referringProviderId"
        ],
        "type": "object",
        "properties": {
          "referringProviderId": {
            "type": "integer",
            "format": "int32",
            "example": 10064
          }
        },
        "additionalProperties": false
      },
      "ReferringProviderDeleteResponse": {
        "type": "object",
        "properties": {
          "referringProviderId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 10064
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "ReferringProviderGetResponse": {
        "type": "object",
        "properties": {
          "referringProviderId": {
            "type": "integer",
            "format": "int32",
            "example": 10064
          },
          "firstName": {
            "type": "string",
            "nullable": true,
            "example": "Jennifer"
          },
          "lastName": {
            "type": "string",
            "nullable": true,
            "example": "Aites"
          },
          "npiNumber": {
            "type": "string",
            "nullable": true,
            "example": "1194744870"
          },
          "taxonomyCode": {
            "type": "string",
            "nullable": true,
            "example": "2084N0402X"
          },
          "facility": {
            "type": "string",
            "nullable": true,
            "example": "Boston Childrens Hospital"
          },
          "address1": {
            "type": "string",
            "nullable": true,
            "example": "300 Longwood Ave, Boston MA 02115"
          },
          "address2": {
            "type": "string",
            "nullable": true,
            "example": null
          },
          "city": {
            "type": "string",
            "nullable": true,
            "example": "Boston"
          },
          "zip": {
            "type": "string",
            "nullable": true,
            "example": "02115"
          },
          "stateAbbreviation": {
            "type": "string",
            "nullable": true,
            "example": "MA"
          },
          "phone": {
            "type": "string",
            "nullable": true,
            "example": "9123546303"
          },
          "fax": {
            "type": "string",
            "nullable": true,
            "example": "9123558655"
          },
          "isActive": {
            "type": "boolean",
            "example": true
          },
          "dateCreated": {
            "type": "string",
            "format": "date-time",
            "example": "2020-12-10T17:45:58.453"
          },
          "dateLastModified": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2020-12-24T10:15:06.127"
          },
          "dateDeleted": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2021-01-15T13:45:47.237"
          }
        },
        "additionalProperties": false
      },
      "ReferringProviderGetResponseSearchResponse": {
        "type": "object",
        "properties": {
          "count": {
            "type": "integer",
            "format": "int32"
          },
          "totalDataCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalPages": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "currentPage": {
            "type": "integer",
            "format": "int32"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReferringProviderGetResponse"
            },
            "nullable": true
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "ReferringProviderReactivateRequest": {
        "required": [
          "referringProviderId"
        ],
        "type": "object",
        "properties": {
          "referringProviderId": {
            "type": "integer",
            "format": "int32",
            "example": 1234
          }
        },
        "additionalProperties": false
      },
      "ReferringProviderResponse": {
        "type": "object",
        "properties": {
          "referringProviderId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 10064
          },
          "firstName": {
            "type": "string",
            "nullable": true,
            "example": "Jennifer"
          },
          "lastName": {
            "type": "string",
            "nullable": true,
            "example": "Aites"
          },
          "npiNumber": {
            "type": "string",
            "nullable": true,
            "example": "1194744870"
          },
          "taxonomyCode": {
            "type": "string",
            "nullable": true,
            "example": "2084N0402X"
          },
          "facility": {
            "type": "string",
            "nullable": true,
            "example": "Boston Childrens Hospital"
          },
          "address1": {
            "type": "string",
            "nullable": true,
            "example": "300 Longwood Ave, Boston MA 02115"
          },
          "address2": {
            "type": "string",
            "nullable": true,
            "example": null
          },
          "city": {
            "type": "string",
            "nullable": true,
            "example": "Boston"
          },
          "zip": {
            "type": "string",
            "nullable": true,
            "example": "02115"
          },
          "stateId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 20
          },
          "phone": {
            "type": "string",
            "nullable": true,
            "example": "9123546303"
          },
          "fax": {
            "type": "string",
            "nullable": true,
            "example": "9123558655"
          },
          "isActive": {
            "type": "boolean",
            "nullable": true,
            "example": true
          },
          "dateCreated": {
            "type": "string",
            "format": "date-time",
            "example": "2020-12-10T17:45:58.453"
          },
          "dateLastModified": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2020-12-24T10:15:06.127"
          },
          "dateDeleted": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2021-01-15T13:45:47.237"
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "ReferringProviderUpdateRequest": {
        "required": [
          "address1",
          "firstName",
          "lastName",
          "referringProviderId",
          "zip"
        ],
        "type": "object",
        "properties": {
          "referringProviderId": {
            "maximum": 2147483647,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "example": 10064
          },
          "firstName": {
            "maxLength": 25,
            "minLength": 0,
            "type": "string",
            "example": "Jennifer"
          },
          "lastName": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "example": "Aites"
          },
          "npiNumber": {
            "maxLength": 10,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "1194744870"
          },
          "taxonomyCode": {
            "pattern": "^[0-9A-Z]{10}$",
            "type": "string",
            "nullable": true,
            "example": "2084N0402X"
          },
          "facility": {
            "maxLength": 100,
            "minLength": 0,
            "pattern": "^[a-zA-Z0-9 '-]+$",
            "type": "string",
            "nullable": true,
            "example": "Boston Childrens Hospital"
          },
          "address1": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "example": "300 Longwood Ave, Boston MA 02115"
          },
          "address2": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": null
          },
          "city": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "Boston"
          },
          "zip": {
            "maxLength": 9,
            "minLength": 0,
            "pattern": "^(?=[0-9]*$)(?:.{5}|.{9})$",
            "type": "string",
            "example": "02115"
          },
          "stateId": {
            "maximum": 52,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 20
          },
          "phone": {
            "maxLength": 13,
            "minLength": 0,
            "pattern": "^[0-9]+$",
            "type": "string",
            "nullable": true,
            "example": "9123546303"
          },
          "fax": {
            "maxLength": 13,
            "minLength": 0,
            "pattern": "^[0-9]+$",
            "type": "string",
            "nullable": true,
            "example": "9123558655"
          },
          "isActive": {
            "type": "boolean",
            "nullable": true,
            "example": true
          }
        },
        "additionalProperties": false
      },
      "ResponseStatus": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "nullable": true,
            "example": "success"
          },
          "messages": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ServiceAddRequest": {
        "required": [
          "serviceBaseRate",
          "serviceName"
        ],
        "type": "object",
        "properties": {
          "serviceName": {
            "maxLength": 175,
            "minLength": 0,
            "type": "string",
            "example": "Parent Training"
          },
          "serviceBaseRate": {
            "minimum": 0,
            "type": "number",
            "format": "double",
            "example": 100
          },
          "isActiveService": {
            "type": "boolean",
            "nullable": true,
            "example": true
          }
        },
        "additionalProperties": false
      },
      "ServiceDeleteRequest": {
        "required": [
          "serviceId"
        ],
        "type": "object",
        "properties": {
          "serviceId": {
            "type": "integer",
            "format": "int32",
            "example": 1234
          }
        },
        "additionalProperties": false
      },
      "ServiceDeleteResponse": {
        "type": "object",
        "properties": {
          "serviceId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 1234
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "ServiceGetResponse": {
        "type": "object",
        "properties": {
          "serviceId": {
            "type": "integer",
            "format": "int32",
            "example": 1111
          },
          "serviceName": {
            "type": "string",
            "nullable": true,
            "example": "Parent Training"
          },
          "serviceBaseRate": {
            "type": "number",
            "format": "double",
            "example": 100
          },
          "isActiveService": {
            "type": "boolean",
            "example": true
          },
          "dateCreated": {
            "type": "string",
            "format": "date-time",
            "example": "2020-12-10T17:45:58.453"
          },
          "dateLastModified": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2020-12-24T10:15:06.127"
          },
          "dateDeleted": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2021-01-15T13:45:47.237"
          }
        },
        "additionalProperties": false
      },
      "ServiceGetResponseSearchResponse": {
        "type": "object",
        "properties": {
          "count": {
            "type": "integer",
            "format": "int32"
          },
          "totalDataCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalPages": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "currentPage": {
            "type": "integer",
            "format": "int32"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ServiceGetResponse"
            },
            "nullable": true
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "ServiceLine": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "billingCodes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BillingCode"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ServiceLineAddRequest": {
        "required": [
          "serviceLineName"
        ],
        "type": "object",
        "properties": {
          "serviceLineName": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "example": "BST"
          },
          "serviceLineDescription": {
            "maxLength": 150,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "Basic Skills Training"
          },
          "isActiveServiceLine": {
            "type": "boolean",
            "nullable": true,
            "example": true
          }
        },
        "additionalProperties": false
      },
      "ServiceLineDeleteRequest": {
        "required": [
          "serviceLineId"
        ],
        "type": "object",
        "properties": {
          "serviceLineId": {
            "type": "integer",
            "format": "int32",
            "example": 1234
          }
        },
        "additionalProperties": false
      },
      "ServiceLineDeleteResponse": {
        "type": "object",
        "properties": {
          "serviceLineId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 1234
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "ServiceLineGetResponse": {
        "type": "object",
        "properties": {
          "serviceLineId": {
            "type": "integer",
            "format": "int32",
            "example": 1111
          },
          "serviceLineName": {
            "type": "string",
            "nullable": true,
            "example": "BST"
          },
          "serviceLineDescription": {
            "type": "string",
            "nullable": true,
            "example": "Basic Skills Training"
          },
          "isActiveServiceLine": {
            "type": "boolean",
            "example": true
          },
          "dateCreated": {
            "type": "string",
            "format": "date-time",
            "example": "2020-12-10T17:45:58.453"
          },
          "dateLastModified": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2020-12-24T10:15:06.127"
          },
          "dateDeleted": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2021-01-15T13:45:47.237"
          }
        },
        "additionalProperties": false
      },
      "ServiceLineGetResponseSearchResponse": {
        "type": "object",
        "properties": {
          "count": {
            "type": "integer",
            "format": "int32"
          },
          "totalDataCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalPages": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "currentPage": {
            "type": "integer",
            "format": "int32"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ServiceLineGetResponse"
            },
            "nullable": true
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "ServiceLineResponse": {
        "type": "object",
        "properties": {
          "serviceLineId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 1111
          },
          "serviceLineName": {
            "type": "string",
            "nullable": true,
            "example": "BST"
          },
          "serviceLineDescription": {
            "type": "string",
            "nullable": true,
            "example": "Basic Skills Training"
          },
          "isActiveServiceLine": {
            "type": "boolean",
            "nullable": true,
            "example": true
          },
          "dateCreated": {
            "type": "string",
            "format": "date-time",
            "example": "2020-12-10T17:45:58.453"
          },
          "dateLastModified": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2020-12-24T10:15:06.127"
          },
          "dateDeleted": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2021-01-15T13:45:47.237"
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "ServiceLineUpdateRequest": {
        "required": [
          "serviceLineId",
          "serviceLineName"
        ],
        "type": "object",
        "properties": {
          "serviceLineId": {
            "type": "integer",
            "format": "int32",
            "example": 1111
          },
          "serviceLineName": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "example": "BST"
          },
          "serviceLineDescription": {
            "maxLength": 150,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "Basic Skills Training"
          },
          "isActiveServiceLine": {
            "type": "boolean",
            "nullable": true,
            "example": true
          }
        },
        "additionalProperties": false
      },
      "ServiceReactivateRequest": {
        "required": [
          "serviceId"
        ],
        "type": "object",
        "properties": {
          "serviceId": {
            "type": "integer",
            "format": "int32",
            "example": 1234
          }
        },
        "additionalProperties": false
      },
      "ServiceResponse": {
        "type": "object",
        "properties": {
          "serviceId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 1111
          },
          "serviceName": {
            "type": "string",
            "nullable": true,
            "example": "Parent Training"
          },
          "serviceBaseRate": {
            "type": "number",
            "format": "double",
            "nullable": true,
            "example": 100
          },
          "isActiveService": {
            "type": "boolean",
            "nullable": true,
            "example": true
          },
          "dateCreated": {
            "type": "string",
            "format": "date-time",
            "example": "2020-12-10T17:45:58.453"
          },
          "dateLastModified": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2020-12-24T10:15:06.127"
          },
          "dateDeleted": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2021-01-15T13:45:47.237"
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "ServiceUpdateRequest": {
        "required": [
          "serviceBaseRate",
          "serviceId",
          "serviceName"
        ],
        "type": "object",
        "properties": {
          "serviceId": {
            "type": "integer",
            "format": "int32",
            "example": 1111
          },
          "serviceName": {
            "maxLength": 175,
            "minLength": 0,
            "type": "string",
            "example": "Parent Training"
          },
          "serviceBaseRate": {
            "minimum": 0,
            "type": "number",
            "format": "double",
            "example": 100
          },
          "isActiveService": {
            "type": "boolean",
            "nullable": true,
            "example": true
          }
        },
        "additionalProperties": false
      },
      "SessionNoteModel": {
        "type": "object",
        "properties": {
          "appointmentId": {
            "type": "integer",
            "description": "appointment id",
            "format": "int32",
            "example": 15013191
          },
          "snTemplateName": {
            "type": "string",
            "description": "template name",
            "nullable": true
          },
          "snStatus": {
            "type": "string",
            "description": "session note status",
            "nullable": true,
            "example": "Reviewed"
          },
          "snAppCompletion": {
            "type": "string",
            "description": "session note app completion",
            "nullable": true,
            "example": "TRUE"
          },
          "lastModifiedBy": {
            "type": "string",
            "description": "Full name of the member who last created or modified the session note (from audit trail).",
            "nullable": true,
            "example": "Jane Smith"
          }
        },
        "additionalProperties": false
      },
      "SessionNoteStatusType": {
        "enum": [
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "SessionNotesResponseModel": {
        "type": "object",
        "properties": {
          "sessionNotes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SessionNoteModel"
            },
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "SortBy": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "format": "int32"
      },
      "SortOn": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "format": "int32"
      },
      "StaffAssignment": {
        "type": "object",
        "properties": {
          "assignmentId": {
            "type": "integer",
            "format": "int32"
          },
          "assignmentTypeId": {
            "type": "integer",
            "format": "int32"
          },
          "staffId": {
            "type": "integer",
            "format": "int32"
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "StaffAvailabilityRequestModel": {
        "required": [
          "dayId",
          "endTime",
          "startTime"
        ],
        "type": "object",
        "properties": {
          "staffAvailabilityId": {
            "type": "integer",
            "format": "int32",
            "example": 792625
          },
          "dayId": {
            "$ref": "#/components/schemas/DayOfWeek"
          },
          "startTime": {
            "minLength": 1,
            "type": "string",
            "example": "16:00"
          },
          "endTime": {
            "minLength": 1,
            "type": "string",
            "example": "17:00"
          }
        },
        "additionalProperties": false
      },
      "StaffAvailabilityResponseModel": {
        "type": "object",
        "properties": {
          "staffAvailabilityId": {
            "type": "integer",
            "format": "int32",
            "example": 792625
          },
          "dayId": {
            "$ref": "#/components/schemas/DayOfWeek"
          },
          "startTime": {
            "type": "string",
            "nullable": true,
            "example": "16:00"
          },
          "endTime": {
            "type": "string",
            "nullable": true,
            "example": "17:00"
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "StaffCredential": {
        "type": "object",
        "properties": {
          "credentialId": {
            "type": "integer",
            "format": "int32"
          },
          "credentialName": {
            "type": "string",
            "nullable": true
          },
          "credentialType": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "isInactive": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "StaffCredentialAddRequestModel": {
        "required": [
          "credentialId",
          "issueDate",
          "staffId"
        ],
        "type": "object",
        "properties": {
          "credentialId": {
            "type": "integer",
            "format": "int32",
            "example": 122
          },
          "staffId": {
            "type": "integer",
            "format": "int32",
            "example": 349126
          },
          "issueDate": {
            "minLength": 1,
            "type": "string",
            "example": "2020-12-10"
          },
          "expiredDate": {
            "type": "string",
            "nullable": true,
            "example": "2020-12-10"
          },
          "licenseNumber": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "CPR1010"
          },
          "licenseNotes": {
            "maxLength": 500,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "Amanda Morton is Supervisor"
          },
          "isDefault": {
            "type": "boolean",
            "nullable": true
          },
          "attachment": {
            "type": "string",
            "nullable": true,
            "example": "dGVzdCBhdHRhY2hlbWVudA=="
          },
          "attachmentFileName": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "abc.txt"
          }
        },
        "additionalProperties": false
      },
      "StaffCredentialGetResponse": {
        "type": "object",
        "properties": {
          "staffCredentialId": {
            "type": "integer",
            "format": "int32",
            "example": 49957
          },
          "credentialId": {
            "type": "integer",
            "format": "int32",
            "example": 122
          },
          "staffId": {
            "type": "integer",
            "format": "int32",
            "example": 349126
          },
          "issueDate": {
            "type": "string",
            "nullable": true,
            "example": "2020-12-10"
          },
          "expiredDate": {
            "type": "string",
            "nullable": true,
            "example": "2020-12-10"
          },
          "licenseNumber": {
            "type": "string",
            "nullable": true,
            "example": "CPR1010"
          },
          "licenseNotes": {
            "type": "string",
            "nullable": true,
            "example": "Amanda Morton is Supervisor"
          },
          "isDefault": {
            "type": "boolean",
            "nullable": true
          },
          "attachment": {
            "type": "string",
            "nullable": true,
            "example": "dGVzdCBhdHRhY2hlbWVudA=="
          },
          "attachmentFileName": {
            "type": "string",
            "nullable": true,
            "example": "abc.txt"
          },
          "dateCreated": {
            "type": "string",
            "format": "date-time",
            "example": "2020-12-10T17:45:58.453"
          },
          "dateLastModified": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2020-12-24T10:15:06.127"
          },
          "dateDeleted": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2021-01-15T13:45:47.237"
          }
        },
        "additionalProperties": false
      },
      "StaffCredentialGetResponseSearchResponse": {
        "type": "object",
        "properties": {
          "count": {
            "type": "integer",
            "format": "int32"
          },
          "totalDataCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalPages": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "currentPage": {
            "type": "integer",
            "format": "int32"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StaffCredentialGetResponse"
            },
            "nullable": true
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "StaffCredentialResponseModel": {
        "type": "object",
        "properties": {
          "staffCredentialId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 49957
          },
          "credentialId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 122
          },
          "staffId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 349126
          },
          "issueDate": {
            "type": "string",
            "nullable": true,
            "example": "2020-12-10"
          },
          "expiredDate": {
            "type": "string",
            "nullable": true,
            "example": "2020-12-10"
          },
          "licenseNumber": {
            "type": "string",
            "nullable": true,
            "example": "CPR1010"
          },
          "licenseNotes": {
            "type": "string",
            "nullable": true,
            "example": "Amanda Morton is Supervisor"
          },
          "isDefault": {
            "type": "boolean",
            "nullable": true
          },
          "attachment": {
            "type": "string",
            "nullable": true,
            "example": "dGVzdCBhdHRhY2hlbWVudA=="
          },
          "attachmentFileName": {
            "type": "string",
            "nullable": true,
            "example": "abc.txt"
          },
          "dateCreated": {
            "type": "string",
            "format": "date-time",
            "example": "2020-12-10T17:45:58.453"
          },
          "dateLastModified": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2020-12-24T10:15:06.127"
          },
          "dateDeleted": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2021-01-15T13:45:47.237"
          }
        },
        "additionalProperties": false
      },
      "StaffCredentialUpdateRequestModel": {
        "required": [
          "credentialId",
          "issueDate",
          "staffCredentialId",
          "staffId"
        ],
        "type": "object",
        "properties": {
          "staffCredentialId": {
            "type": "integer",
            "format": "int32",
            "example": 49957
          },
          "credentialId": {
            "type": "integer",
            "format": "int32",
            "example": 122
          },
          "staffId": {
            "type": "integer",
            "format": "int32",
            "example": 349126
          },
          "issueDate": {
            "minLength": 1,
            "type": "string",
            "example": "2020-12-10"
          },
          "expiredDate": {
            "type": "string",
            "nullable": true,
            "example": "2020-12-10"
          },
          "licenseNumber": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "CPR1010"
          },
          "licenseNotes": {
            "maxLength": 500,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "Amanda Morton is Supervisor"
          },
          "isDefault": {
            "type": "boolean",
            "nullable": true
          },
          "attachment": {
            "type": "string",
            "nullable": true,
            "example": "dGVzdCBhdHRhY2hlbWVudA=="
          },
          "attachmentFileName": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "abc.txt"
          }
        },
        "additionalProperties": false
      },
      "StaffCredentialsResponseModel": {
        "type": "object",
        "properties": {
          "credentials": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StaffCredentialResponseModel"
            },
            "nullable": true
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "StaffCustomFieldData": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "accountInfoId": {
            "type": "integer",
            "format": "int32"
          },
          "label": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/CustomFieldTypes"
          },
          "order": {
            "type": "integer",
            "format": "int32"
          },
          "showInProfile": {
            "type": "boolean"
          },
          "showInList": {
            "type": "boolean"
          },
          "dateDeleted": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "isDeleting": {
            "type": "boolean"
          },
          "hasOptions": {
            "type": "boolean"
          },
          "customFieldValues": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StaffCustomFieldValue"
            },
            "nullable": true
          },
          "customFieldOptions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StaffCustomFieldOption"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StaffCustomFieldOption": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "value": {
            "type": "string",
            "nullable": true
          },
          "staffCustomFieldId": {
            "type": "integer",
            "format": "int32"
          },
          "values": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StaffCustomFieldOptionValue"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StaffCustomFieldOptionValue": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "optionId": {
            "type": "integer",
            "format": "int32"
          },
          "staffMemberId": {
            "type": "integer",
            "format": "int32"
          },
          "selected": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "StaffCustomFieldValue": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StaffDeleteFilesByIdModel": {
        "type": "object",
        "properties": {
          "fileId": {
            "type": "integer",
            "format": "int32",
            "example": 8173224
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "StaffDeleteFilesByNameModel": {
        "required": [
          "fileName",
          "folderName",
          "staffId"
        ],
        "type": "object",
        "properties": {
          "staffId": {
            "maximum": 2147483647,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "example": 193761
          },
          "folderName": {
            "maxLength": 250,
            "minLength": 0,
            "type": "string",
            "example": "Photos"
          },
          "fileName": {
            "minLength": 1,
            "type": "string",
            "example": "test10.png"
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "StaffFileModel": {
        "required": [
          "file",
          "fileName",
          "folderName",
          "staffId"
        ],
        "type": "object",
        "properties": {
          "folderName": {
            "minLength": 1,
            "type": "string",
            "example": "Intake Forms"
          },
          "file": {
            "minLength": 1,
            "type": "string",
            "example": "dGVzdCBhdHRhY2hlbWVudA=="
          },
          "fileName": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "example": "abc.txt"
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          },
          "staffId": {
            "type": "integer",
            "format": "int32",
            "example": 63602
          },
          "staffFileId": {
            "type": "integer",
            "format": "int32",
            "example": 43454
          }
        },
        "additionalProperties": false
      },
      "StaffLocationAddRequest": {
        "required": [
          "locationId",
          "staffId"
        ],
        "type": "object",
        "properties": {
          "locationId": {
            "type": "integer",
            "format": "int32",
            "example": 1234
          },
          "staffId": {
            "type": "integer",
            "format": "int32",
            "example": 34567
          }
        },
        "additionalProperties": false
      },
      "StaffLocationDeleteRequest": {
        "required": [
          "staffLocationsId"
        ],
        "type": "object",
        "properties": {
          "staffLocationsId": {
            "type": "integer",
            "format": "int32",
            "example": 8796
          }
        },
        "additionalProperties": false
      },
      "StaffLocationDeleteResponse": {
        "type": "object",
        "properties": {
          "staffLocationsId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 1234
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "StaffLocationModel": {
        "type": "object",
        "properties": {
          "staffLocationsId": {
            "type": "integer",
            "format": "int32"
          },
          "locationId": {
            "type": "integer",
            "format": "int32"
          },
          "staffId": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "StaffLocationModelSearchResponse": {
        "type": "object",
        "properties": {
          "count": {
            "type": "integer",
            "format": "int32"
          },
          "totalDataCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalPages": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "currentPage": {
            "type": "integer",
            "format": "int32"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StaffLocationModel"
            },
            "nullable": true
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "StaffLocationReactivateRequest": {
        "required": [
          "staffLocationsId"
        ],
        "type": "object",
        "properties": {
          "staffLocationsId": {
            "type": "integer",
            "format": "int32",
            "example": 8796
          }
        },
        "additionalProperties": false
      },
      "StaffLocationResponseModel": {
        "type": "object",
        "properties": {
          "staffLocationsId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 8796
          },
          "locationId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 1234
          },
          "staffId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 34567
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "StaffLocationUpdateRequest": {
        "required": [
          "locationId",
          "staffId",
          "staffLocationsId"
        ],
        "type": "object",
        "properties": {
          "staffLocationsId": {
            "type": "integer",
            "format": "int32",
            "example": 8796
          },
          "locationId": {
            "type": "integer",
            "format": "int32",
            "example": 1234
          },
          "staffId": {
            "type": "integer",
            "format": "int32",
            "example": 34567
          }
        },
        "additionalProperties": false
      },
      "StaffMemberStatus": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "StaffPayCodeModel": {
        "type": "object",
        "properties": {
          "payCodeId": {
            "type": "integer",
            "format": "int32"
          },
          "payCode": {
            "type": "string",
            "nullable": true
          },
          "payCodeName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StaffRemoveCredentialModel": {
        "type": "object",
        "properties": {
          "ids": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "StaffServiceLineRequestModel": {
        "type": "object",
        "properties": {
          "serviceLineId": {
            "type": "integer",
            "format": "int32",
            "example": 1921
          },
          "funderIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true,
            "example": [
              130336,
              131316
            ]
          }
        },
        "additionalProperties": false
      },
      "StaffServiceLineResponseModel": {
        "type": "object",
        "properties": {
          "serviceLineId": {
            "type": "integer",
            "format": "int32",
            "example": 1921
          },
          "funderIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true,
            "example": [
              130336,
              131316
            ]
          }
        },
        "additionalProperties": false
      },
      "StaffTitleRole": {
        "type": "object",
        "properties": {
          "roleId": {
            "type": "integer",
            "format": "int32",
            "example": 3922
          },
          "roleTitle": {
            "type": "string",
            "nullable": true
          },
          "roleType": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StateEntity": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "abbreviation": {
            "type": "string",
            "nullable": true
          },
          "utcOffSet": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "utcDSTOffSet": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "dateCreated": {
            "type": "string",
            "format": "date-time"
          },
          "dateLastModified": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "dateDeleted": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "createdBy": {
            "type": "integer",
            "format": "int32"
          },
          "modifiedBy": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "deletedBy": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "supportsSandata": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "TimeZoneModel": {
        "type": "object",
        "properties": {
          "timeZodeID": {
            "type": "integer",
            "format": "int32",
            "example": 15
          },
          "timeZoneDescription": {
            "type": "string",
            "nullable": true,
            "example": "(UTC-05) Eastern Time (US & Canada)"
          },
          "timeZoneOffset": {
            "type": "integer",
            "format": "int32",
            "example": -5
          }
        },
        "additionalProperties": false
      },
      "TimeZoneResponse": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TimeZoneModel"
            },
            "nullable": true
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "TravelDetail": {
        "type": "object",
        "properties": {
          "mileage": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateAppointmentLocationModel": {
        "type": "object",
        "properties": {
          "latitude": {
            "type": "number",
            "description": "latitude",
            "format": "double",
            "nullable": true,
            "example": 38.8951
          },
          "longitude": {
            "type": "number",
            "description": "longitude",
            "format": "double",
            "nullable": true,
            "example": -77.0364
          }
        },
        "additionalProperties": false
      },
      "UpdateAppointmentRequestModel": {
        "required": [
          "appointmentId",
          "appointmentTypeId",
          "scheduledEndDateTime",
          "scheduledStartDateTime",
          "staffId"
        ],
        "type": "object",
        "properties": {
          "appointmentId": {
            "type": "integer",
            "description": "primary key",
            "format": "int32",
            "example": 456456555
          },
          "appointmentTypeId": {
            "$ref": "#/components/schemas/AppointmentTypes"
          },
          "scheduledStartDateTime": {
            "type": "string",
            "description": "scheduled start time - UTC datetime",
            "format": "date-time",
            "example": "2021-17-21T08:20:00Z"
          },
          "scheduledEndDateTime": {
            "type": "string",
            "description": "scheduled end time - UTC datetime",
            "format": "date-time",
            "example": "2021-17-21T08:20:00Z"
          },
          "staffId": {
            "type": "integer",
            "description": "staff ID",
            "format": "int32",
            "example": 349174
          },
          "clientId": {
            "type": "integer",
            "description": "client ID",
            "format": "int32",
            "nullable": true,
            "example": 175239
          },
          "payCodeId": {
            "type": "integer",
            "description": "hcStaffPaycodes (hcStaffMemberPayroll.hcStaffPaycodeId)",
            "format": "int32",
            "nullable": true,
            "example": 3467
          },
          "tagId": {
            "type": "integer",
            "description": "hcAppointmentCustomTags (hcAppointments.ActivityTagId)",
            "format": "int32",
            "nullable": true,
            "example": 1
          },
          "locationCodeId": {
            "type": "integer",
            "description": "hcLocationCodes (hcAppointments.LocationId)",
            "format": "int32",
            "nullable": true,
            "example": 3
          },
          "locationId": {
            "type": "integer",
            "description": "hcProviderLocation (hcAppointments.ToLocationId)",
            "format": "int32",
            "nullable": true,
            "example": 2801
          },
          "scheduledLocationAddress": {
            "type": "string",
            "description": "single line address",
            "nullable": true,
            "example": "49 W 27th St, New York, NY 10001"
          },
          "authorizationBillingCodeId": {
            "type": "integer",
            "description": "hcChildProfileAuthorizationBillingCode (hcAppointments.ProcedureCodeId)",
            "format": "int32",
            "nullable": true,
            "example": 378222
          },
          "funderBillingCodeId": {
            "type": "integer",
            "description": "hcProviderBillingCode (hcChildProfileAuthorizationBillingCode.hcProviderBillingCodeId)",
            "format": "int32",
            "nullable": true
          },
          "cancellationTypeId": {
            "$ref": "#/components/schemas/AppointmentCancellationTypes"
          },
          "cancellationSubtypeId": {
            "type": "integer",
            "description": "hcAppointmentCustomTags (hcAppointments.CancellationTagId), hcAppointmentCustomTagTypeId 1=Cancellation",
            "format": "int32",
            "nullable": true,
            "example": 1
          },
          "actualStartDateTime": {
            "type": "string",
            "description": "actual start time - UTC datetime",
            "nullable": true,
            "example": "2021-17-21T08:20:00Z"
          },
          "actualEndDateTime": {
            "type": "string",
            "description": "actual end time - UTC datetime",
            "nullable": true,
            "example": "2021-17-21T08:20:00Z"
          },
          "staffVerificationDateTime": {
            "type": "string",
            "description": "staff verification timestamp (UTC)",
            "nullable": true,
            "example": "2021-17-21T08:20:00Z"
          },
          "parentVerificationDateTime": {
            "type": "string",
            "description": "parent verification timestamp (UTC)",
            "nullable": true,
            "example": "2021-17-21T08:20:00Z"
          },
          "appointmentStatusId": {
            "$ref": "#/components/schemas/AppointmentStatusTypes"
          },
          "sessionNoteStatusId": {
            "$ref": "#/components/schemas/SessionNoteStatusType"
          },
          "scheduledLocation": {
            "$ref": "#/components/schemas/UpdateAppointmentLocationModel"
          },
          "actualStartLocation": {
            "$ref": "#/components/schemas/UpdateAppointmentLocationModel"
          },
          "actualEndLocation": {
            "$ref": "#/components/schemas/UpdateAppointmentLocationModel"
          },
          "parentSignature": {
            "type": "string",
            "description": "parent signature - base64 encoded image",
            "nullable": true,
            "example": "R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
          },
          "billingCodeCredentialId": {
            "type": "integer",
            "description": "hcProviderBillingCodeCredentials",
            "format": "int32",
            "nullable": true,
            "example": 1256
          },
          "overrideFunderServiceLimits": {
            "type": "boolean",
            "description": "When true, persist despite Funder Service Limit Blocks if the staff member's role has\r\nOverride Funder Service Limits. Default false. Does not bypass authorization or other failures."
          },
          "travelDetail": {
            "$ref": "#/components/schemas/TravelDetail"
          },
          "notes": {
            "type": "string",
            "description": "notes",
            "nullable": true,
            "example": "notess"
          },
          "clientFunderId": {
            "type": "integer",
            "description": "RHD-51545: the client funder plan this appointment belongs to (`clientFunderId` from the client funders list).\r\nOmit it to keep the plan the appointment already has.",
            "format": "int32",
            "nullable": true,
            "example": 491174
          }
        },
        "additionalProperties": false
      },
      "UpdateAppointmentResponseModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 456456555
          },
          "status": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "UpdateClientAuthorizationRequestModel": {
        "required": [
          "authEndDate",
          "authorizationNumber",
          "authorizationSubmissionTypeId",
          "authStartDate",
          "clientAuthorizationId",
          "clientId",
          "diagnosis",
          "funderId",
          "providerServiceId",
          "renderingProviderTypeId"
        ],
        "type": "object",
        "properties": {
          "clientAuthorizationId": {
            "type": "integer",
            "format": "int32",
            "example": 271611
          },
          "clientId": {
            "type": "integer",
            "format": "int32",
            "example": 186168
          },
          "funderId": {
            "type": "integer",
            "format": "int32",
            "example": 131319
          },
          "providerServiceId": {
            "type": "integer",
            "format": "int32",
            "example": 1921
          },
          "authorizationNumber": {
            "maxLength": 20,
            "minLength": 0,
            "type": "string",
            "example": "3489423134"
          },
          "authStartDate": {
            "type": "string",
            "format": "date-time",
            "example": "2022-07-08T00:00:00.000"
          },
          "authEndDate": {
            "type": "string",
            "format": "date-time",
            "example": "2022-07-09T00:00:00.000"
          },
          "authorizationDistributionTypeId": {
            "$ref": "#/components/schemas/AuthorizationDistributionTypes"
          },
          "clientDiagnosisId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 132337
          },
          "diagnosis": {
            "$ref": "#/components/schemas/AuthDiagnosisUpdateModel"
          },
          "referringProviderId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 24423
          },
          "renderingProviderTypeId": {
            "$ref": "#/components/schemas/AuthorizationRenderingProviderTypes"
          },
          "renderingProviderStaffId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 138331
          },
          "totalNumberOfUnits": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 0
          },
          "authorizationSubmissionTypeId": {
            "$ref": "#/components/schemas/AuthorizationSubmissionTypes"
          },
          "clientFunderId": {
            "type": "integer",
            "description": "RHD-51545: move this authorization to another funder plan (`clientFunderId` from the client funders list).\r\nOmit it to keep the plan the authorization already has.",
            "format": "int32",
            "nullable": true,
            "example": 491174
          }
        },
        "additionalProperties": false
      },
      "UpdateClientAuthorizationResponseModel": {
        "type": "object",
        "properties": {
          "clientAuthorizationId": {
            "type": "integer",
            "format": "int32",
            "example": 271611
          },
          "clientId": {
            "type": "integer",
            "format": "int32",
            "example": 217882
          },
          "funderId": {
            "type": "integer",
            "format": "int32",
            "example": 138331
          },
          "providerServiceId": {
            "type": "integer",
            "format": "int32",
            "example": 1969
          },
          "authorizationNumber": {
            "type": "string",
            "nullable": true,
            "example": "3489423134"
          },
          "authStartDate": {
            "type": "string",
            "format": "date-time",
            "example": "2022-07-08T00:00:00.000"
          },
          "authEndDate": {
            "type": "string",
            "format": "date-time",
            "example": "2022-07-09T00:00:00.000"
          },
          "authorizationDistributionTypeId": {
            "$ref": "#/components/schemas/AuthorizationDistributionTypes"
          },
          "clientDiagnosisId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 132337
          },
          "diagnosis": {
            "$ref": "#/components/schemas/AuthDiagnosisUpdateModel"
          },
          "referringProviderId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 24423
          },
          "renderingProviderTypeId": {
            "type": "integer",
            "format": "int32",
            "example": 2
          },
          "renderingProviderStaffId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 138331
          },
          "totalNumberOfUnits": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 3
          },
          "authorizationSubmissionTypeId": {
            "type": "integer",
            "format": "int32",
            "example": 1
          },
          "clientFunderId": {
            "type": "integer",
            "description": "RHD-51545: the client funder plan stored on this authorization.",
            "format": "int32",
            "nullable": true,
            "example": 491174
          },
          "reasonCode": {
            "type": "string",
            "description": "RHD-51545: the stable reason code when the request was refused, the same token the funder endpoints return\r\n(for example `CLIENT_FUNDER_PLAN_REQUIRED`). Null on success.",
            "nullable": true,
            "example": "CLIENT_FUNDER_PLAN_REQUIRED"
          },
          "dateCreated": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2020-12-10T17:45:58.453"
          },
          "dateLastModified": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2020-12-24T10:15:06.127"
          },
          "dateDeleted": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2021-01-15T13:45:47.237"
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "UpdateClientCustomFields": {
        "required": [
          "clientCustomFieldData",
          "clientId",
          "memberId"
        ],
        "type": "object",
        "properties": {
          "memberId": {
            "type": "integer",
            "description": "Gets or sets the member ID associated with the custom fields.",
            "format": "int32"
          },
          "clientId": {
            "type": "integer",
            "description": "Gets or sets the client ID associated with the custom fields.",
            "format": "int32"
          },
          "clientCustomFieldData": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClientCustomFieldData"
            },
            "description": "Gets or sets the client custom field data to add."
          }
        },
        "additionalProperties": false,
        "description": "Represents the data model for updating client custom fields."
      },
      "UpdateClientModel": {
        "required": [
          "clientId",
          "dateOfBirth",
          "firstName",
          "genderId",
          "lastName",
          "locationId",
          "serviceIntensityId",
          "statusId"
        ],
        "type": "object",
        "properties": {
          "clientId": {
            "type": "integer",
            "format": "int32",
            "example": 143421
          },
          "firstName": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "example": "Eric"
          },
          "middleName": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "T"
          },
          "lastName": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "example": "Morales"
          },
          "dateOfBirth": {
            "maxLength": 10,
            "minLength": 0,
            "type": "string",
            "example": "2015-12-10"
          },
          "genderId": {
            "maximum": 3,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "example": 1
          },
          "addressStreet": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "12345 21 Street"
          },
          "city": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "New York City"
          },
          "stateId": {
            "maximum": 52,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 35
          },
          "zipCode": {
            "maxLength": 9,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "7745"
          },
          "clientExternalID": {
            "maxLength": 20,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "234RTY7699"
          },
          "uniqueClientIdentifierNumber": {
            "maxLength": 20,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "12345"
          },
          "clientOrder": {
            "maximum": 2147483647,
            "minimum": 0,
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 12345
          },
          "reasonForReferral": {
            "maxLength": 200,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "Social skill issues"
          },
          "noticeOfPrivacyPracticeDate": {
            "type": "string",
            "nullable": true,
            "example": "2015-03-18"
          },
          "locationId": {
            "type": "integer",
            "format": "int32",
            "example": 2801
          },
          "statusId": {
            "type": "integer",
            "format": "int32",
            "example": 41200
          },
          "serviceIntensityId": {
            "maximum": 2,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "example": 1
          },
          "notes": {
            "maxLength": 500,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "NO BCBA on Case"
          },
          "stateAbbreviation": {
            "type": "string",
            "nullable": true,
            "example": "NY"
          },
          "clientFunders": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClientFunder"
            },
            "nullable": true
          },
          "clientAuthorizations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClientAuthorization"
            },
            "nullable": true
          },
          "clientAvailabilities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClientAvailability"
            },
            "nullable": true
          },
          "clientNotes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClientNote"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateFunderModel": {
        "required": [
          "funderID"
        ],
        "type": "object",
        "properties": {
          "funderID": {
            "type": "integer",
            "format": "int32"
          },
          "locationID": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "funderTypeID": {
            "maximum": 2147483647,
            "minimum": 1,
            "type": "integer",
            "format": "int32"
          },
          "funderName": {
            "maxLength": 35,
            "type": "string",
            "nullable": true
          },
          "addressLine1": {
            "maxLength": 30,
            "type": "string",
            "nullable": true
          },
          "city": {
            "maxLength": 30,
            "type": "string",
            "nullable": true
          },
          "stateAbbreviation": {
            "maxLength": 3,
            "type": "string",
            "nullable": true
          },
          "country": {
            "maxLength": 35,
            "type": "string",
            "nullable": true
          },
          "zipCode": {
            "maxLength": 10,
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateFunderServiceLineRequestModel": {
        "required": [
          "funderId",
          "funderServiceLineId",
          "serviceLineId"
        ],
        "type": "object",
        "properties": {
          "funderServiceLineId": {
            "type": "integer",
            "format": "int32",
            "example": 1223
          },
          "funderId": {
            "type": "integer",
            "format": "int32",
            "example": 225
          },
          "serviceLineId": {
            "type": "integer",
            "format": "int32",
            "example": 522
          },
          "billingSubmissionMethodId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 2
          }
        },
        "additionalProperties": false
      },
      "UpdateLocationsRequestModel": {
        "required": [
          "address1",
          "city",
          "isBillingProvider",
          "isMainLocation",
          "locationName",
          "state",
          "zip"
        ],
        "type": "object",
        "properties": {
          "locationId": {
            "type": "integer",
            "format": "int32",
            "example": 2802
          },
          "isMainLocation": {
            "type": "boolean",
            "example": false
          },
          "isBillingProvider": {
            "type": "boolean",
            "example": false
          },
          "locationName": {
            "maxLength": 75,
            "minLength": 1,
            "type": "string",
            "example": "Temecula, CA 834"
          },
          "billingProviderName": {
            "maxLength": 35,
            "type": "string",
            "nullable": true,
            "example": "Oakland123"
          },
          "taxId": {
            "pattern": "^\\d{9}$",
            "type": "string",
            "nullable": true,
            "example": "841647103"
          },
          "npiNumber": {
            "type": "string",
            "nullable": true,
            "example": "1538406616"
          },
          "taxonomyCode": {
            "pattern": "^\\d{3}[A-Z]{2}\\d{4}[A-Z]$",
            "type": "string",
            "nullable": true,
            "example": "103TA0400X"
          },
          "countryId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 23
          },
          "address1": {
            "minLength": 1,
            "type": "string",
            "example": "10850 S US Highway 1, Ste 2 upd"
          },
          "address2": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "minLength": 1,
            "type": "string",
            "example": "Port St Lucie"
          },
          "state": {
            "maxLength": 2,
            "minLength": 1,
            "type": "string",
            "example": "FL"
          },
          "zip": {
            "minLength": 1,
            "type": "string",
            "example": "77455"
          },
          "email": {
            "maxLength": 50,
            "type": "string",
            "format": "email",
            "nullable": true,
            "example": "ktorsiello112@behaviorbasicsin.com"
          },
          "phone": {
            "maxLength": 13,
            "pattern": "^\\d+$",
            "type": "string",
            "nullable": true,
            "example": "4567876545679"
          },
          "fax": {
            "maxLength": 13,
            "pattern": "^\\d+$",
            "type": "string",
            "nullable": true,
            "example": "7724630444112"
          },
          "additionalLocationId": {
            "type": "string",
            "nullable": true,
            "example": "772463"
          },
          "additionalLocationIdentifierType": {
            "$ref": "#/components/schemas/AdditionalLocationIdentifierTypes"
          }
        },
        "additionalProperties": false
      },
      "UpdateLocationsResponseModel": {
        "type": "object",
        "properties": {
          "locationId": {
            "type": "integer",
            "format": "int32",
            "example": 2802
          },
          "isMainLocation": {
            "type": "boolean",
            "example": false
          },
          "isBillingProvider": {
            "type": "boolean",
            "example": false
          },
          "locationName": {
            "type": "string",
            "nullable": true,
            "example": "Temecula, CA 834"
          },
          "billingProviderName": {
            "type": "string",
            "nullable": true,
            "example": "Oakland123"
          },
          "taxId": {
            "type": "string",
            "nullable": true,
            "example": "841647103"
          },
          "npiNumber": {
            "type": "string",
            "nullable": true,
            "example": "1538406616"
          },
          "taxonomyCode": {
            "type": "string",
            "nullable": true,
            "example": "103TA0400X"
          },
          "countryId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 23
          },
          "address1": {
            "type": "string",
            "nullable": true,
            "example": "10850 S US Highway 1, Ste 2 upd"
          },
          "address2": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true,
            "example": "Port St Lucie"
          },
          "state": {
            "type": "string",
            "nullable": true,
            "example": "FL"
          },
          "zip": {
            "type": "string",
            "nullable": true,
            "example": "77455"
          },
          "email": {
            "type": "string",
            "nullable": true,
            "example": "ktorsiello112@behaviorbasicsin.com"
          },
          "phone": {
            "type": "string",
            "nullable": true,
            "example": "4567876545679"
          },
          "fax": {
            "type": "string",
            "nullable": true,
            "example": "7724630444112"
          },
          "additionalLocationId": {
            "type": "string",
            "nullable": true,
            "example": "772463"
          },
          "additionalLocationIdentifierType": {
            "$ref": "#/components/schemas/AdditionalLocationIdentifierTypes"
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "UpdatePayroll": {
        "required": [
          "paycodes"
        ],
        "type": "object",
        "properties": {
          "staffId": {
            "maximum": 2147483647,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "example": 345355
          },
          "paycodes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Payroll"
            }
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "UpdatePayrollResponseModel": {
        "type": "object",
        "properties": {
          "staffId": {
            "type": "integer",
            "format": "int32"
          },
          "paycodes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetPayrollModel"
            },
            "nullable": true
          },
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "UpdateSeriesRecurrenceRequestModel": {
        "type": "object",
        "properties": {
          "rangeOfRecurrenceStartDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "rangeOfRecurrenceEndDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "recurringPattern": {
            "$ref": "#/components/schemas/RecurringPatternRequest"
          },
          "overrideFunderServiceLimits": {
            "type": "boolean",
            "description": "When true, persist despite Funder Service Limit Blocks if the series staff member's role has\r\nOverride Funder Service Limits. Default false."
          }
        },
        "additionalProperties": false
      },
      "UpdateSeriesRecurrenceResponseModel": {
        "type": "object",
        "properties": {
          "seriesId": {
            "type": "integer",
            "format": "int32"
          },
          "status": {
            "$ref": "#/components/schemas/ResponseStatus"
          }
        },
        "additionalProperties": false
      },
      "UpdateStaffCustomFields": {
        "required": [
          "memberId",
          "staffCustomFieldData"
        ],
        "type": "object",
        "properties": {
          "memberId": {
            "type": "integer",
            "description": "Gets or sets the staff member ID associated with the custom fields.",
            "format": "int32"
          },
          "staffCustomFieldData": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StaffCustomFieldData"
            },
            "description": "Gets or sets the staff custom field data to add."
          }
        },
        "additionalProperties": false,
        "description": "Represents the data model for updating staff custom fields."
      },
      "UpdateStaffMemberRequestModel": {
        "required": [
          "email",
          "firstName",
          "lastName",
          "roleId",
          "statusId",
          "timeZoneId",
          "username"
        ],
        "type": "object",
        "properties": {
          "staffId": {
            "type": "integer",
            "format": "int32",
            "example": 355018
          },
          "username": {
            "maxLength": 100,
            "minLength": 0,
            "pattern": "^.{6,}$",
            "type": "string",
            "example": "KBADD19"
          },
          "statusId": {
            "type": "integer",
            "format": "int32",
            "example": 2938
          },
          "companyStaffId": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "234RTY7699"
          },
          "firstName": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "example": "Eric"
          },
          "middleName": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "T"
          },
          "lastName": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "example": "Morales"
          },
          "dateOfBirth": {
            "maxLength": 10,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "2015-12-10"
          },
          "phone": {
            "maxLength": 13,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "7879898877"
          },
          "addressStreet": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "12345 21 Street"
          },
          "city": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "New York City"
          },
          "stateId": {
            "maximum": 52,
            "minimum": 1,
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 35
          },
          "zipCode": {
            "maxLength": 9,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "7745"
          },
          "timeZoneId": {
            "type": "integer",
            "format": "int32",
            "example": 5
          },
          "locationIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true,
            "example": [
              2801,
              2802
            ]
          },
          "employeeTypeId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 597
          },
          "roleId": {
            "type": "integer",
            "format": "int32",
            "example": 9028
          },
          "email": {
            "maxLength": 200,
            "minLength": 0,
            "type": "string",
            "format": "email",
            "example": "kavitha.bingi19@rethinkfirst.com"
          },
          "npiNumber": {
            "maxLength": 10,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "1750496923"
          },
          "medicaidNumber": {
            "maxLength": 15,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "18014249782213"
          },
          "practionerId": {
            "maxLength": 20,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "18014249782213"
          },
          "taxonomyCode": {
            "maxLength": 10,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "1801424973"
          },
          "ssn": {
            "maxLength": 11,
            "minLength": 0,
            "type": "string",
            "nullable": true,
            "example": "123-45-6789"
          },
          "supervisorId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 337579
          },
          "serviceLineIds": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StaffServiceLineRequestModel"
            },
            "nullable": true
          },
          "staffAvailabilities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StaffAvailabilityRequestModel"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateStaffMemberResponseModel": {
        "type": "object",
        "properties": {
          "responseStatus": {
            "$ref": "#/components/schemas/ResponseStatus"
          },
          "staffId": {
            "type": "integer",
            "format": "int32",
            "example": 355018
          },
          "username": {
            "type": "string",
            "nullable": true,
            "example": "KBADD19"
          },
          "statusId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 2938
          },
          "companyStaffId": {
            "type": "string",
            "nullable": true,
            "example": "234RTY7699"
          },
          "firstName": {
            "type": "string",
            "nullable": true,
            "example": "Eric"
          },
          "middleName": {
            "type": "string",
            "nullable": true,
            "example": "T"
          },
          "lastName": {
            "type": "string",
            "nullable": true,
            "example": "Morales"
          },
          "dateOfBirth": {
            "type": "string",
            "nullable": true,
            "example": "2015-12-10"
          },
          "phone": {
            "type": "string",
            "nullable": true,
            "example": "7879898877"
          },
          "addressStreet": {
            "type": "string",
            "nullable": true,
            "example": "12345 21 Street"
          },
          "city": {
            "type": "string",
            "nullable": true,
            "example": "New York City"
          },
          "stateId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 35
          },
          "zipCode": {
            "type": "string",
            "nullable": true,
            "example": "7745"
          },
          "timeZoneId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 5
          },
          "locationIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true,
            "example": [
              2801,
              2802
            ]
          },
          "employeeTypeId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 597
          },
          "roleId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 9028
          },
          "email": {
            "type": "string",
            "nullable": true,
            "example": "kavitha.bingi19@rethinkfirst.com"
          },
          "npiNumber": {
            "type": "string",
            "nullable": true,
            "example": "1750496923"
          },
          "medicaidNumber": {
            "type": "string",
            "nullable": true,
            "example": "18014249782213"
          },
          "practionerId": {
            "type": "string",
            "nullable": true,
            "example": "18014249782213"
          },
          "taxonomyCode": {
            "type": "string",
            "nullable": true,
            "example": "1801424973"
          },
          "ssn": {
            "type": "string",
            "nullable": true,
            "example": "xxx-xx-6789"
          },
          "supervisorId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "example": 337579
          },
          "serviceLineIds": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StaffServiceLineResponseModel"
            },
            "nullable": true
          },
          "staffAvailabilities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StaffAvailabilityResponseModel"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "Bearer": {
        "type": "apiKey",
        "description": "JWT Authorization header using the Bearer scheme. <br /><br /> \r\n                      Enter 'Bearer' [space] and then your token in the text input below.\r\n                      <br /><br />Example: 'Bearer 12345abcdef'",
        "name": "Authorization",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "Bearer": [ ]
    }
  ],
  "tags": [
    {
      "name": "BillingCodeCredentials",
      "description": "This endpoint allows one to set the combinations of Billing Code modifiers that a staff member can add to a billing code, as well as the credentials necessary for a staff member to add them"
    },
    {
      "name": "StaffCustomFields",
      "description": "Controller for managing staff custom fields."
    },
    {
      "name": "ClientCustomFields",
      "description": "Controller for managing client custom fields."
    }
  ]
}