POST api/{apiVersion}/InvoicePayment/InvoiceDebtPaymentCalculate

Request Information

URI Parameters

NameDescriptionTypeAdditional information
apiVersion

string

None.

Body Parameters

InvoiceBaseRequestOfInvoicePaymentCalculateRequest
NameDescriptionTypeAdditional information
SessionId

string

None.

ClientSessionId

string

None.

ClientTrxIdReserved

string

None.

Data

InvoicePaymentCalculateRequest

None.

Request Formats

application/json, text/json

Sample:
{
  "SessionId": "sample string 1",
  "ClientSessionId": "sample string 2",
  "ClientTrxIdReserved": "sample string 3",
  "Data": {
    "CustomerId": "882f13c3-fe35-40ad-a6ba-cc805ff156fe",
    "CustomerAccountId": "12c8e649-c3e7-4408-8bfb-77e1ff899cf9",
    "Amount": 3.0,
    "InvoiceAmount": 4.0,
    "AmountCurrencyId": "70904c43-3bc6-43fa-82ec-08d13af3bb48",
    "ExpenseAmount": 6.0,
    "ExpenseAmountCurrencyId": "c72d057d-91e3-4070-be40-17907aa28189",
    "InvPaymentTransactionQueryOid": "sample string 8"
  }
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ServiceResponseOfAPIResponseBaseOfInvoicePaymentCalculateResponse
NameDescriptionTypeAdditional information
Code

integer

None.

Message

string

None.

Response

APIResponseBaseOfInvoicePaymentCalculateResponse

None.

IsShowMessage

boolean

None.

IsShowRateAndReview

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 1,
  "Message": "sample string 2",
  "Response": null,
  "IsShowMessage": true,
  "IsShowRateAndReview": true
}