User experience list
OVERVIEW
Overview
This API call is used to get a list of experience.
HTTP Request
GET /api/5/users/experiences?userid=<USERID>
URL Parameters
Parameter | Description |
USERID | The ID of the user whose experience is to be listed |
HTTP Response
Success
HTTP response 200
Error
See API Error messages
Example
GET http://example.com/context/api/5/users/experiences?userid=123
XML format
<experiences> <experience> <experienceid>1</experienceid> <companyname>Company Name</companyname> <jobtitle> Job Title</jobtitle> <location>location</location> <description></description> <companywebsite>Company Website</companywebsite> <currentlyworking>false</currentlyworking> <frommonth>January</frommonth> <fromyear>2018</fromyear> <tomonth>January</tomonth> <toyear>2018</toyear> </experience> </experiences>
JSON format
{
"experience": [
{
"experienceid": "1",
"companyname": "company",
"jobtitle": "job",
"location": "",
"description": "description",
"companywebsite": "",
"currentlyworking": "true",
"frommonth": "March",
"fromyear": "2015",
"tomonth": "",
"toyear": ""
},
{
"experienceid": "2",
"companyname": "company2",
"jobtitle": "job2",
"location": "",
"description": "",
"companywebsite": "",
"currentlyworking": "false",
"frommonth": "April",
"fromyear": "2013",
"tomonth": "January",
"toyear": "2015"
}
]
}
Error messages
Summary | Ref Code (V4) | Ref Code (before V4) |
A User id is required | 109 | |
User id is not in proper format | 113 | |
The following users do not exist within the system: | 110 | |
The given action cannot be performed on the anonymised user(s). | 325 |
Comments
0 Comments