Difference between revisions of "NATS4 API Edit Option Text"
From TMM Wiki
Jump to navigationJump to searchm (→Request) |
|||
(One intermediate revision by the same user not shown) | |||
Line 15: | Line 15: | ||
=== Request === | === Request === | ||
− | The following | + | The following is an example request you can make with this API function using the following parameters: |
− | optionid, text | + | *optionid, text |
<pre> | <pre> | ||
Latest revision as of 11:02, 26 December 2013
The Edit Option Text API function is a feature in NATS4 that allows you to edit option text for your NATS join options using an API call.
Filters
This function will allow you to edit option text by optionid. These are parameters used to specify which option rule you're adding:
- optionid - (required)
- text- (required)
Examples
This example continues from the main article NuSOAP Example:
Request
The following is an example request you can make with this API function using the following parameters:
- optionid, text
$data = Array( 'optionid' => 1, 'text' => 'Great Join Option', ); $result = $client->call('edit_option_text', $data, 'natsapiadmin_wsdl');
Response
Array ( [0] => TRUE )