User

Create a new user account and Follr profile. The Follr profile consists of an address, phone numbers, websites, education history, employment history, social network profiles and chat/messenger services. The create method requires a first name, last name and email. All other data is optional. Please refer to the data field dictionary for a complete list of fields, optionality, data types and size limits.

Details

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

XML Example

Request Url

https://partner.follrdev.com/user/

Request Payload

<UserRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Follr.API.Models">
    <Address>
        <City>Oakland</City>
        <Country>US</Country>
        <Line1>101 New St</Line1>
        <Line2 />
        <Line3 />
        <PostalCode>94602</PostalCode>
        <State>CA</State>
    </Address>
    <EducationHistory>
        <Education>
            <Degree>Bachelor of Science</Degree>
            <Description>Graduated with high honors.</Description>
            <EndYear>1998</EndYear>
            <FieldOfStudy>Chemistry</FieldOfStudy>
            <School>California State University</School>
            <StartYear>1994</StartYear>
        </Education>
    </EducationHistory>
    <EmploymentHistory>
        <Employment>
            <Description>Lead chemical engineer of the drug research team</Description>
            <Employer>Test Company, Inc.</Employer>
            <EndMonth>1</EndMonth>
            <EndYear>2012</EndYear>
            <IndustryId>18</IndustryId>
            <Position>Chemical Engineer</Position>
            <StartMonth>10</StartMonth>
            <StartYear>1998</StartYear>
            <Url>http://testco.com</Url>
        </Employment>
    </EmploymentHistory>
    <Links>
        <Link>
            <Label>Facebook</Label>
            <ServiceId>6</ServiceId>
            <Url>http://www.facebook.com/JohnDoe</Url>
        </Link>
    </Links>
    <Messengers>
        <Messenger>
            <MessengerId>2</MessengerId>
            <ScreenName>johndoe</ScreenName>
        </Messenger>
    </Messengers>
    <PhoneNumbers>
        <PhoneNumber>
            <Label>Toll Free</Label>
            <Number>888-555-1212</Number>
            <PhoneNumberType>1</PhoneNumberType>
        </PhoneNumber>
    </PhoneNumbers>
    <Profile>
        <Biography>Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?</Biography>
        <Introduction>Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit.</Introduction>
        <Photo>http://someurl.com/somephoto.jpg</Photo>
        <ProfessionalSummary>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</ProfessionalSummary>
        <Title>Chemical Engineer</Title>
    </Profile>
    <User>
        <Email>johndoe@example.com</Email>
        <FirstName>John</FirstName>
        <Id />
        <LastName>Doe</LastName>
        <Password />
        <ProfileUrl />
    </User>
    <Websites>
        <Website>
            <Label>Gogole</Label>
            <Url>http://google.com</Url>
        </Website>
    </Websites>
</UserRequest>

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>N9RYDQ8</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>Email is already in use</Message>
    <Status>101</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/create

Request Payload

{
    "Address":{
        "City":"Oakland",
        "Country":"US",
        "Line1":"101 New St",
        "Line2":null,
        "Line3":null,
        "PostalCode":"94602",
        "State":"CA"
    },
    "EducationHistory":[
        {
            "Degree":"Bachelor of Science",
            "Description":"Graduated with high honors.",
            "EndYear":1998,
            "FieldOfStudy":"Chemistry",
            "School":"California State University",
            "StartYear":1994
            }
    ],
    "EmploymentHistory":[
        {
            "Description":"Lead chemical engineer of the drug research team",
            "Employer":"Test Company, Inc.",
            "EndMonth":1,
            "EndYear":2012,
            "IndustryId":18,
            "Position":"Chemical Engineer",
            "StartMonth":10,
            "StartYear":1998,
            "Url":"http:\/\/testco.com"
        }
    ],
    "Links":[
        {
            "Label":"Facebook",
            "ServiceId":6,
            "Url":"http:\/\/www.facebook.com\/JohnDoe"
        }
    ],
    "Messengers":[
        {
            "MessengerId":2,
            "ScreenName":"johndoe"
        }
    ],
    "PhoneNumbers":[
        {
            "Label":"Toll Free",
            "Number":"888-555-1212",
            "PhoneNumberType":1
        }
    ],
    "Profile":{
        "Biography":"Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?",
        "Introduction":"Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit.",
        "Photo":"http:\/\/someurl.com\/somephoto.jpg",
        "ProfessionalSummary":"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",
        "Title":"Chemical Engineer"
    },
    "User":{
        "Email":"johndoe@example.com",
        "FirstName":"John",
        "Id":null,
        "LastName":"Doe",
        "Password":null,
        "ProfileUrl":null
    },
    "Websites":[
        {
            "Label":"Gogole",
            "Url":"http:\/\/google.com"
        }
    ]
}

Successful Response

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

Error Response

{
    "Message":"Email is already in use",
    "Status":101,
    "User":null
}

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