PUT residentapi/directory/{id}
Updates a user directory
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
UserDirectoryUpdate| Name | Description | Type | Additional information |
|---|---|---|---|
| DirectoryId |
DirectoryId (Primary key) |
integer |
None. |
| PhoneId | integer |
None. |
|
| ShowAddress |
ShowAddress |
boolean |
None. |
| ShowPhoneNumber |
ShowPhoneNumber |
boolean |
None. |
| ShowEmail |
ShowEmail |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"directoryId": 1,
"phoneId": 2,
"showAddress": true,
"showPhoneNumber": true,
"showEmail": true
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.