Information of UA Sender

This page describes the VID of a user who sent an invitation to the users that achieved CPI by User Acquisition. Provides the inviting user's information by using the following data.

  • Request URL
    Common URL https://promotion.qpyou.cn/ua/getSenderVid
    Sandbox URL https://sandbox-promotion.qpyou.cn/ua/getSenderVid
    HTTP Method POST
    Content-Type application/json
    Data Format JSON
  • Header
    Field Name Description Type Required
    Authorization Whether is valid the certificationKey through Bearer Authorization String N
  • Request
    Field Name Description Type Required
    gameindex Game index registered in AppCenter Integer Y
    receiver_vid VID of an invited user Integer Y
  • Response
    Field Name Description Type Required
    result_code Response code 0: Verification success 101: No results 102: The results are 1 or more Others: Verification failure Integer Y
    result_message Response message String Y
    result An object that contains the query result Object N
    ㄴ sender_vid VID of an inviting user String N
  • Call Sample
    curl -L -v
     -d '{"receiver_vid": 40088555, "gameindex": 539}'
     -H "Content-Type: application/json" \
     https://sandbox-promotion.qpyou.cn/ua/getSenderVid
    
  • Request Sample
    POST /ua/getSenderVid HTTP/1.1
    > User-Agent: curl/7.29.0
    > Host: sandbox-promotion.qpyou.cn
    > Accept: /
    > Content-Type: application/json
    > Content-Length: 44
    
  • Response Sample
    < HTTP/1.1 200 OK
    < Server: nginx
    < Date: Tue, 15 Mar 2022 03:31:34 GMT
    < Content-Type: application/json
    {"result": {"sender_vid":"40088592"},"result_code":0,"result_message":"success"}