Care Units

Create CareUnit

Creates a new CareUnit

SecurityapiKeyAuth and bearerAuth
Request
header Parameters
vbasoftware-database
required
string

Target database

Request Body schema:
required
careUnit_Key
required
integer <int32>
address
string or null <= 128 characters
address2
string or null <= 128 characters
city
string or null <= 64 characters
country_ID
string or null <= 8 characters
county_Code
string or null <= 8 characters
entry_Date
string <date-time>
entry_User
string or null <= 20 characters
fax_Country_Code
string or null <= 8 characters
fax_Number
string or null <= 32 characters
name
string or null <= 512 characters
phone_Country_Code
string or null <= 8 characters
phone_Number
string or null <= 32 characters
state
string or null <= 2 characters
update_Date
string <date-time>
update_User
string or null <= 20 characters
zip_Code
string or null <= 32 characters
Responses
200

Success

401

Unauthorized

post/care-units
Request samples
{
  • "careUnit_Key": 0,
  • "address": "string",
  • "address2": "string",
  • "city": "string",
  • "country_ID": "string",
  • "county_Code": "string",
  • "entry_Date": "2019-08-24T14:15:22Z",
  • "entry_User": "string",
  • "fax_Country_Code": "string",
  • "fax_Number": "string",
  • "name": "string",
  • "phone_Country_Code": "string",
  • "phone_Number": "string",
  • "state": "st",
  • "update_Date": "2019-08-24T14:15:22Z",
  • "update_User": "string",
  • "zip_Code": "string"
}
Response samples
{
  • "data": {
    },
  • "error": {
    },
  • "debug": {
    }
}

List CareUnit

Lists all CareUnit

SecurityapiKeyAuth and bearerAuth
Request
query Parameters
page
integer <int32>
Default: 1

Page

pageSize
integer <int32>
Default: 100

Page Size

sortBy
string

Comma separated string to sort by. Each sort field can be followed by :asc or :desc to specify sort direction, ascending is default. E.g., 'Property1:desc,Property2:asc,Property3:asc' sorts Property1 in descending order, Property2 in ascending, and Property3 in ascending.

header Parameters
vbasoftware-database
required
string

Target database

Responses
200

Success

401

Unauthorized

get/care-units
Request samples
Response samples
No sample

Get CareUnit

Gets CareUnit

SecurityapiKeyAuth and bearerAuth
Request
path Parameters
careUnitKey
required
integer <int32>

CareUnit Key

header Parameters
vbasoftware-database
required
string

Target database

Responses
200

Success

401

Unauthorized

get/care-units/{careUnitKey}
Request samples
Response samples
No sample

Update CareUnit

Updates a specific CareUnit.

SecurityapiKeyAuth and bearerAuth
Request
path Parameters
careUnitKey
required
integer <int32>

CareUnit Key

header Parameters
vbasoftware-database
required
string

Target database

Request Body schema:
required
careUnit_Key
required
integer <int32>
address
string or null <= 128 characters
address2
string or null <= 128 characters
city
string or null <= 64 characters
country_ID
string or null <= 8 characters
county_Code
string or null <= 8 characters
entry_Date
string <date-time>
entry_User
string or null <= 20 characters
fax_Country_Code
string or null <= 8 characters
fax_Number
string or null <= 32 characters
name
string or null <= 512 characters
phone_Country_Code
string or null <= 8 characters
phone_Number
string or null <= 32 characters
state
string or null <= 2 characters
update_Date
string <date-time>
update_User
string or null <= 20 characters
zip_Code
string or null <= 32 characters
Responses
200

Success

401

Unauthorized

put/care-units/{careUnitKey}
Request samples
{
  • "careUnit_Key": 0,
  • "address": "string",
  • "address2": "string",
  • "city": "string",
  • "country_ID": "string",
  • "county_Code": "string",
  • "entry_Date": "2019-08-24T14:15:22Z",
  • "entry_User": "string",
  • "fax_Country_Code": "string",
  • "fax_Number": "string",
  • "name": "string",
  • "phone_Country_Code": "string",
  • "phone_Number": "string",
  • "state": "st",
  • "update_Date": "2019-08-24T14:15:22Z",
  • "update_User": "string",
  • "zip_Code": "string"
}
Response samples
{
  • "data": {
    },
  • "error": {
    },
  • "debug": {
    }
}

Delete CareUnit

Deletes an CareUnit

SecurityapiKeyAuth and bearerAuth
Request
path Parameters
careUnitKey
required
integer <int32>

CareUnit Key

header Parameters
vbasoftware-database
required
string

Target database

Responses
204

Success

401

Unauthorized

delete/care-units/{careUnitKey}
Request samples

Create or Update Batch CareUnit

Create or Update multiple CareUnit at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.

SecurityapiKeyAuth and bearerAuth
Request
header Parameters
vbasoftware-database
required
string

Target database

Request Body schema:
required
Array
careUnit_Key
required
integer <int32>
address
string or null <= 128 characters
address2
string or null <= 128 characters
city
string or null <= 64 characters
country_ID
string or null <= 8 characters
county_Code
string or null <= 8 characters
entry_Date
string <date-time>
entry_User
string or null <= 20 characters
fax_Country_Code
string or null <= 8 characters
fax_Number
string or null <= 32 characters
name
string or null <= 512 characters
phone_Country_Code
string or null <= 8 characters
phone_Number
string or null <= 32 characters
state
string or null <= 2 characters
update_Date
string <date-time>
update_User
string or null <= 20 characters
zip_Code
string or null <= 32 characters
Responses
207

Success

401

Unauthorized

put/care-units-batch
Request samples
[
  • {
    }
]
Response samples
{
  • "data": [
    ],
  • "error": {
    },
  • "debug": {
    }
}