Drug Code Units

Create DrugCodeUnit

Creates a new DrugCodeUnit

SecurityapiKeyAuth and bearerAuth
Request
header Parameters
vbasoftware-database
required
string

Target database

Request Body schema:
required
drugCode_Unit
required
string [ 1 .. 32 ] characters
entry_Date
string <date-time>
entry_User
string or null <= 20 characters
unit_Description
string or null <= 256 characters
update_Date
string <date-time>
update_User
string or null <= 20 characters
Responses
200

Success

401

Unauthorized

post/drug-code-units
Request samples
{
  • "drugCode_Unit": "string",
  • "entry_Date": "2019-08-24T14:15:22Z",
  • "entry_User": "string",
  • "unit_Description": "string",
  • "update_Date": "2019-08-24T14:15:22Z",
  • "update_User": "string"
}
Response samples
{
  • "data": {
    },
  • "error": {
    },
  • "debug": {
    }
}

List DrugCodeUnit

Lists all DrugCodeUnit

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/drug-code-units
Request samples
Response samples
No sample

Get DrugCodeUnit

Gets DrugCodeUnit

SecurityapiKeyAuth and bearerAuth
Request
path Parameters
drugCodeUnit
required
string

DrugCode Unit

header Parameters
vbasoftware-database
required
string

Target database

Responses
200

Success

401

Unauthorized

get/drug-code-units/{drugCodeUnit}
Request samples
Response samples
No sample

Update DrugCodeUnit

Updates a specific DrugCodeUnit.

SecurityapiKeyAuth and bearerAuth
Request
path Parameters
drugCodeUnit
required
string

DrugCode Unit

header Parameters
vbasoftware-database
required
string

Target database

Request Body schema:
required
drugCode_Unit
required
string [ 1 .. 32 ] characters
entry_Date
string <date-time>
entry_User
string or null <= 20 characters
unit_Description
string or null <= 256 characters
update_Date
string <date-time>
update_User
string or null <= 20 characters
Responses
200

Success

401

Unauthorized

put/drug-code-units/{drugCodeUnit}
Request samples
{
  • "drugCode_Unit": "string",
  • "entry_Date": "2019-08-24T14:15:22Z",
  • "entry_User": "string",
  • "unit_Description": "string",
  • "update_Date": "2019-08-24T14:15:22Z",
  • "update_User": "string"
}
Response samples
{
  • "data": {
    },
  • "error": {
    },
  • "debug": {
    }
}

Delete DrugCodeUnit

Deletes an DrugCodeUnit

SecurityapiKeyAuth and bearerAuth
Request
path Parameters
drugCodeUnit
required
string

DrugCode Unit

header Parameters
vbasoftware-database
required
string

Target database

Responses
204

Success

401

Unauthorized

delete/drug-code-units/{drugCodeUnit}
Request samples

Create or Update Batch DrugCodeUnit

Create or Update multiple DrugCodeUnit 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
drugCode_Unit
required
string [ 1 .. 32 ] characters
entry_Date
string <date-time>
entry_User
string or null <= 20 characters
unit_Description
string or null <= 256 characters
update_Date
string <date-time>
update_User
string or null <= 20 characters
Responses
207

Success

401

Unauthorized

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