API Automation

API Get a Random Profile Information

API Get a random profile information:


Request Url:


http://127.0.0.1:35000/api/v1/profile/randomProfile?platform=Windows&langHdr=en-US&acceptLanguage=en-US,en;q=0.9&timeZone=America/New_York


Request Type: GET


NameTypeDescriptionrequired
platformstringWindows Linux Macintosh Android iPhone Chrome Firefox Edgetrue
langHdrstringen-USfalse
acceptLanguagestringen-US,en;q=0.9false
timeZonestringAmerica/New_Yorkfalse


Request


{
    "platform": "Windows",
    "langHdr": "en-US",
    "acceptLanguage": "en-US,en;q=0.9",
    "timeZone": "America/New_York"
}



Note:


1. Enable browser automation settings and save the settings on the XLogin client. For the tutorial, please refer to the "Launch the browser automation port";


2. profileId: Please refer to the "Where can the Profile ID be Found?" tutorial or use the profile/list interface to get all profileId.