Grievance Categories

Create GrievanceCategory

Creates a new GrievanceCategory

SecurityapiKeyAuth and bearerAuth
Request
header Parameters
vbasoftware-database
required
string

Target database

Request Body schema:
required
grievance_Category
required
string [ 1 .. 32 ] characters

Name given to the 'Category'.

default_Category
required
boolean

Checking this option will automatically apply this 'Category' to new grievances. Note: This field is marked as NOT NULL in the database and therefore required by the API.

description
string or null <= 256 characters

Description of the 'Category'.

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/grievance-categories
Request samples
{
  • "grievance_Category": "string",
  • "default_Category": true,
  • "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 GrievanceCategory

Lists all GrievanceCategory

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/grievance-categories
Request samples
Response samples
No sample

Get GrievanceCategory

Gets GrievanceCategory

SecurityapiKeyAuth and bearerAuth
Request
path Parameters
grievanceCategory
required
string

Grievance Category

header Parameters
vbasoftware-database
required
string

Target database

Responses
200

Success

401

Unauthorized

get/grievance-categories/{grievanceCategory}
Request samples
Response samples
No sample

Update GrievanceCategory

Updates a specific GrievanceCategory.

SecurityapiKeyAuth and bearerAuth
Request
path Parameters
grievanceCategory
required
string

Grievance Category

header Parameters
vbasoftware-database
required
string

Target database

Request Body schema:
required
grievance_Category
required
string [ 1 .. 32 ] characters

Name given to the 'Category'.

default_Category
required
boolean

Checking this option will automatically apply this 'Category' to new grievances. Note: This field is marked as NOT NULL in the database and therefore required by the API.

description
string or null <= 256 characters

Description of the 'Category'.

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/grievance-categories/{grievanceCategory}
Request samples
{
  • "grievance_Category": "string",
  • "default_Category": true,
  • "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 GrievanceCategory

Deletes an GrievanceCategory

SecurityapiKeyAuth and bearerAuth
Request
path Parameters
grievanceCategory
required
string

Grievance Category

header Parameters
vbasoftware-database
required
string

Target database

Responses
204

Success

401

Unauthorized

delete/grievance-categories/{grievanceCategory}
Request samples

Create or Update Batch GrievanceCategory

Create or Update multiple GrievanceCategory 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
grievance_Category
required
string [ 1 .. 32 ] characters

Name given to the 'Category'.

default_Category
required
boolean

Checking this option will automatically apply this 'Category' to new grievances. Note: This field is marked as NOT NULL in the database and therefore required by the API.

description
string or null <= 256 characters

Description of the 'Category'.

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/grievance-categories-batch
Request samples
[
  • {
    }
]
Response samples
{
  • "data": [
    ],
  • "error": {
    },
  • "debug": {
    }
}