Skip to content

Consulting agency

get(body=Body(), execution_id=None, token=Depends(oauth2_scheme)) async

Return a details of consulting agency

Parameters:

Name Type Description Default
body EntityGetRequest

The requested entity. Defaults to Body().

Body()
execution_id str

Unique identifier of the execution. Defaults to None.

None
token str

The authentication token. Defaults to Depends(oauth2_scheme).

Depends(oauth2_scheme)

Raises:

Type Description
HTTPException
status_code

HTTP_400_BAD_REQUEST

message

Problem on get consuling agency details

body

exception message

Returns:

Type Description
ConsultingAgencyListResponse

A Dictionary with

  • "entities" as key , (List[ConsultingAgency]) as value

  • "total" as key : record count as value

list(body=Body(), execution_id=None, token=Depends(oauth2_scheme)) async

Return a list of consulting agency

Parameters:

Name Type Description Default
body EntitiesListRequest

A list of requested entities. Defaults to Body().

Body()
execution_id str

Unique identifier of the execution. Defaults to None.

None
token str

The authentication token. Defaults to Depends(oauth2_scheme).

Depends(oauth2_scheme)

Raises:

Type Description
HTTPException
status_code

HTTP_400_BAD_REQUEST

message

Problem on get consulting agencies list

body

exception message

Returns:

Type Description
ConsultingAgencyListResponse

A Dictionary with

  • "entities" as key , (List[ConsultingAgency]) as value

  • "total" as key : record count as value

save(body=Body(), execution_id=None, token=Depends(oauth2_scheme)) async

Create or update consulting agency.

ConsultingAgency

OrganizationId: uuid = Organization identifier Name: str = Analysis element name Id: uuid = Analysis element identifier Description: str = Analysis element code

RETURN: ConsultingAgency