finsit API - Agency

A collection of help pages for using the API.

Agency

URL /Api/v2/Agency/{agencyId}
Accepted verbs GET, POST, PUT, DELETE
Description

Provides methods to get or manage agencies.

GET /Api/v2/Agency

Get a list of agencies.

Returns

The requested list of Agency.

GET /Api/v2/Agency/{agencyId}

Fetch an agency by its id.

Parameters
NameDescriptionAdditional information
agencyId Id of the agency.

URI parameter

Returns

The requested Agency.

POST /Api/v2/Agency

Create a new agency.

Parameters
NameDescriptionAdditional information
apiAgency The new Agency to create.

Body data

Returns

The newly created Agency.

PUT /Api/v2/Agency/{agencyId}

Update an agency.

Parameters
NameDescriptionAdditional information
agencyId Id of the agency that is being updated

URI parameter

apiAgency Updated Agency information.

Body data

Returns

The Agency with updated information.

DELETE /Api/v2/Agency/{agencyId}

Delete an agency.

Parameters
NameDescriptionAdditional information
agencyId Id of the agency to deleted.

URI parameter