POST company/add_agreement_template
添加合同模板
Request Information
URI Parameters
None.
Body Parameters
AddAgreementTemplateViewModelName | Description | Type | Additional information |
---|---|---|---|
name | string |
None. |
|
relation_id | integer |
None. |
|
category_id | integer |
None. |
|
note | string |
None. |
|
need_back | boolean |
None. |
|
title | string |
None. |
|
agreement_template_part_list | Collection of AddAgreementTemplatePartViewModel |
None. |
Request Formats
application/json, text/json
Sample:
{ "name": "sample string 1", "relation_id": 2, "category_id": 3, "note": "sample string 4", "need_back": true, "title": "sample string 6", "agreement_template_part_list": [ { "is_agreement_date": true, "agreement_part_type_id": 2, "title": "sample string 3", "agreement_part_field_type_id": 1, "description": "sample string 4" }, { "is_agreement_date": true, "agreement_part_type_id": 2, "title": "sample string 3", "agreement_part_field_type_id": 1, "description": "sample string 4" } ] }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
添加合同模板
BaseResponseName | Description | Type | Additional information |
---|---|---|---|
code | integer |
None. |
|
message | string |
None. |
|
success | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "code": 1, "message": "sample string 2", "success": true }