POST api/SiteMessage/Save
Request Information
URI Parameters
None.
Body Parameters
MsgDto| Name | Description | Type | Additional information |
|---|---|---|---|
| msg_type | string |
None. |
|
| resultId | integer |
None. |
|
| resultName | string |
None. |
|
| title | string |
None. |
|
| memo | string |
None. |
|
| sendType | string |
None. |
|
| expertOption | string |
None. |
|
| companyOption | string |
None. |
|
| parkOption | string |
None. |
|
| investOrgOption | string |
None. |
|
| orgOption | string |
None. |
|
| industry2Option | string |
None. |
|
| thirdOrgOption | string |
None. |
|
| govOption | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"msg_type": "sample string 1",
"resultId": 2,
"resultName": "sample string 3",
"title": "sample string 4",
"memo": "sample string 5",
"sendType": "sample string 6",
"expertOption": "sample string 7",
"companyOption": "sample string 8",
"parkOption": "sample string 9",
"investOrgOption": "sample string 10",
"orgOption": "sample string 11",
"industry2Option": "sample string 12",
"thirdOrgOption": "sample string 13",
"govOption": "sample string 14"
}
application/xml, text/xml
Sample:
<MsgDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fsh.Core.Models.Dto"> <companyOption>sample string 8</companyOption> <expertOption>sample string 7</expertOption> <govOption>sample string 14</govOption> <industry2Option>sample string 12</industry2Option> <investOrgOption>sample string 10</investOrgOption> <memo>sample string 5</memo> <msg_type>sample string 1</msg_type> <orgOption>sample string 11</orgOption> <parkOption>sample string 9</parkOption> <resultId>2</resultId> <resultName>sample string 3</resultName> <sendType>sample string 6</sendType> <thirdOrgOption>sample string 13</thirdOrgOption> <title>sample string 4</title> </MsgDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiResult| Name | Description | Type | Additional information |
|---|---|---|---|
| code | integer |
None. |
|
| msg | string |
None. |
|
| count | integer |
None. |
|
| data | Object |
None. |
|
| otherdata | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"code": 1,
"msg": "sample string 2",
"count": 1,
"data": {},
"otherdata": {}
}
application/xml, text/xml
Sample:
<ApiResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fsh.Core.Models.Other"> <code>1</code> <count>1</count> <data /> <msg>sample string 2</msg> <otherdata /> </ApiResult>