Class ListOrgsRequest.Builder
- Enclosing class:
ListOrgsRequest
-
Method Summary
Modifier and TypeMethodDescriptionadditionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) build()externalId(String externalId) externalId(Optional<String> externalId) Look up an organization by your own identifier.The schema-declared lookup field to filter on.from(ListOrgsRequest other) Inclusive lower bound for a range lookup.Maximum number of organizations to return per page (1–100; defaults to 20).order(ListOrgsRequestOrder order) order(Optional<ListOrgsRequestOrder> order) Sort direction for lookup results:asc(ascending, the default) ordesc(descending).Match all values forfieldthat start with this prefix.Pagination cursor.Inclusive upper bound for a range lookup.The schema record type whose lookup fields you want to query.Return only organizations owned by this user, given as the Vectros-assigned ID (UUID) of a user.Exact value to match forfield(equality lookup).
-
Method Details
-
from
-
userId
Return only organizations owned by this user, given as the Vectros-assigned ID (UUID) of a user. To resolve a user ID from your own identifier, call
GET /v1/users?externalId=. -
userId
-
externalId
Look up an organization by your own identifier. Returns a list with the single matching organization, or an empty list if none matches.
-
externalId
-
startFrom
Pagination cursor. Pass the
nextCursorfrom the previous page to fetch the next page; omit it for the first page. -
startFrom
-
limit
Maximum number of organizations to return per page (1–100; defaults to 20).
-
limit
-
type
The schema record type whose lookup fields you want to query. Must be supplied together with
fieldand exactly one lookup mode (value,from/to, orprefix). -
type
-
field
The schema-declared lookup field to filter on. Must be one of the lookup fields defined on the schema named by
type. Supplied together withtypeand one lookup mode. -
field
-
value
Exact value to match for
field(equality lookup). Mutually exclusive withfrom/toandprefix. Not allowed for a sensitive field — usePOST /v1/orgs/lookupinstead so the value is not exposed in the URL. -
value
-
from
Inclusive lower bound for a range lookup. Requires
to, and is only supported on non-sensitive fields that have range lookups enabled. Mutually exclusive withvalueandprefix. -
from
-
to
Inclusive upper bound for a range lookup. Requires
from. -
to
-
prefix
Match all values for
fieldthat start with this prefix. Only supported on string fields that have range lookups enabled. Mutually exclusive withvalueandfrom/to. -
prefix
-
order
Sort direction for lookup results:
asc(ascending, the default) ordesc(descending). -
order
-
build
-
additionalProperty
-
additionalProperties
-