{
"Action": "CreateTestCase",
"CustomSteps": [
{
"Content": "expected",
"Expected": "steps"
},
{
"Content": "expected",
"Expected": "steps"
}
],
"Expected": "expected",
"Preconds": "preconds",
"Priority": 1,
"ProjectName": "2",
"SectionId": 1,
"Steps": "Steps",
"TemplateType": "STEPS",
"Title": "helel"
}
curl --location -g --request POST 'https://.coding.net/open-api?Action=CreateTestCase' \
--header 'AccessToken;' \
--header 'Action;' \
--header 'Content-Type: application/json' \
--data-raw '{
"Action": "CreateTestCase",
"CustomSteps": [
{
"Content": "expected",
"Expected": "steps"
},
{
"Content": "expected",
"Expected": "steps"
}
],
"Expected": "expected",
"Preconds": "preconds",
"Priority": 1,
"ProjectName": "2",
"SectionId": 1,
"Steps": "Steps",
"TemplateType": "STEPS",
"Title": "helel"
}'{
"Response": {
"Data": {
"Id": 0,
"SectionId": 0,
"Priority": 0,
"Title": "string",
"TemplateType": "string",
"Preconds": "string",
"Steps": "string",
"Expected": "string",
"Sort": 0,
"CreatedBy": 0,
"CreatedAt": "string",
"UpdatedAt": "string",
"CustomSteps": [
{
"Content": "string",
"Expected": "string"
}
],
"Attachments": [
{
"Id": 0,
"Name": "string",
"Url": "string",
"CreatedAt": "string"
}
]
},
"RequestId": "string"
}
}