Siebel REST API Guide > Using the Siebel REST API > Using Siebel REST API to Access Siebel Business Services JSON Examples >

Acessing a Siebel Business Service with Arguments in the Request URI


You can access a Siebel CRM business service by sending an HTTP POST request to the resource's URI.

The following details are for a request to call the QueryPage method of the AccountWS Business Service with PageSize=10, StartRowNum=0 and ViewMode=All parameters included in the request URI. This request returns the REST Test Business Service3 account in the format of the integration Account_EMR object on the Siebel CRM Server:

  • URI: http://ServerName:port/siebel/v1.0/service/AccountWS/QueryPage?PageSize=10&StartRowNum=0&ViewMode=All
  • HTTP Method: POST
  • Content-Type: application/json
  • Authorization: Basic
  • Request body:

{
  "body":{
    "SiebelMessage":{
      "MessageId":"",
      "MessageType":"Integration Object",
      "IntObjectName":"Account_EMR",
      "IntObjectFormat":"Siebel Hierarchical",
      "ListOfAccount_EMR":{
        "Account":{
         "Name":"REST Test Business Service3"
      }
    }
   }
 }
}

Siebel REST API Guide Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices.