Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
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

...

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

wallet_identifier

(semi-optional)

Wallet identifier  

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

Include Page
V4:wallet_identifier
V4:wallet_identifier

Tip

Available from CRM.COM R10.0.0

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 object

The access token that will be associated with the rewards participant

Tip

Deprecated starting from CRM.COM R8.0.0 onward

participating_schemes_set

(optional)

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

access_tokens_set

(mandatory on conditions)

Set of Access Token Objects

The access tokens that will be associated with the rewards participant. This information is mandatory if the active access token definition is set up to require at least one access token for each rewards participant

 

Tip

Available from CRM.COM R8.0.0

Anchor
rewards participant create referred objects parameters
rewards participant create referred objects parameters
Referred Parameters Objects Data

...

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 object

The access token that will be associated with the rewards participant

Tip

Deprecated starting from CRM.COM R8.0.0

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

access_tokens_set

(mandatory on conditions)

Set of Access Token Objects

The access tokens that will be associated with the rewards participant. This information is mandatory if the active access token definition is set up to require at least one access token for each rewards participant

If no records are specified in the set then nothing will be updated. To remove a record use action:"remove". To add a record use action:"add_existing" or "add_new". Different actions can be used within the same set. For example:

Code Block
themeConfluence
languagejavascript
linenumberstrue
"set": [
	   		{
            	"action": "add_existing",
            	...........
        	},
			{
            	"action": "remove",
            	...........
			},
			{
            	"action": "add_new",
            	...........
			}
		]
Tip

Available from CRM.COM R8.0.0

Anchor
rewards participant update referred objects parameters
rewards participant update referred objects parameters
Referred Parameters Objects Data

Tip

Deprecated starting from CRM.COM R8.0.0

Include Page
V4:access_token_parameters
V4:access_token_parameters

Tip

Available from CRM.COM R8.0.0

Include Page
V4:access_token_update_parameters
V4:access_token_update_parameters

...

Expand
titleExample 1

HTTP Method: POST

 

Request:

Body:

Code Block
themeConfluence
languagejavascript
linenumberstrue
{
    "token":"A0931BF523A24C819181DC9487343F45",
    "rewards_participant_identifier": {"number":"76"},
    "access_tokens_set":
	[
        	{
        		"action" :	"add_existing",
        		"access_token_identifier" : { "authentication_code" : "15855832543" }
      		},
		{
			"action" :	"remove",
        		"access_token_identifier" : { "authentication_code" : "1256723" }
		}
	]   
} 

 

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
    {
       "status":
       {
           "message": "",
           "description": "",
           "code": "OK"
       },
       "data":
       {
           "sign_up_on": "2014-07-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",
           "udf_float_4": 40,
           "number": "76",
           "sign_up_by_unit":
           {
               "community_name": "Internal Community",
               "id": "A01DEAA885B5B0F14769F983A2F6A16E",
               "name": "Sales Department 1",
               "group_name": "Sales Manager Group",
               "description": null,
               "alternative_code": "SD1"
           },
           "udf_date_3": "2014-07-05T15:49:59",
           "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-08-05T15:49:59",
                   "scheme":
                   {
                       "life_cycle_state": "EFFECTIVE",
                       "id": "EA5CCE98F857F3A928E3AA6891323088",
                       "name": "Sales Scheme",
                       "description": "Sales Scheme - TC10",
                       "alternative_code": "SS"
                   },
                   "sign_up_by_unit":
                   {
                       "id": "CA8896C911589FEDB384001606C2440E",
                       "name": "Sales Department 2",
                       "description": "Sales Department 2 under Sales Manager Group",
                       "alternative_code": "SD2"
                   },
                   "id": "C15176CD387C45D78BBB328113CD9BCE"
               },
               {
                   "sign_up_on": "2014-05-05T15:49:59",
                   "scheme":
                   {
                       "life_cycle_state": "EFFECTIVE",
                       "id": "E339CFB9284E8BB291E63CC42E574E88",
                       "name": "Marketing Reward Scheme",
                       "description": "Marketing Reward Scheme for Sales Department, CRM Team 1, Marketing Team",
                       "alternative_code": "MRS"
                   },
                   "sign_up_by_unit":
                   {
                       "id": "A01DEAA885B5B0F14769F983A2F6A16E",
                       "name": "Sales Department 1",
                       "description": null,
                       "alternative_code": "SD1"
                   },
                   "id": "0740FCC927CB47C0B0E2DF3D0AC2E2AB"
               }
           ],
           "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": "2015-10-15T13:04:53",
               "created_date": "2015-10-15T12:46:02",
               "created_by_unit":
               {
                   "community_name": "Internal Community",
                   "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                   "name": "Admin Unit",
                   "group_name": "Main Group",
                   "description": "r1 Test Description for resource request tab.Test Description for resource request tab.",
                   "alternative_code": "MG"
               },
               "updated_by_unit":
               {
                   "community_name": "Internal Community",
                   "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                   "name": "Admin Unit",
                   "group_name": "Main Group",
                   "description": "r1 Test Description for resource request tab.Test Description for resource request tab.",
                   "alternative_code": "MG"
               },
               "created_by_user":
               {
                   "person_name": "MPAdministrator",
                   "username": "MPAdministrator",
                   "id": "1",
                   "email": "sakkascy1986@hotmail.com"
               },
               "updated_by_user":
               {
                   "person_name": "Marios Lannister",
                   "username": "MPAdministrator",
                   "id": "1"
               }
           },
           "udf_string_7": "udf string 7",
           "udf_string_8": "udf string 8",
           "accounts_receivable":
           {
               "account_owner":
               {
                   "last_name": "Tyler",
                   "middle_name": null,
                   "life_cycle_state": "FINANCIAL",
                   "company_profile": null,
                   "title": null,
                   "first_name": "Rose",
                   "type": "PERSON",
                   "id": "2666B580BF60454C97D5DB2DDCD50BAE",
                   "name": null,
                   "company_name": null,
                   "demographics":
                   {
                       "gender": "FEMALE",
                       "passport_issued_by_country": null,
                       "social_security_number": null,
                       "passport_number": null,
                       "industry_sector": null,
                       "name_day":
                       {
                           "month": null,
                           "day": null
                       },
                       "date_of_birth":
                       {
                           "month": null,
                           "day": null,
                           "year": null
                       },
                       "id_number": "4324",
                       "industry": null,
                       "id_issued_by_country": null
                   }
               },
               "life_cycle_state": "ACTIVE",
               "number": "ACR000783",
               "id": "0B06C58003B4456281DC97B73C5050EE",
               "name": "ACREC-04-RT"
           },
           "access_tokens_set":
           [
               {
                   "authentication_code": "15855832543",
                   "life_cycle_state": "EFFECTIVE",
                   "number": "102",
                   "identifier": "1241544",
                   "id": "1BC0D7F84FBC4ABCA04229BEABC6E90B"
               }
           ],
           "id": "E1581BDEE0C642A2877806B94C70ADA0"
       }
    } 

 

 

Tip

Available from CRM.COM R10.0.0