Details
-
Type:
Bug
-
Status: Done/Fixed
-
Priority:
Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.3.1
-
Fix Version/s: Unscheduled
-
Component/s: CiviCRM API
-
Labels:
-
Documentation Required?:None
-
Funding Source:Needs Funding
Description
PriceFieldValue not correctly implemented in REST API
The DB Schema is:
| Field |
--------------------
| id |
| price_field_id |
| name |
| label |
| description |
| amount |
| count |
| max_value |
| weight |
| membership_type_id |
| is_default |
| is_active |
--------------------
But, the fields available in the API are:
"id":"1",
"price_field_id":"1",
"name":"contribution_amount",
"label":"Contribution Amount",
"amount":"1",
"weight":"1",
"is_default":"0",
"is_active":"0"
Actually, getfields returns:
"is_error":0,
"version":3,
"count":0,
"values":[],
"xdebug":