...
...
...
...
Excerpt |
---|
This method returns a voucher's secret number. The secret number of a single voucher is returned by each call |
Resource URL
http://host_name/crmapi/rest/$version/vouchers/retrieve_secret_number
Parameters
Name | Type | Description | ||||||
token | String | The token retrieved from the login method | ||||||
voucher_identifier (mandatory) | Voucher identifier | The identifier of the voucher that should be returned as a result. The allowed vouchers 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
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved voucher |
secret_number | String | The secret_number of the retrieved voucher |
Examples
Expand | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||
HTTP Method: GET
Request:Request: Response:
|
...