Hi I'm testing put method in rest message but its not updating the record. I attached the screenshot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-09-2024 02:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-09-2024 03:25 AM
@Bruce lee Could you please modify as below,
I assume that, this "6dcc6e7297d1021040c0bd0de053af9e" sys id of the story record. Post identifying the record pass this short description value and check once.
Sujatha V.M.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-09-2024 03:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-09-2024 02:59 AM
Hi @Bruce lee
You need to change your endpoint accordingly for short_description as suggested by @Sujatha V M
Regards,
Amit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-09-2024 03:02 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-09-2024 05:16 AM
It seems you're using OOB Table API endpoint URL for which the format is as follows-
PUT https://your_instance.service-now.com/api/now/table/{tableName}/{sys_id}
To update the short_description you just need to pass the following request body-
{"short_description":"test"}
The screenshot you've shared is little confusing- you're trying to update a custom field i.e. u_short_description but you're checking short_description field. You need to check for the custom one in response.
Please mark my answer helpful and correct.
Regards,
Amit