add.md
5.24 KB
新增计划书
OpenAPI Specification
openapi: 3.0.1
info:
title: ''
version: 1.0.0
paths:
/srv/:
post:
summary: 新增计划书
deprecated: false
description: ''
tags:
- 计划书
parameters:
- name: f
in: query
description: ''
required: false
example: manulife
schema:
type: string
- name: a
in: query
description: ''
required: false
example: proposal
schema:
type: string
- name: t
in: query
description: ''
required: false
example: add
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
customer_name:
type: string
title: 申请人
customer_gender:
type: string
title: 性别
customer_age:
type: integer
title: 年龄
customer_birthday:
type: string
title: 出生年月日
annual_premium:
type: integer
title: 保额
payment_years:
type: string
title: 繳費年期
currency_type:
type: string
title: 币种
allow_reduce_amount:
type: string
title: 是否容许减少名义金额
withdrawal_option:
type: string
title: 提取选项
withdrawal_start_age:
type: integer
title: 提取开始年龄
withdrawal_period:
type: integer
title: 提取期(年)
smoking_status:
type: string
title: 是否吸烟
total_premium:
type: integer
title: 总保费金额
product_id:
type: integer
title: 产品id
annual_withdrawal_amount:
type: integer
title: 每年提取金额
annual_increase_percentage:
type: integer
title: 每年递增提取百分比
required:
- customer_name
- customer_gender
- customer_age
- customer_birthday
- annual_premium
- payment_years
- currency_type
- allow_reduce_amount
- withdrawal_option
- withdrawal_start_age
- withdrawal_period
- smoking_status
- total_premium
- product_id
- annual_increase_percentage
- annual_withdrawal_amount
x-apifox-orders:
- customer_name
- customer_gender
- customer_age
- annual_premium
- payment_years
- currency_type
- product_id
- customer_birthday
- allow_reduce_amount
- withdrawal_option
- withdrawal_start_age
- withdrawal_period
- smoking_status
- total_premium
- annual_withdrawal_amount
- annual_increase_percentage
example: "{\r\n customer_name: '张三',\r\n customer_gender: 'male',\r\n customer_age: 30,\r\n annual_premium: 5000,\r\n payment_years: '10年',\r\n currency_type: 'CNY',\r\n product_id: 1\r\n }"
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
code:
type: integer
msg:
type: string
data:
type: object
properties:
order_id:
type: string
required:
- order_id
x-apifox-orders:
- order_id
required:
- code
- msg
- data
x-apifox-orders:
- code
- msg
- data
example:
code: 1
msg: 计划书申请提交成功
data:
order_id: '2769902'
headers: {}
x-apifox-name: 成功
x-apifox-ordering: 0
security: []
x-apifox-folder: 计划书
x-apifox-status: developing
x-run-in-apifox: https://app.apifox.com/web/project/7792797/apis/api-417310981-run
components:
schemas: {}
responses: {}
securitySchemes: {}
servers:
- url: https://manulife.onwall.cn
description: 正式环境
security: []
```\