POST company/get_agreement_preview

获取合同预览

Request Information

URI Parameters

None.

Body Parameters

AddAgreementViewModel
NameDescriptionTypeAdditional information
target_agreement_id

integer

None.

company_id

integer

None.

apply_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_part_list

Collection of AddAgreementPartViewModel

None.

Request Formats

application/json, text/json

Sample:
{
  "target_agreement_id": 1,
  "company_id": 2,
  "apply_id": 3,
  "job_id": 4,
  "name": "sample string 5",
  "relation_id": 6,
  "category_id": 7,
  "note": "sample string 8",
  "need_back": true,
  "title": "sample string 10",
  "agreement_part_list": [
    {
      "agreement_part_type_id": 1,
      "title": "sample string 2",
      "agreement_part_field_type_id": 1,
      "description": "sample string 3",
      "reserved_text": "sample string 4",
      "date_from": "2024-07-05T06:17:17.2796773+08:00",
      "date_to": "2024-07-05T06:17:17.2796773+08:00",
      "is_agreement_date": true
    },
    {
      "agreement_part_type_id": 1,
      "title": "sample string 2",
      "agreement_part_field_type_id": 1,
      "description": "sample string 3",
      "reserved_text": "sample string 4",
      "date_from": "2024-07-05T06:17:17.2796773+08:00",
      "date_to": "2024-07-05T06:17:17.2796773+08:00",
      "is_agreement_date": true
    }
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

获取合同预览

DataResponseOfAgreementDetailPreviewViewModel
NameDescriptionTypeAdditional information
code

integer

None.

message

string

None.

success

boolean

None.

data

AgreementDetailPreviewViewModel

None.

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.