Skip to content

Create CareUnit

Request

Creates a new CareUnit

Security
apiKeyAuth and bearerAuth
Headers
vbasoftware-databasestringrequired

Target database

Bodyapplication/jsonrequired
careUnit_Keyinteger, (int32)required
addressstring or null, <= 128 characters
address2string or null, <= 128 characters
citystring or null, <= 64 characters
country_IDstring or null, <= 8 characters
county_Codestring or null, <= 8 characters
entry_Datestring, (date-time)
entry_Userstring or null, <= 20 characters
fax_Country_Codestring or null, <= 8 characters
fax_Numberstring or null, <= 32 characters
namestring or null, <= 512 characters
phone_Country_Codestring or null, <= 8 characters
phone_Numberstring or null, <= 32 characters
statestring or null, <= 2 characters
update_Datestring, (date-time)
update_Userstring or null, <= 20 characters
zip_Codestring or null, <= 32 characters
curl -i -X POST \
  https://vbapi.vbasoftware.com/vbasoftware/care-units \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'vbasoftware-database: string' \
  -H 'x-api-key: YOUR_API_KEY_HERE' \
  -d '{
    "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"
  }'

Responses

Success

Bodyapplication/json
dataobject
errorobject
debugobject
Response
{ "data": { … }, "error": { … }, "debug": { … } }