Skip to main content

Hi all, Anyone know how to provide query parameters to this method. I want to pass $select as a query parameter.

Plsql_Rest_Sender_API.Call_Rest_EndPoint_Json_Sync(rest_service_ => rest_service_,
                                                      json_ => json_pipeline_,
                                                      url_params_ => url_params_,
                                                      callback_func_ => NULL,
                                                      http_method_ => 'GET',
                                                      http_req_headers_ => http_req_headers_,
                                                      query_parameters_ => query_parameters_,
                                                      header_params_ => header_params_,
                                                      incld_resp_info_ => NULL,
                                                      sender_ => sender_,
                                                      accepted_res_codes_ => accepted_res_codes_,
                                                      auth_params_ => auth_params_);

@madusha.amarasinghe  try something like : 


  Query_params := PLSQLAP_DOCUMENT_API.New_Document('QUERY_PARAMETERS');
  PLSQLAP_DOCUMENT_API.Add_Attribute(Query_params,'$select', ‘order_no’);

query_parameters_ => Query_params ,


Hi,

Thank you for the answer.But I already tried that before post this question and I am getting below error.

Did you try this already?

Thanks


No i didn’t.

I just looked at 

Call_Rest_EndPoint_Json_Sync - Technical Documentation For IFS Cloud

 

Try maybe $$ instead of one $ ? maybe it’s an encoding issue?

 


have you also looked on using url_params_  instead of query param?


Hi,

We can use url_params_ to pass any parameter value but cannot use for $select.

Thanks


Reply