Difference between revisions of "REST API:recordLocator Resource"

From AgileApps Support Wiki
imported>Aeric
 
imported>Aeric
Line 56: Line 56:
:{| border="1" cellpadding="5" cellspacing="0"
:{| border="1" cellpadding="5" cellspacing="0"
! Name!!Type!!Attribute!!Required During Add!!Description!!Additional Information
! Name!!Type!!Attribute!!Required During Add!!Description!!Additional Information
|-
| lookupColumns || String || align="center"|Editable on Add/Update || || ||
|-
| keyColumns || String || align="center"|Editable on Add/Update || || ||
|-
| searchColumns || String || align="center"|Editable on Add/Update || || ||
|-
|-
| objectId || String || align="center"|Read Only || || ||  
| objectId || String || align="center"|Read Only || || ||  

Revision as of 23:00, 7 June 2011

Manage Record Locators to specify fields that are used for Record lookups, searches, and indexing, via the REST API.

Access Permissions

Lock-tiny.gif

Users that have the Customize Objects permission can use the recordLocator Resource in the REST API 

Read a recordLocator Record

Method
GET
URI
https://{domain}/networking/rest/recordLocator/{recordId}
Response
<platform>
    <recordLocator>
        <field>data</field>
         ...
    </recordLocator>

    <message>
        <code>0</code>
        <description>Success</description>
    </message>
</platform>
See also: REST API:Error Codes

Update a recordLocator Record

Method
PUT
URI
https://{domain}/networking/rest/recordLocator/{recordId}
Request
<platform>
    <recordLocator>
         ...
    </recordLocator>
</platform>
Response
<platform>
    <message>
        <code>0</code>
        <description>Success</description>
    </message>
</platform>
See also: REST API:Error Codes

Fields

Name Type Attribute Required During Add Description Additional Information
objectId String Read Only
date_created Date Read Only UTC Format
created_id Lookup Read Only
date_modified Date Read Only UTC Format
modified_id Lookup Read Only