...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
Excerpt |
---|
This method is used to get the latest payments that were submitted against a specific accounts receivable |
Resource URL
http://host_name/crmapi/rest/$version/payments/get_latest
Parameters
Name | Type | Description | ||||||||||||
token | String | The token retrieved from the login method | ||||||||||||
accounts_receivable_identifier (mandatory) | Accounts receivable identifier | The identifier of the accounts receivable in which the payments that should be returned as a result should be allocated. The allowed accounts receivable identifier fields are the following:
| wallet
| |||||||||||
Wallet Identifier | The identifier of the wallet in which the payment should be allocated to. The allowed wallet identifier fields are the following: Include Page | | V4:wallet_identifier | V4:wallet_identifier |
Tip |
---|
Available from CRM.COM R14.0.0
|
type_identifier
(optional)
The financial transaction type of the payment that should be returned as a result. The allowed financial transaction type identifier field are the following:
Include Page | ||||
---|---|---|---|---|
|
category_identifier
(optional)
The financial transaction category of the payment that should be returned as a result. The allowed financial transaction category identifier fields are the following:
Include Page | ||||
---|---|---|---|---|
|
payment_method_identifier
(optional)
The payment method of the payment that should be returned as a result. The allowed payment method identifier fields are the following:
Include Page | ||||
---|---|---|---|---|
|
number
(mandatory)
The number of payments to be retrieved, starting from the latest one
fields_set
(optional)
List of Strings, comma separated
A list of fields that should be included in the results. If not specified then all the available fields will be returned
...
Expand | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||
HTTP Method: GET Request:Request: http://host_name/crmapi/rest/$version/payments/get_latest?token=B8D7A12E9F91AFADE914B7330AFD08CB&accounts_receivable_identifier=number=192&type_identifier=name=Invoices Balance Payment&number=2&fields_set=id,number,reference_number Response:
|
...
Expand | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||
HTTP Method: GET Request: {{server}}/crmapi/rest/v2/payments/get_latest?token={{token}}&accounts_receivable_identifier=number=ACR0000000120&number=2&fields_set=id,number,currency_rate_period Response:
|
...