add.md 4.03 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/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                customer_name:
                  description: 客户姓名
                  example: 冬一
                  type: string
                customer_gender:
                  description: 客户性别
                  example: 
                  type: string
                customer_age:
                  description: 客户年龄
                  example: '20'
                  type: string
                annual_premium:
                  description: 年缴保费
                  example: '5000'
                  type: string
                payment_years:
                  description: 缴费年限
                  example: '10'
                  type: string
                currency_type:
                  description: 币种
                  example: CNY
                  type: string
                product_id:
                  description: 产品id
                  example: '2769884'
                  type: string
                customer_birthday:
                  description: 出生年月日
                  example: ''
                  type: string
                allow_reduce_amount:
                  description: 是否容许减少名义金额
                  example: ''
                  type: string
                withdrawal_option:
                  description: 提取选项
                  example: ''
                  type: string
                withdrawal_start_age:
                  description: 提取开始年龄
                  example: ''
                  type: string
                withdrawal_period:
                  description: 提取期(年)
                  example: ''
                  type: string
                total_premium:
                  description: 总保费金额
                  example: ''
                  type: string
            examples: {}
      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: []