Contacts: Lists of Values
The lookup resource of a lookup determines where the lookup value is stored. However, these lookup resources contain all the lookup values. You must use a finder specifying a lookup type to get the lookup values that you require. The finder is a query statement that selects a specific list of values from the table.
For example, the lookup resource fndStaticLookups
contains the
list of values specifying the Contact types. You can use the finder LookupTypeIsActiveEnabledFinder
, the finder variable BindLookupType
, and the lookup type ZCA_CONTACT_TYPE
, to get all the values in ZCA_CONTACT_TYPE
.
The following is the format of the resource URL.
https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/fndStaticLookups?finder=LookupTypeIsActiveEnabledFinder;BindLookupType=ZCA_CONTACT_TYPE
The following is an example of the response body in JSON format.
{ "items": [ { "LookupType": "ZCA_CONTACT_TYPE", "LookupCode": "ZCA_CONTACT", "Meaning": "Contact", "Description": null, "EnabledFlag": "Y", "StartDateActive": null, "EndDateActive": null, "DisplaySequence": 1, "CreatedBy": "SEED_DATA_FROM_APPLICATION", "CreationDate": "2013-10-24T23:05:27.127+00:00", "LastUpdateDate": "2018-05-16T02:26:14.623+00:00", "LastUpdateLogin": "-1", "LastUpdatedBy": "SEED_DATA_FROM_APPLICATION", "Tag": null, "links": [ { "rel": "self", "href": "https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/fndStaticLookups/0002000000105A43415F434F4E544143545F545950450000000B5A43415F434F4E54414354", "name": "fndStaticLookups", "kind": "item" }, { "rel": "canonical", "href": "https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/fndStaticLookups/0002000000105A43415F434F4E544143545F545950450000000B5A43415F434F4E54414354", "name": "fndStaticLookups", "kind": "item" } ] }, { "LookupType": "ZCA_CONTACT_TYPE", "LookupCode": "ZCA_CUSTOMER", "Meaning": "Customer", "Description": null, "EnabledFlag": "Y", "StartDateActive": null, "EndDateActive": null, "DisplaySequence": 2, "CreatedBy": "SEED_DATA_FROM_APPLICATION", "CreationDate": "2013-10-24T23:05:27.134+00:00", "LastUpdateDate": "2018-05-16T02:26:14.623+00:00", "LastUpdateLogin": "-1", "LastUpdatedBy": "SEED_DATA_FROM_APPLICATION", "Tag": null, "links": [ { "rel": "self", "href": "https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/fndStaticLookups/0002000000105A43415F434F4E544143545F545950450000000C5A43415F435553544F4D4552", "name": "fndStaticLookups", "kind": "item" }, { "rel": "canonical", "href": "https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/fndStaticLookups/0002000000105A43415F434F4E544143545F545950450000000C5A43415F435553544F4D4552", "name": "fndStaticLookups", "kind": "item" } ] }, { "LookupType": "ZCA_CONTACT_TYPE", "LookupCode": "ZCA_PROSPECT", "Meaning": "Prospect", "Description": null, "EnabledFlag": "Y", "StartDateActive": null, "EndDateActive": null, "DisplaySequence": 3, "CreatedBy": "SEED_DATA_FROM_APPLICATION", "CreationDate": "2013-10-24T23:05:27.140+00:00", "LastUpdateDate": "2018-05-16T02:26:14.623+00:00", "LastUpdateLogin": "-1", "LastUpdatedBy": "SEED_DATA_FROM_APPLICATION", "Tag": null, "links": [ { "rel": "self", "href": "https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/fndStaticLookups/0002000000105A43415F434F4E544143545F545950450000000C5A43415F50524F5350454354", "name": "fndStaticLookups", "kind": "item" }, { "rel": "canonical", "href": "https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/fndStaticLookups/0002000000105A43415F434F4E544143545F545950450000000C5A43415F50524F5350454354", "name": "fndStaticLookups", "kind": "item" } ] } ], "count": 3, "hasMore": false, "limit": 25, "offset": 0, "links": [ { "rel": "self", "href": "https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/fndStaticLookups", "name": "fndStaticLookups", "kind": "collection" } ] }
Contacts LOVs
The table lists the LOVs included in the Contacts resource.
Lookup Type | LOV Name and Path | Sample Lookup Codes and Values |
---|---|---|
ZCA_CONTACT_TYPE | SalesProfileTypeLookupLOV
/crmRestApi/resources/11.13.18.05/fndStaticLookups?finder=LookupTypeIsActiveEnabledFinder;BindLookupType=ZCA_CONTACT_TYPE |
|
NA | FiscalYearendMonthLookupLOV
crmRestApi/resources/11.13.18.05/fndCurrencies |
|
HZ_PARTY_CERT_LEVEL | CertificationLevelLookupLOV
/crmRestApi/resources/11.13.18.05/hzLookups?finder=ActiveLookupForTypeFinder;BindLookupType= HZ_PARTY_CERT_LEVEL |
|
HZ_PARTY_CERT_REASON | CertificationReasonCodeLookupLOV
/crmRestApi/resources/11.13.18.05/hzLookups?finder=ActiveLookupForTypeFinder;BindLookupType= HZ_PARTY_CERT_REASON |
|
OWN_RENT_IND | RentOwnIndLookupLOV
/crmRestApi/resources/11.13.18.05/hzLookups?finder=ActiveLookupForTypeFinder;BindLookupType= OWN_RENT_IND |
|
NA | TerritoriesLOV
/crmRestApi/resources/11.13.18.05/fndTerritories |
|
NA | RatedCurrenciesLOV
/crmRestApi/resources/11.13.18.05/ratedCurrencies |
|
DATA_CLOUD_STATUS | DataCloudStatusLookupLOV
/crmRestApi/resources/11.13.18.05/hzLookups?finder=ActiveLookupForTypeFinder;BindLookupType= DATA_CLOUD_STATUS |
|
HZ_STATUS | StatusLOV
/crmRestApi/resources/11.13.18.05/hzLookups?finder=ActiveLookupForTypeFinder;BindLookupType= HZ_STATUS |
|
HZ_PREFERRED_CONTACT_METHOD | PreferredContactMethodLOV
/crmRestApi/resources/11.13.18.05/hzLookups?finder=ActiveLookupForTypeFinder;BindLookupType= HZ_PREFERRED_CONTACT_METHOD |
|
NA | PhoneCountryCodeLOV
/crmRestApi/resources/11.13.18.05/countryCodes |
|
NA | FaxCountryCodeLOV
/crmRestApi/resources/11.13.18.05/countryCodes |
|
HZ_HOUSE_TYPE | HouseTypeLookupLOV
/crmRestApi/resources/11.13.18.05/hzLookups?finder=ActiveLookupForTypeFinder;BindLookupType= HZ_HOUSE_TYPE |
|
ZCA_RESOURCE_FUNCTION | MemberFunctionLOV
/crmRestApi/resources/11.13.18.05/fndStaticLookups?finder=LookupTypeIsActiveEnabledFinder;BindLookupType=ZCA_RESOURCE_FUNCTION |
|
ZCA_ACCESS_LEVEL | AccessLevelLOV
/crmRestApi/resources/11.13.18.05/fndStaticLookups?finder=LookupTypeIsActiveEnabledFinder;BindLookupType= ZCA_ACCESS_LEVEL |
|
HZ_RELATIONSHIP_TYPE | RelationshipTypeLookupLOV
/crmRestApi/resources/11.13.18.05/hzLookups?finder=ActiveLookupForTypeFinder;BindLookupType= HZ_RELATIONSHIP_TYPE |
|
PARTY_RELATIONS_TYPE | RelationshipCodeLookupLOV
/crmRestApi/resources/11.13.18.05/hzLookups?finder=ActiveLookupForTypeFinder;BindLookupType=PARTY_RELATIONS_TYPE |
|
HZ_SLS_CNTCT_INFLUENCE_LVL_CD | InfluenceLevelLookupLOV
/crmRestApi/resources/11.13.18.05/hzLookups?finder=ActiveLookupForTypeFinder;BindLookupType=HZ_SLS_CNTCT_INFLUENCE_LVL_CD |
|