NUTRINTG CDP Proxy Service
CDP Proxy Service is an overlay on Epsilon API. It provides some of the endpoints with RB implementation of authentication based on OAuth2 flow. The client which would like to consume Epsilon API does not have to authenticate with Epsilon credentials but should use a user with granted authorities which is provided by RB.
Custom Profile Search
Endpoint: ${host}/legacy/CustomProfileSearch?access_token=${access_token}
${access_token} - OAuth2 token with LEGACY_SAVE_DATA scope
Required headers:
Content-Type:application/json
Accept-Language:en-US
Example request
{
"EmailAddress": "success+vXHSMSpIOa@simulator.amazonses.com",
"BrandOrgCode": "MJNPOL",
"OnlyLatestIndivProfileFlag": "Y"
}
Example response
[
{
"ProfileId": "71a89851-ee5f-4db9-9175-1c2b74b55312",
"ClientAccountId": null,
"Prefix": null,
"SourcePrefix": null,
"FirstName": "bXjoU",
"SourceFirstName": null,
"MiddleInit": null,
"SourceMiddleInit": null,
"LastName": "hCWMHCHEzO",
"SourceLastName": null,
"Suffix": null,
"SourceSuffix": null,
"GlobalOptOut": null,
"GlobalOptDate": null,
"GlobalOptSource": null,
"LanguageCode": null,
"MaritalStatus": null,
"Gender": null,
"SourceGender": null,
"BirthDate": null,
"CompanyName": null,
"InLinkedPool": null,
"StdFirstName": null,
"StdMiddleName": null,
"StdLastName": null,
"StdPrefix": null,
"StdSuffix": null,
"StdGender": null,
"StdCompanyName": null,
"Individual": null,
"ProfileCredential": null,
"Addresses": [
{
"ProfileId": "71a89851-ee5f-4db9-9175-1c2b74b55312",
"AddressId": "180650ef-50a3-43e8-9288-53736321066a",
"AddressLine1": "JYvaKBIr",
"SourceAddressLine1": "JYvaKBIr",
"AddressLine2": "GBeWvPuV",
"SourceAddressLine2": "GBeWvPuV",
"AddressLine3": "QoNztpIf",
"SourceAddressLine3": "QoNztpIf",
"City": "dMNMqI",
"SourceCity": "dMNMqI",
"StateCode": "rxYeurLXDac",
"HouseHoldId": null,
"IndividualAddressId": null,
"SourceStateCode": "rxYeurLXDac",
"CountryCode": "POL",
"SourceCountryCode": "",
"PostalCode": "60702",
"SourcePostalCode": "60702",
"Urbanization": null,
"ChannelCode": "DM",
"LocationCode": "O",
"IsPreferred": true,
"DeliveryStatus": "G",
"DeliveryStatusDescription": null,
"DoNotStandardize": true,
"GlobalAddressId": "96026675880006070217700000000000",
"CarrierRoute": null,
"DeliveryPointBarCode": null,
"UniqueZipInd": null,
"MailScore": null,
"DeliveryModeType": null,
"VacantInd": null,
"Latitude": null,
"Longitude": null,
"MoveType": null,
"CassReturnType": null,
"AceRecordTypeCode": null,
"NoStatInd": null,
"DropInd": null,
"AceErrorCode": null,
"MultiTypeCode": null,
"NcoaReturnCode": null,
"DropCount": null,
"SeasonalInd": null,
"LacsInd": null,
"CmraInd": null,
"BusResInd": null,
"EducationInd": null,
"AddressDefInd": null,
"EndDate": null,
"MoveDate": null,
"AccountSourceCode": "POLGWTPL",
"SourceAccountNumber": "MJNPOL_6da6df20-13c5-4ac5-9848-3e7d5428396a",
"BrandOrgCode": "MJNPOL",
"ActivityDate": "2023-02-22T17:18:45",
"CreateFileId": null,
"CreateRecordNumber": null,
"UpdateFileId": null,
"UpdateRecordNumber": null,
"CoaDate": null,
"NearestStoreCode": null,
"NearestStoreCalcDate": null,
"IndividualAddress": null,
"IsoCountry": null,
"PostalExt": null,
"Status": "A",
"CreateUser": null,
"CreateDate": null,
"UpdateUser": null,
"UpdateDate": null,
"JsonExternalData": null
}
],
"Emails": [
{
"ProfileId": "71a89851-ee5f-4db9-9175-1c2b74b55312",
"EmailId": "de1b4e39-3ec0-4bf7-817c-315bfbe24fb9",
"EmailAddress": "success+vxhsmspioa@simulator.amazonses.com",
"SourceEmailAddress": "success+vXHSMSpIOa@simulator.amazonses.com",
"ContactScore": null,
"ChannelCode": "EM",
"LocationCode": "O",
"IsPreferred": true,
"DeliveryStatus": "G",
"DeliveryStatusDescription": null,
"AccountSourceCode": "POLGWTPL",
"SourceAccountNumber": "MJNPOL_6da6df20-13c5-4ac5-9848-3e7d5428396a",
"BrandOrgCode": "MJNPOL",
"ActivityDate": "2023-02-22T17:18:45",
"CreateFileId": null,
"CreateRecordNumber": null,
"UpdateFileId": null,
"UpdateRecordNumber": null,
"ContactPointId": null,
"CreateContactPointIndicator": false,
"HygienedContactPoint": null,
"OriginalContactPoint": null,
"IndividualContactPoint": null,
"Status": "A",
"CreateUser": null,
"CreateDate": null,
"UpdateUser": null,
"UpdateDate": null,
"JsonExternalData": null
}
],
"Phones": [
{
"ProfileId": "71a89851-ee5f-4db9-9175-1c2b74b55312",
"PhoneId": "a763d058-c326-4587-ab15-dc01e50e9be5",
"PhoneNumber": "861854907",
"SourcePhoneNumber": "861854907",
"Extension": null,
"PhoneCountryCode": null,
"AcceptsText": null,
"OptStatus": null,
"OptInDate": null,
"Frequency": null,
"NeverBefore": null,
"NeverAfter": null,
"ContactScore": null,
"ChannelCode": "PH",
"LocationCode": "O",
"IsPreferred": true,
"DeliveryStatus": "G",
"DeliveryStatusDescription": null,
"AccountSourceCode": "POLGWTPL",
"SourceAccountNumber": "MJNPOL_6da6df20-13c5-4ac5-9848-3e7d5428396a",
"BrandOrgCode": "MJNPOL",
"ActivityDate": "2023-02-22T17:18:45",
"CreateFileId": null,
"CreateRecordNumber": null,
"UpdateFileId": null,
"UpdateRecordNumber": null,
"ContactPointId": null,
"CreateContactPointIndicator": false,
"HygienedContactPoint": null,
"OriginalContactPoint": null,
"IndividualContactPoint": null,
"Status": "A",
"CreateUser": null,
"CreateDate": null,
"UpdateUser": null,
"UpdateDate": null,
"JsonExternalData": null
}
],
"PreferredStores": null,
"SocialAccounts": null,
"ProgramCode": null,
"SourceCode": null,
"EnrollmentStatus": null,
"StatusChangeReason": null,
"JoinDate": null,
"EnrollChannelCode": null,
"TierCode": null,
"TierName": null,
"TierReasonCode": null,
"Username": null,
"Password": null,
"IndividualId": 1000068479198,
"HouseholdId": "2000102076748",
"CardNumber": null,
"Status": "A",
"SourceMiddleName": null,
"TermsConditionsAcceptedInd": null,
"TermsConditionsAcceptedDate": null,
"AccountSourceCode": "POLGWTPL",
"SourceAccountNumber": "MJNPOL_6da6df20-13c5-4ac5-9848-3e7d5428396a",
"BrandOrgCode": "MJNPOL",
"ProductLevelCode": null,
"VulGarInd": null,
"MaturitySuffix": null,
"ProfessionalSuffix": null,
"OrigActivityDate": null,
"MiddleName": null,
"ActivityDate": "2023-02-22T17:18:45",
"CreateFileId": null,
"CreateRecordNumber": null,
"UpdateFileId": null,
"UpdateRecordNumber": null,
"PrefChannelCode": null,
"SurvivorProfileId": null,
"AutoRewardOptInInd": false,
"GamerAlias": null,
"GamerAvatar": null,
"GamerAvatarImageUrl": null,
"ActivationLink": null,
"EnrollmentStoreCode": null,
"EnrollmentStoreName": null,
"SecurityCodeExpDate": null,
"SecurityCode": null,
"SourceHardkey1": null,
"SourceHardkey2": null,
"SourceHardkey3": null,
"SourceHardkey4": null,
"SourceHardkey5": null,
"SourceHardkey6": null,
"IsSocialMediaProfile": false,
"IsEnrollmentActivation": false,
"IsEnrollmentEmailReminder": false,
"BypassRequiredFields": false,
"ReturnRawMomentData": false,
"SkipMomentEngine": false,
"MomentResults": null,
"RawMomentResults": null,
"CreateUser": null,
"CreateDate": null,
"UpdateUser": null,
"UpdateDate": null,
"JsonExternalData": null
}
]
Add Assign Voucher
Endpoint: ${host}/legacy/AddAssignVoucher?access_token=${access_token}
${access_token} - OAuth2 token with LEGACY_SAVE_DATA scope
Required headers:
Example request
Example response
Add Voucher Redemptions
Endpoint: ${host}/legacy/AddVoucherRedemptions?access_token=${access_token}
${access_token} - OAuth2 token with LEGACY_SAVE_DATA scope
Required headers:
Example request -
VoucheNumber must be valid and must be already assigned to the given profile (please see Add Assign Voucher). Be sure to take the VoucherNumber from Assign Voucher Response and put into the request.
Example response
Add Hospital
Endpoint: ${host}/legacy/AddHospital?access_token=${access_token}
${access_token} - OAuth2 token with LEGACY_SAVE_DATA scope
Required headers:
Example request
Example response
Update Hospital
Endpoint: ${host}/legacy/UpdateHospital?access_token=${access_token}
${access_token} - OAuth2 token with LEGACY_SAVE_DATA scope
Required headers:
Example request
Example response
Get Hospital
Endpoint: ${host}/legacy/GetHospital?access_token=${access_token}
${access_token} - OAuth2 token with LEGACY_SAVE_DATA scope
Required headers:
Example request
Example response