Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: show
Tip

Available from CRM.COM R5.0.0

Table of Contents
maxLevel2

...

POST rewards_participants/show

This method returns information related with a rewards participants. A single rewards participant is returned by each call

...

Name

Type

Description

token

String

The token retrieved from the login method

rewards_participant_identifier

(mandatory)

Rewards Participant identifier  

The identifier of the rewards participant that should be returned as a result. The allowed rewards participant identifier fields are the following:

Include Page
V4:rewards_participants_identifier
V4:rewards_participants_identifier

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

...

Expand
titleExample 1

HTTP Method:  GETPOST

 

Request:

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
{
    "status":
    {
        "message": null,
        "description": null,
        "code": "OK"
    },
    "data":
    {
        "sign_up_on": "2014-08-05T15:49:59",
        "udf_float_1": 10,
        "udf_float_2": 20,
        "udf_date_1": "2014-05-05T15:49:59",
        "udf_float_3": 30,
        "udf_date_2": "2014-06-05T15:49:59",
        "number": "16",
        "udf_float_4": 40,
        "udf_date_3": "2014-07-05T15:49:59",
        "sign_up_by_unit":
        {
            "community_name": "Main Community",
            "group_name": "Main Group",
            "name": "Marketing Unit",
            "id": "83922FE923563679768A94F58CAB5569",
            "description": "r1c1",
            "alternative_code": null
        },
        "udf_date_4": "2014-08-05T15:49:59",
        "udf_string_1": "udf string 1",
        "udf_string_2": "udf string 2",
        "participating_schemes_set":
        [
            {
                "sign_up_on": "2014-12-05T15:49:59",
                "scheme":
                {
                    "life_cycle_state": "EFFECTIVE",
                    "name": "test 2",
                    "id": "FDC8FD6BC50FD648952C5804820033A4",
                    "description": null,
                    "alternative_code": "t2"
                },
                "sign_up_by_unit":
                {
                    "group_name": null,
                    "name": "VK Unit",
                    "id": "F164DB175FA6C345680426F7C17DF803",
                    "description": null,
                    "alternative_code": "VKU"
                },
                "id": "0BF0E353817E3D8F36F07CBE79A62CBC"
            },
            {
                "sign_up_on": "2014-11-05T15:49:59",
                "scheme":
                {
                    "life_cycle_state": "EFFECTIVE",
                    "name": "Test1",
                    "id": "C423FFDD9CE9AF60A67B7F29F539630F",
                    "description": "test 1",
                    "alternative_code": "t1"
                },
                "sign_up_by_unit":
                {
                    "group_name": null,
                    "name": "VK Unit",
                    "id": "F164DB175FA6C345680426F7C17DF803",
                    "description": null,
                    "alternative_code": "VKU"
                },
                "id": "A3FBB9718D3B3AFE1505F39A489ED4A4"
            }
        ],
        "udf_string_3": "udf string 3",
        "udf_string_4": "udf string 4",
        "udf_string_5": "udf string 5",
        "udf_string_6": "udf string 6",
        "log_information":
        {
            "updated_date": "2014-12-01T15:28:05",
            "created_by_unit":
            {
                "community_name": "Main Community",
                "group_name": "Main Group",
                "name": "Admin Unit",
                "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                "description": "r1",
                "alternative_code": "MG"
            },
            "created_date": "2014-11-19T12:57:27",
            "updated_by_unit":
            {
                "community_name": "Main Community",
                "group_name": "Main Group",
                "name": "Admin Unit",
                "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                "description": "r1",
                "alternative_code": "MG"
            },
            "created_by_user":
            {
                "person_name": "MPAdministrator",
                "username": "MPAdministrator",
                "id": "1",
                "email": "mp@ministrator.com"
            },
            "updated_by_user":
            {
                "person_name": "MPAdministrator",
                "username": "MPAdministrator",
                "id": "1",
                "email": "mp@ministrator.com"
            }
        },
        "udf_string_7": "udf string 7",
        "udf_string_8": "udf string 8",
        "accounts_receivable":
        {
            "account_owner":
            {
                "last_name": "Papapavlou",
                "life_cycle_state": "FINANCIAL",
                "middle_name": "Andreas",
                "company_profile": null,
                "title": "Ms",
                "type": "PERSON",
                "first_name": "Lucia",
                "name": null,
                "id": "1D92B269658D80DEDF2499E25201739E",
                "company_name": null,
                "demographics":
                {
                    "gender": "FEMALE",
                    "passport_number": "113115",
                    "social_security_number": "113116",
                    "date_of_birth":
                    {
                        "month": 1,
                        "day": 1,
                        "year": 1990
                    },
                    "name_day":
                    {
                        "month": 5,
                        "day": 5
                    },
                    "id_number": "113114"
                }
            },
            "life_cycle_state": "ACTIVE",
            "number": "399",
            "name": "Lucia Papapavlou",
            "id": "2B669B8EB009BF42352C00B05FAB61CF"
        },
        "id": "8D585084E77D8EA5AE3E5B13649A1139",
        "access_token":
        {
            "authentication_code": "newtest",
            "life_cycle_state": "EFFECTIVE",
            "identifier": "newtest",
            "number": "14",
            "id": "BE03C3B93AB4F01C50BB2EFA235A8DBB"
        }
    }
}

...

Name

Type

Description

token

String

The token retrieved from the login method

accounts_receivable_identifier

(semi-optional)

Accounts Receivable identifier  

The identifier of the accounts receivable related with the rewards participant that should be returned as a result. The allowed accounts receivable identifier fields are the following:

Include Page
V4:accounts_receivable_identifier
V4:accounts_receivable_identifier

contact_information_identifier

(semi-optional)

Contact Information identifier  

The identifier of the contact information related with the rewards participant that should be returned as a result. The allowed contact information identifier fields are the following:

Include Page
V4:contact_information_identifier
V4:contact_information_identifier

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

...

Name

Type

Description

token

String

The token retrieved from the login method

sign_up_on

(mandatory)

DateThe date that the rewards participant signed up

sign_up_by_unit_identifier

(mandatory)

Unit identifier

The unit that signed up the rewards participant. The allowed unit identifier fields are the following:

Include Page
V4:unit_identifier
V4:unit_identifier

udf_string_1 

(optional)

String

User Defined Field of type String

udf_string_2

(optional)

String

User Defined Field of type String

udf_string_3 

(optional)

String

User Defined Field of type String

udf_string_4 

(optional)

String

User Defined Field of type String

udf_string_5

(optional)

String

User Defined Field of type String

udf_string_6 

(optional)

String

User Defined Field of type String

udf_string_7

(optional)

String

User Defined Field of type String

udf_string_8

(optional)

String

User Defined Field of type String

udf_float_1

(optional)

Float

User Defined Field of type Float

udf_float_2

(optional)

Float

User Defined Field of type Float

udf_float_3

(optional)

Float

User Defined Field of type Float

udf_float_4

(optional)

Float

User Defined Field of type Float

udf_date_1 

(optional)

Date

User Defined Field of type Date

udf_date_2 

(optional)

Date

User Defined Field of type Date

udf_date_3

(optional)

Date

User Defined Field of type Date

udf_date_4

(optional)

Date

User Defined Field of type Date

accounts_receivable

(mandatory)

Accounts receivable objectThe accounts receivable owned by the rewards participant that identifies the CRM.COM customer, and handles all financial transactions that might be posted as a result of award or spend reward transactions

access_token

(mandatory)

Access Token objectThe access token that will be associated with the rewards participant

participating_schemes_set

(optional)

Set of Rewards Participant Scheme ObjectsA list of reward schemes that the rewards participant has joint

...

Name

Type

Description

token

String

The token retrieved from the login method

rewards_participant_identifier

(mandatory)

Rewards Participant identifier  

The identifier of the rewards participant that should be updated. The allowed rewards participant identifier fields are the following:

Include Page
V4:rewards_participants_identifier
V4:rewards_participants_identifier

sign_up_on

(optional)

DateThe date that the rewards participant signed up

sign_up_by_unit_identifier

(optional)

Unit identifier

The unit that signed up the rewards participant. The allowed unit identifier fields are the following:

Include Page
V4:unit_identifier
V4:unit_identifier

udf_string_1 

(optional)

String

User Defined Field of type String

udf_string_2

(optional)

String

User Defined Field of type String

udf_string_3 

(optional)

String

User Defined Field of type String

udf_string_4 

(optional)

String

User Defined Field of type String

udf_string_5

(optional)

String

User Defined Field of type String

udf_string_6 

(optional)

String

User Defined Field of type String

udf_string_7

(optional)

String

User Defined Field of type String

udf_string_8

(optional)

String

User Defined Field of type String

udf_float_1

(optional)

Float

User Defined Field of type Float

udf_float_2

(optional)

Float

User Defined Field of type Float

udf_float_3

(optional)

Float

User Defined Field of type Float

udf_float_4

(optional)

Float

User Defined Field of type Float

udf_date_1 

(optional)

Date

User Defined Field of type Date

udf_date_2 

(optional)

Date

User Defined Field of type Date

udf_date_3

(optional)

Date

User Defined Field of type Date

udf_date_4

(optional)

Date

User Defined Field of type Date

access_token

(optional)

Access Token objectThe access token that will be associated with the rewards participant

participating_schemes_set

(optional)

Set of Rewards Participant Scheme Objects

A list of reward schemes that the rewards participant has joint

Include Page
V4:Web API - Updating Sets
V4:Web API - Updating Sets

...