同步分组
请求URL
https://api.mytijian.com/open-api/V2/ws/group/syncGroup?accessToken=ACCESS_TOKEN&nonce=NONCE&sign=SIGN
请求协议:HTTPS
请求方式:POST
需要签名: 是
URL参数:
| 参数名 | 是否必须 | 类型 | 说明 |
|---|---|---|---|
| accessToken | 是 | string | 当前有效的accessToken |
| nonce | 是 | string | 当前有效的nonce |
| sign | 是 | string | 数据sign值 |
POST参数示例
{"hisGroupCode": 10625777,"hisGroupName": "adddffffff-FM","companyId": 2323,"capacity": 1000,"expiredDate": "2022-03-02 10:00:00","mealId": 12234,gender:1,marriage:0}
| 参数名 | 是否必须 | 类型 | 说明 |
|---|---|---|---|
| hisGroupCode | 是 | string | 内网分组code |
| hisGroupName | 是 | string | 内网分组名称 |
| companyId | 是 | string | 平台单位id |
| capacity | 是 | string | 额度 |
| expiredDate | 是 | string | 过期时间 |
| mealId | 是 | int | 套餐id |
| gender | 否 | int | 性别:0 男性,1女性 ,2不限 null 空 |
| marriage | 否 | int | 婚姻 0 未婚 1 已婚 2不限 null 空 |
正确返回示例:
{"data": {"examineeGroupId":123},"msg": "success","success": "T"}
| 参数名 | 是否必须 | 类型 | 说明 |
|---|---|---|---|
| examineeGroupId | 是 | int | 平台分组id |
修改分组
请求URL
https://api.mytijian.com/open-api/V2/ws/group/modifyGroup?accessToken=ACCESS_TOKEN&nonce=NONCE&sign=SIGN
请求协议:HTTPS
请求方式:POST
需要签名: 是
URL参数:
| 参数名 | 是否必须 | 类型 | 说明 |
|---|---|---|---|
| accessToken | 是 | string | 当前有效的accessToken |
| nonce | 是 | string | 当前有效的nonce |
| sign | 是 | string | 数据sign值 |
POST参数示例
{"hisGroupCode": 10625777,"hisGroupName": "adddffffff-FM","mealId": 12234}
| 参数名 | 是否必须 | 类型 | 说明 |
|---|---|---|---|
| hisGroupCode | 是 | string | 内网分组code |
| hisGroupName | 是 | string | 内网分组名称 |
| mealId | 是 | int | 套餐id |
正确返回示例:
{"data": {},"msg": "success","success": "T"}
文档更新时间: 2025-07-04 17:59