POST api/ApnAdminEmailTemplate/SaveCategory
Request Information
URI Parameters
None.
Body Parameters
AdminEmailCategory| Name | Description | Type | Additional information |
|---|---|---|---|
| MergeTemplateCategoryID | integer |
None. |
|
| MergeTemplateCategory | string |
None. |
|
| ParentMergeTemplateCategoryID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"MergeTemplateCategoryID": 1,
"MergeTemplateCategory": "sample string 1",
"ParentMergeTemplateCategoryID": 1
}
application/xml, text/xml
Sample:
<AdminEmailCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.ApnExtensions.Admin"> <MergeTemplateCategory>sample string 1</MergeTemplateCategory> <MergeTemplateCategoryID>1</MergeTemplateCategoryID> <ParentMergeTemplateCategoryID>1</ParentMergeTemplateCategoryID> </AdminEmailCategory>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiResultOfInt32| Name | Description | Type | Additional information |
|---|---|---|---|
| Response | ApiResponse |
None. |
|
| Data | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Response": {
"Success": true,
"ErrorMessage": "sample string 2"
},
"Data": 1
}
application/xml, text/xml
Sample:
<ApiResultOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.ApnExtensions">
<Data>1</Data>
<Response>
<ErrorMessage>sample string 2</ErrorMessage>
<Success>true</Success>
</Response>
</ApiResultOfint>