PUT api/RTMFormsRepository/UpdateWithAttachments

Request Information

URI Parameters

None.

Body Parameters

RTMFormsRepositoryViewModel
NameDescriptionTypeAdditional information
Data

RTMFormsRepository

None.

Images

Collection of ProductImageViewModel

None.

ImagesAngular

Collection of ProductImageViewModel

None.

Request Formats

application/json, text/json

Sample:
{
  "Data": {
    "MID": 1,
    "MODULE_NAME": "sample string 2",
    "FORM_NAME": "sample string 3",
    "FORM_PATH": "sample string 4",
    "FORM_DESCRIPTION": "sample string 5",
    "SCREENSHOT_DOTNET": "sample string 6",
    "SCREENSHOT_ANGULAR": "sample string 7",
    "CONVERTED_TO_HTML": true,
    "BUSINESS_LOGIC_INCORPORATED": true,
    "CREATED_BY": "sample string 10",
    "CREATED_ON": "2025-08-06T03:26:26.0199981+04:00",
    "AngularComponentID": "sample string 12",
    "IS_ATTACHMENT_PRESENT": true,
    "Additional_Comments": "sample string 14",
    "MENU_SCREEN_NAME": "sample string 15"
  },
  "Images": [
    {
      "Image": {
        "File": null
      }
    },
    {
      "Image": {
        "File": null
      }
    }
  ],
  "ImagesAngular": [
    {
      "Image": {
        "File": null
      }
    },
    {
      "Image": {
        "File": null
      }
    }
  ]
}

text/html

Sample:
{"Data":{"MID":1,"MODULE_NAME":"sample string 2","FORM_NAME":"sample string 3","FORM_PATH":"sample string 4","FORM_DESCRIPTION":"sample string 5","SCREENSHOT_DOTNET":"sample string 6","SCREENSHOT_ANGULAR":"sample string 7","CONVERTED_TO_HTML":true,"BUSINESS_LOGIC_INCORPORATED":true,"CREATED_BY":"sample string 10","CREATED_ON":"2025-08-06T03:26:26.0199981+04:00","AngularComponentID":"sample string 12","IS_ATTACHMENT_PRESENT":true,"Additional_Comments":"sample string 14","MENU_SCREEN_NAME":"sample string 15"},"Images":[{"Image":{"File":null}},{"Image":{"File":null}}],"ImagesAngular":[{"Image":{"File":null}},{"Image":{"File":null}}]}

application/xml, text/xml

Sample:
<RTMFormsRepositoryViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SuntechSupportServices.Models.RTM">
  <Data>
    <Additional_Comments>sample string 14</Additional_Comments>
    <AngularComponentID>sample string 12</AngularComponentID>
    <BUSINESS_LOGIC_INCORPORATED>true</BUSINESS_LOGIC_INCORPORATED>
    <CONVERTED_TO_HTML>true</CONVERTED_TO_HTML>
    <CREATED_BY>sample string 10</CREATED_BY>
    <CREATED_ON>2025-08-06T03:26:26.0199981+04:00</CREATED_ON>
    <FORM_DESCRIPTION>sample string 5</FORM_DESCRIPTION>
    <FORM_NAME>sample string 3</FORM_NAME>
    <FORM_PATH>sample string 4</FORM_PATH>
    <IS_ATTACHMENT_PRESENT>true</IS_ATTACHMENT_PRESENT>
    <MENU_SCREEN_NAME>sample string 15</MENU_SCREEN_NAME>
    <MID>1</MID>
    <MODULE_NAME>sample string 2</MODULE_NAME>
    <SCREENSHOT_ANGULAR>sample string 7</SCREENSHOT_ANGULAR>
    <SCREENSHOT_DOTNET>sample string 6</SCREENSHOT_DOTNET>
  </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>
  <ImagesAngular 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>
  </ImagesAngular>
</RTMFormsRepositoryViewModel>

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

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

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Data.FORM_PATH"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Data.FORM_DESCRIPTION"

sample string 5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Data.SCREENSHOT_DOTNET"

sample string 6
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Data.SCREENSHOT_ANGULAR"

sample string 7
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Data.CONVERTED_TO_HTML"

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

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

sample string 10
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Data.CREATED_ON"

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

sample string 12
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Data.IS_ATTACHMENT_PRESENT"

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

sample string 14
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Data.MENU_SCREEN_NAME"

sample string 15
--MultipartDataMediaFormatterBoundary1q2w3e--

Response Information

Resource Description

RTMFormsRepositoryWithAttachmentAddResult
NameDescriptionTypeAdditional 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:
<RTMFormsRepositoryWithAttachmentAddResult 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>
</RTMFormsRepositoryWithAttachmentAddResult>

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--