Search

Gets a list of the data sources for your environment.

Use the Data Sources resource to get a list of data sources for your environment.

Syntax

Resource
1baseURI/datamanager/profile-service/apiVersion/globalprofile/search
Availability
v0.1
Formats
REST
HTTP methods
POST

The POST method is used so that the resource returns customer details in a secure way.

Note

Authentication

OAuth

Request parameters
Parameter Description
baseURI

baseURI for the API gateway. Different regions have different values. Call the Global Profile Lookup API lists the values.

For example: na.api-salesforce.com/datamanager/

apiVersion

Version of the API to use. The current version is v0.1.

For example: v0.1

Request headers
x-sfdc-domain
Specifies the instance_url returned in the authentication token.
accept
Specifies the type. For this resource, application/json is required.
authorization
Specifies the authorization token.
Request and Response Bodies
Consult the appropriate version of the Global Profile Lookup RAML Spec.

Example

POST Request by Email
Gets a list of the data sources in my environment.
1curl -X POST \
2https://na.api-salesforce.com/datamanager/profile-service/v0.1/globalProfile/search \
3-H 'Authorization: Bearer 00DS7000000XYJR!AQoAQCoryJToeNGrzqJQ0yAt3liKf0zWzn01z1WrTUXDmULWQ9ah818vHbcMvMOwTPoMm5pJgRLVT1BEQhPeC9P8Xiif.vVv' \
4-H 'Content-Type: application/json' \
5-H 'X-Sfdc-domain: dmorg.salesforce.com' \
6-d '{
7"q": "emailaddress:profile_002@gmail.com"
8}'
POST Request by Phone
Gets a list of the data sources in my environment.
1curl -X POST \
2https://na.api-salesforce.com/datamanager/profile-service/v0.1/globalProfile/search \
3-H 'Authorization: Bearer 00DS7000000XYJR!AQoAQCoryJToeNGrzqJQ0yAt3liKf0zWzn01z1WrTUXDmULWQ9ah818vHbcMvMOwTPoMm5pJgRLVT1BEQhPeC9P8Xiif.vVv' \
4-H 'Content-Type: application/json' \
5-H 'X-Sfdc-domain: dmorg.salesforce.com' \
6-d '{
7"q": "phoneNumber:17656371508"
8}'
POST Request by GPID
Gets a list of the data sources in my environment.
1curl -X POST \
2https://na.api-salesforce.com/datamanager/profile-service/v0.1/globalProfile/search \
3-H 'Authorization: Bearer 00DS7000000XYJR!AQoAQCoryJToeNGrzqJQ0yAt3liKf0zWzn01z1WrTUXDmULWQ9ah818vHbcMvMOwTPoMm5pJgRLVT1BEQhPeC9P8Xiif.vVv' \
4-H 'Content-Type: application/json' \
5-H 'X-Sfdc-domain: dmorg.salesforce.com' \
6-d '{
7"q": "globalPartyId:CRE-creprd000000v3n-gpid-3048b63e-232e-4312-9e56-91b5dc3a12f1"
8}'
POST Response

This response is edited for readability.

1{"results":[{"creTenantId":"creprd000000v3n",
2"globalPartyId":"CRE-creprd000000v3n-gpid-3048b63e-232e-4312-9e56-91b5dc3a12f1",
3"individual":{"globalPartyId":"CRE-creprd000000v3n-gpid-3048b63e-232e-4312-9e56-91b5dc3a12f1",
4"firstName":"Pam",
5"lastName":"Beesly",
6"restrictionOfProcessingRequested":false,
7"forgetThisIndividual":false,
8"contactPoints":[{"contactPointTypeName":"Email",
9"emailContactPoint":{"contactPointBase":{"globalInputIds":["CRE-creprd000000v3n-giid-87f69b61-d2d0-4fe5-aba1-2754f47bfc21",
10"CRE-creprd000000v3n-giid-6eba1fc4-48b4-42c0-a87a-e934f95506b8",
11"CRE-creprd000000v3n-giid-160dde5c-4edb-437e-86af-e1093596776d",
12"CRE-creprd000000v3n-giid-56b549d1-be90-42f3-a15c-eabfb566f310",
13"CRE-creprd000000v3n-giid-7e3a38f8-d27c-4c07-9fef-70664c74b4ed",
14"CRE-creprd000000v3n-giid-b087e795-b550-4fd3-bc05-e46b150e66aa"],
15"contactPointId":"30c8521b-8dc0-4a8b-a0fb-bbcdf024960e",
16"contactPointFirstCreatedDate":1568325520000,
17"contactPointLastUpdatedDate":1598421689195,
18"occurrenceCount":6,
19"forPersonalUse":false,
20"forBusinessUse":false},
21"emailAddress":"pam.beesly@gmail.com",
22"emailMailBox":"pam.beesly",
23"emailDomain":"gmail.com"}},
24{"contactPointTypeName":"Address",
25"addressContactPoint":{"contactPointBase":{"globalInputIds":["CRE-creprd000000v3n-giid-87f69b61-d2d0-4fe5-aba1-2754f47bfc21",
26"CRE-creprd000000v3n-giid-6eba1fc4-48b4-42c0-a87a-e934f95506b8",
27"CRE-creprd000000v3n-giid-160dde5c-4edb-437e-86af-e1093596776d",
28"CRE-creprd000000v3n-giid-7e3a38f8-d27c-4c07-9fef-70664c74b4ed",
29"CRE-creprd000000v3n-giid-b087e795-b550-4fd3-bc05-e46b150e66aa"],
30"contactPointId":"1ff75fc7-ef26-4ae2-aa5b-adbc16e7379a",
31"contactPointFirstCreatedDate":1598421680579,
32"contactPointLastUpdatedDate":1598421689195,
33"occurrenceCount":5,
34"forPersonalUse":false,
35"forBusinessUse":false},
36"addressLine1":"500 Arthur Ave",
37"cityName":"Scranton",
38"postalCode":"PA",
39"stateProvinceCode":"18510",
40"countryName":"United States of America",
41"isBilling":true,
42"isShipping":false}},
43{"contactPointTypeName":"Phone",
44"phoneContactPoint":{"contactPointBase":{"globalInputIds":["CRE-creprd000000v3n-giid-87f69b61-d2d0-4fe5-aba1-2754f47bfc21",
45"CRE-creprd000000v3n-giid-6eba1fc4-48b4-42c0-a87a-e934f95506b8",
46"CRE-creprd000000v3n-giid-160dde5c-4edb-437e-86af-e1093596776d",
47"CRE-creprd000000v3n-giid-7e3a38f8-d27c-4c07-9fef-70664c74b4ed",
48"CRE-creprd000000v3n-giid-b087e795-b550-4fd3-bc05-e46b150e66aa"],
49"contactPointId":"250862be-4ec8-4d3a-b1eb-0ce26cb8ba41",
50"contactPointFirstCreatedDate":1598421680579,
51"contactPointLastUpdatedDate":1598421689195,
52"occurrenceCount":5,
53"forPersonalUse":false,
54"forBusinessUse":false},
55"phoneCountryCode":"1",
56"telephoneNumber":"570-348-4186",
57"formattedInternationalPhoneNumber":"+1 570-348-4186",
58"formattedE164PhoneNumber":"+15703484186",
59"formattedNationalPhoneNumber":"(570) 348-4186",
60"phoneType":"Other",
61"isSMSCapable":false,
62"isFaxCapable":false}}]},
63"auditRecords":[{"activeFromDate":1598421686128,
64"activeToDate":253402214400000,
65"dataSourceLineage":[{"lineageType":"InputRecord",
66"lineageTypeId":"CRE-creprd000000v3n-giid-87f69b61-d2d0-4fe5-aba1-2754f47bfc21",
67"dataSourceName":"myorg",
68"tenantName":"myorg",
69"tenantId":"bbkhdev",
70"sourceObjectName":"order",
71"sourceRecordID":"eyJvcmRlck5vIjoiMDAwMDAwMDYiLCJzaXRlSWQiOiJTaXRlR2VuZXNpcyJ9",
72"createdDate":1598421686128,
73"lineageStatus":"Active",
74"lineageEndDateTime":253402214400000}]},
75{"activeFromDate":1598421687065,
76"activeToDate":253402214400000,
77"dataSourceLineage":[{"lineageType":"InputRecord",
78"lineageTypeId":"CRE-creprd000000v3n-giid-6eba1fc4-48b4-42c0-a87a-e934f95506b8",
79"dataSourceName":"myorg",
80"tenantName":"myorg",
81"tenantId":"bbkhdev",
82"sourceObjectName":"order",
83"sourceRecordID":"eyJvcmRlck5vIjoiMDAwMDAwMDMiLCJzaXRlSWQiOiJTaXRlR2VuZXNpcyJ9",
84"createdDate":1598421687065,
85"lineageStatus":"Active",
86"lineageEndDateTime":253402214400000}]},
87{"activeFromDate":1598421688682,
88"activeToDate":253402214400000,
89"dataSourceLineage":[{"lineageType":"InputRecord",
90"lineageTypeId":"CRE-creprd000000v3n-giid-160dde5c-4edb-437e-86af-e1093596776d",
91"dataSourceName":"myorg",
92"tenantName":"myorg",
93"tenantId":"bbkhdev",
94"sourceObjectName":"order",
95"sourceRecordID":"eyJvcmRlck5vIjoiMDAwMDAwMDIiLCJzaXRlSWQiOiJTaXRlR2VuZXNpcyJ9",
96"createdDate":1598421688682,
97"lineageStatus":"Active",
98"lineageEndDateTime":253402214400000}]},
99{"activeFromDate":1587857673940,
100"activeToDate":253402214400000,
101"dataSourceLineage":[{"lineageType":"InputRecord",
102"lineageTypeId":"CRE-creprd000000v3n-giid-56b549d1-be90-42f3-a15c-eabfb566f310",
103"dataSourceName":"myorg",
104"tenantName":"myorg",
105"tenantId":"bbkhdev",
106"sourceObjectName":"customer",
107"sourceRecordID":"eyJjdXN0b21lckxpc3RJZCI6IlNpdGVHZW5lc2lzIiwiY3VzdG9tZXJObyI6IjAwMDAwMDAxIn0=",
108"createdDate":1587857673940,
109"lineageStatus":"Active",
110"lineageEndDateTime":253402214400000}]},
111{"activeFromDate":1598421689196,
112"activeToDate":253402214400000,
113"dataSourceLineage":[{"lineageType":"InputRecord",
114"lineageTypeId":"CRE-creprd000000v3n-giid-7e3a38f8-d27c-4c07-9fef-70664c74b4ed",
115"dataSourceName":"myorg",
116"tenantName":"myorg",
117"tenantId":"bbkhdev",
118"sourceObjectName":"order",
119"sourceRecordID":"eyJvcmRlck5vIjoiMDAwMDAwMDEiLCJzaXRlSWQiOiJTaXRlR2VuZXNpcyJ9",
120"createdDate":1598421689196,
121"lineageStatus":"Active",
122"lineageEndDateTime":253402214400000}]},
123{"activeFromDate":1598421680632,
124"activeToDate":253402214400000,
125"dataSourceLineage":[{"lineageType":"InputRecord",
126"lineageTypeId":"CRE-creprd000000v3n-giid-b087e795-b550-4fd3-bc05-e46b150e66aa",
127"dataSourceName":"myorg",
128"tenantName":"myorg",
129"tenantId":"bbkhdev",
130"sourceObjectName":"order",
131"sourceRecordID":"eyJvcmRlck5vIjoiMDAwMDAxMDEiLCJzaXRlSWQiOiJTaXRlR2VuZXNpcyJ9",
132"createdDate":1598421680632,
133"lineageStatus":"Active",
134"lineageEndDateTime":253402214400000}]}],
135"createDate":1598421735398,
136"updateDate":1598421735398,
137"status":"Active",
138"numContactPoints":3,
139"numPartyIdentifiers":0,
140"numDataSources":6}],
141"responseMetadata":{"totalCount":1,
142"responseCount":1}}