POST api/ContactMe/SaveAdmin

Request Information

URI Parameters

None.

Body Parameters

ContactMe
NameDescriptionTypeAdditional information
ID

integer

None.

content

string

None.

wx

integer

None.

qq

integer

None.

email

string

None.

tel

integer

None.

ctime

date

None.

solve

boolean

None.

answer

string

None.

ctimeAnswer

date

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "content": "sample string 2",
  "wx": 3,
  "qq": 4,
  "email": "sample string 5",
  "tel": 6,
  "ctime": "2023-09-26T20:44:55.5225457+08:00",
  "solve": true,
  "answer": "sample string 9",
  "ctimeAnswer": "2023-09-26T20:44:55.5225457+08:00"
}

application/xml, text/xml

Sample:
<ContactMe xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/webApi.Models">
  <ID>1</ID>
  <answer>sample string 9</answer>
  <content>sample string 2</content>
  <ctime>2023-09-26T20:44:55.5225457+08:00</ctime>
  <ctimeAnswer>2023-09-26T20:44:55.5225457+08:00</ctimeAnswer>
  <email>sample string 5</email>
  <qq>4</qq>
  <solve>true</solve>
  <tel>6</tel>
  <wx>3</wx>
</ContactMe>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>