Difference between revisions of "NATS4 API Edit Option Text"
From TMM Wiki
Jump to navigationJump to searchm (→Examples) |
m (→Request) |
||
Line 21: | Line 21: | ||
$data = Array( | $data = Array( | ||
− | 'optionid' => 1, | + | 'optionid' => 1, |
− | 'text' => 'Great Join Option', | + | 'text' => 'Great Join Option', |
− | ) | + | ); |
$result = $client->call('edit_option_text', $data, 'natsapiadmin_wsdl'); | $result = $client->call('edit_option_text', $data, 'natsapiadmin_wsdl'); |
Revision as of 10:51, 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 are examples of the requests you can make with this API function:
optionid, text
$data = Array( 'optionid' => 1, 'text' => 'Great Join Option', ); $result = $client->call('edit_option_text', $data, 'natsapiadmin_wsdl');
Response
Array ( [0] => TRUE )