POST api/Payments/InsertPayment

Request Information

URI Parameters

None.

Body Parameters

PropertyPaymentsDTO
NameDescriptionTypeAdditional information
Id

integer

None.

AccountId

integer

None.

BrancheId

integer

None.

CustomerId

integer

None.

ContractId

integer

None.

InvoiceId

integer

None.

ExpensesId

integer

None.

PaymentDate

date

None.

Amount

decimal number

None.

OverAmount

decimal number

None.

Type

integer

None.

Method

integer

None.

IncreaseDecrease

integer

None.

TransactionID

string

None.

CheckNumber

string

None.

SignaturePrintName

string

None.

SignatureDraw

string

None.

BankName

string

None.

AccountNumber

string

None.

Notes

string

None.

Active

boolean

None.

CreateUser

integer

None.

CreateDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "AccountId": 1,
  "BrancheId": 1,
  "CustomerId": 1,
  "ContractId": 1,
  "InvoiceId": 1,
  "ExpensesId": 1,
  "PaymentDate": "2025-12-20T01:43:25.6208301-08:00",
  "Amount": 1.0,
  "OverAmount": 1.0,
  "Type": 1,
  "Method": 1,
  "IncreaseDecrease": 1,
  "TransactionID": "sample string 2",
  "CheckNumber": "sample string 3",
  "SignaturePrintName": "sample string 4",
  "SignatureDraw": "sample string 5",
  "BankName": "sample string 6",
  "AccountNumber": "sample string 7",
  "Notes": "sample string 8",
  "Active": true,
  "CreateUser": 1,
  "CreateDate": "2025-12-20T01:43:25.6208301-08:00"
}

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.