...
...
...
...
...
...
...
...
...
...
...
...
...
...
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:
| ||||||
type_identifier (optional) | Financial transaction type identifier | The financial transaction type of the payment that should be returned as a result. The allowed financial transaction type identifier field are the following:
| ||||||
category_identifier (optional) | Financial transaction category identifier | The financial transaction category of the payment that should be returned as a result. The allowed financial transaction category identifier fields are the following:
| ||||||
payment_method_identifier (optional) | Payment method identifier | The payment method of the payment that should be returned as a result. The allowed payment method identifier fields are the following:
| ||||||
number (mandatory) | Number | 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:
|
...