POST api/Insurance/GetInsuranceHtml

Request Information

URI Parameters

None.

Body Parameters

GetInvoiceHtmlMobileRequest
NameDescriptionTypeAdditional information
Ettn

string

None.

InvoiceDirection

InvoiceDirection

None.

InvoiceDocumentType

InvoiceDocumentType

None.

CompanyId

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "Ettn": "sample string 1",
  "InvoiceDirection": 0,
  "InvoiceDocumentType": 0,
  "CompanyId": 2.0
}

application/xml, text/xml

Sample:
<GetInvoiceHtmlMobileRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EInvoice.Service.Model.Mobile">
  <CompanyId>2</CompanyId>
  <Ettn>sample string 1</Ettn>
  <InvoiceDirection>None</InvoiceDirection>
  <InvoiceDocumentType>None</InvoiceDocumentType>
</GetInvoiceHtmlMobileRequest>

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 'GetInvoiceHtmlMobileRequest'.

Response Information

Resource Description

GetInvoiceHtmlMobileResponse
NameDescriptionTypeAdditional information
InvoiceHtml

string

None.

Result

ResultType

None.

ErrorMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "InvoiceHtml": "sample string 1",
  "Result": 0,
  "ErrorMessage": "sample string 2"
}

application/xml, text/xml

Sample:
<GetInvoiceHtmlMobileResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EInvoice.Service.Model.Mobile">
  <_x003C_ErrorMessage_x003E_k__BackingField>sample string 2</_x003C_ErrorMessage_x003E_k__BackingField>
  <_x003C_Result_x003E_k__BackingField>Success</_x003C_Result_x003E_k__BackingField>
  <InvoiceHtml>sample string 1</InvoiceHtml>
</GetInvoiceHtmlMobileResponse>