POST api/v{version}/directory/entry/publication/update
Update publication to the provided entry (Authentication Required)
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| version | string |
None. |
Body Parameters
Publication object to update
Publication| Name | Description | Type | Additional information |
|---|---|---|---|
| pub_id | integer |
None. |
|
| pub_netid | string |
Required String length: inclusive between 0 and 30 |
|
| pub_year | string |
Required String length: inclusive between 0 and 30 |
|
| pub_entry | string |
None. |
|
| pub_display | boolean |
None. |
|
| pub_link | string |
None. |
|
| DirectoryEntry | DirectoryEntry |
None. |
Request Formats
application/json, text/json
Sample:
{
"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",
"DirectoryEntry": {
"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": []
}
}
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.