User

Read an existing user account. Returns the profle url for the user.

Details

URL
https://partner.follrdev.com/user/
Method
POST

XML Example

Request Url

https://partner.follrdev.com/user/read/2UH2MT

Successful Response

<?xml version="1.0" encoding="utf-8"?>
<UserResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Follr.API.Models">
    <Message>Success</Message>
    <Status>0</Status>
    <User>
        <Email>johndoe@example.com</Email>
        <FirstName>John</FirstName>
        <Id>2UH2MT</Id>
        <LastName>Doe</LastName>
        <Password />
        <ProfileUrl>http://follr.me/John.Doe</ProfileUrl>
    </User>
</UserResponse>

Error Response

<?xml version="1.0" encoding="utf-8"?>
<UserResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Follr.API.Models">
    <Message>No user matching '2UH2MT'</Message>
    <Status>100</Status>
    <User />
</UserResponse>

Refer to the status code dictionary for a complete list of possible error codes.

JSON Example

Request Url

https://partner.follrdev.com/user/read/2UH2MT

Successful Response

{
    "Message":"Success",
    "Status":0,
    "User":{
        "Email":"johndoe@example.com",
        "FirstName":"John",
        "Id":"2UH2MT",
        "LastName":"Doe",
        "Password":null,
        "ProfileUrl":"http:\/\/follr.me\/John.Doe"
    }
}

Error Response

{
    "Message":"No user matching '2UH2MT'",
    "Status":100,
    "User":null
}

Refer to the status code dictionary for a complete list of possible error codes.