Profile Edit API - Projects
This sub-resource API will allow you to create, update, and delete projects of a member. See Project Fields for a description of the fields available within this object.
Supported Methods
CREATE | PARTIAL_UPDATE | DELETE
CREATE
POST https://api.linkedin.com/v2/people/id={person ID}/projects
sample request body
{
"singleDate": true,
"description": {
"preferredLocale": {
"country": "US",
"language": "en"
},
"localized": {
"en_US": {
"rawText": "Awesome platform!"
}
}
},
"url": "http://www.developer.linkedin.com",
"title": {
"preferredLocale": {
"country": "US",
"language": "en"
},
"localized": {
"en_US": "LinkedIn API Project"
}
},
"members": [
{
"memberId": "urn:li:person:123ABC",
"name": {
"preferredLocale": {
"country": "US",
"language": "en"
},
"localized": {
"en_US": "test engineer"
}
}
},
{
"memberId": "urn:li:person:456DEF",
"name": {
"preferredLocale": {
"country": "US",
"language": "en"
},
"localized": {
"en_US": "test engineer 2"
}
}
}
]"startMonthYear": {
"year": 2016,
"month": 1
},
"occupation": "urn:li:position:(urn:li:person:123ABC,677616236)"
}
Note
A successful response will return a 201 Created
HTTP status code. To record the created entity's id
, refer to the header x-linkedin-id
field.
PARTIAL UPDATE
POST https://api.linkedin.com/v2/people/id={person ID}/projects/{project ID}
sample request body
{
"patch": {
"$set": {
"endMonthYear": {
"month": 4,
"year": 2010
},
"singleDate": false,
"startMonthYear": {
"month": 3,
"year": 2008
}
}
}
}
Sample Json to delete one or more fields. If you attempt to delete a field that is mandatory, the API will return a 422 Error Response. See Project Fields for allowed list of fields for this resource
sample request body
{
"patch": {
"$delete": [
"field1",
"field2"
]
}
}
DELETE
DELETE https://api.linkedin.com/v2/people/id={person ID}/projects/{project ID}