POST api/InvoicePayment
Request Information
URI Parameters
None.
Body Parameters
InvoicePaymentInputName | Description | Type | Additional information |
---|---|---|---|
id |
Invoice ID |
integer |
None. |
id_fp_income |
id_fp_income |
integer |
None. |
income_name |
You can use string to find income by name |
string |
None. |
amount |
pay |
decimal number |
None. |
date |
payment date |
date |
None. |
description |
pay comment |
string |
None. |
income_return |
income return defalult:false |
boolean |
None. |
id_fp_payment_type |
Payment type(optional) |
integer |
None. |
outer_id |
External integration ID |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": 1, "id_fp_income": 1, "income_name": "sample string 2", "amount": 3.0, "date": "2024-11-16T04:50:24.7181442+00:00", "description": "sample string 5", "income_return": true, "id_fp_payment_type": 1, "outer_id": "sample string 7" }
application/xml, text/xml
Sample:
<InvoicePaymentInput xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <id>1</id> <id_fp_income>1</id_fp_income> <income_name>sample string 2</income_name> <amount>3</amount> <date>2024-11-16T04:50:24.7181442+00:00</date> <description>sample string 5</description> <income_return>true</income_return> <id_fp_payment_type>1</id_fp_payment_type> <outer_id>sample string 7</outer_id> </InvoicePaymentInput>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | 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. |