Skip to end of banner
Go to start of banner

rewards_participants/configuration

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Available from CRM.COM R9.0.0

GET rewards_participants/configuration/reward_schemes/list

This method returns the effective reward schemes that are allowed to be provided to rewards participants. Multiple reward schemes are returned by each call. Note that only effective reward schemes are retrieved.

Resource URL

Parameters

Name

Type

Description

token

String

The token retrieved from the login method

group_identifier

(optional)

Group Identifier

The identifier of the group that will be providing the reward scheme. The group is filtered against the reward scheme's allowed organisational units. The allowed group identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the group

name

(semi-optional)

String

The code of the group

alternative_code

(semi-optional)

String

The alternative code of  the group

unit_identifier

(optional)

Unit Identifier

The identifier of the unit that will be providing the reward scheme. The unit is filtered against the reward scheme's allowed organisational units. The allowed unit identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the Unit

name

(semi-optional)

String

The name of the Unit

alternative_code

(semi-optional)

String

The alternative code of  the Unit

fields_set

(optional)

List of Strings, comma separated 

A list of fields that should be included in the results. If not specified then all the available fields will be returned

Response Data

NameType Description

id

String

The ID of the retrieved reward scheme

name

String

The name of the retrieved reward scheme

alternative_code

String

The alternative code of the retrieved reward scheme

descriptionStringA description of the retrieved reward scheme
life_cycle_stateStringThe life cycle state of the retrieved reward scheme that can be Effective or Not Effective
requires_reference_codeBoolean

If true then a unique reference code is required in order to sign up to that specific reward scheme

Available from CRM.COM R12.7.0

self_signup_enabledBoolean

If true then rewards participants can sign up to this reward scheme by themselves

Available from CRM.COM R12.7.0

auto_signup_enabledBoolean

If true then rewards participants will automatically be participating to this scheme while they sign up

Available from CRM.COM R15.0.0

reference_code_generation_methodString

It determines how the reference code will be generated. The following generation methods are supported:

  • THROUGH_EXTERNAL_SYSTEM
  • AUTO_GENERATED

Available from CRM.COM R15.0.0

supported_email_domainsString

It determines the supported email domains that can be used to sign a rewards participant into a specific rewards scheme that requires a reference code (multiple domains can be returned and will be comma separated)

Applicable only if the reference code generation method is set to "AUTO_GENERATED"

Available from CRM.COM R15.2.0

log_informationLog Information ObjectThe log information of the retrieved reward scheme
marketing_informationReward Scheme Marketing Information Object

The reward scheme's marketing information

Available from CRM.COM R12.7.0

Referred Objects Response Data

 log_information object response data

Name

Type

Description

created_date

Date

The date that the retrieved record was created

updated_date

Date

The last date that the retrieved record was updated

created_by_unit

Unit Object

The unit that created the retrieved record

From CRM.COM R14.1.0 and onward, group_name and community_name attributes will be returned as empty, if the related legacy compatibility setting is disabled

Deprecated from CRM.COM R18.0.0

created_by_business_unit

Unit Object

The unit that created the retrieved record

From CRM.COM R14.1.0 and onward, group_name and community_name attributes will be returned as empty, if the related legacy compatibility setting is disabled

Available from CRM.COM R18.0.0

created_by_user

User Object

The user that created the retrieved record

From CRM.COM R14.1.0 and onward, person_name and email attributes will be returned as empty, if the related legacy compatibility setting is disabled

updated_by_unit

Unit Object

The last unit that updated the retrieved record

From CRM.COM R14.1.0 and onward, group_name and community_name attributes will be returned as empty, if the related legacy compatibility setting is disabled

Deprecated from CRM.COM R18.0.0

updated_by_business_unit

Unit Object

The last unit that updated the retrieved record

Available from CRM.COM R18.0.0

updated_by_user

User Object

The last user that updated the retrieved record

From CRM.COM R14.1.0 and onward, person_name and email attributes will be returned as empty, if the related legacy compatibility setting is disabled

Referred Objects Response Data

 unit object response data

Name

Type

Description

id

String

The ID of the retrieved unit

name

String

The name of the retrieved unit

group_name

String

The name of the group that the retrieved unit belongs to

community_name

String

The name of the community that the retrieved unit belongs to

alternative_code

String

The alternative code of the retrieved unit

description

String

The description of the retrieved unit

 business unit object response data

Name

Type

Description

id

String

The ID of the retrieved business unit

name

String

The name of the retrieved business unit

codeStringThe code of the retrieved business unit
unified_codeString

The unified code of the retrieved business unit

description

String

The description of the retrieved business unit

parent_business_unit_nameStringThe name of the parent business unit that the retrieved business unit belongs to

 user object response data

Name

Type

Description

id

String

The ID of the retrieved user

username

String

The user name of the retrieved user

person_name

String

The full name of the retrieved user

email

String

The email of the retrieved user

 reward scheme marketing information object response data

Name

Type

Description

long_descriptionStringThe scheme's long description
short_descriptionStringThe scheme's short description
terms_and_conditionsString

The terms and conditions of the scheme

Available from CRM.COM R15.0.0

reward_scheme_imageReward scheme Image ObjectThe reward scheme standard (large) image
reward_scheme_small_imageReward scheme Image Object

The reward scheme small image

Available from CRM.COM R15.0.0

reward_scheme_backgroundReward scheme Background Object

The reward offer background which can be an image or a color

Deprecated from CRM.COM R17.0.0

Referred Objects Response Data

 Reward Scheme Marketing Information Image Object

Name

Type

Description

file_nameStringThe name of the file.
file_content_urlStringThe url that can be used to access the actual content of the file.
file_mime_typeStringThe mime type of the attached file
file_alt_textStringThe alternative text of the attached file, if the file is an image

 Reward scheme Marketing Information Background Object

Name

Type

Description

file_nameStringThe name of the file.
file_content_urlStringThe url that can be used to access the actual content of the file.
file_mime_typeStringThe mime type of the attached file
file_alt_textStringThe alternative text of the attached file, if the file is an image
colorStringThe hexadecimal value of the color that will be used as a background

Examples

 Example 1

HTTP Method: GET

 

Request:

Response:

 

 
  • No labels