PUT v2/Events/{eventName}/EmailType/{emailTypeName}/UpdateEventEmailType?isEnabled={isEnabled}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| eventName | string |
Required |
|
| emailTypeName | string |
Required |
|
| isEnabled | boolean |
Default value is True |
Body Parameters
None.
Response Information
Resource Description
EventEmailTypeDto| Name | Description | Type | Additional information |
|---|---|---|---|
| EventId | integer |
None. |
|
| EmailTypeId | integer |
None. |
|
| EmailTypeName | string |
None. |
|
| IsEnabled | boolean |
None. |
|
| IsCustomizable | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"EventId": 1,
"EmailTypeId": 2,
"EmailTypeName": "sample string 3",
"IsEnabled": true,
"IsCustomizable": true
}
application/xml, text/xml
Sample:
<EventEmailTypeDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FreemanAv.Pm.Api.Domain.Dto.EmailConfiguration"> <EmailTypeId>2</EmailTypeId> <EmailTypeName>sample string 3</EmailTypeName> <EventId>1</EventId> <IsCustomizable>true</IsCustomizable> <IsEnabled>true</IsEnabled> </EventEmailTypeDto>