POST api/VR/InsertAttach?messageid={messageid}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| messageid | integer |
Required |
Body Parameters
Collection of TVRAttach| Name | Description | Type | Additional information |
|---|---|---|---|
| AttachID | integer |
None. |
|
| AttachName | string |
None. |
|
| AttachURL | string |
None. |
|
| AttachExt | string |
None. |
|
| AttachSize | integer |
None. |
|
| TypeCode | string |
None. |
|
| MessageID | integer |
None. |
|
| SubID | integer |
None. |
|
| AddTime | date |
None. |
|
| IsDeleted | boolean |
None. |
|
| DeleteTime | date |
None. |
|
| tu_id | integer |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"AttachID": 1,
"AttachName": "sample string 2",
"AttachURL": "sample string 3",
"AttachExt": "sample string 4",
"AttachSize": 5,
"TypeCode": "sample string 6",
"MessageID": 7,
"SubID": 8,
"AddTime": "2025-12-06T11:02:48.2578986+08:00",
"IsDeleted": true,
"DeleteTime": "2025-12-06T11:02:48.259855+08:00",
"tu_id": 12
},
{
"AttachID": 1,
"AttachName": "sample string 2",
"AttachURL": "sample string 3",
"AttachExt": "sample string 4",
"AttachSize": 5,
"TypeCode": "sample string 6",
"MessageID": 7,
"SubID": 8,
"AddTime": "2025-12-06T11:02:48.2578986+08:00",
"IsDeleted": true,
"DeleteTime": "2025-12-06T11:02:48.259855+08:00",
"tu_id": 12
}
]
application/xml, text/xml
Sample:
<ArrayOfTVRAttach xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Starmap6New.ClientApi.VRModels">
<TVRAttach>
<AddTime>2025-12-06T11:02:48.2578986+08:00</AddTime>
<AttachExt>sample string 4</AttachExt>
<AttachID>1</AttachID>
<AttachName>sample string 2</AttachName>
<AttachSize>5</AttachSize>
<AttachURL>sample string 3</AttachURL>
<DeleteTime>2025-12-06T11:02:48.259855+08:00</DeleteTime>
<IsDeleted>true</IsDeleted>
<MessageID>7</MessageID>
<SubID>8</SubID>
<TypeCode>sample string 6</TypeCode>
<tu_id>12</tu_id>
</TVRAttach>
<TVRAttach>
<AddTime>2025-12-06T11:02:48.2578986+08:00</AddTime>
<AttachExt>sample string 4</AttachExt>
<AttachID>1</AttachID>
<AttachName>sample string 2</AttachName>
<AttachSize>5</AttachSize>
<AttachURL>sample string 3</AttachURL>
<DeleteTime>2025-12-06T11:02:48.259855+08:00</DeleteTime>
<IsDeleted>true</IsDeleted>
<MessageID>7</MessageID>
<SubID>8</SubID>
<TypeCode>sample string 6</TypeCode>
<tu_id>12</tu_id>
</TVRAttach>
</ArrayOfTVRAttach>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
None.