Download OpenAPI specification:Download
Visitor API is the service that handle all data related to Westfield visitors.
Retrieve a list of services
| offset | integer <int64> >= 1 Skip given number of records |
| limit | integer <int64> [ 1 .. 500 ] Default: 25 Limit number of records |
| sort | string Example: sort=-creationDate,-updateDate Sort records by |
| fields | string Example: fields=foo,bar List of fields to return |
| pcCode | string PC Code |
| endDateSince | string <date-time> endDateSince |
| endDateUntil | string <date-time> endDateUntil |
{- "data": [
- {
- "serviceId": 0,
- "isPremium": true,
- "name": "string",
- "category": "string",
- "colorCode": "string",
- "useRate": "string",
- "daysOfUse": [
- 0
], - "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z",
- "undeletable": true,
- "pcCode": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z",
- "stores": [
- {
- "serviceStoreId": 0,
- "serviceId": 0,
- "storeId": 0,
- "storeName": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
}
], - "targets": [
- {
- "serviceTargetId": 0,
- "value": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
}
], - "themes": [
- {
- "serviceThemeId": 0,
- "category": "event",
- "value": "string",
- "deprecated": true,
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
}
], - "segments": [
- {
- "serviceSegmentId": 0,
- "serviceId": 0,
- "segmentId": 0,
- "segmentName": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
}
], - "checkinCount": 0
}
], - "metadata": {
- "version": 1,
- "_links": {
}
}
}Create a Service
Create a service
| pcCode required | string (PcCode) |
| name required | string |
| category required | string |
| useRate required | string |
| daysOfUse required | Array of integers |
| colorCode required | string |
| isPremium | boolean |
| undeletable | boolean |
| startDate | string or null <date-time> |
| endDate | string or null <date-time> |
{- "pcCode": "FR-SC-123",
- "name": "La Bonne Excuse",
- "category": "La Bonne Excuse",
- "useRate": "La Bonne Excuse",
- "daysOfUse": [
- 0
], - "colorCode": "#FFFFFF",
- "isPremium": true,
- "undeletable": true,
- "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z"
}{- "data": {
- "serviceId": 0,
- "isPremium": true,
- "name": "string",
- "category": "string",
- "colorCode": "string",
- "useRate": "string",
- "daysOfUse": [
- 0
], - "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z",
- "undeletable": true,
- "pcCode": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z",
- "stores": [
- {
- "serviceStoreId": 0,
- "serviceId": 0,
- "storeId": 0,
- "storeName": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
}
], - "targets": [
- {
- "serviceTargetId": 0,
- "value": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
}
], - "themes": [
- {
- "serviceThemeId": 0,
- "category": "event",
- "value": "string",
- "deprecated": true,
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
}
], - "segments": [
- {
- "serviceSegmentId": 0,
- "serviceId": 0,
- "segmentId": 0,
- "segmentName": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
}
], - "checkinCount": 0
},
}Retrieve a Service
| serviceId required | integer serviceId |
| fields | string Example: fields=foo,bar List of fields to return |
{- "data": {
- "serviceId": 0,
- "isPremium": true,
- "name": "string",
- "category": "string",
- "colorCode": "string",
- "useRate": "string",
- "daysOfUse": [
- 0
], - "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z",
- "undeletable": true,
- "pcCode": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z",
- "stores": [
- {
- "serviceStoreId": 0,
- "serviceId": 0,
- "storeId": 0,
- "storeName": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
}
], - "targets": [
- {
- "serviceTargetId": 0,
- "value": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
}
], - "themes": [
- {
- "serviceThemeId": 0,
- "category": "event",
- "value": "string",
- "deprecated": true,
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
}
], - "segments": [
- {
- "serviceSegmentId": 0,
- "serviceId": 0,
- "segmentId": 0,
- "segmentName": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
}
], - "checkinCount": 0
},
}Update a Service
| serviceId required | integer serviceId |
Update a Service
| pcCode | string (PcCode) |
| name | string |
| category | string |
| useRate | string |
| daysOfUse | Array of integers |
| colorCode | string |
| isPremium | boolean |
| undeletable | boolean |
| startDate | string or null <date-time> |
| endDate | string or null <date-time> |
{- "pcCode": "FR-SC-123",
- "name": "La Bonne Excuse",
- "category": "La Bonne Excuse",
- "useRate": "La Bonne Excuse",
- "daysOfUse": [
- 0
], - "colorCode": "#FFFFFF",
- "isPremium": true,
- "undeletable": true,
- "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z"
}{- "errors": [
- {
- "code": "string",
- "type": "string",
- "field": "string",
- "message": "string"
}
]
}Retrieve a list of stores for a Service
| serviceId required | integer serviceId |
| offset | integer <int64> >= 1 Skip given number of records |
| limit | integer <int64> [ 1 .. 500 ] Default: 25 Limit number of records |
| sort | string Example: sort=-creationDate,-updateDate Sort records by |
| fields | string Example: fields=foo,bar List of fields to return |
{- "data": [
- {
- "serviceStoreId": 0,
- "serviceId": 0,
- "storeId": 0,
- "storeName": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
}
], - "metadata": {
- "version": 1,
- "_links": {
}
}
}Add a store to a service
| serviceId required | integer serviceId |
Add a store to a service
| storeId required | integer |
| storeName required | string |
{- "storeId": 0,
- "storeName": "string"
}{- "data": {
- "serviceStoreId": 0,
- "serviceId": 0,
- "storeId": 0,
- "storeName": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
},
}Delete Service Store
| serviceId required | integer serviceId |
| storeId required | integer store_id |
{- "errors": [
- {
- "code": "string",
- "type": "string",
- "field": "string",
- "message": "string"
}
]
}Retrieve a list of segments for a Service
| serviceId required | integer serviceId |
| offset | integer <int64> >= 1 Skip given number of records |
| limit | integer <int64> [ 1 .. 500 ] Default: 25 Limit number of records |
| sort | string Example: sort=-creationDate,-updateDate Sort records by |
| fields | string Example: fields=foo,bar List of fields to return |
{- "data": [
- {
- "serviceSegmentId": 0,
- "serviceId": 0,
- "segmentId": 0,
- "segmentName": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
}
], - "metadata": {
- "version": 1,
- "_links": {
}
}
}Add a segment to a service
| serviceId required | integer serviceId |
Add a segment to a service
| segmentId required | integer |
| segmentName required | string |
{- "segmentId": 0,
- "segmentName": "string"
}{- "data": {
- "serviceSegmentId": 0,
- "serviceId": 0,
- "segmentId": 0,
- "segmentName": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
},
}Delete Service Segment
| serviceId required | integer serviceId |
| segmentId required | integer segment_id |
{- "errors": [
- {
- "code": "string",
- "type": "string",
- "field": "string",
- "message": "string"
}
]
}Retrieve a list of a Service's themes
| serviceId required | integer serviceId |
| offset | integer <int64> >= 1 Skip given number of records |
| limit | integer <int64> [ 1 .. 500 ] Default: 25 Limit number of records |
| sort | string Example: sort=-creationDate,-updateDate Sort records by |
| fields | string Example: fields=foo,bar List of fields to return |
{- "data": [
- {
- "serviceServiceThemeId": 0,
- "serviceId": 0,
- "serviceThemeId": 0,
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z",
- "serviceTheme": {
- "serviceThemeId": 0,
- "category": "event",
- "value": "string",
- "deprecated": true,
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
}
}
], - "metadata": {
- "version": 1,
- "_links": {
}
}
}Add a theme to a service
| serviceId required | integer serviceId |
Add a theme to a service
| serviceThemeId required | integer |
{- "serviceThemeId": 117
}{- "data": {
- "serviceServiceThemeId": 0,
- "serviceId": 0,
- "serviceThemeId": 0,
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z",
- "serviceTheme": {
- "serviceThemeId": 0,
- "category": "event",
- "value": "string",
- "deprecated": true,
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
}
},
}Update a Service Theme
| serviceThemeId required | integer service_theme_id |
Update a Service Theme
| value | string |
| category | string (ThemeCategory) Enum: "event" "service" |
| deprecated | boolean |
{- "value": "La Bonne Excuse",
- "category": "event",
- "deprecated": true
}{- "errors": [
- {
- "code": "string",
- "type": "string",
- "field": "string",
- "message": "string"
}
]
}Delete Service Theme
| serviceId required | integer serviceId |
| serviceThemeId required | integer service_theme_id |
{- "errors": [
- {
- "code": "string",
- "type": "string",
- "field": "string",
- "message": "string"
}
]
}Retrieve a list of a Service's targets
| serviceId required | integer serviceId |
| offset | integer <int64> >= 1 Skip given number of records |
| limit | integer <int64> [ 1 .. 500 ] Default: 25 Limit number of records |
| sort | string Example: sort=-creationDate,-updateDate Sort records by |
| fields | string Example: fields=foo,bar List of fields to return |
{- "data": [
- {
- "serviceServiceTargetId": 0,
- "serviceTargetId": 0,
- "serviceId": 0,
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z",
- "serviceTarget": {
- "serviceTargetId": 0,
- "value": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
}
}
], - "metadata": {
- "version": 1,
- "_links": {
}
}
}Add a target to a service
| serviceId required | integer serviceId |
Add a target to a service
| serviceTargetId required | integer |
{- "serviceTargetId": 117
}{- "data": {
- "serviceServiceTargetId": 0,
- "serviceTargetId": 0,
- "serviceId": 0,
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z",
- "serviceTarget": {
- "serviceTargetId": 0,
- "value": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
}
},
}Update a Service Target
| serviceTargetId required | integer service_target_id |
Update a Service Target
| value | string |
{- "value": "La Bonne Excuse"
}{- "errors": [
- {
- "code": "string",
- "type": "string",
- "field": "string",
- "message": "string"
}
]
}Delete Service Target
| serviceId required | integer serviceId |
| serviceTargetId required | integer service_target_id |
{- "errors": [
- {
- "code": "string",
- "type": "string",
- "field": "string",
- "message": "string"
}
]
}Add a theme to a service
Add a theme to a service
| value required | string |
| category required | string (ThemeCategory) Enum: "event" "service" |
| deprecated | boolean |
{- "value": "La Bonne Excuse",
- "category": "event",
- "deprecated": true
}{- "data": {
- "serviceThemeId": 0,
- "category": "event",
- "value": "string",
- "deprecated": true,
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
},
}Retrieve a list of all Service Themes
| offset | integer <int64> >= 1 Skip given number of records |
| limit | integer <int64> [ 1 .. 500 ] Default: 25 Limit number of records |
| sort | string Example: sort=-creationDate,-updateDate Sort records by |
| fields | string Example: fields=foo,bar List of fields to return |
{- "data": [
- {
- "serviceThemeId": 0,
- "category": "event",
- "value": "string",
- "deprecated": true,
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
}
], - "metadata": {
- "version": 1,
- "_links": {
}
}
}Add a target to a service
Add a target to a service
| value required | string |
{- "value": "La Bonne Excuse"
}{- "data": {
- "serviceTargetId": 0,
- "value": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
},
}Retrieve a list of all Service Targets
| offset | integer <int64> >= 1 Skip given number of records |
| limit | integer <int64> [ 1 .. 500 ] Default: 25 Limit number of records |
| sort | string Example: sort=-creationDate,-updateDate Sort records by |
| fields | string Example: fields=foo,bar List of fields to return |
{- "data": [
- {
- "serviceTargetId": 0,
- "value": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
}
], - "metadata": {
- "version": 1,
- "_links": {
}
}
}Add a new visitor
Create a new visitor
| lastVisitDate | string <date-time> |
| addressCity | string or null |
| addressStreet | string or null |
| addressState | string or null |
| lastName required | string |
| firstName required | string |
| email required | string <email> |
| gender required | string Enum: "m" "f" "u" |
| phone | string or null |
| mobileLocale | string or null |
| addressZipCode | string or null |
| timezone | string or null |
| billingAddress | string or null |
| billingAddress2 | string or null |
| billingZipCode | string or null |
| billingCity | string or null |
| billingCountryCode | string (CountryCodeEnumNullable) Enum: null "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AO" "AQ" "AR" "AS" "AT" "AU" "AW" "AX" "AZ" "BA" "BB" "BD" "BE" "BF" "BG" "BH" "BI" "BJ" "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AO" "AQ" "AR" "AS" "AT" "AU" "AW" "AX" "AZ" "BA" "BB" "BD" "BE" "BF" "BG" "BH" "BI" "BJ" "BL" "BM" "BN" "BO" "BQ" "BR" "BS" "BT" "BV" "BW" "BY" "BZ" "CA" "CC" "CD" "CF" "CG" "CH" "CI" "CK" "CL" "CM" "CN" "CO" "CR" "CU" "CV" "CW" "CX" "CY" "CZ" "DE" "DJ" "DK" "DM" "DO" "DZ" "EC" "EE" "EG" "EH" "ER" "ES" "ET" "FI" "FJ" "FK" "FM" "FO" "FR" "GA" "GB" "GD" "GE" "GF" "GG" "GH" "GI" "GL" "GM" "GN" "GP" "GQ" "GR" "GS" "GT" "GU" "GW" "GY" "HK" "HM" "HN" "HR" "HT" "HU" "ID" "IE" "IL" "IM" "IN" "IO" "IQ" "IR" "IS" "IT" "JE" "JM" "JO" "JP" "KE" "KG" "KH" "KI" "KM" "KN" "KP" "KR" "KW" "KY" "KZ" "LA" "LB" "LC" "LI" "LK" "LR" "LS" "LT" "LU" "LV" "LY" "MA" "MC" "MD" "ME" "MF" "MG" "MH" "MK" "ML" "MM" "MN" "MO" "MP" "MQ" "MR" "MS" "MT" "MU" "MV" "MW" "MX" "MY" "MZ" "NA" "NC" "NE" "NF" "NG" "NI" "NL" "NO" "NP" "NR" "NU" "NZ" "OM" "PA" "PE" "PF" "PG" "PH" "PK" "PL" "PM" "PN" "PR" "PS" "PT" "PW" "PY" "QA" "RE" "RO" "RS" "RU" "RW" "SA" "SB" "SC" "SD" "SE" "SG" "SH" "SI" "SJ" "SK" "SL" "SM" "SN" "SO" "SR" "SS" "ST" "SV" "SX" "SY" "SZ" "TC" "TD" "TF" "TG" "TH" "TJ" "TK" "TL" "TM" "TN" "TO" "TR" "TT" "TV" "TW" "TZ" "UA" "UG" "UM" "US" "UY" "UZ" "VA" "VC" "VE" "VG" "VI" "VN" "VU" "WF" "WS" "YE" "YT" "ZA" "ZM" "ZW" |
| acquisitionPcCode required | string (PcCode) |
| emailVerified | boolean |
| emailInvalid | boolean |
| phoneVerified | boolean |
| phoneInvalid | boolean |
| countryCode required | string (CountryCodeEnum) Enum: "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AO" "AQ" "AR" "AS" "AT" "AU" "AW" "AX" "AZ" "BA" "BB" "BD" "BE" "BF" "BG" "BH" "BI" "BJ" "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AO" "AQ" "AR" "AS" "AT" "AU" "AW" "AX" "AZ" "BA" "BB" "BD" "BE" "BF" "BG" "BH" "BI" "BJ" "BL" "BM" "BN" "BO" "BQ" "BR" "BS" "BT" "BV" "BW" "BY" "BZ" "CA" "CC" "CD" "CF" "CG" "CH" "CI" "CK" "CL" "CM" "CN" "CO" "CR" "CU" "CV" "CW" "CX" "CY" "CZ" "DE" "DJ" "DK" "DM" "DO" "DZ" "EC" "EE" "EG" "EH" "ER" "ES" "ET" "FI" "FJ" "FK" "FM" "FO" "FR" "GA" "GB" "GD" "GE" "GF" "GG" "GH" "GI" "GL" "GM" "GN" "GP" "GQ" "GR" "GS" "GT" "GU" "GW" "GY" "HK" "HM" "HN" "HR" "HT" "HU" "ID" "IE" "IL" "IM" "IN" "IO" "IQ" "IR" "IS" "IT" "JE" "JM" "JO" "JP" "KE" "KG" "KH" "KI" "KM" "KN" "KP" "KR" "KW" "KY" "KZ" "LA" "LB" "LC" "LI" "LK" "LR" "LS" "LT" "LU" "LV" "LY" "MA" "MC" "MD" "ME" "MF" "MG" "MH" "MK" "ML" "MM" "MN" "MO" "MP" "MQ" "MR" "MS" "MT" "MU" "MV" "MW" "MX" "MY" "MZ" "NA" "NC" "NE" "NF" "NG" "NI" "NL" "NO" "NP" "NR" "NU" "NZ" "OM" "PA" "PE" "PF" "PG" "PH" "PK" "PL" "PM" "PN" "PR" "PS" "PT" "PW" "PY" "QA" "RE" "RO" "RS" "RU" "RW" "SA" "SB" "SC" "SD" "SE" "SG" "SH" "SI" "SJ" "SK" "SL" "SM" "SN" "SO" "SR" "SS" "ST" "SV" "SX" "SY" "SZ" "TC" "TD" "TF" "TG" "TH" "TJ" "TK" "TL" "TM" "TN" "TO" "TR" "TT" "TV" "TW" "TZ" "UA" "UG" "UM" "US" "UY" "UZ" "VA" "VC" "VE" "VG" "VI" "VN" "VU" "WF" "WS" "YE" "YT" "ZA" "ZM" "ZW" |
| birthDay | integer [ 1 .. 31 ] |
| birthMonth | integer [ 1 .. 12 ] |
| birthYear | integer |
required | Array of objects (OptinPostRequestBody) |
{- "lastVisitDate": "2017-07-24T17:32:28.000Z",
- "addressCity": "Paris",
- "addressStreet": "3 rue de Paris",
- "addressState": "Texas",
- "lastName": "Smith",
- "firstName": "John",
- "email": "tom@jerry.com",
- "gender": "m",
- "phone": "33631573042",
- "mobileLocale": "FR",
- "addressZipCode": "75000",
- "timezone": "Europe/Paris",
- "billingAddress": "123 Billing St",
- "billingAddress2": "Apt 4B",
- "billingZipCode": "12345",
- "billingCity": "Billing City",
- "billingCountryCode": "FR",
- "acquisitionPcCode": "FR-SC-123",
- "emailVerified": true,
- "emailInvalid": true,
- "phoneVerified": true,
- "phoneInvalid": true,
- "countryCode": "FR",
- "birthDay": 31,
- "birthMonth": 8,
- "birthYear": 1998,
- "optins": [
- {
- "clientId": "string",
- "sendId": "string",
- "optinChannel": "sms",
- "optinType": "commercial",
- "legalTextId": 0,
- "isActive": true,
- "lastOpenedDate": "2019-08-24T14:15:22Z",
- "contextId": 0
}
]
}{- "data": {
- "lastVisitDate": "2017-07-24T17:32:28.000Z",
- "addressCity": "Paris",
- "addressStreet": "3 rue de Paris",
- "addressState": "Texas",
- "lastName": "Smith",
- "firstName": "John",
- "email": "tom@jerry.com",
- "gender": "m",
- "phone": "33631573042",
- "mobileLocale": "FR",
- "addressZipCode": "75000",
- "timezone": "Europe/Paris",
- "billingAddress": "123 Billing St",
- "billingAddress2": "Apt 4B",
- "billingZipCode": "12345",
- "billingCity": "Billing City",
- "billingCountryCode": "FR",
- "acquisitionPcCode": "FR-SC-123",
- "emailVerified": true,
- "emailInvalid": true,
- "phoneVerified": true,
- "phoneInvalid": true,
- "countryCode": "FR",
- "birthDay": 31,
- "birthMonth": 8,
- "birthYear": 1998,
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z",
- "accountType": "full",
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5",
- "registrationDate": "2019-08-24T14:15:22Z",
- "barcode": "string",
- "originType": "connect",
- "origin": "qualifio",
- "upgradePcCode": "FR-SC-123"
},
}List visitors
| offset | integer <int64> >= 1 Skip given number of records |
| limit | integer <int64> [ 1 .. 500 ] Default: 25 Limit number of records |
| sort | string Example: sort=-creationDate,-updateDate Sort records by |
| fields | string Example: fields=foo,bar List of fields to return |
| countryCode | string (CountryCodeEnum) Enum: "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AO" "AQ" "AR" "AS" "AT" "AU" "AW" "AX" "AZ" "BA" "BB" "BD" "BE" "BF" "BG" "BH" "BI" "BJ" "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AO" "AQ" "AR" "AS" "AT" "AU" "AW" "AX" "AZ" "BA" "BB" "BD" "BE" "BF" "BG" "BH" "BI" "BJ" "BL" "BM" "BN" "BO" "BQ" "BR" "BS" "BT" "BV" "BW" "BY" "BZ" "CA" "CC" "CD" "CF" "CG" "CH" "CI" "CK" "CL" "CM" "CN" "CO" "CR" "CU" "CV" "CW" "CX" "CY" "CZ" "DE" "DJ" "DK" "DM" "DO" "DZ" "EC" "EE" "EG" "EH" "ER" "ES" "ET" "FI" "FJ" "FK" "FM" "FO" "FR" "GA" "GB" "GD" "GE" "GF" "GG" "GH" "GI" "GL" "GM" "GN" "GP" "GQ" "GR" "GS" "GT" "GU" "GW" "GY" "HK" "HM" "HN" "HR" "HT" "HU" "ID" "IE" "IL" "IM" "IN" "IO" "IQ" "IR" "IS" "IT" "JE" "JM" "JO" "JP" "KE" "KG" "KH" "KI" "KM" "KN" "KP" "KR" "KW" "KY" "KZ" "LA" "LB" "LC" "LI" "LK" "LR" "LS" "LT" "LU" "LV" "LY" "MA" "MC" "MD" "ME" "MF" "MG" "MH" "MK" "ML" "MM" "MN" "MO" "MP" "MQ" "MR" "MS" "MT" "MU" "MV" "MW" "MX" "MY" "MZ" "NA" "NC" "NE" "NF" "NG" "NI" "NL" "NO" "NP" "NR" "NU" "NZ" "OM" "PA" "PE" "PF" "PG" "PH" "PK" "PL" "PM" "PN" "PR" "PS" "PT" "PW" "PY" "QA" "RE" "RO" "RS" "RU" "RW" "SA" "SB" "SC" "SD" "SE" "SG" "SH" "SI" "SJ" "SK" "SL" "SM" "SN" "SO" "SR" "SS" "ST" "SV" "SX" "SY" "SZ" "TC" "TD" "TF" "TG" "TH" "TJ" "TK" "TL" "TM" "TN" "TO" "TR" "TT" "TV" "TW" "TZ" "UA" "UG" "UM" "US" "UY" "UZ" "VA" "VC" "VE" "VG" "VI" "VN" "VU" "WF" "WS" "YE" "YT" "ZA" "ZM" "ZW" Example: countryCode=FR Country code |
| barcode | string Example: barcode=123456789123 |
string <email> | |
| acquisitionPcCode | string (PcCode) Example: acquisitionPcCode=FR-SC-123 |
| accountType | string Enum: "full" "partial" |
| originType | string Example: originType=connect |
| isSmartparker | boolean |
| updatedSince | string <date-time> |
| createdSince | string <date-time> |
| query | string |
| queryBy | string Enum: "email" "firstName" "lastName" "licensePlate" "externalId" "fullname" |
{- "data": [
- {
- "lastVisitDate": "2017-07-24T17:32:28.000Z",
- "addressCity": "Paris",
- "addressStreet": "3 rue de Paris",
- "addressState": "Texas",
- "lastName": "Smith",
- "firstName": "John",
- "email": "tom@jerry.com",
- "gender": "m",
- "phone": "33631573042",
- "mobileLocale": "FR",
- "addressZipCode": "75000",
- "timezone": "Europe/Paris",
- "billingAddress": "123 Billing St",
- "billingAddress2": "Apt 4B",
- "billingZipCode": "12345",
- "billingCity": "Billing City",
- "billingCountryCode": "FR",
- "acquisitionPcCode": "FR-SC-123",
- "emailVerified": true,
- "emailInvalid": true,
- "phoneVerified": true,
- "phoneInvalid": true,
- "countryCode": "FR",
- "birthDay": 31,
- "birthMonth": 8,
- "birthYear": 1998,
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z",
- "accountType": "full",
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5",
- "registrationDate": "2019-08-24T14:15:22Z",
- "barcode": "string",
- "originType": "connect",
- "origin": "qualifio",
- "upgradePcCode": "FR-SC-123"
}
], - "metadata": {
- "version": 1,
- "_links": {
}
}
}Update the emailInvalid, phoneInvalide for batch of visitors
| visitorId required | string |
| emailInvalid | boolean |
| phoneInvalid | boolean |
[- {
- "visitorId": "e85a9991-1fa1-a01e-1a34-8be4b75882eb",
- "emailInvalid": true,
- "phoneInvalid": false
}
]{- "data": [
- {
- "visitorId": "e85a9991-1fa1-a01e-1a34-8be4b75882eb",
- "emailInvalid": true,
- "phoneInvalid": false
}
], - "metadata": {
- "version": 1,
- "_links": {
}
}
}Add a new partial visitor
Create a new partial visitor
| lastName | string or null |
| firstName required | string |
| email required | string <email> |
| gender | string or null Enum: "m" "f" "u" |
| phone | string or null |
| mobileLocale | string or null |
| timezone | string or null |
| countryCode required | string (CountryCodeEnum) Enum: "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AO" "AQ" "AR" "AS" "AT" "AU" "AW" "AX" "AZ" "BA" "BB" "BD" "BE" "BF" "BG" "BH" "BI" "BJ" "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AO" "AQ" "AR" "AS" "AT" "AU" "AW" "AX" "AZ" "BA" "BB" "BD" "BE" "BF" "BG" "BH" "BI" "BJ" "BL" "BM" "BN" "BO" "BQ" "BR" "BS" "BT" "BV" "BW" "BY" "BZ" "CA" "CC" "CD" "CF" "CG" "CH" "CI" "CK" "CL" "CM" "CN" "CO" "CR" "CU" "CV" "CW" "CX" "CY" "CZ" "DE" "DJ" "DK" "DM" "DO" "DZ" "EC" "EE" "EG" "EH" "ER" "ES" "ET" "FI" "FJ" "FK" "FM" "FO" "FR" "GA" "GB" "GD" "GE" "GF" "GG" "GH" "GI" "GL" "GM" "GN" "GP" "GQ" "GR" "GS" "GT" "GU" "GW" "GY" "HK" "HM" "HN" "HR" "HT" "HU" "ID" "IE" "IL" "IM" "IN" "IO" "IQ" "IR" "IS" "IT" "JE" "JM" "JO" "JP" "KE" "KG" "KH" "KI" "KM" "KN" "KP" "KR" "KW" "KY" "KZ" "LA" "LB" "LC" "LI" "LK" "LR" "LS" "LT" "LU" "LV" "LY" "MA" "MC" "MD" "ME" "MF" "MG" "MH" "MK" "ML" "MM" "MN" "MO" "MP" "MQ" "MR" "MS" "MT" "MU" "MV" "MW" "MX" "MY" "MZ" "NA" "NC" "NE" "NF" "NG" "NI" "NL" "NO" "NP" "NR" "NU" "NZ" "OM" "PA" "PE" "PF" "PG" "PH" "PK" "PL" "PM" "PN" "PR" "PS" "PT" "PW" "PY" "QA" "RE" "RO" "RS" "RU" "RW" "SA" "SB" "SC" "SD" "SE" "SG" "SH" "SI" "SJ" "SK" "SL" "SM" "SN" "SO" "SR" "SS" "ST" "SV" "SX" "SY" "SZ" "TC" "TD" "TF" "TG" "TH" "TJ" "TK" "TL" "TM" "TN" "TO" "TR" "TT" "TV" "TW" "TZ" "UA" "UG" "UM" "US" "UY" "UZ" "VA" "VC" "VE" "VG" "VI" "VN" "VU" "WF" "WS" "YE" "YT" "ZA" "ZM" "ZW" |
| preferredCenter required | string |
required | Array of objects (OptinPostRequestBody) |
{- "lastName": "Smith",
- "firstName": "John",
- "email": "tom@jerry.com",
- "gender": "m",
- "phone": "33631573042",
- "mobileLocale": "FR",
- "timezone": "Europe/Paris",
- "countryCode": "FR",
- "preferredCenter": "string",
- "optins": [
- {
- "clientId": "string",
- "sendId": "string",
- "optinChannel": "sms",
- "optinType": "commercial",
- "legalTextId": 0,
- "isActive": true,
- "lastOpenedDate": "2019-08-24T14:15:22Z",
- "contextId": 0
}
]
}{- "data": {
- "lastVisitDate": "2017-07-24T17:32:28.000Z",
- "addressCity": "Paris",
- "addressStreet": "3 rue de Paris",
- "addressState": "Texas",
- "lastName": "Smith",
- "firstName": "John",
- "email": "tom@jerry.com",
- "gender": "m",
- "phone": "33631573042",
- "mobileLocale": "FR",
- "addressZipCode": "75000",
- "timezone": "Europe/Paris",
- "billingAddress": "123 Billing St",
- "billingAddress2": "Apt 4B",
- "billingZipCode": "12345",
- "billingCity": "Billing City",
- "billingCountryCode": "FR",
- "acquisitionPcCode": "FR-SC-123",
- "emailVerified": true,
- "emailInvalid": true,
- "phoneVerified": true,
- "phoneInvalid": true,
- "countryCode": "FR",
- "birthDay": 31,
- "birthMonth": 8,
- "birthYear": 1998,
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z",
- "accountType": "full",
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5",
- "registrationDate": "2019-08-24T14:15:22Z",
- "barcode": "string",
- "originType": "connect",
- "origin": "qualifio",
- "upgradePcCode": "FR-SC-123"
},
}Read visitors details
| offset | integer <int64> >= 1 Skip given number of records |
| limit | integer <int64> [ 1 .. 500 ] Default: 25 Limit number of records |
| sort | string Example: sort=-creationDate,-updateDate Sort records by |
| visitorId | string <uuid> Id of visitor |
| creationDateGte | string <date-time> creationDateGte |
| creationDateLt | string <date-time> creationDateLt |
{- "data": [
- {
- "lastVisitDate": "2017-07-24T17:32:28.000Z",
- "addressCity": "Paris",
- "addressStreet": "3 rue de Paris",
- "addressState": "Texas",
- "lastName": "Smith",
- "firstName": "John",
- "email": "tom@jerry.com",
- "gender": "m",
- "phone": "33631573042",
- "mobileLocale": "FR",
- "addressZipCode": "75000",
- "timezone": "Europe/Paris",
- "billingAddress": "123 Billing St",
- "billingAddress2": "Apt 4B",
- "billingZipCode": "12345",
- "billingCity": "Billing City",
- "billingCountryCode": "FR",
- "acquisitionPcCode": "FR-SC-123",
- "emailVerified": true,
- "emailInvalid": true,
- "phoneVerified": true,
- "phoneInvalid": true,
- "countryCode": "FR",
- "birthDay": 31,
- "birthMonth": 8,
- "birthYear": 1998,
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z",
- "accountType": "full",
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5",
- "registrationDate": "2019-08-24T14:15:22Z",
- "barcode": "string",
- "originType": "connect",
- "origin": "qualifio",
- "upgradePcCode": "FR-SC-123",
- "externalIds": [
- {
- "externalId": "2e90fe3b088c7b27a6d08",
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5",
- "externalType": "designa",
- "pcCode": "FR-SC-123",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
}
], - "optins": [
- {
- "clientId": "string",
- "sendId": "string",
- "optinChannel": "sms",
- "optinType": "commercial",
- "legalTextId": 0,
- "isActive": true,
- "lastOpenedDate": "2019-08-24T14:15:22Z",
- "contextId": 0,
- "optinId": 123,
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5",
- "optoutDate": "2019-08-24T14:15:22Z",
- "optinDate": "2019-08-24T14:15:22Z",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
}
], - "rewards": [
- {
- "rewardId": 0,
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5",
- "isConverted": true,
- "pcCode": "FR-SC-123",
- "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z",
- "balance": 31.4,
- "isScan": true,
- "isBank": true,
- "isRestaurant": true,
- "outsideOptin": true,
- "threshold": 2,
- "lastPurchaseDate": "2019-08-24T14:15:22Z",
- "externalId": "3200d382-adfe-4314-ab30-798cdd0fcdb5",
- "upgradedFrom": "android",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
}
], - "visitorCenters": [
- {
- "visitorCenterId": 123456,
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5",
- "pcCode": "FR-SC-123",
- "favoriteDate": "2019-08-24T14:15:22Z",
- "isTlp": true,
- "isFavorite": true,
- "isSmartparker": true,
- "centerCompanyId": 123,
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
}
], - "vehicles": [
- {
- "vehicleId": 123,
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5",
- "deletionDate": "2019-08-24T14:15:22Z",
- "name": "string",
- "maker": "string",
- "color": "string",
- "model": "string",
- "licensePlate": "string",
- "licensePlateCountry": "FR",
- "yearOfManufacture": 1800,
- "lastParkingSession": "2019-08-24T14:15:22Z",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
}
], - "creditCards": [
- {
- "cardId": 123,
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5",
- "fingerprint": "string",
- "paymentMethodToken": "string",
- "goodThru": "11/2025",
- "cardType": "visa",
- "firstSixDigits": "string",
- "lastFourDigits": "string",
- "deletionDate": "2019-08-24T14:15:22Z",
- "firstName": "Mark",
- "lastName": "Smith",
- "postalCode": 75000,
- "serviceTypes": [
- "parking"
], - "year": 2025,
- "month": 11,
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
}
]
}
], - "metadata": {
- "version": 1,
- "_links": {
}
}
}Count visitors
| registeredSince | string <date-time> registeredSince |
| registeredUntil | string <date-time> registeredUntil |
| acquisitionPcCode | string acquisitionPcCode |
| accountType | string Enum: "full" "partial" accountType |
| originType | string originType |
{- "data": {
- "count": null
}, - "metadata": {
- "version": 1,
- "_links": {
}
}
}Update a visitor
| visitorId required | string <uuid> Id of visitor |
Update a visitor
| lastVisitDate | string <date-time> |
| addressCity | string or null |
| addressStreet | string or null |
| addressState | string or null |
| lastName | string |
| firstName | string |
string <email> | |
| gender | string Enum: "m" "f" "u" |
| phone | string or null |
| mobileLocale | string or null |
| addressZipCode | string or null |
| timezone | string or null |
| billingAddress | string or null |
| billingAddress2 | string or null |
| billingZipCode | string or null |
| billingCity | string or null |
| billingCountryCode | string (CountryCodeEnumNullable) Enum: null "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AO" "AQ" "AR" "AS" "AT" "AU" "AW" "AX" "AZ" "BA" "BB" "BD" "BE" "BF" "BG" "BH" "BI" "BJ" "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AO" "AQ" "AR" "AS" "AT" "AU" "AW" "AX" "AZ" "BA" "BB" "BD" "BE" "BF" "BG" "BH" "BI" "BJ" "BL" "BM" "BN" "BO" "BQ" "BR" "BS" "BT" "BV" "BW" "BY" "BZ" "CA" "CC" "CD" "CF" "CG" "CH" "CI" "CK" "CL" "CM" "CN" "CO" "CR" "CU" "CV" "CW" "CX" "CY" "CZ" "DE" "DJ" "DK" "DM" "DO" "DZ" "EC" "EE" "EG" "EH" "ER" "ES" "ET" "FI" "FJ" "FK" "FM" "FO" "FR" "GA" "GB" "GD" "GE" "GF" "GG" "GH" "GI" "GL" "GM" "GN" "GP" "GQ" "GR" "GS" "GT" "GU" "GW" "GY" "HK" "HM" "HN" "HR" "HT" "HU" "ID" "IE" "IL" "IM" "IN" "IO" "IQ" "IR" "IS" "IT" "JE" "JM" "JO" "JP" "KE" "KG" "KH" "KI" "KM" "KN" "KP" "KR" "KW" "KY" "KZ" "LA" "LB" "LC" "LI" "LK" "LR" "LS" "LT" "LU" "LV" "LY" "MA" "MC" "MD" "ME" "MF" "MG" "MH" "MK" "ML" "MM" "MN" "MO" "MP" "MQ" "MR" "MS" "MT" "MU" "MV" "MW" "MX" "MY" "MZ" "NA" "NC" "NE" "NF" "NG" "NI" "NL" "NO" "NP" "NR" "NU" "NZ" "OM" "PA" "PE" "PF" "PG" "PH" "PK" "PL" "PM" "PN" "PR" "PS" "PT" "PW" "PY" "QA" "RE" "RO" "RS" "RU" "RW" "SA" "SB" "SC" "SD" "SE" "SG" "SH" "SI" "SJ" "SK" "SL" "SM" "SN" "SO" "SR" "SS" "ST" "SV" "SX" "SY" "SZ" "TC" "TD" "TF" "TG" "TH" "TJ" "TK" "TL" "TM" "TN" "TO" "TR" "TT" "TV" "TW" "TZ" "UA" "UG" "UM" "US" "UY" "UZ" "VA" "VC" "VE" "VG" "VI" "VN" "VU" "WF" "WS" "YE" "YT" "ZA" "ZM" "ZW" |
| birthDay | integer or null [ 1 .. 31 ] |
| birthMonth | integer or null [ 1 .. 12 ] |
| birthYear | integer or null |
{- "lastVisitDate": "2017-07-24T17:32:28.000Z",
- "addressCity": "Paris",
- "addressStreet": "3 rue de Paris",
- "addressState": "Texas",
- "lastName": "Smith",
- "firstName": "John",
- "email": "tom@jerry.com",
- "gender": "m",
- "phone": "33631573042",
- "mobileLocale": "FR",
- "addressZipCode": "75000",
- "timezone": "Europe/Paris",
- "billingAddress": "123 Billing St",
- "billingAddress2": "Apt 4B",
- "billingZipCode": "12345",
- "billingCity": "Billing City",
- "billingCountryCode": "FR",
- "birthDay": 31,
- "birthMonth": 8,
- "birthYear": 1998
}{- "errors": [
- {
- "code": "string",
- "type": "string",
- "field": "string",
- "message": "string"
}
]
}Read a visitor
| visitorId required | string <uuid> Id of visitor |
| fields | string Example: fields=foo,bar List of fields to return |
{- "data": {
- "lastVisitDate": "2017-07-24T17:32:28.000Z",
- "addressCity": "Paris",
- "addressStreet": "3 rue de Paris",
- "addressState": "Texas",
- "lastName": "Smith",
- "firstName": "John",
- "email": "tom@jerry.com",
- "gender": "m",
- "phone": "33631573042",
- "mobileLocale": "FR",
- "addressZipCode": "75000",
- "timezone": "Europe/Paris",
- "billingAddress": "123 Billing St",
- "billingAddress2": "Apt 4B",
- "billingZipCode": "12345",
- "billingCity": "Billing City",
- "billingCountryCode": "FR",
- "acquisitionPcCode": "FR-SC-123",
- "emailVerified": true,
- "emailInvalid": true,
- "phoneVerified": true,
- "phoneInvalid": true,
- "countryCode": "FR",
- "birthDay": 31,
- "birthMonth": 8,
- "birthYear": 1998,
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z",
- "accountType": "full",
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5",
- "registrationDate": "2019-08-24T14:15:22Z",
- "barcode": "string",
- "originType": "connect",
- "origin": "qualifio",
- "upgradePcCode": "FR-SC-123"
},
}Create a bookmark
| visitorId required | string <uuid> Id of visitor |
Create a bookmark
| pcCode required | string (PcCode) |
| externalId required | string |
| label required | string |
| bookmarkType required | string (BookmarkType) Enum: "store" "restaurant" "deal" "event" "news" |
| source required | string (BookmarkSource) Enum: "visitor" "lbe" |
{- "pcCode": "FR-SC-123",
- "externalId": 647392,
- "label": "adidas",
- "bookmarkType": "store",
- "source": "visitor"
}{- "data": {
- "bookmarkId": 1234,
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5",
- "pcCode": "FR-SC-123",
- "externalId": 647392,
- "label": "adidas",
- "bookmarkType": "store",
- "source": "visitor",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
},
}Retrieve visitor’s bookmarks
| visitorId required | string <uuid> Id of visitor |
| offset | integer <int64> >= 1 Skip given number of records |
| limit | integer <int64> [ 1 .. 500 ] Default: 25 Limit number of records |
| sort | string Example: sort=-creationDate,-updateDate Sort records by |
| fields | string Example: fields=foo,bar List of fields to return |
| bookmarkType | string Enum: "store" "restaurant" "deal" "event" "news" Type of bookmark |
{- "data": [
- {
- "bookmarkId": 1234,
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5",
- "pcCode": "FR-SC-123",
- "externalId": 647392,
- "label": "adidas",
- "bookmarkType": "store",
- "source": "visitor",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
}
], - "metadata": {
- "version": 1,
- "_links": {
}
}
}Retrieve a bookmark
| visitorId required | string <uuid> Id of visitor |
| bookmarkId required | integer <int64> ID of bookmark |
| fields | string Example: fields=foo,bar List of fields to return |
{- "data": {
- "bookmarkId": 1234,
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5",
- "pcCode": "FR-SC-123",
- "externalId": 647392,
- "label": "adidas",
- "bookmarkType": "store",
- "source": "visitor",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
},
}Delete a bookmark
| visitorId required | string <uuid> Id of visitor |
| bookmarkId required | integer <int64> ID of bookmark |
{- "errors": [
- {
- "code": "string",
- "type": "string",
- "field": "string",
- "message": "string"
}
]
}Retrieve a batch of analyticsId by visitorId and externalType
| visitorId required | string Example: visitorId=foo,bar List of visitorIds |
| externalType | string Example: externalType=foo,bar List of externalTypes |
| pcCode | string Example: pcCode=FR-SC-123 Pc code |
{- "data": [
- {
- "externalId": "2e90fe3b088c7b27a6d08",
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5",
- "externalType": "designa",
- "pcCode": "FR-SC-123",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
}
], - "metadata": {
- "version": 1,
- "_links": {
}
}
}Retrieve Visitor Id by externalType and externalId
| externalType required | string (ExternalType) Enum: "designa" "facebook" "google" "cognito" "pas" "pas_barcode" "fid" "fid_barcode" "partner" "crm_id" "analytics" "wifi_device_id" External type |
| externalId required | string Example: 2e90fe3b088c7b27a6d08 External ID |
| pcCode | string Example: pcCode=FR-SC-123 Pc code |
{- "data": {
- "externalId": "2e90fe3b088c7b27a6d08",
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5",
- "externalType": "designa",
- "pcCode": "FR-SC-123",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
},
}Create external id for visitor
| visitorId required | string <uuid> Id of visitor |
Create a new externalId
| externalId required | string |
| pcCode | string or null |
| externalType required | any Enum: "designa" "facebook" "google" "cognito" "partner" "crm_id" "pas" "fid" "wifi_device_id" |
{- "externalId": "randomId",
- "pcCode": "FR-SC-123",
- "externalType": "designa"
}{- "data": {
- "externalId": "2e90fe3b088c7b27a6d08",
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5",
- "externalType": "designa",
- "pcCode": "FR-SC-123",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
},
}Retrieve visitor’s external ids
| visitorId required | string <uuid> Id of visitor |
| offset | integer <int64> >= 1 Skip given number of records |
| limit | integer <int64> [ 1 .. 500 ] Default: 25 Limit number of records |
| sort | string Example: sort=-creationDate,-updateDate Sort records by |
| fields | string Example: fields=foo,bar List of fields to return |
| pcCode | string Example: pcCode=FR-SC-123 Pc code |
{- "data": [
- {
- "externalId": "2e90fe3b088c7b27a6d08",
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5",
- "externalType": "designa",
- "pcCode": "FR-SC-123",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
}
], - "metadata": {
- "version": 1,
- "_links": {
}
}
}Retrieve external id of a Visitor
| visitorId required | string <uuid> Id of visitor |
| externalType required | string (ExternalType) Enum: "designa" "facebook" "google" "cognito" "pas" "pas_barcode" "fid" "fid_barcode" "partner" "crm_id" "analytics" "wifi_device_id" External type |
| fields | string Example: fields=foo,bar List of fields to return |
| pcCode | string Example: pcCode=FR-SC-123 Pc code |
{- "data": {
- "externalId": "2e90fe3b088c7b27a6d08",
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5",
- "externalType": "designa",
- "pcCode": "FR-SC-123",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
},
}Delete visitor’s external id
| visitorId required | string <uuid> Id of visitor |
| externalType required | string Enum: "designa" "facebook" "google" "cognito" "partner" "crm_id" "wifi_device_id" External type |
| pcCode | string Example: pcCode=FR-SC-123 Pc code |
{- "errors": [
- {
- "code": "string",
- "type": "string",
- "field": "string",
- "message": "string"
}
]
}Delete visitors by external ids
Create a new externalId
| analyticsId required | string |
| pcCode | string |
[- {
- "analyticsId": "string",
- "pcCode": "string"
}
]{- "data": {
- "success": [
- "string"
], - "failed": [
- "string"
]
}, - "metadata": {
- "version": 1,
- "_links": {
}
}
}Create a new visitor center
| visitorId required | string <uuid> Id of visitor |
Create a new visitor center
| pcCode required | string (PcCode) |
| isTlp | boolean |
| isFavorite required | boolean |
| isSmartparker | boolean |
| centerCompanyId | integer or null <int64> |
{- "pcCode": "FR-SC-123",
- "isTlp": true,
- "isFavorite": true,
- "isSmartparker": true,
- "centerCompanyId": 123
}{- "data": {
- "visitorCenterId": 123456,
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5",
- "pcCode": "FR-SC-123",
- "favoriteDate": "2019-08-24T14:15:22Z",
- "isTlp": true,
- "isFavorite": true,
- "isSmartparker": true,
- "centerCompanyId": 123,
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
},
}Retrieve visitor’s centers list
| visitorId required | string <uuid> Id of visitor |
| offset | integer <int64> >= 1 Skip given number of records |
| limit | integer <int64> [ 1 .. 500 ] Default: 25 Limit number of records |
| sort | string Example: sort=-creationDate,-updateDate Sort records by |
| fields | string Example: fields=foo,bar List of fields to return |
{- "data": [
- {
- "visitorCenterId": 123456,
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5",
- "pcCode": "FR-SC-123",
- "favoriteDate": "2019-08-24T14:15:22Z",
- "isTlp": true,
- "isFavorite": true,
- "isSmartparker": true,
- "centerCompanyId": 123,
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
}
], - "metadata": {
- "version": 1,
- "_links": {
}
}
}Update or create a visitor center
| visitorId required | string <uuid> Id of visitor |
Update or create a visitor center
| pcCode required | string (PcCode) |
| isTlp | boolean |
| isFavorite | boolean |
| isSmartparker | boolean |
| centerCompanyId | integer or null <int64> |
{- "pcCode": "FR-SC-123",
- "isTlp": true,
- "isFavorite": true,
- "isSmartparker": true,
- "centerCompanyId": 123
}{- "data": {
- "visitorCenterId": 123456,
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5",
- "pcCode": "FR-SC-123",
- "favoriteDate": "2019-08-24T14:15:22Z",
- "isTlp": true,
- "isFavorite": true,
- "isSmartparker": true,
- "centerCompanyId": 123,
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
},
}Retrieve a visitor center
| visitorId required | string <uuid> Id of visitor |
| pcCode required | string pcCode |
| fields | string Example: fields=foo,bar List of fields to return |
{- "data": {
- "visitorCenterId": 123456,
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5",
- "pcCode": "FR-SC-123",
- "favoriteDate": "2019-08-24T14:15:22Z",
- "isTlp": true,
- "isFavorite": true,
- "isSmartparker": true,
- "centerCompanyId": 123,
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
},
}Update a visitor center
| visitorId required | string <uuid> Id of visitor |
| pcCode required | string pcCode |
Update a visitor center
| isTlp | boolean |
| isFavorite | boolean |
| isSmartparker | boolean |
| centerCompanyId | integer or null <int64> |
{- "isTlp": true,
- "isFavorite": true,
- "isSmartparker": true,
- "centerCompanyId": 123
}{- "errors": [
- {
- "code": "string",
- "type": "string",
- "field": "string",
- "message": "string"
}
]
}Register or Update visitor's device
| visitorId required | string <uuid> Id of visitor |
Create a new device
| maker | string |
| model | string |
| osVersion | string |
| token required | string |
| locale | string |
| platform required | string Enum: "ios" "android" |
| timezone | string |
| mobileCarrier | string |
| notificationToken required | string |
| urwAppId required | string (UrwAppId) Enum: "aeroville" "alma" "amstelveen" "aupark" "bonaire" "cernymost" "confluence" "equinoccio" "fisketorvet" "garbera" "gropius" "hoefambruehl" "koln" "metropole" "minto" "nackaforum" "one" "parquesur" "pasing" "paunsdorf" "polygone" "riem" "ruhrpark" "soouest" "spandau" "splau" "toisondor" "ulis2" "wilenska" "wroclavia" |
{- "maker": "apple",
- "model": "iPhone 13",
- "osVersion": 16,
- "token": "Token",
- "locale": "string",
- "platform": "ios",
- "timezone": "string",
- "mobileCarrier": "string",
- "notificationToken": "string",
- "urwAppId": "aeroville"
}{- "data": {
- "maker": "apple",
- "model": "iPhone 13",
- "osVersion": 16,
- "token": "Token",
- "locale": "string",
- "platform": "ios",
- "timezone": "string",
- "mobileCarrier": "string",
- "notificationToken": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z",
- "deviceId": 123,
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5"
},
}Retrieve visitor’s devices and apps
| visitorId required | string <uuid> Id of visitor |
| offset | integer <int64> >= 1 Skip given number of records |
| limit | integer <int64> [ 1 .. 500 ] Default: 25 Limit number of records |
| sort | string Example: sort=-creationDate,-updateDate Sort records by |
| fields | string Example: fields=foo,bar List of fields to return |
{- "data": [
- {
- "maker": "apple",
- "model": "iPhone 13",
- "osVersion": 16,
- "token": "Token",
- "locale": "string",
- "platform": "ios",
- "timezone": "string",
- "mobileCarrier": "string",
- "notificationToken": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z",
- "deviceId": 123,
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5"
}
], - "metadata": {
- "version": 1,
- "_links": {
}
}
}Retrieve visitor’s device and app
| visitorId required | string <uuid> Id of visitor |
| deviceId required | integer deviceId |
| fields | string Example: fields=foo,bar List of fields to return |
{- "data": {
- "maker": "apple",
- "model": "iPhone 13",
- "osVersion": 16,
- "token": "Token",
- "locale": "string",
- "platform": "ios",
- "timezone": "string",
- "mobileCarrier": "string",
- "notificationToken": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z",
- "deviceId": 123,
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5"
},
}Delete a device and app
| visitorId required | string <uuid> Id of visitor |
| deviceId required | integer deviceId |
{- "errors": [
- {
- "code": "string",
- "type": "string",
- "field": "string",
- "message": "string"
}
]
}Retrieve visitor’s apps
| visitorId required | string <uuid> Id of visitor |
| deviceId required | integer deviceId |
{- "data": [
- {
- "appId": 0,
- "deviceId": 123,
- "urwAppId": "aeroville",
- "notificationToken": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
}
], - "metadata": {
- "version": 1,
- "_links": {
}
}
}Get an event token for the visitor
| visitorId required | string <uuid> Id of visitor |
| companyId required | string Example: companyId=37042 Company ID |
{- "data": {
- "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ2aXNpdG9ySWQiOiI1ZjY5ZjY4ZjY5ZjY4ZjY5ZjY4ZjY5ZjYiLCJpYXQiOjE2MDIwNjQ4NjMsI",
- "expiresAt": "2018-03-21T21:43:56Z"
}, - "metadata": {
- "version": 1,
- "_links": {
}
}
}Add a new center
Create a new center
| label required | string |
| country required | string (CountryCodeEnum) Enum: "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AO" "AQ" "AR" "AS" "AT" "AU" "AW" "AX" "AZ" "BA" "BB" "BD" "BE" "BF" "BG" "BH" "BI" "BJ" "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AO" "AQ" "AR" "AS" "AT" "AU" "AW" "AX" "AZ" "BA" "BB" "BD" "BE" "BF" "BG" "BH" "BI" "BJ" "BL" "BM" "BN" "BO" "BQ" "BR" "BS" "BT" "BV" "BW" "BY" "BZ" "CA" "CC" "CD" "CF" "CG" "CH" "CI" "CK" "CL" "CM" "CN" "CO" "CR" "CU" "CV" "CW" "CX" "CY" "CZ" "DE" "DJ" "DK" "DM" "DO" "DZ" "EC" "EE" "EG" "EH" "ER" "ES" "ET" "FI" "FJ" "FK" "FM" "FO" "FR" "GA" "GB" "GD" "GE" "GF" "GG" "GH" "GI" "GL" "GM" "GN" "GP" "GQ" "GR" "GS" "GT" "GU" "GW" "GY" "HK" "HM" "HN" "HR" "HT" "HU" "ID" "IE" "IL" "IM" "IN" "IO" "IQ" "IR" "IS" "IT" "JE" "JM" "JO" "JP" "KE" "KG" "KH" "KI" "KM" "KN" "KP" "KR" "KW" "KY" "KZ" "LA" "LB" "LC" "LI" "LK" "LR" "LS" "LT" "LU" "LV" "LY" "MA" "MC" "MD" "ME" "MF" "MG" "MH" "MK" "ML" "MM" "MN" "MO" "MP" "MQ" "MR" "MS" "MT" "MU" "MV" "MW" "MX" "MY" "MZ" "NA" "NC" "NE" "NF" "NG" "NI" "NL" "NO" "NP" "NR" "NU" "NZ" "OM" "PA" "PE" "PF" "PG" "PH" "PK" "PL" "PM" "PN" "PR" "PS" "PT" "PW" "PY" "QA" "RE" "RO" "RS" "RU" "RW" "SA" "SB" "SC" "SD" "SE" "SG" "SH" "SI" "SJ" "SK" "SL" "SM" "SN" "SO" "SR" "SS" "ST" "SV" "SX" "SY" "SZ" "TC" "TD" "TF" "TG" "TH" "TJ" "TK" "TL" "TM" "TN" "TO" "TR" "TT" "TV" "TW" "TZ" "UA" "UG" "UM" "US" "UY" "UZ" "VA" "VC" "VE" "VG" "VI" "VN" "VU" "WF" "WS" "YE" "YT" "ZA" "ZM" "ZW" |
| isWestfield required | boolean |
| centerId | string |
| centerCode | integer |
| hasWorker | boolean Default: false |
| hasMultiStep | boolean Default: false |
| isActive | boolean Default: false |
| hasEmailValidation | boolean Default: true |
| loyaltyStartDate | string or null <date-time> |
| hasBasicLoyalty | boolean Default: false |
| parkingPartner | string (ParkingPartner) Enum: "smartparking_us" "smartparking_uk" "ilogs" "designa" "thales" "smartparking_v2" |
| walletContextId | integer or null |
| urwAppId | string or null Enum: "aeroville" "alma" "amstelveen" "aupark" "bonaire" "cernymost" "confluence" "equinoccio" "fisketorvet" "garbera" "gropius" "hoefambruehl" "koln" "metropole" "minto" "nackaforum" "one" "parquesur" "pasing" "paunsdorf" "polygone" "riem" "ruhrpark" "soouest" "spandau" "splau" "toisondor" "ulis2" "wilenska" "wroclavia" |
| hasRegistration | boolean Default: true |
| hasLoyalty | boolean |
| pcCode required | string (PcCode) |
{- "label": "Les 4 Temps",
- "country": "FR",
- "isWestfield": true,
- "centerId": "les4temps",
- "centerCode": 3051,
- "hasWorker": false,
- "hasMultiStep": false,
- "isActive": false,
- "hasEmailValidation": true,
- "loyaltyStartDate": "2019-08-24T14:15:22Z",
- "hasBasicLoyalty": false,
- "parkingPartner": "smartparking_us",
- "walletContextId": 4321,
- "urwAppId": "aeroville",
- "hasRegistration": true,
- "hasLoyalty": true,
- "pcCode": "FR-SC-123"
}{- "data": {
- "hasLoyalty": true,
- "label": "Les 4 Temps",
- "country": "FR",
- "isWestfield": true,
- "centerId": "les4temps",
- "centerCode": 3051,
- "hasWorker": false,
- "hasMultiStep": false,
- "isActive": false,
- "hasEmailValidation": true,
- "loyaltyStartDate": "2019-08-24T14:15:22Z",
- "hasBasicLoyalty": false,
- "parkingPartner": "smartparking_us",
- "walletContextId": 4321,
- "urwAppId": "aeroville",
- "hasRegistration": true,
- "pcCode": "FR-SC-123",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
},
}List centers
| offset | integer <int64> >= 1 Skip given number of records |
| limit | integer <int64> [ 1 .. 500 ] Default: 25 Limit number of records |
| sort | string Example: sort=-creationDate,-updateDate Sort records by |
| fields | string Example: fields=foo,bar List of fields to return |
| isActive | boolean Center is active or not |
| country | string (CountryCodeEnum) Enum: "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AO" "AQ" "AR" "AS" "AT" "AU" "AW" "AX" "AZ" "BA" "BB" "BD" "BE" "BF" "BG" "BH" "BI" "BJ" "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AO" "AQ" "AR" "AS" "AT" "AU" "AW" "AX" "AZ" "BA" "BB" "BD" "BE" "BF" "BG" "BH" "BI" "BJ" "BL" "BM" "BN" "BO" "BQ" "BR" "BS" "BT" "BV" "BW" "BY" "BZ" "CA" "CC" "CD" "CF" "CG" "CH" "CI" "CK" "CL" "CM" "CN" "CO" "CR" "CU" "CV" "CW" "CX" "CY" "CZ" "DE" "DJ" "DK" "DM" "DO" "DZ" "EC" "EE" "EG" "EH" "ER" "ES" "ET" "FI" "FJ" "FK" "FM" "FO" "FR" "GA" "GB" "GD" "GE" "GF" "GG" "GH" "GI" "GL" "GM" "GN" "GP" "GQ" "GR" "GS" "GT" "GU" "GW" "GY" "HK" "HM" "HN" "HR" "HT" "HU" "ID" "IE" "IL" "IM" "IN" "IO" "IQ" "IR" "IS" "IT" "JE" "JM" "JO" "JP" "KE" "KG" "KH" "KI" "KM" "KN" "KP" "KR" "KW" "KY" "KZ" "LA" "LB" "LC" "LI" "LK" "LR" "LS" "LT" "LU" "LV" "LY" "MA" "MC" "MD" "ME" "MF" "MG" "MH" "MK" "ML" "MM" "MN" "MO" "MP" "MQ" "MR" "MS" "MT" "MU" "MV" "MW" "MX" "MY" "MZ" "NA" "NC" "NE" "NF" "NG" "NI" "NL" "NO" "NP" "NR" "NU" "NZ" "OM" "PA" "PE" "PF" "PG" "PH" "PK" "PL" "PM" "PN" "PR" "PS" "PT" "PW" "PY" "QA" "RE" "RO" "RS" "RU" "RW" "SA" "SB" "SC" "SD" "SE" "SG" "SH" "SI" "SJ" "SK" "SL" "SM" "SN" "SO" "SR" "SS" "ST" "SV" "SX" "SY" "SZ" "TC" "TD" "TF" "TG" "TH" "TJ" "TK" "TL" "TM" "TN" "TO" "TR" "TT" "TV" "TW" "TZ" "UA" "UG" "UM" "US" "UY" "UZ" "VA" "VC" "VE" "VG" "VI" "VN" "VU" "WF" "WS" "YE" "YT" "ZA" "ZM" "ZW" Example: country=FR Filter by country |
{- "data": [
- {
- "hasLoyalty": true,
- "label": "Les 4 Temps",
- "country": "FR",
- "isWestfield": true,
- "centerId": "les4temps",
- "centerCode": 3051,
- "hasWorker": false,
- "hasMultiStep": false,
- "isActive": false,
- "hasEmailValidation": true,
- "loyaltyStartDate": "2019-08-24T14:15:22Z",
- "hasBasicLoyalty": false,
- "parkingPartner": "smartparking_us",
- "walletContextId": 4321,
- "urwAppId": "aeroville",
- "hasRegistration": true,
- "pcCode": "FR-SC-123",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
}
], - "metadata": {
- "version": 1,
- "_links": {
}
}
}Update a center
| pcCode required | string pcCode |
Update a center
| label | string |
| country | string (CountryCodeEnum) Enum: "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AO" "AQ" "AR" "AS" "AT" "AU" "AW" "AX" "AZ" "BA" "BB" "BD" "BE" "BF" "BG" "BH" "BI" "BJ" "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AO" "AQ" "AR" "AS" "AT" "AU" "AW" "AX" "AZ" "BA" "BB" "BD" "BE" "BF" "BG" "BH" "BI" "BJ" "BL" "BM" "BN" "BO" "BQ" "BR" "BS" "BT" "BV" "BW" "BY" "BZ" "CA" "CC" "CD" "CF" "CG" "CH" "CI" "CK" "CL" "CM" "CN" "CO" "CR" "CU" "CV" "CW" "CX" "CY" "CZ" "DE" "DJ" "DK" "DM" "DO" "DZ" "EC" "EE" "EG" "EH" "ER" "ES" "ET" "FI" "FJ" "FK" "FM" "FO" "FR" "GA" "GB" "GD" "GE" "GF" "GG" "GH" "GI" "GL" "GM" "GN" "GP" "GQ" "GR" "GS" "GT" "GU" "GW" "GY" "HK" "HM" "HN" "HR" "HT" "HU" "ID" "IE" "IL" "IM" "IN" "IO" "IQ" "IR" "IS" "IT" "JE" "JM" "JO" "JP" "KE" "KG" "KH" "KI" "KM" "KN" "KP" "KR" "KW" "KY" "KZ" "LA" "LB" "LC" "LI" "LK" "LR" "LS" "LT" "LU" "LV" "LY" "MA" "MC" "MD" "ME" "MF" "MG" "MH" "MK" "ML" "MM" "MN" "MO" "MP" "MQ" "MR" "MS" "MT" "MU" "MV" "MW" "MX" "MY" "MZ" "NA" "NC" "NE" "NF" "NG" "NI" "NL" "NO" "NP" "NR" "NU" "NZ" "OM" "PA" "PE" "PF" "PG" "PH" "PK" "PL" "PM" "PN" "PR" "PS" "PT" "PW" "PY" "QA" "RE" "RO" "RS" "RU" "RW" "SA" "SB" "SC" "SD" "SE" "SG" "SH" "SI" "SJ" "SK" "SL" "SM" "SN" "SO" "SR" "SS" "ST" "SV" "SX" "SY" "SZ" "TC" "TD" "TF" "TG" "TH" "TJ" "TK" "TL" "TM" "TN" "TO" "TR" "TT" "TV" "TW" "TZ" "UA" "UG" "UM" "US" "UY" "UZ" "VA" "VC" "VE" "VG" "VI" "VN" "VU" "WF" "WS" "YE" "YT" "ZA" "ZM" "ZW" |
| isWestfield | boolean |
| centerId | string |
| centerCode | integer |
| hasWorker | boolean Default: false |
| hasMultiStep | boolean Default: false |
| isActive | boolean Default: false |
| hasEmailValidation | boolean Default: true |
| loyaltyStartDate | string or null <date-time> |
| hasBasicLoyalty | boolean Default: false |
| parkingPartner | string (ParkingPartner) Enum: "smartparking_us" "smartparking_uk" "ilogs" "designa" "thales" "smartparking_v2" |
| walletContextId | integer or null |
| urwAppId | string or null Enum: "aeroville" "alma" "amstelveen" "aupark" "bonaire" "cernymost" "confluence" "equinoccio" "fisketorvet" "garbera" "gropius" "hoefambruehl" "koln" "metropole" "minto" "nackaforum" "one" "parquesur" "pasing" "paunsdorf" "polygone" "riem" "ruhrpark" "soouest" "spandau" "splau" "toisondor" "ulis2" "wilenska" "wroclavia" |
| hasRegistration | boolean Default: true |
| hasLoyalty | boolean |
{- "label": "Les 4 Temps",
- "country": "FR",
- "isWestfield": true,
- "centerId": "les4temps",
- "centerCode": 3051,
- "hasWorker": false,
- "hasMultiStep": false,
- "isActive": false,
- "hasEmailValidation": true,
- "loyaltyStartDate": "2019-08-24T14:15:22Z",
- "hasBasicLoyalty": false,
- "parkingPartner": "smartparking_us",
- "walletContextId": 4321,
- "urwAppId": "aeroville",
- "hasRegistration": true,
- "hasLoyalty": true
}{- "errors": [
- {
- "code": "string",
- "type": "string",
- "field": "string",
- "message": "string"
}
]
}Read a center
| pcCode required | string pcCode |
| fields | string Example: fields=foo,bar List of fields to return |
{- "data": {
- "hasLoyalty": true,
- "label": "Les 4 Temps",
- "country": "FR",
- "isWestfield": true,
- "centerId": "les4temps",
- "centerCode": 3051,
- "hasWorker": false,
- "hasMultiStep": false,
- "isActive": false,
- "hasEmailValidation": true,
- "loyaltyStartDate": "2019-08-24T14:15:22Z",
- "hasBasicLoyalty": false,
- "parkingPartner": "smartparking_us",
- "walletContextId": 4321,
- "urwAppId": "aeroville",
- "hasRegistration": true,
- "pcCode": "FR-SC-123",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
},
}Create a center operation session
| visitorId required | string <uuid> Id of visitor |
Create a center operation session
| pcCode required | string (PcCode) |
| guid required | string |
| gameId required | string |
| gameName required | string |
| optin | boolean |
| isContest | boolean |
| isWelcomeJourney | boolean |
| isWelcomeOffer | boolean |
| isWifit | boolean |
| isSynchronized | boolean |
{- "pcCode": "FR-SC-123",
- "guid": "2e90f356-e66f-4332-b108-08c7b27a6d08",
- "gameId": "2e90f356-e66f-4332-b108-08c7b27a6d08",
- "gameName": "La Bonne Excuse",
- "optin": true,
- "isContest": true,
- "isWelcomeJourney": true,
- "isWelcomeOffer": true,
- "isWifit": true,
- "isSynchronized": true
}{- "data": {
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5",
- "pcCode": "FR-SC-123",
- "guid": "2e90f356-e66f-4332-b108-08c7b27a6d08",
- "gameId": "2e90f356-e66f-4332-b108-08c7b27a6d08",
- "gameName": "La Bonne Excuse",
- "optin": true,
- "isContest": true,
- "isWelcomeJourney": true,
- "isWelcomeOffer": true,
- "isWifit": true,
- "isSynchronized": true,
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
},
}Get a list of center operation sessions
| visitorId required | string <uuid> Id of visitor |
| offset | integer <int64> >= 1 Skip given number of records |
| limit | integer <int64> [ 1 .. 500 ] Default: 25 Limit number of records |
| sort | string Example: sort=-creationDate,-updateDate Sort records by |
| fields | string Example: fields=foo,bar List of fields to return |
| pcCode | string PC Code |
| creationDateUntil | string <date-time> creationDateUntil |
| creationDateSince | string <date-time> creationDateSince |
| gameId | string gameId |
{- "data": [
- {
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5",
- "pcCode": "FR-SC-123",
- "guid": "2e90f356-e66f-4332-b108-08c7b27a6d08",
- "gameId": "2e90f356-e66f-4332-b108-08c7b27a6d08",
- "gameName": "La Bonne Excuse",
- "optin": true,
- "isContest": true,
- "isWelcomeJourney": true,
- "isWelcomeOffer": true,
- "isWifit": true,
- "isSynchronized": true,
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
}
], - "metadata": {
- "version": 1,
- "_links": {
}
}, - "required": null
}Add a segment to center operation session
| visitorId required | string <uuid> Id of visitor |
| guid required | string guid |
Create New Visitor CenterOperationSegments
| id required | string |
| name required | string |
[- {
- "id": "543db247-4b07-4cc8-ba04-96cb28b58e43",
- "name": "Moda y accesorios"
}
]{- "data": {
- "success": [
- {
- "id": "543db247-4b07-4cc8-ba04-96cb28b58e43",
- "name": "Moda y accesorios",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
}
], - "failed": [
- {
- "id": "543db247-4b07-4cc8-ba04-96cb28b58e43",
- "name": "Moda y accesorios"
}
]
},
}Add a store to center operation session
| visitorId required | string visitorId |
| guid required | string guid |
Create New Visitor CenterOperationStores
| id required | string |
| name required | string |
[- {
- "id": 69044,
- "name": "Bershka"
}
]{- "data": {
- "success": [
- {
- "id": 69044,
- "name": "Bershka",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
}
], - "failed": [
- {
- "id": 69044,
- "name": "Bershka"
}
]
},
}Create credit card
| visitorId required | string <uuid> Id of visitor |
| firstName required | string |
| lastName required | string |
| postalCode | string |
| serviceTypes | Array of strings (ServiceTypes) Items Value: "parking" |
| year required | integer |
| month required | integer |
| fingerprint required | string |
| cardType required | string (CardType) Enum: "american_express" "jcb" "visa" "master" "maestro" "discover" |
| firstSixDigits required | string^\d{6}$ |
| lastFourDigits required | string^\d{4}$ |
| paymentMethodToken required | string |
{- "firstName": "Mark",
- "lastName": "Smith",
- "postalCode": 75000,
- "serviceTypes": [
- "parking"
], - "year": 2025,
- "month": 11,
- "fingerprint": "string",
- "cardType": "american_express",
- "firstSixDigits": "string",
- "lastFourDigits": "string",
- "paymentMethodToken": "2kk1wXpfeVrzHJI6LfoOomX1yr1"
}{- "data": {
- "cardId": 123,
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5",
- "fingerprint": "string",
- "paymentMethodToken": "string",
- "goodThru": "11/2025",
- "cardType": "visa",
- "firstSixDigits": "string",
- "lastFourDigits": "string",
- "deletionDate": "2019-08-24T14:15:22Z",
- "firstName": "Mark",
- "lastName": "Smith",
- "postalCode": 75000,
- "serviceTypes": [
- "parking"
], - "year": 2025,
- "month": 11,
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
},
}Get list of credit cards
| visitorId required | string <uuid> Id of visitor |
| offset | integer <int64> >= 1 Skip given number of records |
| limit | integer <int64> [ 1 .. 500 ] Default: 25 Limit number of records |
| sort | string Example: sort=-creationDate,-updateDate Sort records by |
| fields | string Example: fields=foo,bar List of fields to return |
| includeDeleted | boolean |
{- "data": [
- {
- "cardId": 123,
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5",
- "fingerprint": "string",
- "paymentMethodToken": "string",
- "goodThru": "11/2025",
- "cardType": "visa",
- "firstSixDigits": "string",
- "lastFourDigits": "string",
- "deletionDate": "2019-08-24T14:15:22Z",
- "firstName": "Mark",
- "lastName": "Smith",
- "postalCode": 75000,
- "serviceTypes": [
- "parking"
], - "year": 2025,
- "month": 11,
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
}
], - "metadata": {
- "version": 1,
- "_links": {
}
}
}Get credit card
| visitorId required | string <uuid> Id of visitor |
| cardId required | integer <Int64> Id of credit card |
| fields | string Example: fields=foo,bar List of fields to return |
{- "data": {
- "cardId": 123,
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5",
- "fingerprint": "string",
- "paymentMethodToken": "string",
- "goodThru": "11/2025",
- "cardType": "visa",
- "firstSixDigits": "string",
- "lastFourDigits": "string",
- "deletionDate": "2019-08-24T14:15:22Z",
- "firstName": "Mark",
- "lastName": "Smith",
- "postalCode": 75000,
- "serviceTypes": [
- "parking"
], - "year": 2025,
- "month": 11,
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
},
}Update credit card
| visitorId required | string <uuid> Id of visitor |
| cardId required | integer <Int64> Id of credit card |
| firstName | string |
| lastName | string |
| postalCode | string |
| serviceTypes | Array of strings (ServiceTypes) Items Value: "parking" |
| year | integer |
| month | integer |
{- "firstName": "Mark",
- "lastName": "Smith",
- "postalCode": 75000,
- "serviceTypes": [
- "parking"
], - "year": 2025,
- "month": 11
}{- "errors": [
- {
- "code": "string",
- "type": "string",
- "field": "string",
- "message": "string"
}
]
}Delete credit card
| visitorId required | string <uuid> Id of visitor |
| cardId required | integer <Int64> Id of credit card |
{- "errors": [
- {
- "code": "string",
- "type": "string",
- "field": "string",
- "message": "string"
}
]
}Create new vehicle
| visitorId required | string <uuid> Id of visitor |
| name | string or null |
| maker | string |
| color | string |
| model | string |
| licensePlate required | string |
| licensePlateCountry | string (CountryCodeEnum) Enum: "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AO" "AQ" "AR" "AS" "AT" "AU" "AW" "AX" "AZ" "BA" "BB" "BD" "BE" "BF" "BG" "BH" "BI" "BJ" "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AO" "AQ" "AR" "AS" "AT" "AU" "AW" "AX" "AZ" "BA" "BB" "BD" "BE" "BF" "BG" "BH" "BI" "BJ" "BL" "BM" "BN" "BO" "BQ" "BR" "BS" "BT" "BV" "BW" "BY" "BZ" "CA" "CC" "CD" "CF" "CG" "CH" "CI" "CK" "CL" "CM" "CN" "CO" "CR" "CU" "CV" "CW" "CX" "CY" "CZ" "DE" "DJ" "DK" "DM" "DO" "DZ" "EC" "EE" "EG" "EH" "ER" "ES" "ET" "FI" "FJ" "FK" "FM" "FO" "FR" "GA" "GB" "GD" "GE" "GF" "GG" "GH" "GI" "GL" "GM" "GN" "GP" "GQ" "GR" "GS" "GT" "GU" "GW" "GY" "HK" "HM" "HN" "HR" "HT" "HU" "ID" "IE" "IL" "IM" "IN" "IO" "IQ" "IR" "IS" "IT" "JE" "JM" "JO" "JP" "KE" "KG" "KH" "KI" "KM" "KN" "KP" "KR" "KW" "KY" "KZ" "LA" "LB" "LC" "LI" "LK" "LR" "LS" "LT" "LU" "LV" "LY" "MA" "MC" "MD" "ME" "MF" "MG" "MH" "MK" "ML" "MM" "MN" "MO" "MP" "MQ" "MR" "MS" "MT" "MU" "MV" "MW" "MX" "MY" "MZ" "NA" "NC" "NE" "NF" "NG" "NI" "NL" "NO" "NP" "NR" "NU" "NZ" "OM" "PA" "PE" "PF" "PG" "PH" "PK" "PL" "PM" "PN" "PR" "PS" "PT" "PW" "PY" "QA" "RE" "RO" "RS" "RU" "RW" "SA" "SB" "SC" "SD" "SE" "SG" "SH" "SI" "SJ" "SK" "SL" "SM" "SN" "SO" "SR" "SS" "ST" "SV" "SX" "SY" "SZ" "TC" "TD" "TF" "TG" "TH" "TJ" "TK" "TL" "TM" "TN" "TO" "TR" "TT" "TV" "TW" "TZ" "UA" "UG" "UM" "US" "UY" "UZ" "VA" "VC" "VE" "VG" "VI" "VN" "VU" "WF" "WS" "YE" "YT" "ZA" "ZM" "ZW" |
| yearOfManufacture | integer [ 1800 .. 2500 ] |
| lastParkingSession | string <date-time> |
{- "name": "string",
- "maker": "string",
- "color": "string",
- "model": "string",
- "licensePlate": "string",
- "licensePlateCountry": "FR",
- "yearOfManufacture": 1800,
- "lastParkingSession": "2019-08-24T14:15:22Z"
}{- "data": {
- "vehicleId": 123,
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5",
- "deletionDate": "2019-08-24T14:15:22Z",
- "name": "string",
- "maker": "string",
- "color": "string",
- "model": "string",
- "licensePlate": "string",
- "licensePlateCountry": "FR",
- "yearOfManufacture": 1800,
- "lastParkingSession": "2019-08-24T14:15:22Z",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
},
}Retrieve list of vehicles
| visitorId required | string <uuid> Id of visitor |
| offset | integer <int64> >= 1 Skip given number of records |
| limit | integer <int64> [ 1 .. 500 ] Default: 25 Limit number of records |
| sort | string Example: sort=-creationDate,-updateDate Sort records by |
| fields | string Example: fields=foo,bar List of fields to return |
| includeDeleted | boolean |
| licensePlate | string |
{- "data": [
- {
- "vehicleId": 123,
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5",
- "deletionDate": "2019-08-24T14:15:22Z",
- "name": "string",
- "maker": "string",
- "color": "string",
- "model": "string",
- "licensePlate": "string",
- "licensePlateCountry": "FR",
- "yearOfManufacture": 1800,
- "lastParkingSession": "2019-08-24T14:15:22Z",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
}
], - "metadata": {
- "version": 1,
- "_links": {
}
}
}Update visitor's vehicle
| visitorId required | string <uuid> Id of visitor |
| vehicleId required | integer Id of vehicle |
| name | string or null |
| maker | string |
| color | string |
| model | string |
| licensePlate | string |
| licensePlateCountry | string (CountryCodeEnum) Enum: "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AO" "AQ" "AR" "AS" "AT" "AU" "AW" "AX" "AZ" "BA" "BB" "BD" "BE" "BF" "BG" "BH" "BI" "BJ" "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AO" "AQ" "AR" "AS" "AT" "AU" "AW" "AX" "AZ" "BA" "BB" "BD" "BE" "BF" "BG" "BH" "BI" "BJ" "BL" "BM" "BN" "BO" "BQ" "BR" "BS" "BT" "BV" "BW" "BY" "BZ" "CA" "CC" "CD" "CF" "CG" "CH" "CI" "CK" "CL" "CM" "CN" "CO" "CR" "CU" "CV" "CW" "CX" "CY" "CZ" "DE" "DJ" "DK" "DM" "DO" "DZ" "EC" "EE" "EG" "EH" "ER" "ES" "ET" "FI" "FJ" "FK" "FM" "FO" "FR" "GA" "GB" "GD" "GE" "GF" "GG" "GH" "GI" "GL" "GM" "GN" "GP" "GQ" "GR" "GS" "GT" "GU" "GW" "GY" "HK" "HM" "HN" "HR" "HT" "HU" "ID" "IE" "IL" "IM" "IN" "IO" "IQ" "IR" "IS" "IT" "JE" "JM" "JO" "JP" "KE" "KG" "KH" "KI" "KM" "KN" "KP" "KR" "KW" "KY" "KZ" "LA" "LB" "LC" "LI" "LK" "LR" "LS" "LT" "LU" "LV" "LY" "MA" "MC" "MD" "ME" "MF" "MG" "MH" "MK" "ML" "MM" "MN" "MO" "MP" "MQ" "MR" "MS" "MT" "MU" "MV" "MW" "MX" "MY" "MZ" "NA" "NC" "NE" "NF" "NG" "NI" "NL" "NO" "NP" "NR" "NU" "NZ" "OM" "PA" "PE" "PF" "PG" "PH" "PK" "PL" "PM" "PN" "PR" "PS" "PT" "PW" "PY" "QA" "RE" "RO" "RS" "RU" "RW" "SA" "SB" "SC" "SD" "SE" "SG" "SH" "SI" "SJ" "SK" "SL" "SM" "SN" "SO" "SR" "SS" "ST" "SV" "SX" "SY" "SZ" "TC" "TD" "TF" "TG" "TH" "TJ" "TK" "TL" "TM" "TN" "TO" "TR" "TT" "TV" "TW" "TZ" "UA" "UG" "UM" "US" "UY" "UZ" "VA" "VC" "VE" "VG" "VI" "VN" "VU" "WF" "WS" "YE" "YT" "ZA" "ZM" "ZW" |
| yearOfManufacture | integer [ 1800 .. 2500 ] |
| lastParkingSession | string <date-time> |
| vehicleId | integer |
| deletionDate | string <date-time> |
{- "name": "string",
- "maker": "string",
- "color": "string",
- "model": "string",
- "licensePlate": "string",
- "licensePlateCountry": "FR",
- "yearOfManufacture": 1800,
- "lastParkingSession": "2019-08-24T14:15:22Z",
- "vehicleId": 0,
- "deletionDate": "2019-08-24T14:15:22Z"
}{- "errors": [
- {
- "code": "string",
- "type": "string",
- "field": "string",
- "message": "string"
}
]
}Delete visitor's vehicle
| visitorId required | string <uuid> Id of visitor |
| vehicleId required | integer Id of vehicle |
{- "errors": [
- {
- "code": "string",
- "type": "string",
- "field": "string",
- "message": "string"
}
]
}Retrieve visitor's vehicle
| visitorId required | string <uuid> Id of visitor |
| vehicleId required | integer Id of vehicle |
| fields | string Example: fields=foo,bar List of fields to return |
{- "data": {
- "vehicleId": 123,
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5",
- "deletionDate": "2019-08-24T14:15:22Z",
- "name": "string",
- "maker": "string",
- "color": "string",
- "model": "string",
- "licensePlate": "string",
- "licensePlateCountry": "FR",
- "yearOfManufacture": 1800,
- "lastParkingSession": "2019-08-24T14:15:22Z",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
},
}Retrive list of locales values
| offset | integer <int64> >= 1 Skip given number of records |
| limit | integer <int64> [ 1 .. 500 ] Default: 25 Limit number of records |
| sort | string Example: sort=-creationDate,-updateDate Sort records by |
| fields | string Example: fields=foo,bar List of fields to return |
{- "data": [
- {
- "localeCode": "fr-FR",
- "localeLabel": "Français"
}
], - "metadata": {
- "version": 1,
- "_links": {
}
}
}Create new visitor locale
| visitorId required | string <uuid> Id of visitor |
| localeCode required | string |
{- "localeCode": "en_us"
}{- "data": {
- "localeCode": "en_us",
- "localeLabel": "string",
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5",
- "creationDate": "2019-08-24T14:15:22Z"
},
}Retrive list of visitor's locales
| visitorId required | string <uuid> Id of visitor |
| offset | integer <int64> >= 1 Skip given number of records |
| limit | integer <int64> [ 1 .. 500 ] Default: 25 Limit number of records |
| sort | string Example: sort=-creationDate,-updateDate Sort records by |
| fields | string Example: fields=foo,bar List of fields to return |
{- "data": [
- {
- "localeCode": "en_us",
- "localeLabel": "string",
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5",
- "creationDate": "2019-08-24T14:15:22Z"
}
], - "metadata": {
- "version": 1,
- "_links": {
}
}
}Retrieve visitor's locale
| visitorId required | string <uuid> Id of visitor |
| localeCode required | string Locale code |
| fields | string Example: fields=foo,bar List of fields to return |
{- "data": {
- "localeCode": "en_us",
- "localeLabel": "string",
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5",
- "creationDate": "2019-08-24T14:15:22Z"
},
}Delete visitor's locale
| visitorId required | string <uuid> Id of visitor |
| localeCode required | string Locale code |
{- "errors": [
- {
- "code": "string",
- "type": "string",
- "field": "string",
- "message": "string"
}
]
}Create new checkin
| visitorId required | string <uuid> Id of visitor |
| pcCode required | string (PcCode) |
| serviceId required | integer |
| origin required | string Enum: "partner" "dashboard" |
{- "pcCode": "FR-SC-123",
- "serviceId": 0,
- "origin": "partner"
}{- "data": {
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z",
- "pcCode": "FR-SC-123",
- "serviceId": 0,
- "origin": "partner",
- "checkinId": 0,
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5"
},
}Retrive list of visitor's checkins
| visitorId required | string <uuid> Id of visitor |
| offset | integer <int64> >= 1 Skip given number of records |
| limit | integer <int64> [ 1 .. 500 ] Default: 25 Limit number of records |
| sort | string Example: sort=-creationDate,-updateDate Sort records by |
| fields | string Example: fields=foo,bar List of fields to return |
| pcCode | string PC Code |
{- "data": [
- {
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z",
- "pcCode": "FR-SC-123",
- "serviceId": 0,
- "origin": "partner",
- "checkinId": 0,
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5"
}
], - "metadata": {
- "version": 1,
- "_links": {
}
}
}Retrieve checkins by Center or Service
| offset | integer <int64> >= 1 Skip given number of records |
| limit | integer <int64> [ 1 .. 500 ] Default: 25 Limit number of records |
| sort | string Example: sort=-creationDate,-updateDate Sort records by |
| fields | string Example: fields=foo,bar List of fields to return |
| pcCode | string PC Code |
| serviceId | integer <int64> |
| checkedInSince | string <date-time> |
| checkedInUntil | string <date-time> |
{- "data": [
- {
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z",
- "pcCode": "FR-SC-123",
- "serviceId": 0,
- "origin": "partner",
- "checkinId": 0,
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5"
}
], - "metadata": {
- "version": 1,
- "_links": {
}
}
}Create new checkin
| barcode required | string <uuid> |
| pcCode required | string (PcCode) |
| serviceId required | integer |
| origin required | string Enum: "partner" "dashboard" |
{- "barcode": "258003c3-6699-4084-86b8-3204cc43d9c6",
- "pcCode": "FR-SC-123",
- "serviceId": 0,
- "origin": "partner"
}{- "data": {
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z",
- "pcCode": "FR-SC-123",
- "serviceId": 0,
- "origin": "partner",
- "checkinId": 0,
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5"
},
}Retrive visitor's checkin
| visitorId required | string <uuid> Id of visitor |
| checkinId required | integer <Int64> |
| fields | string Example: fields=foo,bar List of fields to return |
{- "data": {
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z",
- "pcCode": "FR-SC-123",
- "serviceId": 0,
- "origin": "partner",
- "checkinId": 0,
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5"
},
}Delete visitor's checkin
| visitorId required | string <uuid> Id of visitor |
| checkinId required | integer <Int64> |
{- "errors": [
- {
- "code": "string",
- "type": "string",
- "field": "string",
- "message": "string"
}
]
}Register a parking
| visitorId required | string <uuid> Id of visitor |
Create new parking
| parkingPartner required | string Enum: "smartparking_us" "smartparking_uk" "ilogs" "designa" "thales" "smartparking_v2" |
{- "parkingPartner": "smartparking_us"
}{- "data": {
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5",
- "parkingId": 123,
- "isActive": true,
- "subscriptionDate": "2019-08-24T14:15:22Z",
- "unsubscribedAt": "2019-08-24T14:15:22Z",
- "parkingPartner": "smartparking_us",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
},
}Retrieve a visitor parkings
| visitorId required | string <uuid> Id of visitor |
| offset | integer <int64> >= 1 Skip given number of records |
| limit | integer <int64> [ 1 .. 500 ] Default: 25 Limit number of records |
| sort | string Example: sort=-creationDate,-updateDate Sort records by |
| fields | string Example: fields=foo,bar List of fields to return |
| parkingPartner | string Enum: "smartparking_us" "smartparking_uk" "ilogs" "designa" "thales" "smartparking_v2" |
{- "data": [
- {
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5",
- "parkingId": 123,
- "isActive": true,
- "subscriptionDate": "2019-08-24T14:15:22Z",
- "unsubscribedAt": "2019-08-24T14:15:22Z",
- "parkingPartner": "smartparking_us",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
}
], - "metadata": {
- "version": 1,
- "_links": {
}
}
}Retrieve a parking information
| visitorId required | string <uuid> Id of visitor |
| parkingId required | integer <uuid> Example: 11bf5b37-e0b8-42e0-8dcf-dc8c4aefc000 Parking ID |
| fields | string Example: fields=foo,bar List of fields to return |
{- "data": {
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5",
- "parkingId": 123,
- "isActive": true,
- "subscriptionDate": "2019-08-24T14:15:22Z",
- "unsubscribedAt": "2019-08-24T14:15:22Z",
- "parkingPartner": "smartparking_us",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
},
}Delete a visitor parking
| visitorId required | string <uuid> Id of visitor |
| parkingId required | integer Example: 11bf5b37-e0b8-42e0-8dcf-dc8c4aefc000 Parking ID |
{- "errors": [
- {
- "code": "string",
- "type": "string",
- "field": "string",
- "message": "string"
}
]
}Create a new parking history
| visitorId required | string <uuid> Id of visitor |
Create new parking history
| parkingSessionStart | string <date-time> |
| parkingSessionEnd | string <date-time> |
| parkingSessionId | integer or null <int64> |
| amount | integer <Int64> |
| currency required | string Enum: "AUD" "EUR" "GBP" "NZD" "USD" |
| accessDevice required | string |
| exitAccessDevice | string or null |
| formattedTotalTime | string |
| paidAt | string <date-time> |
| paidAtKiosk | boolean or null |
| refundedAmount | number or null |
| paymentStatus | string Enum: "failed" "partial_refunded" "pending" "refunded" "succeeded" |
| totalTime | integer |
| transactionFullAmount | number or null |
| transactionId | string or null |
| transactionPretaxAmount | number or null |
| transactionTaxAmount | number or null |
| validationAmount | number or null |
| vendorId | string |
| parkingId required | integer |
| cardId required | integer |
| pcCode required | string |
{- "parkingSessionStart": "2019-08-24T14:15:22Z",
- "parkingSessionEnd": "2019-08-24T14:15:22Z",
- "parkingSessionId": 0,
- "amount": 12,
- "currency": "AUD",
- "accessDevice": "string",
- "exitAccessDevice": "string",
- "formattedTotalTime": "string",
- "paidAt": "2019-08-24T14:15:22Z",
- "paidAtKiosk": true,
- "refundedAmount": 31.4,
- "paymentStatus": "failed",
- "totalTime": 0,
- "transactionFullAmount": 35,
- "transactionId": "string",
- "transactionPretaxAmount": 30.5,
- "transactionTaxAmount": 31.4,
- "validationAmount": 31.4,
- "vendorId": "string",
- "parkingId": 0,
- "cardId": 0,
- "pcCode": "string"
}{- "data": {
- "cardId": 0,
- "parkingId": 0,
- "parkingHistoryId": 0,
- "pcCode": "string",
- "parkingSessionId": 42,
- "parkingSessionStart": "2019-08-24T14:15:22Z",
- "parkingSessionEnd": "2019-08-24T14:15:22Z",
- "amount": 12,
- "currency": "AUD",
- "accessDevice": "string",
- "exitAccessDevice": "string",
- "formattedTotalTime": "string",
- "paidAt": "2019-08-24T14:15:22Z",
- "paidAtKiosk": true,
- "refundedAmount": 31.4,
- "paymentStatus": "failed",
- "totalTime": 0,
- "transactionFullAmount": 35,
- "transactionId": "string",
- "transactionPretaxAmount": 30.5,
- "transactionTaxAmount": 31.4,
- "validationAmount": 31.4,
- "vendorId": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
},
}Retrieve a visitor parking history
| visitorId required | string <uuid> Id of visitor |
| offset | integer <int64> >= 1 Skip given number of records |
| limit | integer <int64> [ 1 .. 500 ] Default: 25 Limit number of records |
| sort | string Example: sort=-creationDate,-updateDate Sort records by |
| fields | string Example: fields=foo,bar List of fields to return |
| accessDevice | string filter by license plate or barcode (accessDevice or exitAccessDevice) |
| parkingId | integer parking ID |
| startDate | string <date-time> startDate |
| endDate | string <date-time> endDate |
| parkingSessionId | integer or null <int64> filter by parkingSessionId |
{- "data": [
- {
- "cardId": 0,
- "parkingId": 0,
- "parkingHistoryId": 0,
- "pcCode": "string",
- "parkingSessionId": 42,
- "parkingSessionStart": "2019-08-24T14:15:22Z",
- "parkingSessionEnd": "2019-08-24T14:15:22Z",
- "amount": 12,
- "currency": "AUD",
- "accessDevice": "string",
- "exitAccessDevice": "string",
- "formattedTotalTime": "string",
- "paidAt": "2019-08-24T14:15:22Z",
- "paidAtKiosk": true,
- "refundedAmount": 31.4,
- "paymentStatus": "failed",
- "totalTime": 0,
- "transactionFullAmount": 35,
- "transactionId": "string",
- "transactionPretaxAmount": 30.5,
- "transactionTaxAmount": 31.4,
- "validationAmount": 31.4,
- "vendorId": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
}
], - "metadata": {
- "version": 1,
- "_links": {
}
}
}Update a visitor parkingHistory
| visitorId required | string <uuid> Id of visitor |
| parkingHistoryId required | integer <Int64> ParkingHistoryId |
Update parking
| parkingSessionStart | string <date-time> |
| parkingSessionEnd | string <date-time> |
| parkingSessionId | integer or null <int64> |
| amount | integer <Int64> |
| currency | string Enum: "AUD" "EUR" "GBP" "NZD" "USD" |
| accessDevice | string |
| exitAccessDevice | string or null |
| formattedTotalTime | string |
| paidAt | string <date-time> |
| paidAtKiosk | boolean or null |
| refundedAmount | number or null |
| paymentStatus | string Enum: "failed" "partial_refunded" "pending" "refunded" "succeeded" |
| totalTime | integer |
| transactionFullAmount | number or null |
| transactionId | string or null |
| transactionPretaxAmount | number or null |
| transactionTaxAmount | number or null |
| validationAmount | number or null |
| vendorId | string |
{- "parkingSessionStart": "2019-08-24T14:15:22Z",
- "parkingSessionEnd": "2019-08-24T14:15:22Z",
- "parkingSessionId": 42,
- "amount": 12,
- "currency": "AUD",
- "accessDevice": "string",
- "exitAccessDevice": "string",
- "formattedTotalTime": "string",
- "paidAt": "2019-08-24T14:15:22Z",
- "paidAtKiosk": true,
- "refundedAmount": 31.4,
- "paymentStatus": "failed",
- "totalTime": 0,
- "transactionFullAmount": 35,
- "transactionId": "string",
- "transactionPretaxAmount": 30.5,
- "transactionTaxAmount": 31.4,
- "validationAmount": 31.4,
- "vendorId": "string"
}{- "errors": [
- {
- "code": "string",
- "type": "string",
- "field": "string",
- "message": "string"
}
]
}Retrieve a parking history
| visitorId required | string <uuid> Id of visitor |
| parkingHistoryId required | integer <Int64> ParkingHistoryId |
| fields | string Example: fields=foo,bar List of fields to return |
{- "data": {
- "cardId": 0,
- "parkingId": 0,
- "parkingHistoryId": 0,
- "pcCode": "string",
- "parkingSessionId": 42,
- "parkingSessionStart": "2019-08-24T14:15:22Z",
- "parkingSessionEnd": "2019-08-24T14:15:22Z",
- "amount": 12,
- "currency": "AUD",
- "accessDevice": "string",
- "exitAccessDevice": "string",
- "formattedTotalTime": "string",
- "paidAt": "2019-08-24T14:15:22Z",
- "paidAtKiosk": true,
- "refundedAmount": 31.4,
- "paymentStatus": "failed",
- "totalTime": 0,
- "transactionFullAmount": 35,
- "transactionId": "string",
- "transactionPretaxAmount": 30.5,
- "transactionTaxAmount": 31.4,
- "validationAmount": 31.4,
- "vendorId": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
},
}Delete a visitor parking history
| visitorId required | string <uuid> Id of visitor |
| parkingHistoryId required | integer <Int64> ParkingHistoryId |
{- "errors": [
- {
- "code": "string",
- "type": "string",
- "field": "string",
- "message": "string"
}
]
}Retrieve a visitor parking history summary
| visitorId required | string <uuid> Id of visitor |
| offset | integer <int64> >= 1 Skip given number of records |
| limit | integer <int64> [ 1 .. 500 ] Default: 25 Limit number of records |
| sort | string Example: sort=-creationDate,-updateDate Sort records by |
| timezone required | string Example: timezone=Europe/Paris timezone |
| parkingId | integer <Int64> Parking ID |
| accessDevice | string License Plate or barcode |
| pcCode | string pcCode |
{- "data": [
- {
- "year": 0,
- "month": 0,
- "totalAmount": 0,
- "currency": "string",
- "totalHistories": 0
}
], - "metadata": {
- "version": 1,
- "_links": {
}
}
}Add a reward for a visitor
| visitorId required | string <uuid> Id of visitor |
Create a new reward
| pcCode required | string (PcCode) |
| startDate required | string <date-time> |
| endDate | string or null <date-time> |
| balance required | number |
| isScan | boolean |
| isBank | boolean |
| isRestaurant | boolean |
| outsideOptin required | boolean |
| threshold required | integer |
| lastPurchaseDate | string or null <date-time> |
| externalId | string <uuid> |
| upgradedFrom | string Enum: "android" "ios" "web" "partner" "other" |
{- "pcCode": "FR-SC-123",
- "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z",
- "balance": 31.4,
- "isScan": true,
- "isBank": true,
- "isRestaurant": true,
- "outsideOptin": true,
- "threshold": 2,
- "lastPurchaseDate": "2019-08-24T14:15:22Z",
- "externalId": "3200d382-adfe-4314-ab30-798cdd0fcdb5",
- "upgradedFrom": "android"
}{- "data": {
- "rewardId": 0,
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5",
- "isConverted": true,
- "pcCode": "FR-SC-123",
- "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z",
- "balance": 31.4,
- "isScan": true,
- "isBank": true,
- "isRestaurant": true,
- "outsideOptin": true,
- "threshold": 2,
- "lastPurchaseDate": "2019-08-24T14:15:22Z",
- "externalId": "3200d382-adfe-4314-ab30-798cdd0fcdb5",
- "upgradedFrom": "android",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
},
}Retrieve a visitor rewards
| visitorId required | string <uuid> Id of visitor |
| offset | integer <int64> >= 1 Skip given number of records |
| limit | integer <int64> [ 1 .. 500 ] Default: 25 Limit number of records |
| sort | string Example: sort=-creationDate,-updateDate Sort records by |
| fields | string Example: fields=foo,bar List of fields to return |
| pcCode | string PC Code |
{- "data": [
- {
- "rewardId": 0,
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5",
- "isConverted": true,
- "pcCode": "FR-SC-123",
- "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z",
- "balance": 31.4,
- "isScan": true,
- "isBank": true,
- "isRestaurant": true,
- "outsideOptin": true,
- "threshold": 2,
- "lastPurchaseDate": "2019-08-24T14:15:22Z",
- "externalId": "3200d382-adfe-4314-ab30-798cdd0fcdb5",
- "upgradedFrom": "android",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
}
], - "metadata": {
- "version": 1,
- "_links": {
}
}
}Update a visitor reward
| visitorId required | string <uuid> Id of visitor |
| rewardId required | integer <uuid> Example: 11bf5b37-e0b8-42e0-8dcf-dc8c4aefc000 rewardId |
Update a reward
| startDate | string <date-time> |
| endDate | string or null <date-time> |
| balance | number |
| isScan | boolean |
| isBank | boolean |
| isRestaurant | boolean |
| threshold | integer |
| outsideOptin required | boolean |
| lastPurchaseDate | string or null <date-time> |
| externalId | string <uuid> |
| upgradedFrom | string Enum: "android" "ios" "web" "partner" "other" |
{- "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z",
- "balance": 31.4,
- "isScan": true,
- "isBank": true,
- "isRestaurant": true,
- "threshold": 2,
- "outsideOptin": true,
- "lastPurchaseDate": "2019-08-24T14:15:22Z",
- "externalId": "3200d382-adfe-4314-ab30-798cdd0fcdb5",
- "upgradedFrom": "android"
}{- "errors": [
- {
- "code": "string",
- "type": "string",
- "field": "string",
- "message": "string"
}
]
}Retrieve visitor reward
| visitorId required | string <uuid> Id of visitor |
| rewardId required | integer <int64> reward ID |
| fields | string Example: fields=foo,bar List of fields to return |
{- "data": {
- "rewardId": 0,
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5",
- "isConverted": true,
- "pcCode": "FR-SC-123",
- "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z",
- "balance": 31.4,
- "isScan": true,
- "isBank": true,
- "isRestaurant": true,
- "outsideOptin": true,
- "threshold": 2,
- "lastPurchaseDate": "2019-08-24T14:15:22Z",
- "externalId": "3200d382-adfe-4314-ab30-798cdd0fcdb5",
- "upgradedFrom": "android",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
},
}Create center company
| pcCode required | string pcCode |
Create a new centerCompany
| companyName required | string |
{- "companyName": "string"
}{- "data": {
- "companyName": "adidas",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z",
- "centerCompanyId": 0,
- "pcCode": "FR-SC-123"
},
}Retrieve center companies
| pcCode required | string pcCode |
| offset | integer <int64> >= 1 Skip given number of records |
| limit | integer <int64> [ 1 .. 500 ] Default: 25 Limit number of records |
| sort | string Example: sort=-creationDate,-updateDate Sort records by |
| fields | string Example: fields=foo,bar List of fields to return |
{- "data": [
- {
- "companyName": "adidas",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z",
- "centerCompanyId": 0,
- "pcCode": "FR-SC-123"
}
], - "metadata": {
- "version": 1,
- "_links": {
}
}
}Retrieve center company
| pcCode required | string pcCode |
| centerCompanyId required | integer <int64> centerCompanyId |
| fields | string Example: fields=foo,bar List of fields to return |
{- "data": {
- "companyName": "adidas",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z",
- "centerCompanyId": 0,
- "pcCode": "FR-SC-123"
},
}Update center company
| pcCode required | string pcCode |
| centerCompanyId required | integer <int64> centerCompanyId |
Update a new centerCompany
| companyName required | string |
{- "companyName": "string"
}{- "errors": [
- {
- "code": "string",
- "type": "string",
- "field": "string",
- "message": "string"
}
]
}Delete a center company
| pcCode required | string pcCode |
| centerCompanyId required | integer <int64> centerCompanyId |
{- "errors": [
- {
- "code": "string",
- "type": "string",
- "field": "string",
- "message": "string"
}
]
}Create interest list
| visitorId required | string <uuid> Id of visitor |
| externalId required | string |
| label required | string |
{- "externalId": "string",
- "label": "string"
}{- "data": {
- "externalId": "string",
- "label": "string",
- "interestId": 123,
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
},
}Retrieve a list of interests
| visitorId required | string <uuid> Id of visitor |
| offset | integer <int64> >= 1 Skip given number of records |
| limit | integer <int64> [ 1 .. 500 ] Default: 25 Limit number of records |
| sort | string Example: sort=-creationDate,-updateDate Sort records by |
| fields | string Example: fields=foo,bar List of fields to return |
{- "data": [
- {
- "externalId": "string",
- "label": "string",
- "interestId": 123,
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
}
], - "metadata": {
- "version": 1,
- "_links": {
}
}
}Batch update interests
| visitorId required | string <uuid> Id of visitor |
| externalId required | string |
| label required | string |
[- {
- "externalId": "string",
- "label": "string"
}
]{- "errors": [
- {
- "code": "string",
- "type": "string",
- "field": "string",
- "message": "string"
}
]
}Retrieve a interest information
| visitorId required | string <uuid> Id of visitor |
| interestId required | integer Interest ID |
| fields | string Example: fields=foo,bar List of fields to return |
{- "data": {
- "externalId": "string",
- "label": "string",
- "interestId": 123,
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
},
}Delete visitor interest
| visitorId required | string <uuid> Id of visitor |
| interestId required | integer interest id |
{- "errors": [
- {
- "code": "string",
- "type": "string",
- "field": "string",
- "message": "string"
}
]
}Retrieve a visitor's required consents for legal texts
| visitorId required | string <uuid> Id of visitor |
| newCenter | string |
{- "data": [
- {
- "legalTextId": 0,
- "requireConsent": true
}
],
}Create legal text
| type required | string (LegalType) Enum: "terms" "commercial_email" "commercial_sms" "commercial_push" "privacy" "loyalty" "privacy_eu" "privacy_us" "smartparking_us" "sms_us" "wifi_privacy" "wifi_terms" |
| releaseDate required | string <date-time> |
| requireConsent | boolean |
{- "type": "terms",
- "releaseDate": "2019-08-24T14:15:22Z",
- "requireConsent": true
}{- "data": {
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z",
- "type": "terms",
- "releaseDate": "2019-08-24T14:15:22Z",
- "requireConsent": true,
- "optinDisplayText": "string",
- "optinHeaderText": "string",
- "documentText": "string",
- "id": 0,
- "version": 0
},
}Retrieve list of legal texts
| legalType | string (LegalType) Enum: "terms" "commercial_email" "commercial_sms" "commercial_push" "privacy" "loyalty" "privacy_eu" "privacy_us" "smartparking_us" "sms_us" "wifi_privacy" "wifi_terms" |
| version | integer |
| offset | integer <int64> >= 1 Skip given number of records |
| limit | integer <int64> [ 1 .. 500 ] Default: 25 Limit number of records |
| sort | string Example: sort=-creationDate,-updateDate Sort records by |
| fields | string Example: fields=foo,bar List of fields to return |
| latest | boolean |
| locale | string |
{- "data": [
- {
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z",
- "type": "terms",
- "releaseDate": "2019-08-24T14:15:22Z",
- "requireConsent": true,
- "optinDisplayText": "string",
- "optinHeaderText": "string",
- "documentText": "string",
- "id": 0,
- "version": 0
}
], - "metadata": {
- "version": 1,
- "_links": {
}
}
}Retrieve legal text
| legalTextId required | integer <Int64> |
| fields | string Example: fields=foo,bar List of fields to return |
{- "data": {
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z",
- "type": "terms",
- "releaseDate": "2019-08-24T14:15:22Z",
- "requireConsent": true,
- "optinDisplayText": "string",
- "optinHeaderText": "string",
- "documentText": "string",
- "id": 0,
- "version": 0
},
}Update legal text
| legalTextId required | integer <Int64> |
| releaseDate | string <date-time> |
| requireConsent | boolean |
{- "releaseDate": "2019-08-24T14:15:22Z",
- "requireConsent": true
}{- "errors": [
- {
- "code": "string",
- "type": "string",
- "field": "string",
- "message": "string"
}
]
}Add new locale to the Legal Text
| legalTextId required | integer <Int64> |
| localeCode required | string Locale code |
| optinDisplayText required | string or null |
| optinHeaderText required | string or null |
| documentText required | string or null |
{- "optinDisplayText": "string",
- "optinHeaderText": "string",
- "documentText": "string"
}{- "data": {
- "optinDisplayText": "string",
- "optinHeaderText": "string",
- "documentText": "string",
- "legalTextId": 0,
- "localeCode": "string"
},
}Retrieve a locale of the Legal Text
| legalTextId required | integer <Int64> |
| localeCode required | string Locale code |
| fields | string Example: fields=foo,bar List of fields to return |
{- "data": {
- "optinDisplayText": "string",
- "optinHeaderText": "string",
- "documentText": "string",
- "legalTextId": 0,
- "localeCode": "string"
},
}Update legal text locale
| legalTextId required | integer <Int64> |
| localeCode required | string Locale code |
| optinDisplayText | string or null |
| optinHeaderText | string or null |
| documentText | string or null |
{- "optinDisplayText": "string",
- "optinHeaderText": "string",
- "documentText": "string"
}{- "errors": [
- {
- "code": "string",
- "type": "string",
- "field": "string",
- "message": "string"
}
]
}Retrieve locales of a legal text
| legalTextId required | integer <Int64> |
| fields | string Example: fields=foo,bar List of fields to return |
| offset | integer <int64> >= 1 Skip given number of records |
| limit | integer <int64> [ 1 .. 500 ] Default: 25 Limit number of records |
| sort | string Example: sort=-creationDate,-updateDate Sort records by |
{- "data": [
- {
- "optinDisplayText": "string",
- "optinHeaderText": "string",
- "documentText": "string",
- "legalTextId": 0,
- "localeCode": "string"
}
], - "metadata": {
- "version": 1,
- "_links": {
}
}
}Retrieve list of visitor's optins
| visitorId required | string <uuid> Id of visitor |
| offset | integer <int64> >= 1 Skip given number of records |
| limit | integer <int64> [ 1 .. 500 ] Default: 25 Limit number of records |
| sort | string Example: sort=-creationDate,-updateDate Sort records by |
| fields | string Example: fields=foo,bar List of fields to return |
| isActive | boolean |
| contextId | integer |
| latest | boolean |
| optinType | string (OptinType) Enum: "commercial" "loyalty" "center" "privacy" "wallet" "terms" "smartparking_us" "sms_us" |
| optinChannel | string (OptinChannel) Enum: "sms" "push" "email" "none" |
{- "data": [
- {
- "clientId": "string",
- "sendId": "string",
- "optinChannel": "sms",
- "optinType": "commercial",
- "legalTextId": 0,
- "isActive": true,
- "lastOpenedDate": "2019-08-24T14:15:22Z",
- "contextId": 0,
- "optinId": 123,
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5",
- "optoutDate": "2019-08-24T14:15:22Z",
- "optinDate": "2019-08-24T14:15:22Z",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
}
], - "metadata": {
- "version": 1,
- "_links": {
}
}
}Create visitor's optin
| visitorId required | string <uuid> Id of visitor |
| clientId | string |
| sendId | string |
| optinChannel required | string (OptinChannel) Enum: "sms" "push" "email" "none" |
| optinType required | string (OptinType) Enum: "commercial" "loyalty" "center" "privacy" "wallet" "terms" "smartparking_us" "sms_us" |
| legalTextId | integer or null |
| isActive required | boolean |
| lastOpenedDate | string <date-time> |
| contextId | integer |
{- "clientId": "string",
- "sendId": "string",
- "optinChannel": "sms",
- "optinType": "commercial",
- "legalTextId": 0,
- "isActive": true,
- "lastOpenedDate": "2019-08-24T14:15:22Z",
- "contextId": 0
}{- "data": {
- "clientId": "string",
- "sendId": "string",
- "optinChannel": "sms",
- "optinType": "commercial",
- "legalTextId": 0,
- "isActive": true,
- "lastOpenedDate": "2019-08-24T14:15:22Z",
- "contextId": 0,
- "optinId": 123,
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5",
- "optoutDate": "2019-08-24T14:15:22Z",
- "optinDate": "2019-08-24T14:15:22Z",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
},
}delete visitor's optin
| visitorId required | string <uuid> Id of visitor |
| optinType required | string (OptinType) Enum: "commercial" "loyalty" "center" "privacy" "wallet" "terms" "smartparking_us" "sms_us" |
| optinChannel required | string (OptinChannel) Enum: "sms" "push" "email" "none" |
{- "errors": [
- {
- "code": "string",
- "type": "string",
- "field": "string",
- "message": "string"
}
]
}Retrieve visitor's optin
| visitorId required | string <uuid> Id of visitor |
| optinId required | integer <Int64> Id of optin |
| fields | string Example: fields=foo,bar List of fields to return |
{- "data": {
- "clientId": "string",
- "sendId": "string",
- "optinChannel": "sms",
- "optinType": "commercial",
- "legalTextId": 0,
- "isActive": true,
- "lastOpenedDate": "2019-08-24T14:15:22Z",
- "contextId": 0,
- "optinId": 123,
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5",
- "optoutDate": "2019-08-24T14:15:22Z",
- "optinDate": "2019-08-24T14:15:22Z",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
},
}Update optin
| visitorId required | string <uuid> Id of visitor |
| optinId required | integer <Int64> Id of optin |
| clientId | string |
| sendId | string |
{- "clientId": "string",
- "sendId": "string"
}{- "errors": [
- {
- "code": "string",
- "type": "string",
- "field": "string",
- "message": "string"
}
]
}Disable optin
| visitorId required | string <uuid> Id of visitor |
| optinId required | integer <Int64> Id of optin |
{- "errors": [
- {
- "code": "string",
- "type": "string",
- "field": "string",
- "message": "string"
}
]
}Add a new challenge
Create a new challenge
| pcCode required | string (PcCode) |
| genericName required | string |
| type required | string (ChallengeType) Value: "step_counter" |
| startDate required | string <date-time> |
| endDate required | string <date-time> |
| timezone | string |
| imageUrl | string or null |
| winnerNumber required | integer |
| rewardExpirationSeconds | integer or null |
| status required | string Enum: "draft" "active" "ended" "archived" "ready" |
required | Array of objects (TranslationPostAttributes) |
required | Array of objects (TranslationPostAttributes) |
required | Array of objects (TranslationPostAttributes) |
{- "pcCode": "FR-SC-123",
- "genericName": "challenge Les 4 Temps",
- "type": "step_counter",
- "startDate": "2020-01-01T00:00:00.000Z",
- "endDate": "2020-01-01T00:00:00.000Z",
- "timezone": "Europe/Paris",
- "winnerNumber": 1,
- "rewardExpirationSeconds": 86400,
- "status": "draft",
- "displayName": [
- {
- "localeCode": "fr-FR",
- "value": "La Bonne Excuse"
}
], - "description": [
- {
- "localeCode": "fr-FR",
- "value": "La Bonne Excuse"
}
], - "rewardDetail": [
- {
- "localeCode": "fr-FR",
- "value": "La Bonne Excuse"
}
]
}{- "data": {
- "pcCode": "FR-SC-123",
- "genericName": "challenge Les 4 Temps",
- "type": "step_counter",
- "startDate": "2020-01-01T00:00:00.000Z",
- "endDate": "2020-01-01T00:00:00.000Z",
- "timezone": "Europe/Paris",
- "winnerNumber": 1,
- "rewardExpirationSeconds": 86400,
- "status": "draft",
- "displayName": [
- {
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z",
- "localeCode": "string",
- "value": "string",
- "type": "string"
}
], - "description": [
- {
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z",
- "localeCode": "string",
- "value": "string",
- "type": "string"
}
], - "rewardDetail": [
- {
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z",
- "localeCode": "string",
- "value": "string",
- "type": "string"
}
], - "challengeId": 12,
- "createdAt": "2020-01-01T00:00:00.000Z",
- "updatedAt": "2020-01-01T00:00:00.000Z"
},
}Get all challenges
| pcCode | string Example: pcCode=FR-SC-150 PcCode of the challenge |
| type | string Value: "step_counter" Example: type=step_counter Type of the challenge |
| startDate | string <date-time> Example: startDate=2020-01-01T00:00:00.000Z Start date of the challenge |
| endDate | string <date-time> Example: endDate=2020-01-01T00:00:00.000Z End date of the challenge |
| status | string Enum: "draft" "active" "ended" "archived" "ready" Status of the challenge |
| offset | integer <int64> >= 1 Skip given number of records |
| limit | integer <int64> [ 1 .. 500 ] Default: 25 Limit number of records |
| fields | string Example: fields=foo,bar List of fields to return |
| sort | string Example: sort=-creationDate,-updateDate Sort records by |
{- "data": [
- {
- "pcCode": "FR-SC-123",
- "genericName": "challenge Les 4 Temps",
- "type": "step_counter",
- "startDate": "2020-01-01T00:00:00.000Z",
- "endDate": "2020-01-01T00:00:00.000Z",
- "timezone": "Europe/Paris",
- "winnerNumber": 1,
- "rewardExpirationSeconds": 86400,
- "status": "draft",
- "displayName": [
- {
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z",
- "localeCode": "string",
- "value": "string",
- "type": "string"
}
], - "description": [
- {
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z",
- "localeCode": "string",
- "value": "string",
- "type": "string"
}
], - "rewardDetail": [
- {
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z",
- "localeCode": "string",
- "value": "string",
- "type": "string"
}
], - "challengeId": 12,
- "createdAt": "2020-01-01T00:00:00.000Z",
- "updatedAt": "2020-01-01T00:00:00.000Z"
}
], - "metadata": {
- "version": 1,
- "_links": {
}
}
}Update a challenge
| challengeId required | integer <int64> ID of challenge |
Update a challenge
| pcCode | string (PcCode) |
| genericName | string |
| type | string (ChallengeType) Value: "step_counter" |
| startDate | string <date-time> |
| endDate | string <date-time> |
| timezone | string |
| imageUrl | string or null |
| winnerNumber | integer |
| rewardExpirationSeconds | integer or null |
| status | string Enum: "draft" "active" "ended" "archived" "ready" |
Array of objects (TranslationPostAttributes) | |
Array of objects (TranslationPostAttributes) | |
Array of objects (TranslationPostAttributes) |
{- "pcCode": "FR-SC-123",
- "genericName": "challenge Les 4 Temps",
- "type": "step_counter",
- "startDate": "2020-01-01T00:00:00.000Z",
- "endDate": "2020-01-01T00:00:00.000Z",
- "timezone": "Europe/Paris",
- "winnerNumber": 1,
- "rewardExpirationSeconds": 86400,
- "status": "draft",
- "displayName": [
- {
- "localeCode": "fr-FR",
- "value": "La Bonne Excuse"
}
], - "description": [
- {
- "localeCode": "fr-FR",
- "value": "La Bonne Excuse"
}
], - "rewardDetail": [
- {
- "localeCode": "fr-FR",
- "value": "La Bonne Excuse"
}
]
}{- "errors": [
- {
- "code": "string",
- "type": "string",
- "field": "string",
- "message": "string"
}
]
}Get a challenge
| challengeId required | integer <int64> ID of challenge |
{- "data": {
- "pcCode": "FR-SC-123",
- "genericName": "challenge Les 4 Temps",
- "type": "step_counter",
- "startDate": "2020-01-01T00:00:00.000Z",
- "endDate": "2020-01-01T00:00:00.000Z",
- "timezone": "Europe/Paris",
- "winnerNumber": 1,
- "rewardExpirationSeconds": 86400,
- "status": "draft",
- "displayName": [
- {
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z",
- "localeCode": "string",
- "value": "string",
- "type": "string"
}
], - "description": [
- {
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z",
- "localeCode": "string",
- "value": "string",
- "type": "string"
}
], - "rewardDetail": [
- {
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z",
- "localeCode": "string",
- "value": "string",
- "type": "string"
}
], - "challengeId": 12,
- "createdAt": "2020-01-01T00:00:00.000Z",
- "updatedAt": "2020-01-01T00:00:00.000Z"
},
}Get visitor challenges
| challengeId required | integer <int64> ID of challenge |
| offset | integer <int64> >= 1 Skip given number of records |
| limit | integer <int64> [ 1 .. 500 ] Default: 25 Limit number of records |
| fields | string Example: fields=foo,bar List of fields to return |
| sort | string Example: sort=-creationDate,-updateDate Sort records by |
| rewardUnlocked | boolean Example: rewardUnlocked=false Challenge reward unlocked |
{- "data": [
- {
- "visitorId": "string",
- "challengeId": 0,
- "points": 0,
- "totalEntryCount": 0,
- "bonusEntryCount": 0,
- "lastEntryDate": "2019-08-24T14:15:22Z",
- "rewardUnlocked": true,
- "rewardReceived": true,
- "registeredDate": "2019-08-24T14:15:22Z",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z",
- "visitorChallengeId": 1312
}
], - "metadata": {
- "version": 1,
- "_links": {
}
}
}Terminate challenge
| challengeId required | integer <int64> ID of challenge |
| ignoreEndDate required | boolean |
{- "ignoreEndDate": true
}{- "errors": [
- {
- "code": "string",
- "type": "string",
- "field": "string",
- "message": "string"
}
]
}Add a Article
create a Article
| genericName required | string |
| mainImageUrl required | string |
| status required | string Enum: "draft" "ready" "published" "archived" |
| publishDate required | string <date-time> |
Array of objects (TranslationPostAttributes) | |
Array of objects (TranslationPostAttributes) |
{- "genericName": "string",
- "mainImageUrl": "string",
- "status": "draft",
- "publishDate": "2019-08-24T14:15:22Z",
- "title": [
- {
- "localeCode": "fr-FR",
- "value": "La Bonne Excuse"
}
], - "content": [
- {
- "localeCode": "fr-FR",
- "value": "La Bonne Excuse"
}
]
}{- "data": {
- "genericName": "string",
- "mainImageUrl": "string",
- "status": "draft",
- "publishDate": "2019-08-24T14:15:22Z",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z",
- "articleId": 1312,
- "title": [
- {
- "localeCode": "string",
- "value": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
}
], - "content": [
- {
- "localeCode": "string",
- "value": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
}
]
},
}Retrieve a list of Articles
| offset | integer <int64> >= 1 Skip given number of records |
| limit | integer <int64> [ 1 .. 500 ] Default: 25 Limit number of records |
| fields | string Example: fields=foo,bar List of fields to return |
| sort | string Example: sort=-creationDate,-updateDate Sort records by |
| status | string Enum: "draft" "ready" "published" "archived" Example: status=archived |
| publishDateSince | string Example: publishDateSince=2023-09-01 |
| publishDateUntil | string Example: publishDateUntil=2023-10-01 |
{- "data": [
- {
- "genericName": "string",
- "mainImageUrl": "string",
- "status": "draft",
- "publishDate": "2019-08-24T14:15:22Z",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z",
- "articleId": 1312,
- "title": [
- {
- "localeCode": "string",
- "value": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
}
], - "content": [
- {
- "localeCode": "string",
- "value": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
}
]
}
], - "metadata": {
- "version": 1,
- "_links": {
}
}
}Retrieve a Article
| articleId required | number Example: true |
| fields | string Example: fields=foo,bar List of fields to return |
{- "data": {
- "genericName": "string",
- "mainImageUrl": "string",
- "status": "draft",
- "publishDate": "2019-08-24T14:15:22Z",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z",
- "articleId": 1312,
- "title": [
- {
- "localeCode": "string",
- "value": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
}
], - "content": [
- {
- "localeCode": "string",
- "value": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
}
]
},
}Update a Article
| articleId required | number Example: true |
update a Article
| genericName | string |
| mainImageUrl | string |
| status | string Enum: "draft" "ready" "published" "archived" |
| publishDate | string <date-time> |
Array of objects (TranslationPostAttributes) | |
Array of objects (TranslationPostAttributes) |
{- "genericName": "string",
- "mainImageUrl": "string",
- "status": "draft",
- "publishDate": "2019-08-24T14:15:22Z",
- "title": [
- {
- "localeCode": "fr-FR",
- "value": "La Bonne Excuse"
}
], - "content": [
- {
- "localeCode": "fr-FR",
- "value": "La Bonne Excuse"
}
]
}{- "errors": [
- {
- "code": "string",
- "type": "string",
- "field": "string",
- "message": "string"
}
]
}create new vehicle partner
| visitorId required | string <uuid> Id of visitor |
| visitorId | string <uuid> (VisitorId) |
| vehicleId required | integer |
| partnerId required | string |
| parkingPartner required | string Enum: "smartparking_us" "smartparking_uk" "ilogs" "designa" "thales" "smartparking_v2" |
| visitorCenterId | integer |
| pcCode | string |
{- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5",
- "vehicleId": 2131,
- "partnerId": "123-ABC-123",
- "parkingPartner": "smartparking_us",
- "visitorCenterId": 1231,
- "pcCode": "FR-SC-75"
}{- "data": {
- "vehiclePartnerId": 23423,
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5",
- "vehicleId": 2131,
- "partnerId": "123-ABC-123",
- "parkingPartner": "smartparking_us",
- "visitorCenterId": 1231,
- "pcCode": "FR-SC-75",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
},
}Retrieve list of vehicle partners
| visitorId required | string <uuid> Id of visitor |
| offset | integer <int64> >= 1 Skip given number of records |
| limit | integer <int64> [ 1 .. 500 ] Default: 25 Limit number of records |
| sort | string Example: sort=-creationDate,-updateDate Sort records by |
| fields | string Example: fields=foo,bar List of fields to return |
{- "data": [
- {
- "vehiclePartnerId": 23423,
- "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5",
- "vehicleId": 2131,
- "partnerId": "123-ABC-123",
- "parkingPartner": "smartparking_us",
- "visitorCenterId": 1231,
- "pcCode": "FR-SC-75",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z"
}
], - "metadata": {
- "version": 1,
- "_links": {
}
}
}Delete visitor's vehicle partner
| visitorId required | string <uuid> Id of visitor |
| vehiclePartnerId required | integer Id of a vehicle partner |
{- "errors": [
- {
- "code": "string",
- "type": "string",
- "field": "string",
- "message": "string"
}
]
}{- "data": {
- "property1": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "property2": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
},
}Add a VisitorChallenge
| visitorId required | string <uuid> Id of visitor |
create a VisitorChallenge
| challengeId required | integer |
| registeredAt | string <date-time> |
{- "challengeId": 0,
- "registeredAt": "2019-08-24T14:15:22Z"
}{- "data": {
- "visitorId": "string",
- "challengeId": 0,
- "points": 0,
- "totalEntryCount": 0,
- "bonusEntryCount": 0,
- "lastEntryDate": "2019-08-24T14:15:22Z",
- "rewardUnlocked": true,
- "rewardReceived": true,
- "registeredDate": "2019-08-24T14:15:22Z",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z",
- "visitorChallengeId": 1312
},
}Retrieve a list of VisitorChallenges
| visitorId required | string <uuid> Id of visitor |
| offset | integer <int64> >= 1 Skip given number of records |
| limit | integer <int64> [ 1 .. 500 ] Default: 25 Limit number of records |
| fields | string Example: fields=foo,bar List of fields to return |
| sort | string Example: sort=-creationDate,-updateDate Sort records by |
| pcCode | string PcCode of center |
| type | string (ChallengeType) Value: "step_counter" Example: type=step_counter Type of challenge |
| registerDateSince | string <date-time> |
| registerDateUntil | string <date-time> |
{- "data": [
- {
- "visitorId": "string",
- "challengeId": 0,
- "points": 0,
- "totalEntryCount": 0,
- "bonusEntryCount": 0,
- "lastEntryDate": "2019-08-24T14:15:22Z",
- "rewardUnlocked": true,
- "rewardReceived": true,
- "registeredDate": "2019-08-24T14:15:22Z",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z",
- "visitorChallengeId": 1312
}
], - "metadata": {
- "version": 1,
- "_links": {
}
}
}Update a VisitorChallenge
| visitorId required | string <uuid> Id of visitor |
| visitorChallengeId required | integer Id of Visitor challenge |
update a VisitorChallenge
| points | integer |
| totalEntryCount | integer |
| bonusEntryCount | integer |
| lastEntryDate | string or null <date-time> |
| rewardUnlocked | boolean |
| rewardReceived | boolean |
{- "points": 0,
- "totalEntryCount": 0,
- "bonusEntryCount": 0,
- "lastEntryDate": "2019-08-24T14:15:22Z",
- "rewardUnlocked": true,
- "rewardReceived": true
}{- "errors": [
- {
- "code": "string",
- "type": "string",
- "field": "string",
- "message": "string"
}
]
}add points to a VisitorChallenge
| visitorId required | string <uuid> Id of visitor |
| visitorChallengeId required | integer Id of Visitor challenge |
add points to a VisitorChallenge
| points required | integer |
{- "points": 0
}{- "errors": [
- {
- "code": "string",
- "type": "string",
- "field": "string",
- "message": "string"
}
]
}Delete a VisitorChallenge
| visitorId required | string <uuid> Id of visitor |
| visitorChallengeId required | integer Id of Visitor challenge |
{- "errors": [
- {
- "code": "string",
- "type": "string",
- "field": "string",
- "message": "string"
}
]
}Retrieve a list of VisitorRankings
| visitorId required | string <uuid> Id of visitor |
| offset | integer <int64> >= 1 Skip given number of records |
| limit | integer <int64> [ 1 .. 500 ] Default: 25 Limit number of records |
| sort | string Example: sort=-creationDate,-updateDate Sort records by |
| fields | string Example: fields=foo,bar List of fields to return |
| pcCode | string Example: pcCode=FR-SC-150 The center's pcCode linked to a challenge |
| type | string (ChallengeType) Value: "step_counter" Example: type=step_counter The challenge's type |
| registerDateSince | string <date-time> Example: registerDateSince=2020-01-01T00:00:00.000Z register date since of the challenge |
| registerDateUntil | string <date-time> Example: registerDateUntil=2020-01-01T00:00:00.000Z register date until of the challenge |
{- "data": [
- {
- "challenge": {
- "pcCode": "FR-SC-123",
- "genericName": "challenge Les 4 Temps",
- "type": "step_counter",
- "startDate": "2020-01-01T00:00:00.000Z",
- "endDate": "2020-01-01T00:00:00.000Z",
- "timezone": "Europe/Paris",
- "winnerNumber": 1,
- "rewardExpirationSeconds": 86400,
- "status": "draft",
- "displayName": [
- {
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z",
- "localeCode": "string",
- "value": "string",
- "type": "string"
}
], - "description": [
- {
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z",
- "localeCode": "string",
- "value": "string",
- "type": "string"
}
], - "rewardDetail": [
- {
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z",
- "localeCode": "string",
- "value": "string",
- "type": "string"
}
], - "challengeId": 12,
- "createdAt": "2020-01-01T00:00:00.000Z",
- "updatedAt": "2020-01-01T00:00:00.000Z"
}, - "visitorChallenge": {
- "visitorId": "string",
- "challengeId": 0,
- "points": 0,
- "totalEntryCount": 0,
- "bonusEntryCount": 0,
- "lastEntryDate": "2019-08-24T14:15:22Z",
- "rewardUnlocked": true,
- "rewardReceived": true,
- "registeredDate": "2019-08-24T14:15:22Z",
- "creationDate": "2019-08-24T14:15:22Z",
- "updateDate": "2019-08-24T14:15:22Z",
- "visitorChallengeId": 1312
}, - "topRanking": [
- {
- "position": 0,
- "name": "string",
- "points": "string",
- "isVisitorRank": true
}
], - "otherRanking": [
- {
- "position": 0,
- "name": "string",
- "points": "string",
- "isVisitorRank": true
}
], - "bonusActivatedToday": true,
- "visitorRankingPosition": 0,
- "canLogPoints": true
}
], - "metadata": {
- "version": 1,
- "_links": {
}
}
}Retrieve a list of VisitorChallenges
| visitorId required | string <uuid> Id of visitor |
| challengeId | integer <int64> ID of challenge |
[- {
- "visitorChallengeHistoryId": 0,
- "challengeId": 0,
- "visitorId": "string",
- "visitorChallengeId": 0,
- "points": 0,
- "bonusActivated": true,
- "totalPoints": 0,
- "participationDate": "2019-08-24T14:15:22Z",
- "origin": "string",
- "action": "increment"
}
]If a license plate is given, we will check in the database with a vehicle that 1) matches the license plate, 2) is not deleted and 3) is the latest updated plate.
If a visitorId or a barcode is given we will check with the visitors existing in the database.
If multiple 'ID' fields (barcode, visitorId, licensePlate) are given, we will check, alongside the above rules, that they all match with the same Visitor.
| visitType required | string Enum: "entry" "exit" The type of visit, either entry or exit |
The smartparking payload object
| visitorId | string On of the 3 ID fields. At least one of the 3 is mandatory. If multiple are given we will check that they match the same visitor. |
| barcode | string On of the 3 ID fields. At least one of the 3 is mandatory. If multiple are given we will check that they match the same visitor. |
| licensePlate | string On of the 3 ID fields. At least one of the 3 is mandatory. If multiple are given we will check that they match the same visitor. |
| pcCode required | string The pcCode (ID) of the center (mall) that makes the request |
{- "visitorId": "string",
- "barcode": "string",
- "licensePlate": "string",
- "pcCode": "string"
}{- "visitorId": "string",
- "pcCode": "string",
- "visitDate": "2019-08-24T14:15:22Z",
- "visitType": "entry",
- "licensePlate": "string"
}If a licenseplate is given, we will check in the database with a vehicle that 1) matches the license plate, 2) has a null deleted date and 3) is the latest update date.
If a visitorId or a barcode is given we will check with the visitors existing in the database.
If multiple 'ID' fields (barcode, visitorId, licensePlate) are given, we will check alongside the above rules that they all match with the same Visitor.
| pcCode required | string pcCode |
| visitorId | string On of the 3 ID fields. At least one of the 3 is mandatory. If multiple are given we will check that they match the same visitor. |
| barcode | string On of the 3 ID fields. At least one of the 3 is mandatory. If multiple are given we will check that they match the same visitor. |
| licensePlate | string On of the 3 ID fields. At least one of the 3 is mandatory. If multiple are given we will check that they match the same visitor. |
| visitDateSince | string Filter out the results with visitDate >= visitDateSince |
| visitDateUntil | string Filter out the results with visitDate <= visitDateSince |
| visitType | string Enum: "entry" "exit" Filter out the results on the visit type. By default all types are returned. |
| offset | integer <int64> >= 1 Skip given number of records |
| limit | integer <int64> [ 1 .. 500 ] Default: 25 Limit number of records |
| sort | string Example: sort=-creationDate,-updateDate Sort records by |
| fields | string Example: fields=foo,bar List of fields to return |
[- {
- "visitorId": "string",
- "pcCode": "string",
- "visitDate": "2019-08-24T14:15:22Z",
- "visitType": "entry",
- "licensePlate": "string"
}
]