- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2024 10:54 PM - edited 03-07-2024 12:01 AM
Hi Everyone,
How can I achieve Query Parameter Associations in a certain order as mentioned below on REST API Query parameters.
request_type
portal_requisition_id
requested_for
submitted_by
country
state_code
manager
recruiting_coordinator
candidate_id
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2024 12:56 AM
@venugopal s ,we cant define the Order for Query prams in REST Message & we don't have an way to order this Parameters in the REST API Explorer as well
Regards,
Shyamkumar
Regards,
Shyamkumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2024 11:19 PM
@venugopal s , Not Sure what's your Ask , if you want to Construct Endpoint with Above Query Parameters , use REST API Explorer and Pass the Above fields in "sysparm_fields"
Reference
Regards,
Shyamkumar
Regards,
Shyamkumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2024 11:41 PM - edited 03-06-2024 11:53 PM
Hi @shyamkumar VK , I want to see on REST API Query parameters should be on same order which I have mentioned.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2024 12:01 AM
@venugopal s , Yes you need to do that via Rest API Explorer
Ex :
I have added number,state,sys_created_by to the Sysparm fields and they have Included in Same format to the API
api/now/table/incident?sysparm_fields=number%2Cstate%2Csys_created_by
Regards,
Shyamkumar
Regards,
Shyamkumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2024 12:05 AM - edited 03-07-2024 12:09 AM