PUT api/RTMAddTestCases/UpdateRTMAddTestCasesWithAttachments
Request Information
URI Parameters
None.
Body Parameters
RTMAddTestCasesViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | RTMAddTestCases |
None. |
|
| Images | Collection of ProductImageViewModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"Data": {
"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": "2026-02-04T06:53:17.544198+04:00",
"TESTING_END_DATE": "2026-02-04T06:53:17.544198+04:00",
"CREATED_BY": "sample string 21",
"CREATED_ON": "2026-02-04T06:53:17.544198+04:00",
"IS_ATTACHMENT_PRESENT": true
},
"Images": [
{
"Image": {
"File": null
}
},
{
"Image": {
"File": null
}
}
]
}
text/html
Sample:
{"Data":{"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":"2026-02-04T06:53:17.544198+04:00","TESTING_END_DATE":"2026-02-04T06:53:17.544198+04:00","CREATED_BY":"sample string 21","CREATED_ON":"2026-02-04T06:53:17.544198+04:00","IS_ATTACHMENT_PRESENT":true},"Images":[{"Image":{"File":null}},{"Image":{"File":null}}]}
application/xml, text/xml
Sample:
<RTMAddTestCasesViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SuntechSupportServices.Models.RTM">
<Data>
<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>2026-02-04T06:53:17.544198+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>2026-02-04T06:53:17.544198+04:00</TESTING_END_DATE>
<TESTING_START_DATE>2026-02-04T06:53:17.544198+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>
</Data>
<Images xmlns:d2p1="http://schemas.datacontract.org/2004/07/SuntechSupportServices.Models.CustomerSupport">
<d2p1:ProductImageViewModel>
<d2p1:Image>
<d2p1:File xmlns:d5p1="http://schemas.datacontract.org/2004/07/System.Web" i:nil="true" />
</d2p1:Image>
</d2p1:ProductImageViewModel>
<d2p1:ProductImageViewModel>
<d2p1:Image>
<d2p1:File xmlns:d5p1="http://schemas.datacontract.org/2004/07/System.Web" i:nil="true" />
</d2p1:Image>
</d2p1:ProductImageViewModel>
</Images>
</RTMAddTestCasesViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Data.MID" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Data.REQUIREMENT_ID" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Data.REQUIREMENT_NAME" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Data.FEATURE_ID" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Data.FEATURE_NAME" sample string 5 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Data.FEATURE_DESCRIPTION" sample string 6 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Data.TEST_CASE_ID" sample string 7 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Data.TEST_CASE_NAME" sample string 8 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Data.TEST_CASE_DESCRIPTION" sample string 9 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Data.TEST_STEPS" sample string 10 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Data.EXPECTED_RESULT" sample string 11 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Data.EXPECTED_RESULT_ATTACHMENTS" sample string 12 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Data.ACTUAL_RESULT" sample string 13 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Data.ACTUAL_RESULT_ATTACHMENTS" sample string 14 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Data.STATUS" sample string 15 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Data.TESTER" sample string 16 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Data.TESTER_COMMENTS" sample string 17 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Data.COMPLETION_PERCENTAGE" 18 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Data.TESTING_START_DATE" 2026-02-04T06:53:17.5441980+04:00 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Data.TESTING_END_DATE" 2026-02-04T06:53:17.5441980+04:00 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Data.CREATED_BY" sample string 21 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Data.CREATED_ON" 2026-02-04T06:53:17.5441980+04:00 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Data.IS_ATTACHMENT_PRESENT" True --MultipartDataMediaFormatterBoundary1q2w3e--
Response Information
Resource Description
RTMAddTestCasesWithAttachmentAddResult| Name | Description | Type | Additional information |
|---|---|---|---|
| status | string |
None. |
|
| message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": "sample string 1",
"message": "sample string 2"
}
text/html
Sample:
{"status":"sample string 1","message":"sample string 2"}
application/xml, text/xml
Sample:
<RTMAddTestCasesWithAttachmentAddResult 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> </RTMAddTestCasesWithAttachmentAddResult>
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--