POST api/Hub47/addTemplate
Request Information
URI Parameters
None.
Body Parameters
Hub_EmailTempleteName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Name | string |
None. |
|
IsActive | boolean |
None. |
|
EntryDate | date |
None. |
|
Createdby | string |
None. |
|
UpdatedDate | date |
None. |
|
Details | string |
None. |
|
Category | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "Name": "sample string 2", "IsActive": true, "EntryDate": "2025-01-10T21:32:51.8212416+04:00", "Createdby": "sample string 3", "UpdatedDate": "2025-01-10T21:32:51.8212416+04:00", "Details": "sample string 4", "Category": "sample string 5" }
application/xml, text/xml
Sample:
<Hub_EmailTemplete xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TaskManagementServices.Models"> <Category>sample string 5</Category> <Createdby>sample string 3</Createdby> <Details>sample string 4</Details> <EntryDate>2025-01-10T21:32:51.8212416+04:00</EntryDate> <Id>1</Id> <IsActive>true</IsActive> <Name>sample string 2</Name> <UpdatedDate>2025-01-10T21:32:51.8212416+04:00</UpdatedDate> </Hub_EmailTemplete>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |