X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=api%2Fv3%2Fexamples%2FPriceSet%2FGet.php;h=7be052caa0e62fb15a2b904cd49c82608fea3abb;hb=1d8ee3d65d4378d6e61eb9eb82cd3b33d70c502e;hp=b5468e8277c4500fe50ef7ec387a6152a6af5813;hpb=d5568f72e268599a3d33493a9a833e83422fcc95;p=civicrm-core.git diff --git a/api/v3/examples/PriceSet/Get.php b/api/v3/examples/PriceSet/Get.php index b5468e8277..7be052caa0 100644 --- a/api/v3/examples/PriceSet/Get.php +++ b/api/v3/examples/PriceSet/Get.php @@ -19,7 +19,8 @@ function price_set_get_example() { $errorCode = $e->getErrorCode(); $errorData = $e->getExtraParams(); return array( - 'error' => $errorMessage, + 'is_error' => 1, + 'error_message' => $errorMessage, 'error_code' => $errorCode, 'error_data' => $errorData, ); @@ -50,6 +51,7 @@ function price_set_get_expectedresult() { 'extends' => '2', 'is_quick_config' => '1', 'is_reserved' => '1', + 'min_amount' => 0, 'entity' => array(), ), ),