Ethnicity Codes

Create EthnicityCode

Creates a new EthnicityCode

SecurityapiKeyAuth and bearerAuth
Request
header Parameters
vbasoftware-database
required
string

Target database

Request Body schema:
required
ethnicity_Code
required
string = 1 characters

Name for the ethnicity code.

description
string or null <= 32 characters

Description of the ethnicity code.

entry_Date
string <date-time>

Date record was first added to the system

entry_User
string or null <= 20 characters

User that first added the record to the system

update_Date
string <date-time>

Date the record was last updated in the system

update_User
string or null <= 20 characters

User that last updated the record in the system

Responses
200

Success

401

Unauthorized

post/ethnicity-codes
Request samples
{
  • "ethnicity_Code": "s",
  • "description": "string",
  • "entry_Date": "2019-08-24T14:15:22Z",
  • "entry_User": "string",
  • "update_Date": "2019-08-24T14:15:22Z",
  • "update_User": "string"
}
Response samples
{
  • "data": {
    },
  • "error": {
    },
  • "debug": {
    }
}

List EthnicityCode

Lists all EthnicityCode

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/ethnicity-codes
Request samples
Response samples
No sample

Get EthnicityCode

Gets EthnicityCode

SecurityapiKeyAuth and bearerAuth
Request
path Parameters
ethnicityCode
required
string

Ethnicity Code

header Parameters
vbasoftware-database
required
string

Target database

Responses
200

Success

401

Unauthorized

get/ethnicity-codes/{ethnicityCode}
Request samples
Response samples
No sample

Update EthnicityCode

Updates a specific EthnicityCode.

SecurityapiKeyAuth and bearerAuth
Request
path Parameters
ethnicityCode
required
string

Ethnicity Code

header Parameters
vbasoftware-database
required
string

Target database

Request Body schema:
required
ethnicity_Code
required
string = 1 characters

Name for the ethnicity code.

description
string or null <= 32 characters

Description of the ethnicity code.

entry_Date
string <date-time>

Date record was first added to the system

entry_User
string or null <= 20 characters

User that first added the record to the system

update_Date
string <date-time>

Date the record was last updated in the system

update_User
string or null <= 20 characters

User that last updated the record in the system

Responses
200

Success

401

Unauthorized

put/ethnicity-codes/{ethnicityCode}
Request samples
{
  • "ethnicity_Code": "s",
  • "description": "string",
  • "entry_Date": "2019-08-24T14:15:22Z",
  • "entry_User": "string",
  • "update_Date": "2019-08-24T14:15:22Z",
  • "update_User": "string"
}
Response samples
{
  • "data": {
    },
  • "error": {
    },
  • "debug": {
    }
}

Delete EthnicityCode

Deletes an EthnicityCode

SecurityapiKeyAuth and bearerAuth
Request
path Parameters
ethnicityCode
required
string

Ethnicity Code

header Parameters
vbasoftware-database
required
string

Target database

Responses
204

Success

401

Unauthorized

delete/ethnicity-codes/{ethnicityCode}
Request samples

Create or Update Batch EthnicityCode

Create or Update multiple EthnicityCode 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
ethnicity_Code
required
string = 1 characters

Name for the ethnicity code.

description
string or null <= 32 characters

Description of the ethnicity code.

entry_Date
string <date-time>

Date record was first added to the system

entry_User
string or null <= 20 characters

User that first added the record to the system

update_Date
string <date-time>

Date the record was last updated in the system

update_User
string or null <= 20 characters

User that last updated the record in the system

Responses
207

Success

401

Unauthorized

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