subcategory on the incident table does get populated using Rest API

gracjan
Tera Guru

When using the command curl "https://*******.service-now.com/api/now/table/incident" --request POST --header "Accept:application/json" --header "Content-Type:application/json" --data "{\"category\":\"Security\",\"assignment_group\":\"b41d506f93464a5433adf8a56aba1091\",\"contact_type\":\"Monitoring\",\"description\":\"Test run\",\"short_description\":\"Test\",\"caller_id\":\"51105ea21bd5f1907c81da49b04bcbf4\",\"subcategory\":\"Malware\"}" --user ...

All fields get populated except subcategory.

Note that subcategory depends on the category.

rest.PNG

Nonetheless, it works of course when I use REST API Explorer but not from outside.

 

What are my options here, please help?

0 REPLIES 0