Json payload to create test+test version+test steps in Snow using Rest API for Test Management 2.0

waltercio
Tera Contributor

I am trying to get any payload template to create, in ServiceNow, using Rest APIs, a Test+Test Version+Test steps all together.. is there that kind of payload?

I am able to create the test using the paylod below: (using POST):

POST - https://xxx.service-now.com/api/now/v1/table/sn_test_management_test

{
"latest_result": "",
"short_description": "Test-QX-1111",
"number": "TEST_QX_001_QA"
}

but that payload above only creates the test.. and not the test version (nor the test steps). Can anyone help me to get that type of json payload template to create the 3 above all together?

 

Thanks in advance

 

0 REPLIES 0