POST api/backend/saveContract
Request Information
URI Parameters
None.
Body Parameters
ContractPostModel| Name | Description | Type | Additional information |
|---|---|---|---|
| contractId | integer |
None. |
|
| contractName | string |
None. |
|
| contractCategoryId | integer |
None. |
|
| categoryName | string |
None. |
|
| contractIndustryId | integer |
None. |
|
| industryName | string |
None. |
|
| coverUrl | string |
None. |
|
| downloadUrl | string |
None. |
|
| downloadPrice | decimal number |
None. |
|
| isShow | boolean |
None. |
|
| employeeNumber | integer |
None. |
|
| tagId | integer |
None. |
|
| tagName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"contractId": 1,
"contractName": "sample string 2",
"contractCategoryId": 3,
"categoryName": "sample string 4",
"contractIndustryId": 5,
"industryName": "sample string 6",
"coverUrl": "sample string 7",
"downloadUrl": "sample string 8",
"downloadPrice": 1.0,
"isShow": true,
"employeeNumber": 1,
"tagId": 1,
"tagName": "sample string 10"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Result| Name | Description | Type | Additional information |
|---|---|---|---|
| success | boolean |
None. |
|
| data | Object |
None. |
|
| error | string |
None. |
|
| code | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": true,
"data": {},
"error": "sample string 3",
"code": 4
}