https://www.example.com
.
Example:https://www.example.com?SdkAppid=$SDKAppID&CallbackCommand=$CallbackCommand&contenttype=json&ClientIP=$ClientIP&OptPlatform=$OptPlatform
Parameter | Description |
https | The request protocol is HTTPS, and the request method is POST. |
www.example.com | The callback URL. |
SdkAppid | The SDKAppID assigned by the Chat console when an application is created. |
CallbackCommand | The value is fixed to Sns.CallbackBlackListDelete. |
contenttype | The value is fixed to JSON. |
ClientIP | The client IP address, whose format is similar to: 127.0.0.1. |
OptPlatform | The client platform. For details on the possible values, see the OptPlatform parameter in Third-Party Callback Overview: Callback Protocols. |
{"CallbackCommand": "Sns.CallbackBlackListDelete","PairList": [{"From_Account": "id","To_Account": "id1"},{"From_Account": "id","To_Account": "id2"},{"From_Account": "id","To_Account": "id3"}]}
Field | Type | Description |
CallbackCommand | String | The callback command. |
PairList | Array | The account pair for which the deletion from blocklist is successful. |
From_Account | String | From_Account deletes To_Account from its blocklist. |
To_Account | String | To_Account is deleted from the blocklist of From_Account. |
{"ActionStatus": "OK","ErrorCode": 0,"ErrorInfo": ""}
Field | Type | Attribute | Description |
ActionStatus | String | Required | The request processing result. OK: succeeded. FAIL: failed. |
ErrorCode | Integer | Required | The error code. 0 indicates that app backend processing was successful, and 1 indicates that app backend processing failed. |
ErrorInfo | String | Required | Error information. |
문제 해결에 도움이 되었나요?