Tip |
---|
Available from CRM.COM R4.0.0 |
Table of Contents | ||
---|---|---|
|
GET
...
notifications/show
This method returns information related with a voucher. Single voucher notification. A single notification is returned by each call
Resource URL
...
Name | Type | Description | |||||||||||||||
token | String | The token retrieved from the login method | |||||||||||||||
vouchernotifications_identifier (semi-optional) | Notification identifier | The identifier of the notification that should be returned as a result. The allowed notification identifier fields are the following:
| |||||||||||||||
communication_identifier ( | mandatorysemi-optional) | Voucher Communication identifier | The identifier of | the voucher the communication that was created for the notification that should be returned as a result. The allowed | vouchers communication identifier fields are the following:
| voucher
| voucher
| ||||||||||
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 |
...
Response Data
Include Page | ||||
---|---|---|---|---|
|
Examples
Expand | |||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
HTTP Method: GET
Request: Response:
|
GET vouchers/list
This method returns information related with vouchers. Multiple vouchers are returned by each call.
Resource URL
Parameters
...
Name
...
Type
...
Description
...
token
...
String
...
The token retrieved from the login method
...
type_identifier
(semi-optional)
...
The identifier of the job type related with the jobs that should be returned as a result. The allowed job type identifier fields are the following:
...
The identifier of the lot related with the vouchers that should be returned as a result. The allowed lot identifier fields are the following:
...
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
Restrictions
- It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified.
Response Data
...
Examples
Expand | |||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
HTTP Method: GET
Request: Response:
|
POST vouchers/use
This method uses a voucher. Single voucher is used by each call
Resource URL
Parameters
...
Name
...
Type
...
Description
...
token
...
String
...
The token retrieved from the login method
...
(mandatory)
...
The secret number of the voucher that will be used
...
account_receivable_identifier
(mandatory)
...
The identifier of the account receivable that the payment should be allocated in. The allowed accounts receivable identifier fields are the following:
...
The identifier of the payment category related with the payment that will be created. The allowed payment category identifier fields are the following:
...
notes
(optional)
...
Notes Object
...
The notes for the payment to be created
Restrictions
- It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified.
Response Data
...
Examples
Expand | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||
HTTP Method: POST
Request: Body
Response:
|
GET notifications/list
This method returns information related with notifications. Multiple notifications are returned by each call.
Resource URL
Parameters
Name | Type | Description | ||||||
token | String | The token retrieved from the login method | ||||||
type_identifier | Notification type identifier | The identifier of the notification type related with the notification that should be returned as a result. The allowed notification type identifier fields are the following:
| ||||||
notification_run_identifier (semi-optional) | Notification run identifier | The identifier of the notification run that created the notifications that should be returned as a result. The allowed notification run identifier fields are the following:
| ||||||
contact_information_identifier (optional) | Contact Information identifier | The identifier of the contact information notified by the notifications that should be returned as a result. The allowed contact information identifier fields are the following:
| ||||||
accounts_receivable_identifier (optional) | Accounts receivable identifier | The identifier of the accounts receivable notified by the notifications that should be returned as a result. The allowed contact information identifier fields are the following:
| ||||||
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 |
Restrictions
- It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified.
Response Data
Include Page | ||||
---|---|---|---|---|
|
Examples
Expand | |||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
HTTP Method: GET
Request: Response:
|
GET notifications/get_latest_in_queue
This method returns information related with a notification. A single notification is returned by each call