Profile Edit API - Volunteering Experiences

This sub-resource API will allow you to create, update, and delete volunteering experiences of a member. See Volunteering Experience 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}/volunteeringExperiences

sample request body

{
    "cause": "education",
    "company": "urn:li:organization:1337",
    "companyName": {
        "localized": {
            "en_US": "LinkedIn"
        },
        "preferredLocale": {
            "country": "US",
            "language": "en"
        }
    },
    "description": {
        "localized": {
            "en_US": {
                "rawText": "Helper!"
            }
        },
        "preferredLocale": {
            "country": "US",
            "language": "en"
        }
    },
    "localizedRole": "Volunteer",
    "role": {
        "localized": {
            "en_US": "Volunteer"
        },
        "preferredLocale": {
            "country": "US",
            "language": "en"
        }
    },
    "singleDate": false,
    "startMonthYear": {
        "month": 2,
        "year": 2016
    }
}

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}/volunteeringExperiences/{volunteeringExperience ID}

sample request body

{
    "patch": {
        "$set": {
            "endMonthYear": {
                "month": 3,
                "year": 2012
            },
            "singleDate": false,
            "startMonthYear": {
                "month": 3,
                "year": 2011
            }
        }
    }
}

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 Volunteering Experience 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}/volunteeringExperiences/{volunteeringExperience ID}