POST api/Invoice/GetIncomingInvoicePaymentInfo

Request Information

URI Parameters

None.

Body Parameters

GetIncomingInvoicePaymentInfoRequest
NameDescriptionTypeAdditional information
CompanyId

decimal number

None.

Ettn

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CompanyId": 1.0,
  "Ettn": "sample string 2"
}

application/xml, text/xml

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

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

Response Information

Resource Description

GetIncomingInvoicePaymentInfoResponse
NameDescriptionTypeAdditional information
PaymentInfo

PaymentMobileModel

None.

Result

ResultType

None.

ErrorMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "PaymentInfo": {
    "LastPaymentDate": "sample string 1",
    "BankAccounts": [
      {
        "AccountNumber": "sample string 1",
        "CurrencyCode": "sample string 2",
        "Note": "sample string 3"
      },
      {
        "AccountNumber": "sample string 1",
        "CurrencyCode": "sample string 2",
        "Note": "sample string 3"
      }
    ]
  },
  "Result": 0,
  "ErrorMessage": "sample string 1"
}

application/xml, text/xml

Sample:
<GetIncomingInvoicePaymentInfoResponse 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>
  <PaymentInfo>
    <BankAccounts>
      <BankAccountMobileModel>
        <AccountNumber>sample string 1</AccountNumber>
        <CurrencyCode>sample string 2</CurrencyCode>
        <Note>sample string 3</Note>
      </BankAccountMobileModel>
      <BankAccountMobileModel>
        <AccountNumber>sample string 1</AccountNumber>
        <CurrencyCode>sample string 2</CurrencyCode>
        <Note>sample string 3</Note>
      </BankAccountMobileModel>
    </BankAccounts>
    <LastPaymentDate>sample string 1</LastPaymentDate>
  </PaymentInfo>
</GetIncomingInvoicePaymentInfoResponse>