POST api/template/{type}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| type | TemplateType |
Required |
Body Parameters
Template| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | globally unique identifier |
None. |
|
| Subject | string |
String length: inclusive between 0 and 100 |
|
| Message | string |
Max length: 2147483647 |
|
| CSS | string |
Max length: 2147483647 |
|
| JS | string |
Max length: 2147483647 |
|
| Name | string |
Required String length: inclusive between 0 and 30 |
Request Formats
application/json, text/json
Sample:
{
"ID": "77f00c9e-599c-43fc-8b2b-bd72a6f85b20",
"Subject": "sample string 2",
"Message": "sample string 3",
"CSS": "sample string 4",
"JS": "sample string 5",
"Name": "sample string 6"
}
application/xml, text/xml
Sample:
<Template xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Nodus.Applications.PayLink.Modules"> <Name>sample string 6</Name> <CSS>sample string 4</CSS> <ID>77f00c9e-599c-43fc-8b2b-bd72a6f85b20</ID> <JS>sample string 5</JS> <Message>sample string 3</Message> <Subject>sample string 2</Subject> </Template>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.