POST api/contract/submit
Request Information
URI Parameters
None.
Body Parameters
ContractSubmitModel| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderDate | date |
Required |
|
| CustomerCode | string |
Required String length: inclusive between 0 and 50 |
|
| CustomerName | string |
Required String length: inclusive between 0 and 100 |
|
| MaterialNo | string |
Required String length: inclusive between 0 and 50 |
|
| ModelNo | string |
String length: inclusive between 0 and 100 |
|
| Quantity | decimal number |
Required |
|
| StockQty | decimal number |
None. |
|
| IsStockAvailable | boolean |
None. |
|
| DeliveryDate | date |
Required |
|
| ContractType | string |
Required String length: inclusive between 0 and 30 |
|
| TargetPrice | decimal number |
None. |
|
| ContractRemark | string |
String length: inclusive between 0 and 500 |
|
| CreatorWxId | string |
Required String length: inclusive between 0 and 50 |
Request Formats
application/json, text/json
Sample:
{
"OrderDate": "2026-08-13T12:29:38.1777551+08:00",
"CustomerCode": "sample string 2",
"CustomerName": "sample string 3",
"MaterialNo": "sample string 4",
"ModelNo": "sample string 5",
"Quantity": 6.0,
"StockQty": 7.0,
"IsStockAvailable": true,
"DeliveryDate": "2026-08-13T12:29:38.1787522+08:00",
"ContractType": "sample string 10",
"TargetPrice": 11.0,
"ContractRemark": "sample string 12",
"CreatorWxId": "sample string 13"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.