Skip to main content

Find Business Units

Find business units. The command uses the PV_BUSINESS_UNIT public view to find data. Any filters passed should be passed on this public view.

GET https://instance.securid.com/aveksa/command.submit?cmd=findBusinessUnits

Request

Parameters

findBusinessUnits
format

properties - (Default) key=value. most useful when requesting a single object. If multiple objects are returned, values is a csv. ie key=value1,value2,value3 where value1 is the value for the first object, value2 is the value for the 2nd object, etc.

json - Useful format for parsing into javascript or other languages. See www.json.org for details.

csv - Comma separated values

tsv - Tab separated values

xml - Extensible Markup Language
delimiterThe delimiter to use between values for csv, properties formats
returnColumns

The names of the columns to return. returnColumns may be a CSV list of multiple column names. The returnColumns parameter may also be listed multiple times (ie returnColumns=col1,col2&returnColumns=col3,col4)

Refer to Columns table below.
returnMaxRowsThe maximum number of objects to return
distincttrue, false Returns only distinct values similar to the distinct keyword in SQL.
sortByColumns

The results will be sorted based on the columns listed using comma as the delimiter if multiple columns are specified.

Refer to Columns table below.
sortDirectionThis determines sorting order. When defined as 'asc' the sorting is in ascending order else in 'desc' descending order. If this parameter is not specified, the natural order of rows returned by database is used.
includeHeaderRowtrue, false To include column headers when the return format is csv, tsv. (Default) true
ignoreCasetrue, false Returns case insensitive search result for specified filter parameters. (Default) false

Columns

id[Primary Key] Unique application identifier
nameBusiness unit name
created_by[Foreign Key referencing USERS.ID] User id that created this business unit.
creation_dateDate stamp when this business unit was created
business_owner[Foreign Key referencing USERS.ID] Business owner user id
technical_owner[Foreign Key referencing USERS.ID] Technical owner user id
violation_manager[Foreign Key referencing USERS.ID] Name of the violation manager user id
backup_business_owner[Foreign Key referencing USERS.ID] Backup business owner
backup_technical_owner[Foreign Key referencing USERS.ID] Backup technical owner
cau1Value of custom user type attributes configured on the instance represented by their database IDs
cad1Value of custom date type attributes configured on the instance represented by their database IDs
cas1Value of custom string type attributes configured on the instance represented by their database IDs

Headers

Bearer token
Acceptapplication/json
Content-Typeapplication/json

Response

Parameters

The API returns the requested columns specified by returnColumns as output. If returnColumns is unspecified then all columns listed will be returned.

Examples

Request

curl -K -X GET  \
"https://instance.securid.com/aveksa/command.submit?cmd=findBusinessUnits&format=json" \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json"

Response

{
"findBusinessUnits": [
{
"id": "1",
"name": "Audit & Compliance",
"creation_date": "2023-08-28 23:30:02.0",
"created_by": "0",
"business_owner": "233",
"technical_owner": "225145",
"violation_manager": "247964",
"backup_business_owner": "",
"backup_technical_owner": "",
"property_2": "",
"property_1": "",
"cau1": "",
"cau2": "",
"cad1": "",
"cas3": ""
}
]
}
Feedback