My Oracle Support Banner

REST API: Searchspec Values In The Response Payload Of Nextset And Previousset Link For Data API Is Broken (Doc ID 2745150.1)

Last updated on JANUARY 22, 2021

Applies to:

Siebel CRM - Version 20.6 and later
Information in this document applies to any platform.

Symptoms

On : 20.6 version, Siebel EAI

While accessing Inbound REST API using business objects in combination with PageSize parameter and search specification, in response payload links of previousSet and nextSet links doesn't contain the exact search specification and it got truncated.

Use the below URL to get the data of Service Request Business component using Pagesize parameter. Assume that there are multiple records of Service Requests with Pending status.

https://<AIHOST.example.com>:<AI_HTTPS_Port>/siebel/v1.0/data/Service Request/Service Request?searchspec=[Status]='Pending'>&PageSize=1&StartRowNum=0&ViewMode=Organization&uniformresponse=y&ChildLinks=none

 Response:

{
           "items": [
               {

                    "Owner Phone": "",
                    "Current PCP First Name": "",
                    "Check Order - Starting Number": "",
                    "Impound Reason": "",
                    "Test - Test": "",
                    "Auto Payment - ABA Routing and Acct #": "",
                    "Address Maint - Old Addr Chg Reason": "",
                    "Service Point Asset Id": "",
                    "Test - Account Balance": "",
                    "Link": [
                              {
                                  "rel": "self",
                                   "href": "https://<AIHOST.example.com>:<AI_HTTPS_Port>/siebel/v1.0/data/Service Request/Service Request/1-1L9WT",
                                   "name": "Service Request"
                              },
                            {
                                "rel": "canonical",
                                "href": "https://<AIHOST.example.com>:<AI_HTTPS_Port>/siebel/v1.0/data/Service Request/Service Request/1-1L9WT",
                                 "name": "Service Request"
                             }
                        ]
             }
            ],

                   "Link": [
                              {
                                       "rel": "self",
                                        "href": "https://<AIHOST.example.com>:<AI_HTTPS_Port>/siebel/v1.0/data/Service Request/Service Request?PageSize=2&uniformresponse=y&searchspec=                                                                                      [Status]&ViewMode=Organization&StartRowNum=2&ChildLinks=none",
                                         "name": "Service Request"
                                 },
                               {
                                      "rel": "firstSet",
                                       "href": "https://<AIHOST.example.com>:<AI_HTTPS_Port>/siebel/v1.0/data/Service Request/Service Request?PageSize=1&uniformresponse=y&searchspec=[Status]&ViewMode=Organization&StartRowNum=0&ChildLinks=none",
                                      "name": "Service Request"
                              },
                               {
                                       "rel": "previousSet",
                                        "href": "https://<AIHOST.example.com>:<AI_HTTPS_Port>/siebel/v1.0/data/Service Request/Service Request?PageSize=1&uniformresponse=y&searchspec=[Status]&ViewMode=Organization&StartRowNum=0&ChildLinks=none",
                                       "name": "Service Request"
                                  }
                        ]
}

 Here in the response, links of "firstSet" and "previousSet" doesn't contain whole search specification

Actual search specification in the request is searchspec=[Status]='Pending'. But in the response links of "firstSet" and "previousSet", its searchspec=[Status]

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.