Read all BPUserRelationships

Retrieves a list of relationships between users and business partners from the database

With this method, you send a request to the server to retrieve a subset of all BPUserRelationships, according to the filter criteria provided. For a collective request for a set of user relationships, you have these options:

  • You can restrict the set of relationships to be retrieved by filter criteria based on the business partner or the user.
  • You can define that the set of matching relationships shall not be transmitted all at once, but in a paged manner so that only a small number of results is transmitted, thereby reducing the server load.

Request

URI: /BPUserRelationships

HTTP Method: GET

Permissions:

<bp>.r

<bp>.tenant.r

Query String Parameters

Name Required Data Type Description
$skip No integer Number of the first n records to be excluded from the result set
$top No integer Number of records to include in the result set
$filter No string Filter condition to be applied; valid fields are businessPartnerID and userNameID
$count No integer Returns the number of entries in the database, with filter conditions taken into account (if applicable)
Allowed Combinations of Fields and Operators in Filter Conditions
Fields Operators
businessPartnerID, userNameID eq, ne

Request Example

/BPUserRelationships

Retrieves all relationships that are available in the database.

/BPUserRelationships?$top=25

Retrieves the first 25 relationships. Data is retrieved in page mode to reduce network load and response times.

/BPUserRelationships?$filter=businessPartnerID eq '8ab31cdfe1a44ee0a33cc2cae9d2c27f'

Retrieves all relationships for business partner 8ab31cdfe1a44ee0a33cc2cae9d2c27f.

Response

Response Status and Error Codes

Code Description
200 Relationships retrieved successfully