Contacts
Contacts represent the resource associated with mobile users or contacts acquired via Experiences.
Example of a Contact object
The Contact object may differ depending on the specific API. You can explore the Contact object in the definition of each API endpoint.
1
{
2
"cid":"string",
3
"title":"string",
4
"firstName":"string",
5
"lastName":"string",
6
"gender":"string",
7
"birthDate":"string",
8
"birthDay":"string",
9
"age":"string",
10
"country":"string",
11
"zipCode":"string",
12
"created":"string",
13
"modified":"string",
14
"email":"string",
15
"emailVerified":true,
16
"phone":"string",
17
"phoneVerified":true,
18
"signupMethod":"string",
19
"externalIdentityId":"string",
20
"username":"string",
21
"locked":true,
22
"organizationCid":"string",
23
"locationCid":"string",
24
"system":"string",
25
"enabled":true,
26
"type":"string",
27
"locationName":"string",
28
"personalId":"string",
29
"externalSource":"string",
30
"lastLogin":"string",
31
"segmentCids":"string",
32
"logins":0,
33
"policies":[
34
{
35
"name":"string",
36
"accepted":true
37
}
38
],
39
"segments":[
40
{
41
"cid":"string",
42
"name":"string"
43
}
44
],
45
"extId":{
46
"id":"string",
47
"prop1":"string",
48
"prop2":"string"
49
},
50
"metrics":{
51
"frequencyMonthlyVisit":0,
52
"compassTopLocation":"string",
53
"compassTopLocationCount":0,
54
"topFrequencyBuckets":"string",
55
"lastVisitVenue":"string",
56
"prefVisitWDay":"string",
57
"lastVisitDateUtc":"string",
58
"avgVisitLength":0,
59
"countVisitedLocations":0,
60
"prefVisitTimebucket":"string",
61
"prefVisitTimeHour":"string",
62
"lastVisitDateBusiness":"string",
63
"countTotalVisits":0,
64
"conversionRate":0,
65
"avgDaysBetweenVisits":0
66
}
67
}
Copied!

Endpoints

get
https://explore.cloud4wi.com/
/v2/customers/organizations/{cid}
List all the Contacts of an organization matching the search parameters
get
https://explore.cloud4wi.com/
/v2/customers/{cid}
Get a Contact
get
https://explore.cloud4wi.com/
/v2/customers/{cid}/events
List location Events of a Contact
get
https://explore.cloud4wi.com/
/v2/customers/{cid}/devices
List all devices of a Contact
put
https://explore.cloud4wi.com/
/v1/customers/{cid}/policies
Update the opt-ins of a Contact
delete
https://explore.cloud4wi.com/
/v1/customers/{cid}
Delete a Contact
get
https://explore.cloud4wi.com/
/v2/customers/{cid}/accountings
List all WiFi Connections of a Contact