POST REST API script not updating variable values
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2023 03:20 AM
Hi,
We have created a Scripted POST API, but showing error " variable not defined ". Kindly advise.
Error:
POST Script:
Bijender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2023 03:28 AM
Hello @Bijender ,
You are declaring the wrong variable.
In post script the variable name is First_name and the postman you are giving first_name.
Either change anyone variable and please try.
Thank you,
Omkar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2023 03:43 AM - edited 10-04-2023 03:54 AM
Hi Omkar,
Thanks, it created the record now, but the issue is still the same variable value is still blank.
My First_name variable is reference type variable for sys_user table
Regards,
Bijender