Read all DeletedBPRoles
Retrieves a list of deleted business partner roles from the database
With this method, you send a request to the server to retrieve a subset of all deleted business partner roles, according to the filter criteria provided. For a collective request for a set of deleted roles, you have these options:
- You can define that the set of matching deleted roles 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: /DeletedBPRoles
HTTP Method: GET
Permissions: <bp>.pd
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 |
| $orderby | No | string | Field name to be used for sorting the result set in ascending order |
| $filter | Yes | string | Filter condition to be applied; valid field: businessPartnerID |
| $count | No | integer | Returns the number of entries in the database, with filter conditions taken into account (if applicable) |
| Fields | Operators |
|---|---|
| businessPartnerID | eq, ne |
Request Example
/DeletedBPRoles
Retrieves all deleted business partner roles that are available in the database.
/DeletedBPRoles?$top=25&$orderby='roleID'
Retrieves the first 25 deleted roles. Data is retrieved in page mode to reduce network load and response times, and the retrieved deleted roles are sorted by their ID.
/DeletedBPRoles?$skip=10&$top=20
Retrieves 20 deleted roles from the database where the first 10 deleted roles are omitted. That is, the retrieved deleted roles are those with sequence numbers 11 through 30.
Response
Response Status and Error Codes
| Code | Reason |
|---|---|
| 200 | Deleted roles retrieved successfully |