老人转出
HTTP方法
POST
HTTP URL
/v1/customer/transfer
Header参数
- Content-Type采用 application/json
- 认证相关头字段,请参考wsse认证
Body数据
参数 | 类型 | 必需 | 描述 |
---|---|---|---|
baseInfo | baseInfo | 是 | 老人基本信息 |
additionInfo | additionInfo | 是 | 老人扩展信息 |
baseInfo
参数 | 类型 | 必需 | 描述 |
---|---|---|---|
cId | string | 是 | 老人cId |
transferReason | string | 是 | 转出原因 |
remark | string | 是 | 备注 |
请求示例
{
"cId": "1648223233502859264",
"transferReason": "IS_DISABILITY_INSURANCE"
}
transferReason枚举
SERVICE_DISSATISFIED("SERVICE_DISSATISFIED", "服务不满意"),
LIVE_HOSPITAL("LIVE_HOSPITAL", "住院"),
HOUSE_MOVING("HOUSE_MOVING", "搬家"),
DEAD("DEAD", "去世"),
OTHER("OTHER", "其它原因"),
SERVICE_CHANGE("SERVICE_CHANGE", "服务形式变更"),
REFUSE_SERVICE("REFUSE_SERVICE", "老人拒绝服务"),
CHECK_IN_INSTITUTION("CHECK_IN_INSTITUTION", "入住机构"),
IS_DISABILITY_INSURANCE("IS_DISABILITY_INSURANCE", "已享受失能险"),
RELOCATE("RELOCATE", "迁户"),
LEAVE_INSTITUTION("LEAVE_INSTITUTION", "离院")
HTTP响应
参数 | 类型 | 描述 |
---|---|---|
code | int | 状态码,0为成功,非0为失败 |
message | string | 对于状态码的简单描述 |
正常响应
{
"code": 0,
"message": "Success",
"data": 3,
"traceId": "3c63ac9314760c191648223233452527616x"
}
异常响应
cId输入不正确或老人已经转出
{
"code": 2200099,
"message": "未找到对应的组织关系",
"traceId": "3c63ac9314760c191650403552742068224x"
}