Profile Edit API - Test Scores

This sub-resource API will allow you to create, update, and delete test scores of a member. See Test Score 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}/testScores

sample request body

{
    "date": {
        "month": 3,
        "year": 2013
    },
    "description": {
        "localized": {
            "en_US": {
                "rawText": "Perfect Score!"
            }
        },
        "preferredLocale": {
            "country": "US",
            "language": "en"
        }
    },
    "name": {
        "localized": {
            "en_US": "SAT"
        },
        "preferredLocale": {
            "country": "US",
            "language": "en"
        }
    },
    "occupation": "urn:li:position:(urn:li:person:123ABC,660879450)",
    "score": "2400"
}

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}/testScores/{testScore ID}

sample request body

{
    "patch": {
        "$set": {
            "name": {
                "localized": {
                    "en_US": "GMAT"
                },
                "preferredLocale": {
                    "country": "US",
                    "language": "en"
                }
            },
            "score": "99th percentile"
        }
    }
}

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 Test Score 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}/testScores/{testScore ID}