User Experience APIs

Get user experience

OVERVIEW

 

Overview

This API call is used to get an experience object in the system.

 

HTTP Request

GET /api/5/users/experiences/<EXPID>?userid=<USERID>

URL Parameters

Parameter

Description

EXPID The ID of the experience to get
USERID ID of the user whose experience you are updating

 

HTTP Response

Success

HTTP response 200

 

Example

GET http://example.com/context/api/5/users/experiences/3?userid=123

 

XML format

<experience>
	<companyname>adfd</companyname>
	<jobtitle>asdf</jobtitle>
	<location>asdfdf</location>
	<description></description>
	<companywebsite>asdfd</companywebsite>
	<currentlyworking>false</currentlyworking>
	<frommonth>January</frommonth>
	<fromyear>2018</fromyear>
	<tomonth>January</tomonth>
	<toyear>2018</toyear>
</experience>

 

JSON format

{
	"companyname": "adfd",
	"jobtitle": "asdf",
	"location": "asdfdf",
	"description": "",
	"companywebsite": "asdfd",
	"currentlyworking": "false",
	"frommonth": "January",
	"fromyear": "2018",
	"tomonth": "January",
	"toyear": "2018"
}

 

Error messages

Summary Ref Code (V4) Ref Code (before V4)

The experience id is invalid

326 N/A

User id is not in the proper format

113 N/A

The given userid is invalid

342 N/A

The experience id is not associated with the given user id

343 N/A

Comments


0 Comments

Last Updated: Jun 09,2023