Salesforce Professional Edition API doesn't support all fields of SalesForce contact -
https://eu1.salesforce.com/services/data/v20.0/sobjects/contact/{contactid}.xml?fields=id, name, firstname, lastname, salutation, title, email, homephone, mobilephone, otherphone".
when use above api fetch contact salesforce works fine in salesforce development edition, throws exception when use same url fetch contact in professional edition. error follows,
error code: invalid_field error message: lastname, salutation, title, email, homephone, mobilephone, otherphone ^
error @ row:1:column:65 no such column 'homephone' on entity 'contact'. if attempting use custom field, sure append '__c' after custom field name. please reference wsdl or describe call appropriate names.
i want url fetch contact in edition of salesforce.
what correct way fetch details of contact in editions of salesforce?
there controls admin can use fields available , aren't (for ee , up, field level security, pe, page layout controls api access) there no 1 list of fields works everywhere, in rest api don't need specify fields, if https://eu1.salesforce.com/services/data/v20.0/sobjects/contact/{contactid}.xml
you'll available fields on contact.
Comments
Post a Comment