POST company/edit_agreement_template
编辑合同模板
Request Information
URI Parameters
None.
Body Parameters
EditAgreementTemplateViewModelName | Description | Type | Additional information |
---|---|---|---|
agreement_template_id | integer |
None. |
|
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:
{ "agreement_template_id": 1, "name": "sample string 2", "relation_id": 3, "category_id": 4, "note": "sample string 5", "need_back": true, "title": "sample string 7", "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 }