POST api/useremail/{userid}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| userid | integer |
Required |
Body Parameters
EmailModel| Name | Description | Type | Additional information |
|---|---|---|---|
| EmailAddress | string |
Required |
|
| EmailTypeCode | string |
None. |
|
| isPrimary | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"EmailAddress": "sample string 1",
"EmailTypeCode": "default",
"isPrimary": true
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
EmailModel| Name | Description | Type | Additional information |
|---|---|---|---|
| EmailAddress | string |
Required |
|
| EmailTypeCode | string |
None. |
|
| isPrimary | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"EmailAddress": "sample string 1",
"EmailTypeCode": "default",
"isPrimary": true
}