POST api/v{version}/directory/entry/update
Update a directory entry to the Beckman Directory (Authentication Required)
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| version | string |
None. |
Body Parameters
DirectoryEntry object to update
DirectoryEntry| Name | Description | Type | Additional information |
|---|---|---|---|
| netid | string |
String length: inclusive between 0 and 30 |
|
| bio_intro | string |
None. |
|
| bio_research | string |
None. |
|
| bio_honors | string |
None. |
|
| bio_name | string |
None. |
|
| bio_image | string |
None. |
|
| bio_thumb | string |
None. |
|
| priority | integer |
None. |
|
| custom_title | string |
None. |
|
| pronouns | string |
None. |
|
| publications | Collection of Publication |
None. |
Request Formats
application/json, text/json
Sample:
{
"netid": "sample string 1",
"bio_intro": "sample string 2",
"bio_research": "sample string 3",
"bio_honors": "sample string 4",
"bio_name": "sample string 5",
"bio_image": "sample string 6",
"bio_thumb": "sample string 7",
"priority": 1,
"custom_title": "sample string 8",
"pronouns": "sample string 9",
"publications": [
{
"pub_id": 1,
"pub_netid": "sample string 2",
"pub_year": "sample string 3",
"pub_entry": "sample string 4",
"pub_display": true,
"pub_link": "sample string 5"
},
{
"pub_id": 1,
"pub_netid": "sample string 2",
"pub_year": "sample string 3",
"pub_entry": "sample string 4",
"pub_display": true,
"pub_link": "sample string 5"
}
]
}
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.