POST api/Invoice/AllocatePaymentToInvoice

Request Information

URI Parameters

None.

Body Parameters

InvoicePaymentViewModel
NameDescriptionTypeAdditional information
InvoiceId

integer

None.

PaymentAmount

string

None.

BankAccountId

integer

None.

PaymentDate

date

None.

Descripition

string

None.

LanguageId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "InvoiceId": 1,
  "PaymentAmount": "sample string 2",
  "BankAccountId": 3,
  "PaymentDate": "2021-10-27T08:21:23.5183535+01:00",
  "Descripition": "sample string 5",
  "LanguageId": 6
}

text/html

Sample:
{"InvoiceId":1,"PaymentAmount":"sample string 2","BankAccountId":3,"PaymentDate":"2021-10-27T08:21:23.5183535+01:00","Descripition":"sample string 5","LanguageId":6}

application/xml, text/xml

Sample:
<InvoicePaymentViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EasyAccounting.ViewModel">
  <BankAccountId>3</BankAccountId>
  <Descripition>sample string 5</Descripition>
  <InvoiceId>1</InvoiceId>
  <LanguageId>6</LanguageId>
  <PaymentAmount>sample string 2</PaymentAmount>
  <PaymentDate>2021-10-27T08:21:23.5183535+01:00</PaymentDate>
</InvoicePaymentViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.