POST api/v{version}/directory/entry/link/add
Add bio links to the provided netid (Authentication Required)
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| version | string |
None. |
Body Parameters
RelatedLink object to add
DirectoryRelatedLink| Name | Description | Type | Additional information |
|---|---|---|---|
| netid | string |
Required String length: inclusive between 0 and 30 |
|
| related_name | string |
Required String length: inclusive between 0 and 250 |
|
| related_url | string |
Required |
|
| related_id | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"netid": "sample string 1",
"related_name": "sample string 2",
"related_url": "sample string 3",
"related_id": 4
}
application/xml, text/xml
Sample:
<DirectoryRelatedLink xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <netid>sample string 1</netid> <related_name>sample string 2</related_name> <related_url>sample string 3</related_url> <related_id>4</related_id> </DirectoryRelatedLink>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Added DirectoryEntry object if sccuessful or error state if not.
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.