Schema

Scalars

Enums

Objects

Input Objects

RootQueryType (OBJECT)

Schema Definition

type RootQueryType {   # Returns the list of active lenders for this environment.
activeLenders: [Lender!]!   # Returns the respective case by the UUID and current token. Company admins and broker managers can read every case in their company.
case: Case!   # Returns the buy to let case for the given unique identifier. Company admins and broker managers can read every case in their company.
caseBtl: BtlCase!   # Returns the residential case for the given unique identifier. Company admins and broker managers can read every case in their company.
caseResidential: ResidentialCase!   # Returns the current case results for a specific case. Company admins and broker managers can read every case in their company.
caseResults: [CaseResult!]!   # Returns a list of cases for the authenticated user. For company admins and broker managers, returns every case in their company.
cases: [Case!]   # Returns the current company details, requires a broker or company token.
currentCompany: Company!   # Returns the list of lenders for this environment.
lenders: [Lender!]!   # Retrieves the ONS-compliant occupation entries.
occupations: [OnsOccupation!]!   # Search cases with pagination. Searches across case UUID, client names and reference. Company admins and broker managers search every case in their company.
search: PaginatedCases!   # Search the active advisers in the caller's company, ordered alphabetically by first name, then surname. Only company admins and broker managers can call it.
searchAdvisers: PaginatedAdvisers!   # Search the active offices (sites) in the caller's company, ordered alphabetically by name. Only company admins and broker managers can call it.
searchOffices: PaginatedOffices! }