@Generated(value="class io.swagger.codegen.languages.JavaClientCodegen", date="2017-02-24T16:43:29.220+01:00") public class TemplatesAPIApi extends Object
| Constructor and Description |
|---|
TemplatesAPIApi() |
TemplatesAPIApi(ApiClient apiClient) |
public TemplatesAPIApi()
public TemplatesAPIApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public TemplateDetailResponse deleteTemplate(String xPostmarkServerToken, Integer templateid) throws ApiException
xPostmarkServerToken - The token associated with the Server on which this request will operate. (required)templateid - The ID for the Template you wish to delete. (required)ApiException - if fails to make API callpublic TemplateDetailResponse getSingleTemplate(String xPostmarkServerToken, Integer templateid) throws ApiException
xPostmarkServerToken - The token associated with the Server on which this request will operate. (required)templateid - The ID for the Template you wish to retrieve. (required)ApiException - if fails to make API callpublic TemplateListingResponse listTemplates(String xPostmarkServerToken, BigDecimal count, BigDecimal offset) throws ApiException
xPostmarkServerToken - The token associated with the Server on which this request will operate. (required)count - The number of Templates to return (required)offset - The number of Templates to \"skip\" before returning results. (required)ApiException - if fails to make API callpublic SendEmailResponse sendEmailWithTemplate(String xPostmarkServerToken, EmailWithTemplateRequest body) throws ApiException
xPostmarkServerToken - The token associated with the Server on which this request will operate. (required)body - (required)ApiException - if fails to make API callpublic TemplateRecordResponse templatesPost(String xPostmarkServerToken, CreateTemplateRequest body) throws ApiException
xPostmarkServerToken - The token associated with the Server on which this request will operate. (required)body - (required)ApiException - if fails to make API callpublic TemplateValidationResponse testTemplateContent(String xPostmarkServerToken, TemplateValidationRequest body) throws ApiException
xPostmarkServerToken - The token associated with the Server on which this request will operate. (required)body - (optional)ApiException - if fails to make API callpublic TemplateRecordResponse updateTemplate(String xPostmarkServerToken, Integer templateid, EditTemplateRequest body) throws ApiException
xPostmarkServerToken - The token associated with the Server on which this request will operate. (required)templateid - The ID for the Template you wish to update. (required)body - (required)ApiException - if fails to make API callCopyright © 2019. All rights reserved.