REST API:form Resource/Payload Examples

From LongJump Support Wiki

Common Field Information

These values are provided for every field:

<field>
    <id>ec6ed9ac7d5f4c97ad31eff0c595acf2</id>
    <objectId>9421d9d2382d45daa316d83501973cd3</objectId>
    <title>MOLF34</title>
    <type>MULTI_OBJECT_LOOKUP</type>
    <isStandard>false</isStandard>
    <tableColumn>molf34</tableColumn>
    <defaultValue>
    </defaultValue>
    <isTracked>false</isTracked>
    <isSignField>false</isSignField>
    <universalProperty>false</universalProperty>
    <date_created>1285525800000</date_created>
    <date_modified>1285525800000</date_modified>
    <created_id type="" 
        uri="https://localhost/networking/rest/USER/374264" 
        displayValue="Admin">374264</created_id>
    <modified_id type="" 
        uri="https://localhost/networking/rest/USER/374264" 
        displayValue="Admin">374264</modified_id>

    <!-- Field details here -->

    <recordSelectionType>STANDARD_LOOKUP</recordSelectionType>
    <description></description>
    <flagInactive>false</flagInactive>
    <extendedFieldMetaData></extendedFieldMetaData>
</field>

Multi Object Lookup Field

The payload lists each of the objects that can be the target of the Multi Object Lookup:

<multiObjectLookUpDetails>
    <lookUpObjectId type="" 
    uri="https://{domain}/networking/rest/record/CASE?fieldList=id,MODIFIEDID,name,DATEMODIFIED&amp;filter=name starts with '{$molf34}' " 
    displayValue="Case">CASE</lookUpObjectId>
    
    <lookUpObjectId type=""
    uri="https://{domain}/networking/rest/record/PRICE_BOOK?fieldList=id,MODIFIEDID,name,DATEMODIFIED&amp;filter=name starts with '{$molf34}' " 
    displayValue="Price Book">PRICE_BOOK</lookUpObjectId>
    
    ...
    
    <lookUpObjectId type="" 
    uri="https://{domain}/networking/rest/record/1555611998ulf1285885716?fieldList=id,first_name,name,company,last_name,list,industry,country,city&amp;filter=name starts with '{$molf34}' " 
    displayValue="List Member">1555611998ulf1285885716</lookUpObjectId>
    
    <lookUpObjectId type="" 
    uri="https://{domain}/networking/rest/record/1555611998iog963421290?fieldList=id,modified_id,date_modified,name&amp;filter=name starts with '{$molf34}' " 
    displayValue="List">1555611998iog963421290</lookUpObjectId>
    
    ...
    
    <lookUpObjectId type=""  
    uri="https://{domain}/networking/rest/record/7d4108ef16ab4a8d8658f0120ccbd3b9?fieldList=id,name&amp;filter=name starts with '{$molf34}' " 
    displayValue="ParentObject">7d4108ef16ab4a8d8658f0120ccbd3b9</lookUpObjectId>
    
</multiObjectLookUpDetails>