PUT api/RTMAddTestCases?MID={MID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
MID

integer

Required

Body Parameters

RTMAddTestCases
NameDescriptionTypeAdditional information
MID

integer

Required

REQUIREMENT_ID

string

Required

Max length: 500

REQUIREMENT_NAME

string

Required

Max length: 500

FEATURE_ID

string

Required

Max length: 500

FEATURE_NAME

string

Required

Max length: 500

FEATURE_DESCRIPTION

string

Required

Max length: 4000

TEST_CASE_ID

string

Required

Max length: 500

TEST_CASE_NAME

string

Required

Max length: 500

TEST_CASE_DESCRIPTION

string

Required

Max length: 4000

TEST_STEPS

string

Required

Max length: 4000

EXPECTED_RESULT

string

Required

Max length: 4000

EXPECTED_RESULT_ATTACHMENTS

string

Max length: 500

ACTUAL_RESULT

string

Required

Max length: 4000

ACTUAL_RESULT_ATTACHMENTS

string

Required

Max length: 500

STATUS

string

Required

Max length: 100

TESTER

string

Required

Max length: 100

TESTER_COMMENTS

string

Required

Max length: 500

COMPLETION_PERCENTAGE

decimal number

Required

TESTING_START_DATE

date

Required

TESTING_END_DATE

date

Required

CREATED_BY

string

Required

Max length: 100

CREATED_ON

date

Required

IS_ATTACHMENT_PRESENT

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "MID": 1,
  "REQUIREMENT_ID": "sample string 2",
  "REQUIREMENT_NAME": "sample string 3",
  "FEATURE_ID": "sample string 4",
  "FEATURE_NAME": "sample string 5",
  "FEATURE_DESCRIPTION": "sample string 6",
  "TEST_CASE_ID": "sample string 7",
  "TEST_CASE_NAME": "sample string 8",
  "TEST_CASE_DESCRIPTION": "sample string 9",
  "TEST_STEPS": "sample string 10",
  "EXPECTED_RESULT": "sample string 11",
  "EXPECTED_RESULT_ATTACHMENTS": "sample string 12",
  "ACTUAL_RESULT": "sample string 13",
  "ACTUAL_RESULT_ATTACHMENTS": "sample string 14",
  "STATUS": "sample string 15",
  "TESTER": "sample string 16",
  "TESTER_COMMENTS": "sample string 17",
  "COMPLETION_PERCENTAGE": 18.0,
  "TESTING_START_DATE": "2025-08-06T03:29:39.279708+04:00",
  "TESTING_END_DATE": "2025-08-06T03:29:39.279708+04:00",
  "CREATED_BY": "sample string 21",
  "CREATED_ON": "2025-08-06T03:29:39.279708+04:00",
  "IS_ATTACHMENT_PRESENT": true
}

text/html

Sample:
{"MID":1,"REQUIREMENT_ID":"sample string 2","REQUIREMENT_NAME":"sample string 3","FEATURE_ID":"sample string 4","FEATURE_NAME":"sample string 5","FEATURE_DESCRIPTION":"sample string 6","TEST_CASE_ID":"sample string 7","TEST_CASE_NAME":"sample string 8","TEST_CASE_DESCRIPTION":"sample string 9","TEST_STEPS":"sample string 10","EXPECTED_RESULT":"sample string 11","EXPECTED_RESULT_ATTACHMENTS":"sample string 12","ACTUAL_RESULT":"sample string 13","ACTUAL_RESULT_ATTACHMENTS":"sample string 14","STATUS":"sample string 15","TESTER":"sample string 16","TESTER_COMMENTS":"sample string 17","COMPLETION_PERCENTAGE":18.0,"TESTING_START_DATE":"2025-08-06T03:29:39.279708+04:00","TESTING_END_DATE":"2025-08-06T03:29:39.279708+04:00","CREATED_BY":"sample string 21","CREATED_ON":"2025-08-06T03:29:39.279708+04:00","IS_ATTACHMENT_PRESENT":true}

application/xml, text/xml

Sample:
<RTMAddTestCases xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SuntechSupportServices.Models.RTM">
  <ACTUAL_RESULT>sample string 13</ACTUAL_RESULT>
  <ACTUAL_RESULT_ATTACHMENTS>sample string 14</ACTUAL_RESULT_ATTACHMENTS>
  <COMPLETION_PERCENTAGE>18</COMPLETION_PERCENTAGE>
  <CREATED_BY>sample string 21</CREATED_BY>
  <CREATED_ON>2025-08-06T03:29:39.279708+04:00</CREATED_ON>
  <EXPECTED_RESULT>sample string 11</EXPECTED_RESULT>
  <EXPECTED_RESULT_ATTACHMENTS>sample string 12</EXPECTED_RESULT_ATTACHMENTS>
  <FEATURE_DESCRIPTION>sample string 6</FEATURE_DESCRIPTION>
  <FEATURE_ID>sample string 4</FEATURE_ID>
  <FEATURE_NAME>sample string 5</FEATURE_NAME>
  <IS_ATTACHMENT_PRESENT>true</IS_ATTACHMENT_PRESENT>
  <MID>1</MID>
  <REQUIREMENT_ID>sample string 2</REQUIREMENT_ID>
  <REQUIREMENT_NAME>sample string 3</REQUIREMENT_NAME>
  <STATUS>sample string 15</STATUS>
  <TESTER>sample string 16</TESTER>
  <TESTER_COMMENTS>sample string 17</TESTER_COMMENTS>
  <TESTING_END_DATE>2025-08-06T03:29:39.279708+04:00</TESTING_END_DATE>
  <TESTING_START_DATE>2025-08-06T03:29:39.279708+04:00</TESTING_START_DATE>
  <TEST_CASE_DESCRIPTION>sample string 9</TEST_CASE_DESCRIPTION>
  <TEST_CASE_ID>sample string 7</TEST_CASE_ID>
  <TEST_CASE_NAME>sample string 8</TEST_CASE_NAME>
  <TEST_STEPS>sample string 10</TEST_STEPS>
</RTMAddTestCases>

application/x-www-form-urlencoded

Sample:

Sample not available.

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="MID"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="REQUIREMENT_ID"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="REQUIREMENT_NAME"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="FEATURE_ID"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="FEATURE_NAME"

sample string 5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="FEATURE_DESCRIPTION"

sample string 6
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="TEST_CASE_ID"

sample string 7
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="TEST_CASE_NAME"

sample string 8
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="TEST_CASE_DESCRIPTION"

sample string 9
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="TEST_STEPS"

sample string 10
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="EXPECTED_RESULT"

sample string 11
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="EXPECTED_RESULT_ATTACHMENTS"

sample string 12
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="ACTUAL_RESULT"

sample string 13
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="ACTUAL_RESULT_ATTACHMENTS"

sample string 14
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="STATUS"

sample string 15
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="TESTER"

sample string 16
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="TESTER_COMMENTS"

sample string 17
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="COMPLETION_PERCENTAGE"

18
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="TESTING_START_DATE"

2025-08-06T03:29:39.2797080+04:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="TESTING_END_DATE"

2025-08-06T03:29:39.2797080+04:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="CREATED_BY"

sample string 21
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="CREATED_ON"

2025-08-06T03:29:39.2797080+04:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="IS_ATTACHMENT_PRESENT"

True
--MultipartDataMediaFormatterBoundary1q2w3e--

Response Information

Resource Description

RTMAddTestCasesAddResult
NameDescriptionTypeAdditional information
status

string

None.

message

string

None.

testCase

RTMAddTestCases

None.

Response Formats

application/json, text/json

Sample:
{
  "status": "sample string 1",
  "message": "sample string 2",
  "testCase": {
    "MID": 1,
    "REQUIREMENT_ID": "sample string 2",
    "REQUIREMENT_NAME": "sample string 3",
    "FEATURE_ID": "sample string 4",
    "FEATURE_NAME": "sample string 5",
    "FEATURE_DESCRIPTION": "sample string 6",
    "TEST_CASE_ID": "sample string 7",
    "TEST_CASE_NAME": "sample string 8",
    "TEST_CASE_DESCRIPTION": "sample string 9",
    "TEST_STEPS": "sample string 10",
    "EXPECTED_RESULT": "sample string 11",
    "EXPECTED_RESULT_ATTACHMENTS": "sample string 12",
    "ACTUAL_RESULT": "sample string 13",
    "ACTUAL_RESULT_ATTACHMENTS": "sample string 14",
    "STATUS": "sample string 15",
    "TESTER": "sample string 16",
    "TESTER_COMMENTS": "sample string 17",
    "COMPLETION_PERCENTAGE": 18.0,
    "TESTING_START_DATE": "2025-08-06T03:29:39.279708+04:00",
    "TESTING_END_DATE": "2025-08-06T03:29:39.279708+04:00",
    "CREATED_BY": "sample string 21",
    "CREATED_ON": "2025-08-06T03:29:39.279708+04:00",
    "IS_ATTACHMENT_PRESENT": true
  }
}

text/html

Sample:
{"status":"sample string 1","message":"sample string 2","testCase":{"MID":1,"REQUIREMENT_ID":"sample string 2","REQUIREMENT_NAME":"sample string 3","FEATURE_ID":"sample string 4","FEATURE_NAME":"sample string 5","FEATURE_DESCRIPTION":"sample string 6","TEST_CASE_ID":"sample string 7","TEST_CASE_NAME":"sample string 8","TEST_CASE_DESCRIPTION":"sample string 9","TEST_STEPS":"sample string 10","EXPECTED_RESULT":"sample string 11","EXPECTED_RESULT_ATTACHMENTS":"sample string 12","ACTUAL_RESULT":"sample string 13","ACTUAL_RESULT_ATTACHMENTS":"sample string 14","STATUS":"sample string 15","TESTER":"sample string 16","TESTER_COMMENTS":"sample string 17","COMPLETION_PERCENTAGE":18.0,"TESTING_START_DATE":"2025-08-06T03:29:39.279708+04:00","TESTING_END_DATE":"2025-08-06T03:29:39.279708+04:00","CREATED_BY":"sample string 21","CREATED_ON":"2025-08-06T03:29:39.279708+04:00","IS_ATTACHMENT_PRESENT":true}}

application/xml, text/xml

Sample:
<RTMAddTestCasesAddResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SuntechSupportServices.Models.RTM">
  <message>sample string 2</message>
  <status>sample string 1</status>
  <testCase>
    <ACTUAL_RESULT>sample string 13</ACTUAL_RESULT>
    <ACTUAL_RESULT_ATTACHMENTS>sample string 14</ACTUAL_RESULT_ATTACHMENTS>
    <COMPLETION_PERCENTAGE>18</COMPLETION_PERCENTAGE>
    <CREATED_BY>sample string 21</CREATED_BY>
    <CREATED_ON>2025-08-06T03:29:39.279708+04:00</CREATED_ON>
    <EXPECTED_RESULT>sample string 11</EXPECTED_RESULT>
    <EXPECTED_RESULT_ATTACHMENTS>sample string 12</EXPECTED_RESULT_ATTACHMENTS>
    <FEATURE_DESCRIPTION>sample string 6</FEATURE_DESCRIPTION>
    <FEATURE_ID>sample string 4</FEATURE_ID>
    <FEATURE_NAME>sample string 5</FEATURE_NAME>
    <IS_ATTACHMENT_PRESENT>true</IS_ATTACHMENT_PRESENT>
    <MID>1</MID>
    <REQUIREMENT_ID>sample string 2</REQUIREMENT_ID>
    <REQUIREMENT_NAME>sample string 3</REQUIREMENT_NAME>
    <STATUS>sample string 15</STATUS>
    <TESTER>sample string 16</TESTER>
    <TESTER_COMMENTS>sample string 17</TESTER_COMMENTS>
    <TESTING_END_DATE>2025-08-06T03:29:39.279708+04:00</TESTING_END_DATE>
    <TESTING_START_DATE>2025-08-06T03:29:39.279708+04:00</TESTING_START_DATE>
    <TEST_CASE_DESCRIPTION>sample string 9</TEST_CASE_DESCRIPTION>
    <TEST_CASE_ID>sample string 7</TEST_CASE_ID>
    <TEST_CASE_NAME>sample string 8</TEST_CASE_NAME>
    <TEST_STEPS>sample string 10</TEST_STEPS>
  </testCase>
</RTMAddTestCasesAddResult>

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="status"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="message"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="testCase.MID"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="testCase.REQUIREMENT_ID"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="testCase.REQUIREMENT_NAME"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="testCase.FEATURE_ID"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="testCase.FEATURE_NAME"

sample string 5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="testCase.FEATURE_DESCRIPTION"

sample string 6
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="testCase.TEST_CASE_ID"

sample string 7
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="testCase.TEST_CASE_NAME"

sample string 8
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="testCase.TEST_CASE_DESCRIPTION"

sample string 9
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="testCase.TEST_STEPS"

sample string 10
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="testCase.EXPECTED_RESULT"

sample string 11
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="testCase.EXPECTED_RESULT_ATTACHMENTS"

sample string 12
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="testCase.ACTUAL_RESULT"

sample string 13
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="testCase.ACTUAL_RESULT_ATTACHMENTS"

sample string 14
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="testCase.STATUS"

sample string 15
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="testCase.TESTER"

sample string 16
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="testCase.TESTER_COMMENTS"

sample string 17
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="testCase.COMPLETION_PERCENTAGE"

18
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="testCase.TESTING_START_DATE"

2025-08-06T03:29:39.2797080+04:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="testCase.TESTING_END_DATE"

2025-08-06T03:29:39.2797080+04:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="testCase.CREATED_BY"

sample string 21
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="testCase.CREATED_ON"

2025-08-06T03:29:39.2797080+04:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="testCase.IS_ATTACHMENT_PRESENT"

True
--MultipartDataMediaFormatterBoundary1q2w3e--