Profile Edit API - Patents
This sub-resource API will allow you to create, update, and delete patents of a member. See Patent 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}/patents
sample request body
{,
"inventors": [
{
"name": {
"localized": {
"en_US": "Frank Smith"
},
"preferredLocale": {
"country": "US",
"language": "en"
}
},
"memberId": "urn:li:person:123ABC"
},
{
"name": {
"localized": {
"en_US": "Bob Smith"
},
"preferredLocale": {
"country": "US",
"language": "en"
}
},
"memberId": "urn:li:person:456ABC"
}
],
"pending": false,
"description": {
"localized": {
"en_US": {
"rawText": "Check out this awesome API Platform!"
}
},
"preferredLocale": {
"country": "US",
"language": "en"
}
},
"title": {
"localized": {
"en_US": "LinkedIn Awesome API"
},
"preferredLocale": {
"country": "US",
"language": "en"
}
},
"issuer": {
"localized": {
"en_US": "us"
},
"preferredLocale": {
"country": "US",
"language": "en"
}
},
"url": "http://www.developer.linkedin.com",
"number": {
"localized": {
"en_US": "12345"
},
"preferredLocale": {
"country": "US",
"language": "en"
}
},
"issueDate": {
"month": 2,
"year": 2016,
"day": 2
}
}
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}/patents/{patent ID}
sample request body
{
"patch": {
"$set": {
"filingDate": {
"day": 2,
"month": 2,
"year": 2016
},
"issueDate": {},
"pending": true
}
}
}
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 Patent 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}/patents/{patent ID}