Gets a list of all CGACs/FRECs that the user has permissions for.
/v1/list_agencies/
perm_level
: (string) indicates the permission level to filter on. Defaults to reader if not provided. Allowable values are:reader
: include all agencies with affiliationswriter
: include all agencies with writer/editfabs affiliation or abovesubmitter
: include all agencies with submitter/fabs affiliation
perm_type
: (string) indicates the permission type to filter on. Defaults to mixed if not provided Allowable values are:dabs
: include all agencies with dabs affiliationsfabs
: include all agencies with fabs affiliationsmixed
: include all agencies with dabs or fabs affiliation
{
"cgac_agency_list": [
{
"agency_name": "Sample Agency",
"cgac_code": "000"
},
{
"agency_name": "Sample Agency 2",
"cgac_code": "998"
}
],
"frec_agency_list": [
{
"agency_name": "Sample FREC Agency",
"frec_code": "0000"
}
]
}
cgac_agency_list
: (list[dict]) A list of all cgac agencies (cgac code and agency name) the user has permissions to access.frec_agency_list
: (list[dict]) A list of all frec agencies (frec code and agency name) the user has permissions to access.
Possible HTTP Status Codes:
- 401: Login required