POST api/Demand/Save

Request Information

URI Parameters

None.

Body Parameters

T_Demand
NameDescriptionTypeAdditional information
Id

integer

None.

demandName

string

None.

demand_status

string

None.

investment_field

string

None.

demandUnit

string

None.

endTime

date

None.

budgetMoney

string

None.

contactAddress

string

None.

Memo

string

None.

isenable

integer

None.

AddTime

date

None.

province

string

None.

city

string

None.

county

string

None.

region

string

None.

userId

integer

None.

readCount

integer

None.

demand_type

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "demandName": "sample string 2",
  "demand_status": "sample string 3",
  "investment_field": "sample string 4",
  "demandUnit": "sample string 5",
  "endTime": "2025-12-29T23:52:39.1583379+08:00",
  "budgetMoney": "sample string 7",
  "contactAddress": "sample string 8",
  "Memo": "sample string 9",
  "isenable": 10,
  "AddTime": "2025-12-29T23:52:39.1583379+08:00",
  "province": "sample string 12",
  "city": "sample string 13",
  "county": "sample string 14",
  "region": "sample string 15",
  "userId": 16,
  "readCount": 17,
  "demand_type": "sample string 18"
}

application/xml, text/xml

Sample:
<T_Demand xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fsh.Core.Models">
  <AddTime>2025-12-29T23:52:39.1583379+08:00</AddTime>
  <Id>1</Id>
  <Memo>sample string 9</Memo>
  <budgetMoney>sample string 7</budgetMoney>
  <city>sample string 13</city>
  <contactAddress>sample string 8</contactAddress>
  <county>sample string 14</county>
  <demandName>sample string 2</demandName>
  <demandUnit>sample string 5</demandUnit>
  <demand_status>sample string 3</demand_status>
  <demand_type>sample string 18</demand_type>
  <endTime>2025-12-29T23:52:39.1583379+08:00</endTime>
  <investment_field>sample string 4</investment_field>
  <isenable>10</isenable>
  <province>sample string 12</province>
  <readCount>17</readCount>
  <region>sample string 15</region>
  <userId>16</userId>
</T_Demand>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

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