ServiceNow API parameter not being honored
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-19-2018 02:34 PM
I'm attempting to send a POST request via Postman to the incident table using the following body:
{"assignment_group": "AppSvcs_OES_OperationalApps", "cmdb_ci":"AMIGO 3", "caller_id": "KCRITCHN", "urgency": 2, "impact": 2, "category": "Application", "subcategory": "Functionality", "short_description":"Postman Test", "description":"Postman Test" }
Eventually this will be made as an AJAX request from my application, but for now I'm using Postman to explore the API functionality.
I have set the sysparm_input_display_value parameter to true, but none of the display values are being set. Here's the URL I'm using: {service-now instance URL}/api/now/table/incident?sysparm_input_display_value=true
Is there anything I'm missing here?
- Labels:
-
Integrations

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-19-2018 03:26 PM
https://hi.service-now.com/kb_view.do?sysparm_article=KB0534905

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-19-2018 04:35 PM
Whats the error you are getting. I'm able to use your code in postman and it was able to create incident with correct assignment group.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-19-2018 05:21 PM
I'm not receiving an error, it's just not filling in the cmdb_ci, assignment_group, category, or subcategory fields. Basically anything that would be a lookup value. It's worked for me before, we just upgraded to Kingston from Istanbul so I'm not sure if that has anything to do with it. I can post the response I'm receiving tomorrow.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-19-2018 05:34 PM
no problem, also try using version in api like below
{service-now instance URL}/api/now/v2/table/incident?sysparm_input_display_value=true