Unable to POST data from ServiceNow to Aruba in JSON
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2023 04:40 AM
Hello,
@Amit Gujarathi @Ankur Bawiskar
We have an integration with Aruba with ServiceNow, when we are trying to POST the data from ServiceNow to Aruba Name posted properly but Email address and phone number not getting posted it's showing empty.
We are passing in JSON format as attached.
var userdata = {
"name": current.u_name,
"id": {},
"company_name" : current..u_company,
"user": {
"phone":current.u_phone_number,
"email":current.u_email
}
Could you please let me know what am I missing here?
Thanks for your help!
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2023 07:22 AM
Did you check how the request body should look like? didn't they share a sample JSON request body with you?
compare that against yours.
Regards,
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader