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": "f9f764fc-50fa-45ec-b560-9feaf66e4075",
    "CustomerAccountId": "c0c1e447-9093-4ab0-8a3d-d2f83bef0990",
    "Amount": 3.0,
    "InvoiceAmount": 4.0,
    "AmountCurrencyId": "de718541-3661-4222-8e34-76507754ef6b",
    "ExpenseAmount": 6.0,
    "ExpenseAmountCurrencyId": "a8a8f07b-4753-4f7f-8b22-640b21223cc8",
    "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
}