Difference between revisions of "Template:WarnSearchUppercaseFieldsForCRMObjects"

From LongJump Support Wiki
imported>Aeric
(Created page with "::{| style="width: 85%; margin-left: border-collapse: collapse; background: #FBFBFB; border: 1px solid #aaa; border-left: 10px solid #ffb400;" |style="padding: 0.25em 0.25em;" al…")
 
imported>Aeric
 
(28 intermediate revisions by the same user not shown)
Line 1: Line 1:
::{| style="width: 85%; margin-left: border-collapse: collapse; background: #FBFBFB; border: 1px solid #aaa; border-left: 10px solid #ffb400;"
::{| style="width: 550px; margin-left: border-collapse: collapse; background: #FBFBFB; border: 1px solid #aaa; border-left: 10px solid #ffb400;"
|style="padding: 0.25em 0.25em;" align="left" valign="top" width=35px|   
|style="padding: 0.25em 0.25em;" align="left" valign="top" width=35px|   


Line 5: Line 5:
|
|
'''Important:'''<br>  
'''Important:'''<br>  
When specifying criteria for {{type}}s, you need to use the uppercase
When searching the [[CRM Objects]] using the [[REST API]], you need to use the (mostly uppercase) REST versions of the field names when specifying Field Lists and Filter Expressions in the [[REST_API#Dynamic_Search_Parameters|Dynamic Search Parameters]]. Those field names are returned, as well. For example: <tt>OWNERID</tt>.
versions of the field names. (Consult the relevant pages for the actual
names.)


{| border="1" cellpadding="3" class="tight-rows" width="90%" background: #FBFBFB;
When you do an HTTP GET, on the other hand, tags are returned in lowercase, with underscores. For example: <tt>owner_id</tt>. Those tag names must be specified when doing an HTTP PUT. Those are also the field names you use in the GUI and in the [[Java API]]s.
! colspan="2"| [[Built-in Objects]] !! colspan="2"| [[CRM Objects]]
|-
| [[object1]] || [[object2]] || [[object3]] || [[object4]]
|}


<div style="border:1px solid; background-color: white; width:421px" align="center">[[CRM Objects]]</div>
<div>
<div style="float:left; border-width:1px; border-style:none none solid solid;
    background-color:white; width:60px; vertical-align:top;
    padding:0 21px 0 5px; padding-left:21px; text-indent:-16px;">
    [[CRM_Objects#ACCOUNT Object|ACCOUNT]]</div>
<div style="float:left; border-width:1px; border-style:none none solid solid;
    background-color:white; width:60px; vertical-align:top;
    padding:0 21px 0 5px; padding-left:21px; text-indent:-16px;">
    [[CRM_Objects#LEAD Object|LEAD]]</div>
<div style="float:left; border-width:1px; border-style:none none solid solid;
    background-color:white; width:60px; vertical-align:top;
    padding:0 21px 0 5px; padding-left:21px; text-indent:-16px;">
    [[CRM_Objects#CONTACT Object|CONTACT]]</div>
<div style="float:left; border-width:1px; border-style:none solid solid solid;
    background-color:white; width:70px; vertical-align:top;
    padding:0 21px 0 5px; padding-left:21px; text-indent:-16px;">
    [[CRM_Objects#CONTRACT Object|CONTRACT]]</div><br style="clear:both"/>
</div>
<div>
<div style="float:left; border-width:1px; border-style:none none solid solid;
    background-color:white; width:60px; vertical-align:top;
    padding:0 21px 0 5px; padding-left:21px; text-indent:-16px;">
    [[CRM_Objects#CASE Object|CASE]]</div>
<div style="float:left; border-width:1px; border-style:none none solid solid;
    background-color:white; width:60px; vertical-align:top;
    padding:0 21px 0 5px; padding-left:21px; text-indent:-16px;">
    [[CRM_Objects#OPPORTUNITY Object |OPPORTUNITY]]</div>
<div style="float:left; border-width:1px; border-style:none none solid solid;
    background-color:white; width:60px; vertical-align:top;
    padding:0 21px 0 5px; padding-left:21px; text-indent:-16px;">
    [[CRM_Objects#PRODUCT Object|PRODUCT]]</div>
<div style="float:left; border-width:1px; border-style:none solid solid solid;
    background-color:white; width:70px; vertical-align:top;
    padding:0 21px 0 5px; padding-left:21px; text-indent:-16px;">
    [[CRM_Objects#PRICE BOOK Object|PRICE BOOK]]</div>
</div>
:
|}
|}

Latest revision as of 21:26, 22 September 2011

Warn.png

Important:
When searching the CRM Objects using the REST API, you need to use the (mostly uppercase) REST versions of the field names when specifying Field Lists and Filter Expressions in the Dynamic Search Parameters. Those field names are returned, as well. For example: OWNERID.

When you do an HTTP GET, on the other hand, tags are returned in lowercase, with underscores. For example: owner_id. Those tag names must be specified when doing an HTTP PUT. Those are also the field names you use in the GUI and in the Java APIs.