POST templates/addStatementTemplates

Request Information

URI Parameters

None.

Body Parameters

StatementTemplateEntity
NameDescriptionTypeAdditional information
StatementTemplateId

integer

None.

TemplateName

string

None.

Active

boolean

None.

ObjectType

integer

None.

ObjectTypeName

string

None.

HasBBFDate

boolean

None.

HasRXPayToken

boolean

None.

IncludeFutureTrans

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "StatementTemplateId": 1,
  "TemplateName": "sample string 2",
  "Active": true,
  "ObjectType": 4,
  "ObjectTypeName": "sample string 5",
  "HasBBFDate": true,
  "HasRXPayToken": true,
  "IncludeFutureTrans": true
}

text/html

Sample:
{"StatementTemplateId":1,"TemplateName":"sample string 2","Active":true,"ObjectType":4,"ObjectTypeName":"sample string 5","HasBBFDate":true,"HasRXPayToken":true,"IncludeFutureTrans":true}

application/xml, text/xml

Sample:
<StatementTemplateEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Templates">
  <Active>true</Active>
  <HasBBFDate>true</HasBBFDate>
  <HasRXPayToken>true</HasRXPayToken>
  <IncludeFutureTrans>true</IncludeFutureTrans>
  <ObjectType>4</ObjectType>
  <ObjectTypeName>sample string 5</ObjectTypeName>
  <StatementTemplateId>1</StatementTemplateId>
  <TemplateName>sample string 2</TemplateName>
</StatementTemplateEntity>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'StatementTemplateEntity'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.