POST api/Payments/InsertPayment
Request Information
URI Parameters
None.
Body Parameters
PropertyPaymentsDTO| Name | Description | Type | Additional 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. |
|
| 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": "2026-03-17T16:50:25.7738881-07:00",
"Amount": 1.0,
"OverAmount": 1.0,
"Type": 1,
"Method": 1,
"IncreaseDecrease": 1,
"TransactionID": "sample string 2",
"CheckNumber": "sample string 3",
"BankName": "sample string 4",
"AccountNumber": "sample string 5",
"Notes": "sample string 6",
"Active": true,
"CreateUser": 1,
"CreateDate": "2026-03-17T16:50:25.7738881-07:00"
}
application/xml, text/xml
Sample:
<PropertyPaymentsDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProjectServicesAPI.DTO"> <AccountId>1</AccountId> <AccountNumber>sample string 5</AccountNumber> <Active>true</Active> <Amount>1</Amount> <BankName>sample string 4</BankName> <BrancheId>1</BrancheId> <CheckNumber>sample string 3</CheckNumber> <ContractId>1</ContractId> <CreateDate>2026-03-17T16:50:25.7738881-07:00</CreateDate> <CreateUser>1</CreateUser> <CustomerId>1</CustomerId> <ExpensesId>1</ExpensesId> <Id>1</Id> <IncreaseDecrease>1</IncreaseDecrease> <InvoiceId>1</InvoiceId> <Method>1</Method> <Notes>sample string 6</Notes> <OverAmount>1</OverAmount> <PaymentDate>2026-03-17T16:50:25.7738881-07:00</PaymentDate> <TransactionID>sample string 2</TransactionID> <Type>1</Type> </PropertyPaymentsDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |