Get me partners

Prev Next
Get
/v2/identity/users/me/partners

Returns the paginated list of partners visible by the current user, i.e. the resellers, dealers or service companies that operate on behalf of the organization and manage their own set of customers.
The list can be filtered by code, name, country and by any custom partner property, and sorted and paginated through the sort, page and size parameters.
Required permissions: READ_PARTNER.

Security
HTTP
Type bearer
Header parameters
X-Servitly-Tenant
stringRequired

The name of the tenant (e.g. acme).

Query parameters
code
string

Condition on partner code.
For more details on predicates, see the payload common concepts article.

ExampleP000123
name
string

Condition on name property.
For more details on predicates, see the payload common concepts article.

Exampleeq;FooBar
country
string

Condition on country.
For more details on predicates, see the payload common concepts article.

ExampleItaly
PROPERTY_NAME
string

Condition on object property.
For more details on predicates, see the payload common concepts article.

Exampleproperties.propABC=eq;XYZ
size
integer

The number of elements to retrieve for the current page.

Minimum1
Example200
page
integer

The page number to retrieve (zero-based).

Minimum0
Example0
sort
string

The sorting criteria based on object properties.

Minimum0
Examplename,ASC
Responses
200

Successful operation.

Expand All
object
content
Array of object (Partner)
object
id
string

The partner object identifier.

name
string
code
string

Public, human-readable identifier for the partner. Unlike "id", which is the immutable internal identifier, "code" is exposed externally and can be modified by clients. Must be unique.

country
string

The country of the partner.

countryIsoCode
string

The country ISO Code of the partner.

timezone
string

The timezone used for date/times localization (e.g. Europe/Rome).

customerCount
number

The number of customers associated with the partner.

properties
object (Properties)

The set of properties providing additional details to the parent object.

Example{ "foo": "abc", "bar": 123 }
OneOf
string
string
number
number
boolean
boolean
organization
object

The parent organization identifier.

id
string

The referenced object identifier.

Example1234abcd
creationTimestamp
integer (int64)

The timestamp at which the object was created.

first
boolean

The flag indicating whether the page is the first one.

last
boolean

The flag indicating whether the last page has been reached.

totalPages
integer

The total number of pages.

totalElements
integer

The total number of elements.

sort
string

The current sorting criteria.

numberOfElements
integer

The number of elements in this page.

size
integer

The requested page size.

number
integer

The number of the page (zero-based).

Minimum0
401

User not authenticated.

object
message
string

The error response.

ExampleUser not authenticated
403

User not authorized.

object
message
string

The error response.

ExampleUser not authorized
429

API call rate limit exceeded.

object
message
string

The error response.

ExampleAPI call rate limit exceeded
500

Internal server error.

object
message
string

The error response.

ExampleInternal Server Error