User Experience APIs

Update user experience

OVERVIEW

Overview

This API call is used to change a experience.

HTTP Request

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

URL Parameters
Parameter Description
EXPID

The experience id to be updated

USERID

The ID of the user whose experience is to be updated

 

HTTP Request Object

PUT http://example.com/context/api/5/users/experiences/12?userid=123

 

XML Request Example

<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 Request Example

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

HTTP response 200

 

Error messages

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

User id is not in proper format

113  

The given userid is invalid

342  

The experience id is invalid

326  

The experience id is not associated with the given user id

343  

The company name is required

328  

The job title is required

329  

The Experience From month field is required

330  

The Experience From year field is required

331  

The Experience To month field is required

332  

The Experience To year field is required

333  

The information in the Experience From month field is not valid

335  

The information in the Experience To month field is not valid

336  

Please enter a year between 1900 and the current year as your start date

337  

Please enter a year between 1900 and the current year as your end date

338  

The information in the Experience from year field is not formatted correctly

339  

The information in the Experience To year field is not formatted correctly

340  

The information in the Currently working value field is not valid

341  

Comments


0 Comments

Last Updated: Jun 09,2023