POST api/Administration/EmailTemplates/CreateUpdate
Request Information
URI Parameters
None.
Body Parameters
EmailTemplateCreateUpdateViewModelName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
Name | string |
None. |
|
Description | string |
None. |
|
Subject | string |
None. |
|
Body | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "49b73c7b-5081-4b7f-81b1-6382c8d4ce87", "Name": "sample string 2", "Description": "sample string 3", "Subject": "sample string 4", "Body": "sample string 5" }
application/xml, text/xml
Sample:
<EmailTemplateCreateUpdateViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iP.Products.MySDS.WebAPI.Areas.Administration.ViewModels"> <Body>sample string 5</Body> <Description>sample string 3</Description> <Id>49b73c7b-5081-4b7f-81b1-6382c8d4ce87</Id> <Name>sample string 2</Name> <Subject>sample string 4</Subject> </EmailTemplateCreateUpdateViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Id" 49b73c7b-5081-4b7f-81b1-6382c8d4ce87 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Name" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Description" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Subject" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Body" sample string 5 --MultipartDataMediaFormatterBoundary1q2w3e--
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, multipart/form-data
Sample:
Sample not available.