POST api/Parameter/GetInvoiceTypeList

Request Information

URI Parameters

None.

Body Parameters

GetInvoiceTypeListMobileRequest

None.

Request Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<GetInvoiceTypeListMobileRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EInvoice.Service.Model.Mobile" />

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

Response Information

Resource Description

GetInvoiceTypeListMobileResponse
NameDescriptionTypeAdditional information
InvoiceTypeList

Collection of InvoiceTypeMobileModel

None.

Result

ResultType

None.

ErrorMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "InvoiceTypeList": [
    {
      "InvoiceTypeId": 1.0,
      "InvoiceTypeName": "sample string 2",
      "Type": 3.0
    },
    {
      "InvoiceTypeId": 1.0,
      "InvoiceTypeName": "sample string 2",
      "Type": 3.0
    }
  ],
  "Result": 0,
  "ErrorMessage": "sample string 1"
}

application/xml, text/xml

Sample:
<GetInvoiceTypeListMobileResponse 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 1</_x003C_ErrorMessage_x003E_k__BackingField>
  <_x003C_Result_x003E_k__BackingField>Success</_x003C_Result_x003E_k__BackingField>
  <InvoiceTypeList>
    <InvoiceTypeMobileModel>
      <InvoiceTypeId>1</InvoiceTypeId>
      <InvoiceTypeName>sample string 2</InvoiceTypeName>
      <Type>3</Type>
    </InvoiceTypeMobileModel>
    <InvoiceTypeMobileModel>
      <InvoiceTypeId>1</InvoiceTypeId>
      <InvoiceTypeName>sample string 2</InvoiceTypeName>
      <Type>3</Type>
    </InvoiceTypeMobileModel>
  </InvoiceTypeList>
</GetInvoiceTypeListMobileResponse>