POST api/BillAttachment/ExportFromTemplate

Request Information

URI Parameters

None.

Body Parameters

BillExportFromTemplateInput
NameDescriptionTypeAdditional information
PersonId

Person Id to generate from

integer

None.

HatTemplateId

Hat Template Id

integer

None.

DocumentId

Bill ID

integer

None.

ConvertToPdf

To convert to PDF document

boolean

None.

ConvertToWord

To convert to WORD document

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "PersonId": 1,
  "HatTemplateId": 2,
  "DocumentId": 3,
  "ConvertToPdf": true,
  "ConvertToWord": true
}

application/xml, text/xml

Sample:
<BillExportFromTemplateInput xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <PersonId>1</PersonId>
  <HatTemplateId>2</HatTemplateId>
  <DocumentId>3</DocumentId>
  <ConvertToPdf>true</ConvertToPdf>
  <ConvertToWord>true</ConvertToWord>
</BillExportFromTemplateInput>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.