NATS4 API Edit Option Text
From TMM Wiki
Jump to navigationJump to searchThe 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 )