POST company/edit_job_agreement_template
编辑项目合同模板,项目管理员,主负责人和在项目内的法务有权限
Request Information
URI Parameters
None.
Body Parameters
EditJobAgreementTemplateViewModelName | Description | Type | Additional information |
---|---|---|---|
agreement_template_id | integer |
None. |
|
job_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, "job_id": 2, "name": "sample string 3", "relation_id": 4, "category_id": 5, "note": "sample string 6", "need_back": true, "title": "sample string 8", "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 }