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

...

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: POST

 

Request:

 


Body:

Code Block
themeConfluence
languagejs
linenumberstrue
{
  "token":"476A07F7C99133EA35D9AEA25475C8C1",
  "rewards_participant_identifier":{"access_token_identifier": {"identifier":"luciapapapavlou","pass_code":"abC123def"}}
}


 

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
      {
    "status":
    {
        "message": null,
        "description": null,
        "code": "OK"
    },
    "data":
    {
        "sign_up_on": "2014-0807-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": "1623",
        "udf_float_4": 40,
        "udf_date_3": "2014-07-05T15:49:59",
        "sign_up_by_unit":
        {
            "community_name": "Main Community",
            "group_name": "MainDevelopers Group",
            "name": "MarketingDevelopers Unit",
            "id": "83922FE923563679768A94F58CAB5569C4370788B2630BC8A99E8C7397406C09",
            "description": "r1c1"null,
            "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-1208-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": "VKMarketing Unit",
                    "id": "F164DB175FA6C345680426F7C17DF80383922FE923563679768A94F58CAB5569",
                    "description": null"r1c1",
                    "alternative_code": "VKU"null
                },
                "id": "0BF0E353817E3D8F36F07CBE79A62CBCBD06A4102B664DA60166AF6C0632717E"
            },
            {
                "sign_up_on": "2014-1105-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": "VKSales Branch Unit2",
                    "id": "F164DB175FA6C345680426F7C17DF803C7304329F4787BC7845052332B180A0E",
                    "description": null,
                    "alternative_code": "VKUSB2"
                },
                "id": "A3FBB9718D3B3AFE1505F39A489ED4A445BDE113BCD5BB82B3DDAA3C1E4AAA20"
            }
        ],
        "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-01T1504T12:2800:0522",
            "created_by_unit":
            {
                "community_name":
"Main Community",
                "group_name": "Main Group"null,
                "name": "Admin Unit",
                "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                "description": "r1",
                "alternative_code": "MG"
            },
            "created_date": "2014-1112-19T1202T10:5735:2725",
            "updated_by_unit":
            {
                "community_name": "Main
Community",                 "group_name": "Main Group"null,
                "name": "Admin Unit",
                "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                "description": "r1",
                "alternative_code": "MG"
            },
            "created_by_user":
            {
                "person_name": "MPAdministrator",
                "username": "MPAdministrator",
                "id": "1",
                "email": "mp@ministrator.com"null
            },
            "updated_by_user":
            {
                "person_name": "MPAdministrator",
                "username": "MPAdministrator",
                "id": "1",
                "email": "mp@ministrator.com"null
            }
        },
        "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": "8D585084E77D8EA5AE3E5B13649A11397CA14C019F1055BCEAE025F84D84A9F5",
        "access_token":
        {
            "authentication_code": "newtest123456789",
            "life_cycle_state": "EFFECTIVE",
            "identifier": "newtestluciapapapavlou",
            "number": "1422",
            "id": "BE03C3B93AB4F01C50BB2EFA235A8DBB8C491748E4BB54245CF030CCB4C8A8EB"
        }
    }
}

GET rewards_participants/list

...

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

...