Scenario
This API is only needed if external system store member data and needs to sync it with EZR.
Member's level changes in EZR, EZR will updates change to external system.
Direction
EZR will call external system
Core Logic
-
Request Parameters
Field | Type | Required | Length | Description |
Brannd | string | Yes | 1~16 | Brand's name |
OldCode | string | Yes | 1~16 | Member's unique code (external system) |
Code | string | Yes | 1~16 | Member's unique code (in EZR) |
BeginGrade | string | Yes | 1~12 | Member's grade(level) name before change |
EndGrade | string | Yes | 1~12 | Member's grade(level) name after change |
GradeValidDate | Int | Yes | Expiration date of new level | |
ChangeTime | string | Yes | 19 | Time when change happens |
Remark | string | 0~32 |
Example Request (JSON)
{
"OldCode": "EZ00001230",
"Code": "0000081",
"BeginGrade": "普卡",
"EndGrade": "金卡",
"GradeValidDate": 20161011,
"ChangeTime": "2016-04-04 10:11:11",
"Remark": "线上手工调整",
}
Example Result by external system (JSON)
{
"Status": true,
"StatusCode": 200,
"Msg": "成功",
"Timestamp": "20150622093101",
"Sign": "6ECC9BF07C69E80F6D8552FF7B2E7A8FCA2CC80E",
"Result": 见业务返回结果示例,
}