- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2022 12:25 AM
Third party should hit my REST API end point and GET the state field and shortdescription value of my Change request table.
i Know i can do this via Scripted rest API and i achieved it:
i can sent the response to my Third Party
But How can i acive this Via Trans form Maps or Transform scripts:
can it be done through Tranform ?
Because the second use case is Third party should hit my REST API end point and update the state field in my change request table:
so i have created a transform map with change number as coalesce field so they can update my record if change number already present in my change Request table.
HERE iam using Different Two methods.
I would be great if i can achieve both by tranform methods. because these two use case are INBOUND REST CALL.
Thanks
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2022 06:17 AM
Hi,
Refer the Highlighted part 3. You can pass the Change Number using sys_parm_query as mentioned
Refer Highlighted part 4, you can set the list of fields to be returned.
Hope this answers your question
Palani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2022 03:53 AM
Third Party will consume my API and only send Change Request Number to check present in Change request table/ not
will this work on that?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2022 03:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2022 04:09 AM
THANKS!
Third Party APP will only send Change Request Number as the input PARAMETER.
service now should sent the state and short description field values
WILL THIS END POINT WORK ON THAT CASE OR WE NEED USE SCRIPTED REST API AS I USED
IF YOUR SHARED ENDPOINT ITSELF WORKS HOW SHOULD I PRESENT IT TO THE CUSTOMER

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2022 06:17 AM
Hi,
Refer the Highlighted part 3. You can pass the Change Number using sys_parm_query as mentioned
Refer Highlighted part 4, you can set the list of fields to be returned.
Hope this answers your question
Palani