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

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":"A34C2023D51B1DBAE819E962C8E678C4A0931BF523A24C819181DC9487343F45",
    "rewards_participant_identifier": {"number":"3076"},
 
      "access_tokentokens_set":
	[
        	{
        		"action" :	"EXISTINGadd_existing",
        		"access_token_identifier" : { "authentication_code" : "test12315855832543" }
      		},
		{
  
} 

 

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
{
    "status":
			"action" :	"remove",
   {         "		"access_token_identifier" : { "authentication_code" : "1256723" }
		}
	]   
} 

 

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
    {
       "status":
       {
           "message": null"",
           "description": null"",
           "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",
     
  "number": "30",         "udf_float_4": 40,
        "udf_date_3   "number": "2014-07-05T15:49:5976",
           "sign_up_by_unit":
           {
               "community_name": "MainInternal Community",
            "group_name   "id": "Developers GroupA01DEAA885B5B0F14769F983A2F6A16E",
               "name": "DevelopersSales Department Unit1",
            "id   "group_name": "C4370788B2630BC8A99E8C7397406C09Sales Manager Group",
               "description": null,
               "alternative_code": "SD1"
  null         },
           "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",
                       "nameid": "test 2EA5CCE98F857F3A928E3AA6891323088",
                       "idname": "FDC8FD6BC50FD648952C5804820033A4Sales Scheme",
                       "description": null"Sales Scheme - TC10",
                       "alternative_code": "t2SS"
                   },
                   "sign_up_by_unit":
                   {
                       "group_nameid": null"CA8896C911589FEDB384001606C2440E",
                       "name": "MarketingSales Department Unit2",
                       "iddescription": "83922FE923563679768A94F58CAB5569",Sales Department 2 under Sales Manager   Group",
            "description": "r1c1",                     "alternative_code": null"SD2"
                   },
                   "id": "36700CEF82D4F4581094C4E603EFD0EEC15176CD387C45D78BBB328113CD9BCE"
               },
               {
                   "sign_up_on": "2014-05-05T15:49:59",
                   "scheme":
                   {
                       "life_cycle_state": "EFFECTIVE",
                       "nameid": "Test1E339CFB9284E8BB291E63CC42E574E88",
                       "idname": "C423FFDD9CE9AF60A67B7F29F539630FMarketing Reward Scheme",
                       "description": "test 1Marketing Reward Scheme for Sales Department, CRM Team 1, Marketing Team",
                       "alternative_code": "t1MRS"
                   },
                   "sign_up_by_unit":
                   {
                    "group_name   "id": null"A01DEAA885B5B0F14769F983A2F6A16E",
                       "name": "Sales BranchDepartment 21",
                    "id": "C7304329F4787BC7845052332B180A0E",                     "description": null,
                       "alternative_code": "SB2SD1"
                   },
                   "id": "354DA9761226EB9C81745BB4A5AC0A090740FCC927CB47C0B0E2DF3D0AC2E2AB"
               }
           ],
           "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-0210-03T0915T13:1904:53",
               "created_by_unitdate": "2015-10-15T12:46:02",
           {      "created_by_unit":
               {
                   "community_name": "MainInternal Community",
                   "group_nameid": "Main Group48305F8849E3C18B227C5BE3A27BA6DF",
                   "name": "Admin Unit",
                "id   "group_name": "48305F8849E3C18B227C5BE3A27BA6DFMain Group",
                   "description": "r1 Test Description for resource request tab.Test Description for resource request tab.",
                   "alternative_code": "MG"
               },
            "created_date": "2015-02-03T09:16:57",
     "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"
         "updated_by_unit":      }
      {     },
           "communityudf_string_name7": "Mainudf string Community7",
   
            "groupudf_string_name8": "Mainudf string Group8",
           "accounts_receivable":
    "name": "Admin Unit",
       {
               "idaccount_owner":
"48305F8849E3C18B227C5BE3A27BA6DF",               {
 "description": "r1",                 "alternativelast_codename": "MGTyler",
            },             "createdmiddle_by_username":       null,
     {                 "person_name"life_cycle_state": "MPAdministratorFINANCIAL",
                "username   "company_profile": "MPAdministrator"null,
                "id":   "1title": null,
                   "emailfirst_name": "mp@ministrator.comRose",
            },
            "updated_by_user"type":          "PERSON",
  {                 "person_nameid": "Marios Lannister2666B580BF60454C97D5DB2DDCD50BAE",
                   "usernamename": "MPAdministrator"null,
                "id   "company_name": "1",null,
                   "emaildemographics":
null             }      {
  },         "udf_string_7": "udf string 7",         "udf_string_8gender": "udf string 8FEMALE",
    
   "accounts_receivable":         {             "account_ownerpassport_issued_by_country": null,
           {            "social_security_number": null,
   "last_name": "Ioannou27",                     "lifepassport_cycle_statenumber": "FINANCIAL"null,
                "middle_name       "industry_sector": null,
                "company_profile       "name_day":
null,                 "title": "Mr",     {
           "type": "PERSON",                 "first_namemonth": "Marios"null,
                "name": null,           "day": null
    "id": "C86CFAAEC4D482D26C2E8C525C38E4A5",                 "company_name": null },
                "demographics":       "date_of_birth":
         {               {
     "gender": "MALE",                     "passport_issued_by_countrymonth": null,
                     "passport_number": null,      "day": null,
                           "social_security_numberyear": null,
                      "industry_sector": null },
                       "dateid_of_birthnumber": "4324",
                   {
    "industry": null,
                       "monthid_issued_by_country": null,
                   }
     "day": null,         },
               "yearlife_cycle_state": "ACTIVE",
 null              "number": "ACR000783",
     },          "id": "0B06C58003B4456281DC97B73C5050EE",
               "name_day": "ACREC-04-RT"
           },
        {   "access_tokens_set":
           [
         "month": null,     {
                   "dayauthentication_code": null"1256723",
                    }"life_cycle_state": "EFFECTIVE",
                    "id_number": null"ACT0000000143",
                    "id_issued_by_country"identifier": null"1236544",
                    "industryid": null
"F9F4DB790DF3400FB923CCD72DF3118F"
               },
            },       {
     "life_cycle_state": "ACTIVE",             "numberauthentication_code": "20015855832543",
            "name": "mar27",
            "id"life_cycle_state": "A61127D0DB2D192FCA80787D4D258A36EFFECTIVE",
         },          "idnumber": "5A260129EBBAC135F7A8F386DFBEFECF102",
        "access_token":         {    "identifier": "1241544",
        "authentication_code": "test123",             "life_cycle_stateid": "EFFECTIVE1BC0D7F84FBC4ABCA04229BEABC6E90B",
            "identifier": "test1234",  }
          "number": "20" ],
            "id": "24CDF96EC29C1359108F633E1C5C3502E1581BDEE0C642A2877806B94C70ADA0"

       }

   } }