POST api/proposals
Request Information
URI Parameters
None.
Body Parameters
proposalName | Description | Type | Additional information |
---|---|---|---|
proposalID | integer |
None. |
|
category | string |
None. |
|
format | string |
None. |
|
type | string |
None. |
|
city | string |
None. |
|
county | string |
None. |
|
createDate | date |
None. |
|
contentinfo | string |
None. |
|
requirement | string |
None. |
|
name | string |
None. |
|
title | string |
None. |
|
phone | string |
None. |
|
mobile | string |
None. |
|
checkCode | string |
None. |
|
attachmentJoin | string |
None. |
|
createTime | date |
None. |
|
status | integer |
None. |
|
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "proposalID": 1, "category": "sample string 2", "format": "sample string 3", "type": "sample string 4", "city": "sample string 5", "county": "sample string 6", "createDate": "2024-12-04T20:49:51.3288715+08:00", "contentinfo": "sample string 7", "requirement": "sample string 8", "name": "sample string 9", "title": "sample string 10", "phone": "sample string 11", "mobile": "sample string 12", "checkCode": "sample string 13", "attachmentJoin": "sample string 14", "createTime": "2024-12-04T20:49:51.3288715+08:00", "status": 1, "email": "sample string 15" }
application/xml, text/xml
Sample:
<proposal xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/hnrevaLandApi.DAL"> <attachmentJoin>sample string 14</attachmentJoin> <category>sample string 2</category> <checkCode>sample string 13</checkCode> <city>sample string 5</city> <contentinfo>sample string 7</contentinfo> <county>sample string 6</county> <createDate>2024-12-04T20:49:51.3288715+08:00</createDate> <createTime>2024-12-04T20:49:51.3288715+08:00</createTime> <email>sample string 15</email> <format>sample string 3</format> <mobile>sample string 12</mobile> <name>sample string 9</name> <phone>sample string 11</phone> <proposalID>1</proposalID> <requirement>sample string 8</requirement> <status>1</status> <title>sample string 10</title> <type>sample string 4</type> </proposal>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
proposalName | Description | Type | Additional information |
---|---|---|---|
proposalID | integer |
None. |
|
category | string |
None. |
|
format | string |
None. |
|
type | string |
None. |
|
city | string |
None. |
|
county | string |
None. |
|
createDate | date |
None. |
|
contentinfo | string |
None. |
|
requirement | string |
None. |
|
name | string |
None. |
|
title | string |
None. |
|
phone | string |
None. |
|
mobile | string |
None. |
|
checkCode | string |
None. |
|
attachmentJoin | string |
None. |
|
createTime | date |
None. |
|
status | integer |
None. |
|
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "proposalID": 1, "category": "sample string 2", "format": "sample string 3", "type": "sample string 4", "city": "sample string 5", "county": "sample string 6", "createDate": "2024-12-04T20:49:51.3288715+08:00", "contentinfo": "sample string 7", "requirement": "sample string 8", "name": "sample string 9", "title": "sample string 10", "phone": "sample string 11", "mobile": "sample string 12", "checkCode": "sample string 13", "attachmentJoin": "sample string 14", "createTime": "2024-12-04T20:49:51.3288715+08:00", "status": 1, "email": "sample string 15" }
application/xml, text/xml
Sample:
<proposal xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/hnrevaLandApi.DAL"> <attachmentJoin>sample string 14</attachmentJoin> <category>sample string 2</category> <checkCode>sample string 13</checkCode> <city>sample string 5</city> <contentinfo>sample string 7</contentinfo> <county>sample string 6</county> <createDate>2024-12-04T20:49:51.3288715+08:00</createDate> <createTime>2024-12-04T20:49:51.3288715+08:00</createTime> <email>sample string 15</email> <format>sample string 3</format> <mobile>sample string 12</mobile> <name>sample string 9</name> <phone>sample string 11</phone> <proposalID>1</proposalID> <requirement>sample string 8</requirement> <status>1</status> <title>sample string 10</title> <type>sample string 4</type> </proposal>