REST - POST method help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2025 04:33 AM
Dear All,
I am trying create a POST method so that in click of UI action , All the required details should be sent to 3rd party
Payload : {
"client_reference": "123",
"account_id": "",
"additional_info": "",
"fault_description": "",
"serial_number": "123",
"imei": "",
"make": "",
"po_number": "",
"collection_details": {
"collection_required": true,
"collection_date": "20-12-2023",
"company": "",
"first_name": "AA",
"last_name": "BB",
"email": "AA@theaa.com",
"phone": "1234",
"address_line_1": "btm",
"address_line_2": "123",
"town": "234",
"postcode": "4333",
"special_instructions": "",
"store_number": ""
},
"delivery_details": {
"company": "",
"first_name": "",
"last_name": "",
"email": "",
"phone": "",
"address_line_1": "",
"address_line_2": "",
"town": "",
"postcode": "",
"special_instructions": "",
"store_number": ""
}
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2025 05:00 AM
Hello @Mohammed Hyder ,
There are a lot of steps involved in setting this up. Please review this end to end guide.
Regards,
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2025 05:02 AM
so what did you start with and where are you stuck?
if your UI action is server side then you can use REST Message in that
sharing few links which can help you
If my response helped please mark it correct and close the thread so that it benefits future readers
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2025 05:07 AM
Issue is I am not able to pass the value from
Collection details block
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2025 05:07 AM
please share your script and what debugging did you perform?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader