PUT api/SeleniumAutomation/UpdateWithAttachments

Request Information

URI Parameters

None.

Body Parameters

AutomationAttachmentViewModel
NameDescriptionTypeAdditional information
Data

SeleniumAutomationOutput

None.

Images

Collection of ProductImageViewModel

None.

Request Formats

application/json, text/json

Sample:
{
  "Data": {
    "MID": 1,
    "COMPONENT_NAME": "sample string 2",
    "UPLOADED_ON": "2025-08-06T03:26:22.8354993+04:00",
    "ATTACHMENTS": true,
    "TOTAL_TESTCASE": 5,
    "PASSED_TESTCASE": 6,
    "FAILED_TESTCASE": 7,
    "OVERALL_STATUS": "sample string 8"
  },
  "Images": [
    {
      "Image": {
        "File": null
      }
    },
    {
      "Image": {
        "File": null
      }
    }
  ]
}

text/html

Sample:
{"Data":{"MID":1,"COMPONENT_NAME":"sample string 2","UPLOADED_ON":"2025-08-06T03:26:22.8354993+04:00","ATTACHMENTS":true,"TOTAL_TESTCASE":5,"PASSED_TESTCASE":6,"FAILED_TESTCASE":7,"OVERALL_STATUS":"sample string 8"},"Images":[{"Image":{"File":null}},{"Image":{"File":null}}]}

application/xml, text/xml

Sample:
<AutomationAttachmentViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SuntechSupportServices.Models.Selenium">
  <Data>
    <ATTACHMENTS>true</ATTACHMENTS>
    <COMPONENT_NAME>sample string 2</COMPONENT_NAME>
    <FAILED_TESTCASE>7</FAILED_TESTCASE>
    <MID>1</MID>
    <OVERALL_STATUS>sample string 8</OVERALL_STATUS>
    <PASSED_TESTCASE>6</PASSED_TESTCASE>
    <TOTAL_TESTCASE>5</TOTAL_TESTCASE>
    <UPLOADED_ON>2025-08-06T03:26:22.8354993+04:00</UPLOADED_ON>
  </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>
</AutomationAttachmentViewModel>

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.COMPONENT_NAME"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Data.UPLOADED_ON"

2025-08-06T03:26:22.8354993+04:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Data.ATTACHMENTS"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Data.TOTAL_TESTCASE"

5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Data.PASSED_TESTCASE"

6
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Data.FAILED_TESTCASE"

7
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Data.OVERALL_STATUS"

sample string 8
--MultipartDataMediaFormatterBoundary1q2w3e--

Response Information

Resource Description

SeleniumAutomationOutputAddResult
NameDescriptionTypeAdditional information
status

string

None.

message

string

None.

output

SeleniumAutomationOutput

None.

Response Formats

application/json, text/json

Sample:
{
  "status": "sample string 1",
  "message": "sample string 2",
  "output": {
    "MID": 1,
    "COMPONENT_NAME": "sample string 2",
    "UPLOADED_ON": "2025-08-06T03:26:22.8354993+04:00",
    "ATTACHMENTS": true,
    "TOTAL_TESTCASE": 5,
    "PASSED_TESTCASE": 6,
    "FAILED_TESTCASE": 7,
    "OVERALL_STATUS": "sample string 8"
  }
}

text/html

Sample:
{"status":"sample string 1","message":"sample string 2","output":{"MID":1,"COMPONENT_NAME":"sample string 2","UPLOADED_ON":"2025-08-06T03:26:22.8354993+04:00","ATTACHMENTS":true,"TOTAL_TESTCASE":5,"PASSED_TESTCASE":6,"FAILED_TESTCASE":7,"OVERALL_STATUS":"sample string 8"}}

application/xml, text/xml

Sample:
<SeleniumAutomationOutputAddResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SuntechSupportServices.Models.Selenium">
  <message>sample string 2</message>
  <output>
    <ATTACHMENTS>true</ATTACHMENTS>
    <COMPONENT_NAME>sample string 2</COMPONENT_NAME>
    <FAILED_TESTCASE>7</FAILED_TESTCASE>
    <MID>1</MID>
    <OVERALL_STATUS>sample string 8</OVERALL_STATUS>
    <PASSED_TESTCASE>6</PASSED_TESTCASE>
    <TOTAL_TESTCASE>5</TOTAL_TESTCASE>
    <UPLOADED_ON>2025-08-06T03:26:22.8354993+04:00</UPLOADED_ON>
  </output>
  <status>sample string 1</status>
</SeleniumAutomationOutputAddResult>

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="output.MID"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="output.COMPONENT_NAME"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="output.UPLOADED_ON"

2025-08-06T03:26:22.8354993+04:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="output.ATTACHMENTS"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="output.TOTAL_TESTCASE"

5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="output.PASSED_TESTCASE"

6
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="output.FAILED_TESTCASE"

7
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="output.OVERALL_STATUS"

sample string 8
--MultipartDataMediaFormatterBoundary1q2w3e--