Jeff Program Testing
  1. USER
Jeff Program Testing
  • Overview
  • ACCOUNT
    • Get Account
      GET
  • USER
    • Get Users
      GET
    • Get User
      GET
    • Create User
      POST
    • Update User
      POST
    • Delete User
      DELETE
  1. USER

Get User

开发中
GET
/users/{user_id}
To get detailed information for a particular user with his User ID.

请求参数

Path 参数
user_id
string 
必需
User ID of the user.
示例值:
657a0e94e49cfdb21e355c49
Header 参数
x-api-key
string 
必需
API key of your funnel account.
示例值:
DmxPFlWX1H*Ag$IuHOaNKQwHp$JWa^l93oKuOpu4Xg5zYmWPER%#P34&LUwD!B!9

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/users/657a0e94e49cfdb21e355c49' \
--header 'x-api-key: DmxPFlWX1H*Ag$IuHOaNKQwHp$JWa^l93oKuOpu4Xg5zYmWPER%#P34&LUwD!B!9'

返回响应

🟢200Success
application/json
Body
rc
integer 
可选
100 : OK
-100 : Not found
rm
string 
可选
Return message in details
user
array [object {17}] 
可选
User records in array
_id
string 
可选
acct_id
string 
可选
funnel_id
string 
可选
name
string 
可选
email
string 
可选
country_code
string 
可选
mobile
string 
可选
gender
string 
可选
address
string 
可选
birthday
object 
可选
visitor_id
string 
可选
join_medium
string 
可选
user_tags
array [object {1}] 
可选
country_id
string 
可选
status
string 
可选
created
string 
可选
modified
string 
可选
示例
{
    "rc": 100,
    "rm": "OK",
    "user": [
        {
            "_id": "64f5313f35e6a55fcccccccc",
            "acct_id": "64f5313f35e6a55faaaaaaaa",
            "funnel_id": "64f5313f35e6a55faaaaaaac",
            "name": "Peter Chan",
            "email": "peter.chan@gmail.com",
            "country_code": "852",
            "mobile": "98765432",
            "gender": "M",
            "address": "Address 123",
            "birthday": {
                "byear": "2000",
                "bmonth": "01",
                "bday": "10"
            },
            "visitor_id": "",
            "join_medium": "FB",
            "user_tags": [
                {
                    "value": "Testing"
                }
            ],
            "country_id": "CR-HK",
            "status": "IMP",
            "created": "2023-10-19",
            "modified": "2023-10-19"
        }
    ]
}
上一页
Get Users
下一页
Create User
Built with