UA friend list (End of support)
This page describes information(VID, PlayerID) of inviting and invited users who achieved CPI through User Acquisition. Compose each user's friends list by using the following data.
- Request URL
Common URL https://promotion.qpyou.cn/ua/user/invitee Sandbox URL https://sandbox-promotion.qpyou.cn/ua/user/invitee HTTP Method POSTContent-Type application/jsonData Format JSON
- Header
Field Name Description Type Required Authorization CertificationKey valid through Bearer Authorization String N
- Header
Field Name Description Type Required Authorization CertificationKey valid through Bearer Authorization String N
- Request
Field Name Description Type Required game_index Game index registered in AppCenter. Integer Y begin_id The first ID which friends list through CPI begins. (The value is 0 if the request is the first time) Integer Y data_limit The number of friends list importing at once. If nothing is entered, default value is 1000. Integer N sender_vid VID, PlayerID of an inviting user. String N
- Response
Field Name Description Type Required result_code Response code 0: Verification success Others: Verification failure Integer Y result_message Response message String Y request Data received when implementing the API is requested. (Send the request data) Array Y ㄴ game_index Game index registered in AppCenter. Integer Y ㄴ begin_id The first ID which friends list through CPI begins. (The value is 0 if the request is the first time) Integer Y ㄴ data_limit The number of friends list importing at once. When nothing is entered, default value is 1000. Integer N ㄴ sender_vid VID, PlayerID of an inviting user. String N result Friends list. Null is available when nothing exists. Array N ㄴ companion_id Internally managed ID in HIVE. String Y ㄴ sender_vid VID, PlayerID of an inviting user. String Y ㄴ receiver_vid VID, PlayerID of an invited user. String Y ㄴ dateadd At the time when two users become friends. String (DateTime) Y ㄴ id Unique ID of the current data. (Available when requesting the next data) String Y result_count The number of result. Integer Y last_id The last unique ID in the friends list transmitted. (Available when requesting the next data) Integer Y - Result code
Code Message Description 0 Success Success in data transmission 201 Invalid parameter When transmitted paramter is wrong or does not exist (required value is empty). When transmission format is not POST.
- Call Sample
- Request Sample
- Response Sample