Page History
Examples
Action add
Add a location.
Code Block | ||
---|---|---|
| ||
$data = array( "token" => $token, "tokenHash" => $tokenHash, "objectType" => "locations", "objectAction" => "add", "values" => array( 0 => array( "locationName" => "test", "locationPostalcode" => "90210", "locationState" => "ZZ", ), ), ); |
Code Block | ||
---|---|---|
| ||
$data = array( "token" => $token, "tokenHash" => $tokenHash, "objectType" => "locations", "objectAction" => "add", "values" => array( array( "locationName" => "add location during test", "locationUrl" => "http://yahoo.com", "locationAddress" => "123 Street Address", "locationCity" => "Somewhere", "locationState" => "PA", "locationPostalcode" => "90210", "locationCountry" => "695", "locationPhone" => "3018055081", "locationPhoneExt" => "201" ), ), ); |
Action edit
Code Block | ||
---|---|---|
| ||
$data = array( "token" => $token, "tokenHash" => $tokenHash, "objectType" => "locations", "objectAction" => "edit", "values" => array( array( "locationID" => $validPK, "locationName" => "edited location during test", "locationUrl" => "http://yahoo.com", "locationAddress" => "123 Street Address", "locationCity" => "Somewhere", "locationState" => "PA", "locationPostalcode" => "20715", "locationCountry" => "695", "locationPhone" => "3018055081", "locationPhoneExt" => "201" ), ), ); |
Overview
Content Tools