活动报名

更新时间:2022-01-22 15:04:00

接口说明

活动报名接口

基本信息

请求方式: POST

请求路径:

https://prod.open-api.mysre.cn/m/activity/save-enroll

请求参数

参数名 参数位置 参数类型 必填 默认值 示例 描述
tenantCode body string 租户code
activityId body string 3a0192a8-52f7-36f2-1693-5c11b3f20bef 活动ID
batchId body string 3a0192ab-a932-28c0-7168-efc17a8c1dee 场次ID
enrollInfo body object 报名信息
phone body string 15928731621 手机号
privateKey body string 158F3BD4CC34091C7B2AE4E6640B92AF 加密密钥

请求示例

{
  "activityId": "3a0192a8-52f7-36f2-1693-5c11b3f20bef",
  "batchId": "3a0192ab-a932-28c0-7168-efc17a8c1dee",
  "enrollInfo": {
    "姓名": "张三",
    "手机": "15928731623",
    "证件信息": "12121212122",
    "车牌号": "粤A123123123"
  },
  "phone": "15928731621",
  "privateKey": "158F3BD4CC34091C7B2AE4E6640B92AF"
}

返回成功示例

{
  "errcode": 0,
  "errmsg": "已报过名"
}

返回参数说明(成功)

参数名 参数类型 描述
errcode number 返回CODE
errmsg string 返回说明

失败返回示例

{
  "errcode": 0,
  "errmsg": "已报过名"
}

返回参数说明(失败)

参数名 参数类型 描述
errcode number 错误码
errmsg string 错误说明

results matching ""

    No results matching ""