Difference between revisions of "NATS4 API Edit Option Text"
From TMM Wiki
Jump to navigationJump to search (Created page with "{{NATS4 Manual | show_api_admin_section = true }} The Edit Option Text API function is a feature in NATS4 that allows you to edit option text for your NATS join options u...") |
m (→Examples) |
||
Line 11: | Line 11: | ||
==Examples== | ==Examples== | ||
+ | |||
+ | This example continues from the [[NATS4_API#Example|main article NuSOAP Example]]: | ||
+ | |||
=== Request === | === Request === | ||
The following are examples of the requests you can make with this API function: | The following are examples of the requests you can make with this API function: |
Revision as of 10:50, 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 )