POST residentapi/directory
Insert directory
Request Information
URI Parameters
None.
Body Parameters
UserDirectoryCreate| Name | Description | Type | Additional information |
|---|---|---|---|
| MyUnitId |
MyUnitId (Foreign Key to MyUnits) |
integer |
Required |
| PhoneId |
PhoneId (Nullable Foregin Key to UserPhone) |
integer |
None. |
| ShowAddress |
ShowAddress |
boolean |
None. |
| ShowPhoneNumber |
ShowPhoneNumber |
boolean |
None. |
| ShowEmail |
ShowEmail |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"myUnitId": 1,
"phoneId": 1,
"showAddress": true,
"showPhoneNumber": true,
"showEmail": true
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
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. |
Response Formats
application/json, text/json
Sample:
{
"directoryId": 1,
"phoneId": 2,
"showAddress": true,
"showPhoneNumber": true,
"showEmail": true
}