Querying for a Siebel CRM Business Component by Specifying the ViewMode Parameter

You can control read and write access to a Siebel CRM Business Component by specifying theViewMode parameter in the HTTP GET request. It controls access to operations based on Person, Position, or Organization.

The following request queries for an Account, using the ViewMode="Sales Rep" access control. This gives access to the user to view only those Accounts belonging to a specific sales team:

  • URI: http://ServerName:port/siebel/v1.0/data/Account/Account/?ViewMode="Sales Rep"

  • HTTP Method: GET

  • Content-Type: application/json

  • Authorization: Basic

Note: If you do not specify the ViewMode parameter, then all accounts belonging to the SalesRep role are returned by default.