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

...

Expand
titleExample 1

HTTP Method: POST

 

Request:

Body:

Code Block
themeConfluence
languagejavascript
linenumberstrue
  {
  "token":"A5FCBB50276F659ED013387B1156A5C0A0931BF523A24C819181DC9487343F45",
  "sign_up_on":"2014-07-05T15:49:59",
  "sign_up_by_unit_identifier":{"name":"DevelopersSales Department Unit1"},
  "udf_string_1":"udf string 1",
   "udf_string_2":"udf string 2",
   "udf_string_3":"udf string 3",
   "udf_string_4":"udf string 4",
   "udf_string_5":"udf string 5",
   "udf_string_6":"udf string 6",
   "udf_string_7":"udf string 7",
   "udf_string_8":"udf string 8",
   "udf_float_1":10,
   "udf_float_2":20,
   "udf_float_3":30,
   "udf_float_4":40,
   "udf_float_5":50,
   "udf_float_6":60,
   "udf_float_7":70,
   "udf_float_8":80,
   "udf_date_1":"2014-05-05T15:49:59",
   "udf_date_2":"2014-06-05T15:49:59",
   "udf_date_3":"2014-07-05T15:49:59",
   "udf_date_4":"2014-08-05T15:49:59",
   "accounts_receivable":
   {
     "action":"EXISTING",
        "accounts_receivable_identifier":{"number":"200ACR000783"},
  },
  "access_token":{
                   "action": "NEW",
                   "authentication_code":"MariosMTest",
                   "identifier":"MariosMTest",
                   "pass_code":"12345"
},
   "participating_schemes_set":
   [
     {
       "sign_up_on": "2014-05-05T15:49:59" ,
       "sign_up_by_unit_identifier":{"name":"Sales BranchDepartment 21"},
       "reward_scheme_identifier":{"name":"Test1Marketing Reward Scheme"}
     },
     {
       "sign_up_on": "2014-08-05T15:49:59" ,
       "sign_up_by_unit_identifier":{"name":"MarketingSales Department Unit2"},
       "reward_scheme_identifier":{"name":"testSales 2Scheme"}
     }
   ],
 }

 

 

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
{
    "status":	"access_tokens_set" :
	[
		{
			"authentication_code" : "1256723",
			"identifier" : "1236544",
			"pass_code" : "awe$qew!"
		}
	]
 }

 

 

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_datefloat_13": "2014-05-05T15:49:59"30,
        "udf_float_3": 30,
        "udf_date_2   "number": "2014-06-05T15:49:5976",
        "number": "30",
        "udf_float_4": 40,
      
 "udf_date_3": "2014-07-05T15:49:59",         "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_datestring_41": "2014-08-05T15:49:59udf string 1",
           "udf_string_12": "udf string 12",
           "udf_string_23": "udf string 23",
           "participatingudf_schemesstring_set4": "udf string 4",
       [
      "udf_string_5": "udf string 5",
         {  "udf_string_6": "udf string 6",
           "signudf_upstring_on7": "2014-08-05T15:49:59udf string 7",
           "udf_string_8": "udf string 8",
 "scheme":          "accounts_receivable":
      {     {
               "lifeaccount_cycle_stateowner":
"EFFECTIVE",               {
     "name": "test 2",            "last_name": "Tyler",
       "id": "FDC8FD6BC50FD648952C5804820033A4",                     "description"middle_name": null,
                    "alternativelife_cycle_codestate": "t2FINANCIAL",
                },   "company_profile": null,
            "sign_up_by_unit":               "title": null,
 {                     "groupfirst_name": null"Rose",
                    "nametype": "Marketing UnitPERSON",
                    "id": "83922FE923563679768A94F58CAB55692666B580BF60454C97D5DB2DDCD50BAE",
                    "descriptionname": "r1c1"null,
                    "alternativecompany_codename": null
  ,
             },                 "id"demographics":
"36700CEF82D4F4581094C4E603EFD0EE"             },      {
      {                 "sign_up_ongender": "2014-05-05T15:49:59FEMALE",
                "scheme":         "passport_issued_by_country": null,
       {                     "lifesocial_cyclesecurity_statenumber": "EFFECTIVE",null,
                       "namepassport_number": "Test1"null,
                    "id   "industry_sector": "C423FFDD9CE9AF60A67B7F29F539630F"null,
                    "description": "test 1",   "name_day":
                       {
          "alternative_code": "t1"                "month": }null,
                "sign_up_by_unit":           "day": null
    {                   },
 "group_name": null,                     "namedate_of_birth":
"Sales Branch 2",                       {
     "id": "C7304329F4787BC7845052332B180A0E",                     "descriptionmonth": null,
                      "alternative_code": "SB2"     "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"
     },      },
           "id": "354DA9761226EB9C81745BB4A5AC0A09E1581BDEE0C642A2877806B94C70ADA0",
           "access_token": null,
  }          ]"udf_date_1": "2014-05-05T15:49:59",
           "udf_stringdate_32": "udf string 3","2014-06-05T15:49:59",
           "udf_stringdate_43": "udf string 4",2014-07-05T15:49:59",
           "udf_stringdate_54": "udf string 5",2014-08-05T15:49:59",
           "udfparticipating_stringschemes_6": "udf string 6",set":
           [
             "log_information":  {
      {             "updatedsign_up_dateon": "20152014-0208-03T0905T15:1649:5759",
            "created_by_unit":       "scheme":
       {            {
    "community_name": "Main Community",                 "grouplife_cycle_namestate": "Main GroupEFFECTIVE",
                       "nameid": "Admin UnitEA5CCE98F857F3A928E3AA6891323088",
                "id       "name": "48305F8849E3C18B227C5BE3A27BA6DFSales Scheme",
                       "description": "r1Sales Scheme - TC10",
                       "alternative_code": "MGSS"
            },             "created_date": "2015-02-03T09:16:57",},
                   "updatedsign_up_by_unit":
            {       {
         "community_name": "Main Community",              "id": "CA8896C911589FEDB384001606C2440E",
    "group_name": "Main Group",                 "name": "AdminSales Department Unit2",
                "id": "48305F8849E3C18B227C5BE3A27BA6DF",       "description": "Sales Department 2 under Sales Manager Group",
     "description": "r1",                 "alternative_code": "MGSD2"
                   },
            "created_by_user       "id": "C15176CD387C45D78BBB328113CD9BCE"
             {  },
               {
"person_name": "Marios Lannister",                 "usernamesign_up_on": "MPAdministrator",2014-05-05T15:49:59",
                   "idscheme":
"1",                 "email": null {
           },             "updatedlife_bycycle_userstate": "EFFECTIVE",
            {           "id": "E339CFB9284E8BB291E63CC42E574E88",
    "person_name": "Marios Lannister",                 "usernamename": "MPAdministratorMarketing Reward Scheme",
                 "id      "description": "1",
      Marketing Reward Scheme for Sales Department, CRM Team 1, Marketing Team",
         "email": null             }
"alternative_code": "MRS"
       },         "udf_string_7": "udf string 7"},

       "udf_string_8": "udf string 8",         "accounts_receivable":
     sign_up_by_unit":
  {             "account_owner":    {
        {                 "last_nameid": "Ioannou27A01DEAA885B5B0F14769F983A2F6A16E",
                "life_cycle_state       "name": "FINANCIALSales Department 1",
                "middle_name       "description": null,
                       "companyalternative_profilecode": "SD1"
 null,                 "title": "Mr" },
                   "typeid": "PERSON",0740FCC927CB47C0B0E2DF3D0AC2E2AB"
               }
     "first_name": "Marios",     ],
           "namelog_information":
null,
           {
               "idupdated_date": "C86CFAAEC4D482D26C2E8C525C38E4A52015-10-15T12:46:06",
                "company_name": null"created_date": "2015-10-15T12:46:02",
                "demographicscreated_by_unit":
                {
                    "gendercommunity_name": "MALEInternal Community",
                    "passport_issued_by_country"id": null"48305F8849E3C18B227C5BE3A27BA6DF",
                    "passport_numbername": null"Admin Unit",
                    "socialgroup_security_numbername": "Main nullGroup",
                    "country_of_residencedescription": "r1 Test Description for resource request tab.Test Description for resource request tab.",
         {          "alternative_code": "MG"
             "name": "UNITED KINGDOM"},
               "updated_by_unit":
               "id": "126"{
                   "community_name": "Internal }Community",
                    "industry_sectorid": null"48305F8849E3C18B227C5BE3A27BA6DF",
                    "date_of_birthname": "Admin Unit",
                  { "group_name":    "Main Group",
                   "monthdescription": null,
    "r1 Test Description for resource request tab.Test Description for resource request tab.",
                   "dayalternative_code": null,"MG"
               },
        "year": null      "created_by_user":
              }, {
                   "person_name_day": "Marios Lannister",
                  {   "username": "MPAdministrator",
                     "monthid": null,"1"
               },
        "day": null      "updated_by_user":
              }, {
                   "idperson_numbername": null"Marios Lannister",
                    "id_issued_by_country"username": null"MPAdministrator",
                    "industryid": null"1"
                }

           },

           "lifeaccess_cycletokens_stateset": "ACTIVE",
           [
       "number": "200",       {
     "name": "mar27",             "idauthentication_code": "A61127D0DB2D192FCA80787D4D258A361256723",
        },           "idlife_cycle_state": "5A260129EBBAC135F7A8F386DFBEFECFEFFECTIVE",
                "access_token   "number":  "ACT0000000143",
      {             "authentication_codeidentifier": "MariosMTest1236544",
                "life_cycle_state   "id": "EFFECTIVEF9F4DB790DF3400FB923CCD72DF3118F",
            "identifier": "MariosMTest",  }
          "number": "41", ]
       }
    "id": "088DB435101AB41D75E478715F433CBB"}
  
      }     }
}

POST rewards_participants/update

...

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

...