Skip to main content

List Accounts

SaaS only

This API is Applicable only for SaaS Environment

List all accounts with filter, sort and pagination support.

Response Body

FieldDescriptionTypeNotes
dataList of AccountsAccount Objects (Get Account by Id - Response Body) ArraySee - Get Account by Id - Account Object (Response Body)
metadataList account metadataMetadata ObjectSee - Metadata Object
Metadata Object
FieldDescriptionTypeNotes
filterFilter string that contains search parametersString
sortSort string that contains sorting criteriaString
paginationPagination InfoPagination ObjectSee - Pagination Object
Pagination Object
FieldDescriptionTypeNotes
pageNumberPage numberInteger0 to x
pageSizePage sizeInteger
totalRecordsTotal number of recordsInteger
Query Parameters
  • filter string

    Optional - Filter. searchTerm - matches account name and contact email containing searchTerm value.
    Apart from searchTerm filter can also be applied on fields like id, notId (For exclusion), orgId (maps to mspId/resellerId/distiId), partnetId (maps to resellerId), resellerId, type.
    Other account root elements can also be used as filters like name, status, domain, website, externalCustomerId etc.

  • sort string

    Optional - Sort order. default desc:updateTs

  • pageNumber int32

    Optional - Page number >= 0. default 0

  • pageSize int32

    Optional - Size of each page. default 25

Responses


Schema
  • data object[]
  • id string
  • insertTs string
  • updateTs string
  • status string
  • externalId string
  • name string
  • provisionCountry string
  • contacts object[]
  • type string
  • email string
  • firstName string
  • lastName string
  • address object
  • addressLine1 string
  • city string
  • state string

    Required when country is optional

  • country string
  • postalCode string
  • addressLine2 string
  • metadata object
  • filter string
  • sort string
  • pagination object
  • pageNumber int32
  • pageSize int32
  • totalRecords int32
Loading...