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

POST access_tokens/show

This method returns information related with an access token. A single access token is returned by each call

Resource URL

Parameters

...

Name

...

Type

...

Description

...

token

...

String

...

The token retrieved from the login method

...

(mandatory)

...

Access Token identifier  

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

...

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

Restrictions

  • It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified.

Response Data

...

Examples

HTTP Method: POST

Request:

Body:

Expand
titleExample 1
Code Block
{
	"token":"641070EA9DF042E48CDA1B6414ACABC5", 
	"access_token_identifier": { "authentication_code" : "CCD4537CA4AD4EE8912FFBAE53110601"}
}

 

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
{ Tip

Available from CRM.COM R5.0.0

Table of Contents
maxLevel2

POST access_tokens/show

This method returns information related with an access token. A single access token is returned by each call

Resource URL

Parameters

Name

Type

Description

token

String

The token retrieved from the login method

access_token_identifier

(mandatory)

Access Token identifier  

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

Include Page
V4:access_token_identifier
V4:access_token_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

Restrictions

  • It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified.

Response Data

Include Page
V4:access_token_complete
V4:access_token_complete

Examples

Expand
titleExample 1

HTTP Method: POST

Request:

Body:

Code Block
{
	"token":"641070EA9DF042E48CDA1B6414ACABC5", 
	"access_token_identifier": { "authentication_code" : "CCD4537CA4AD4EE8912FFBAE53110601"}
}

 

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
{
       "status":
       {
           "message": "",
           "description": "",
           "code": "OK"
       },
       "data":
       {
           "log_information":
           {
               "updated_date": "2015-05-27T12:03:05",
               "created_date": "2015-02-16T14:23:46",
               "statuscreated_by_unit":
               {
           "message        "community_name": "Internal Community",
                   "descriptionid": "48305F8849E3C18B227C5BE3A27BA6DF",
           "code        "name": "OK"Admin Unit",
           },        "datagroup_name": "Main Group",
     {              "log_informationdescription":     "r1",
      {                "updatedalternative_datecode": "2015-05-27T12:03:05",MG"
               "created_date": "2015-02-16T14:23:46"},
               "createdupdated_by_unit":
               {
                   "community_name": "Internal Community",
                   "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                   "name": "Admin Unit",
                   "group_name": "Main Group",
                   "description": "r1",
                   "alternative_code": "MG"
               },
   
           "updated_by_unit":
               {
                   "community_name": "Internal Community",     "created_by_user":
              "id": "48305F8849E3C18B227C5BE3A27BA6DF", {
                   "person_name": "Admin Unitp_xenopoulou",
                   "group_nameusername": "Main Groupp_xenopoulou",
                   "descriptionid": "r1159C17D9C4B1E48DC129FBC701D38438",
                   "alternative_codeemail": "MGp_xenopoulou@crm.com"
               },
               "createdupdated_by_user":
               {
                   "person_name": "p_xenopoulouMPAdministrator",
                   "username": "p_xenopoulouMPAdministrator",
                   "id": "159C17D9C4B1E48DC129FBC701D384381",
                   "email": "p_xenopoulou@crmsakkascy1986@hotmail.com"
               }
           },
           "reward_participant":
      "updated_by_user":     {
               "accounts_receivable":
               {
                   "account_owner":
  {                 {
  "person_name": "MPAdministrator",                    "usernamelast_name": "MPAdministratorHavier",
                       "idmiddle_name": "1",null,
                       "emaillife_cycle_state": "sakkascy1986@hotmail.comFINANCIAL",
               }        "company_profile": null,
   },            "reward_participant":        "title": null,
  {                "accounts_receivable":     "first_name": "Shemar",
         {              "type": "PERSON",
    "account_owner":                    {"id": "E21381FCC07AB01BAAC3851B6C00FFE5",
                       "last_name": "Havier"null,
                       "middlecompany_name": null,
                       "life_cycle_statedemographics":
  "FINANCIAL",                     {
  "company_profile": null,                        "titlegender": null,
                       "first_name    "passport_issued_by_country": "Shemar",null,
                           "typesocial_security_number": "PERSON",null,
                           "idpassport_number": "E21381FCC07AB01BAAC3851B6C00FFE5"null,
                       "name    "industry_sector": null,
                           "companyname_nameday":
null,                           {
           "demographics":                    "month": null,
   {                            "genderday": null,
                           "passport_issued_by_country": null},
                           "socialdate_securityof_numberbirth":
 null,                          {
  "passport_number": null,                            "industry_sectormonth": null,
                               "name_day": null,
                           {    "year": null
                          "month": null},
                               "day"id_number": null,
                           "industry": }null,
                           "dateid_issued_ofby_birthcountry": null
                       }
  {                 },
              "month": null,      "life_cycle_state": "ACTIVE",
                         "day"number": null"ACR000418",
                               "year"id": null"8728513FDA0C6919AE007D84938A835B",
                   "name": "Havier 6"
     },           },
                "id_number": null"28",
               "id": "2432994125F2450EBDF84E00B21C89F0"
          "industry": null},
             "authentication_code": "CCD4537CA4AD4EE8912FFBAE53110601",
             "id_issued_by_countryaccounts_receivable":
null           {
            }   "account_owner":
               {
},                    "lifelast_cycle_statename": "ACTIVEHavier",
                   "numbermiddle_name": "ACR000418"null,
                   "idlife_cycle_state": "8728513FDA0C6919AE007D84938A835BFINANCIAL",
                   "namecompany_profile": "Haviernull,
6"                },   "title": null,
           "number": "28",
               "id"first_name": "2432994125F2450EBDF84E00B21C89F0Shemar"
,
          },            "authentication_code"type": "CCD4537CA4AD4EE8912FFBAE53110601PERSON",
           "accounts_receivable":            {"id": "E21381FCC07AB01BAAC3851B6C00FFE5",
               "account_owner":                {"name": "Havier Shemar",
                   "lastcompany_name": "Havier"null,
                   "middle_namedemographics":
null,                   {
 "life_cycle_state": "FINANCIAL",                      "company_profilegender": null,
                    "title   "passport_issued_by_country": null,
                   "first_name    "social_security_number": "Shemar"null,
                   "type    "passport_number": "PERSON"null,
                   "id    "industry_sector": "E21381FCC07AB01BAAC3851B6C00FFE5"null,
                   "name": "Havier Shemar",  "country_of_residence":
                 "company_name": null,       {
            "demographics":               "three_character_code": "USA",
   {                        "gendertwo_character_code": null"US",
                       "passport_issued_by_country    "id": null"127",
                       "social_security_number    "name": null,"UNITED STATES",
                           "passportalternative_numbercode": null,
                       "industry_sector": null},
                       "countryname_of_residenceday":
                       {
                           "three_character_codemonth": "USA"null,
                           "two_character_codeday": "US",null
                       },
                "id": "127",      "date_of_birth":
                     "name": "UNITED STATES",{
                           "alternative_codemonth": null,
    null                       "day": }null,
                           "name_dayyear": null
                      { },
                          "month"id_number": null,
                           "dayindustry": null,
                       },
"id_issued_by_country": null
                   }
  "date_of_birth":             },
          {     "life_cycle_state": "ACTIVE",
               "number": "ACR000418",
    "month": null,          "id": "8728513FDA0C6919AE007D84938A835B",
                "dayname": null,"Havier 6"
           },
           "life_cycle_state": "EFFECTIVE",
    "year": null      "identifier": "abc567!",
           "number": "35",
   },        "id": "CDC003FAB1204830ACED364BA77EC18D"
       }
      "id_number": null,
                       "industry": null,
                       "id_issued_by_country": null
                   }
               },
               "life_cycle_state": "ACTIVE",
               "number": "ACR000418",
               "id": "8728513FDA0C6919AE007D84938A835B",
               "name": "Havier 6"
           },
           "life_cycle_state": "EFFECTIVE",
           "identifier": "abc567!",
           "number": "35",
           "id": "CDC003FAB1204830ACED364BA77EC18D"
       }
    
} 
}

POST access_tokens/list

Tip

Available from CRM.COM R9.0.0

This method returns information related with multiple access tokens, which are related either with an accounts receivable or a rewards participant. Multiple access tokens are returned by each call

Resource URL

Parameters

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 access token. The available accounts receivable identifier fields are the following:

Include Page
V4:accounts_receivable_identifier
V4:accounts_receivable_identifier

rewards_participant_identifier

(semi-optional)

Rewards Participant Identifier

The identifier of the rewards participant related with the access token. The available rewards participant identifier fields are the following:

Include Page
V4:access_token_rewards_participants_identifier
V4:access_token_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

Restrictions

  • It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified.

Response Data

Include Page
V4:access_token_complete
V4:access_token_complete

Examples

Expand
titleExample 1

HTTP Method: POST

Request:

Body:

Code Block
 

 

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
 

GET access_tokens/get_not_associated

This method returns all the access tokens which are not associated with an existing entity. Multiple access tokens are retrieved by each call

Resource URL

Parameters

Name

Type

Description

token

String

The token retrieved from the login method

number

(mandatory)

Number

The number of access tokens that should be retrieved

life_cycle_state

(optional)

StringThe life cycle state of the access tokens that should be retrieved. The allowed options are EFFECTIVE or NOT_EFFECTIVE

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

Restrictions

  • It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified.

Response Data

Include Page
V4:access_token_complete
V4:access_token_complete

Examples

Expand
titleExample 1

HTTP Method: GET

 

Request:

 

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
{
       "status":
       {
           "message": "",
           "description": "",
           "code": "OK"
       },
       "data":
       [
           {
               "log_information":
               {
                   "updated_date": "2015-05-27T11:14:32",
                   "created_date": "2015-01-29T12:22:58",
                   "created_by_unit":
                   {
                       "community_name": "Internal Community",
                       "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                       "name": "Admin Unit",
                       "group_name": "Main Group",
                       "description": "r1",
                       "alternative_code": "MG"
                   },
                   "updated_by_unit":
                   {
                       "community_name": "Internal Community",
                       "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                       "name": "Admin Unit",
                       "group_name": "Main Group",
                       "description": "r1",
                       "alternative_code": "MG"
                   },
                   "created_by_user":
                   {
                       "person_name": "emichailidou",
                       "username": "emichailidou",
                       "id": "63ACDBBC5B39AD2DF5B167FA70EE57DD",
                       "email": "e_michailidou@crm.com"
                   },
                   "updated_by_user":
                   {
                       "person_name": "MPAdministrator",
                       "username": "MPAdministrator",
                       "id": "1",
                       "email": "sakkascy1986@hotmail.com"
                   }
               },
               "reward_participant": null,
               "authentication_code": "4B686F53D4F498EFE54FBA13707CC896",
               "life_cycle_state": "NOT_EFFECTIVE",
               "accounts_receivable": null,
               "number": "31",
               "identifier": "cd0900001!",
               "id": "0B417EC816D48FE604FDBAA3D3668D21"
           },
           {
               "log_information":
               {
                   "updated_date": "2015-05-27T09:57:38",
                   "created_date": "2015-05-27T09:25:38",
                   "created_by_unit":
                   {
                       "community_name": "Internal Community",
                       "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                       "name": "Admin Unit",
                       "group_name": "Main Group",
                       "description": "r1",
                       "alternative_code": "MG"
                   },
                   "updated_by_unit":
                   {
                       "community_name": "Internal Community",
                       "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                       "name": "Admin Unit",
                       "group_name": "Main Group",
                       "description": "r1",
                       "alternative_code": "MG"
                   },
                   "created_by_user":
                   {
                       "person_name": "MPAdministrator",
                       "username": "MPAdministrator",
                       "id": "1",
                       "email": "sakkascy1986@hotmail.com"
                   },
                   "updated_by_user":
                   {
                       "person_name": "MPAdministrator",
                       "username": "MPAdministrator",
                       "id": "1",
                       "email": "sakkascy1986@hotmail.com"
                   }
               },
               "reward_participant": null,
               "authentication_code": "23131234",
               "life_cycle_state": "NOT_EFFECTIVE",
               "accounts_receivable": null,
               "number": "49",
               "identifier": "123145as",
               "id": "1D734D9AD4484E93B248921080C4C494"
           },
           {
               "log_information":
               {
                   "updated_date": "2015-01-13T15:46:41",
                   "created_date": "2015-01-09T15:15:23",
                   "created_by_unit":
                   {
                       "community_name": "Internal Community",
                       "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                       "name": "Admin Unit",
                       "group_name": "Main Group",
                       "description": "r1",
                       "alternative_code": "MG"
                   },
                   "updated_by_unit":
                   {
                       "community_name": "Internal Community",
                       "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                       "name": "Admin Unit",
                       "group_name": "Main Group",
                       "description": "r1",
                       "alternative_code": "MG"
                   },
                   "created_by_user":
                   {
                       "person_name": "p_xenopoulou",
                       "username": "p_xenopoulou",
                       "id": "159C17D9C4B1E48DC129FBC701D38438",
                       "email": "p_xenopoulou@crm.com"
                   },
                   "updated_by_user":
                   {
                       "person_name": "p_xenopoulou",
                       "username": "p_xenopoulou",
                       "id": "159C17D9C4B1E48DC129FBC701D38438",
                       "email": "p_xenopoulou@crm.com"
                   }
               },
               "reward_participant": null,
               "authentication_code": "21A8D8A1EF9E37F43E863D78466C99D1",
               "life_cycle_state": "NOT_EFFECTIVE",
               "accounts_receivable": null,
               "number": "5",
               "identifier": "!12ABCD",
               "id": "2436DBBFFC1CE395B7F7B9C3D904031F"
           },
           {
               "log_information":
               {
                   "updated_date": "2015-05-27T11:27:50",
                   "created_date": "2015-05-27T09:21:31",
                   "created_by_unit":
                   {
                       "community_name": "Internal Community",
                       "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                       "name": "Admin Unit",
                       "group_name": "Main Group",
                       "description": "r1",
                       "alternative_code": "MG"
                   },
                   "updated_by_unit":
                   {
                       "community_name": "Internal Community",
                       "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                       "name": "Admin Unit",
                       "group_name": "Main Group",
                       "description": "r1",
                       "alternative_code": "MG"
                   },
                   "created_by_user":
                   {
                       "person_name": "MPAdministrator",
                       "username": "MPAdministrator",
                       "id": "1",
                       "email": "sakkascy1986@hotmail.com"
                   },
                   "updated_by_user":
                   {
                       "person_name": "MPAdministrator",
                       "username": "MPAdministrator",
                       "id": "1",
                       "email": "sakkascy1986@hotmail.com"
                   }
               },
               "reward_participant": null,
               "authentication_code": "112233665",
               "life_cycle_state": "EFFECTIVE",
               "accounts_receivable":
               {
                   "account_owner":
                   {
                       "last_name": null,
                       "middle_name": null,
                       "life_cycle_state": "FINANCIAL",
                       "company_profile":
                       {
                           "annual_turnover": null,
                           "tax_reference_number": null,
                           "profile_year": 2014,
                           "number_of_employees": 30,
                           "established_date": "2014-02-05T00:00:00",
                           "industry_sector": null,
                           "vat_registration_number": "11552546",
                           "registered_in_country": null,
                           "vat_registered_by": null,
                           "vat_registration_date": null,
                           "industry": null,
                           "registration_number": "128596663"
                       },
                       "title": null,
                       "first_name": null,
                       "type": "COMPANY",
                       "id": "DF91C1AD6E8BB995377B3C29C5F5FFAB",
                       "name": null,
                       "company_name": "Walt Disney Museum",
                       "demographics": null
                   },
                   "life_cycle_state": "TERMINATED",
                   "number": "ACR000604",
                   "id": "E337DA5F4A834E188B3A60E3E36F1B51",
                   "name": "ACR000604"
               },
               "number": "47",
               "identifier": "4857ap23",
               "id": "4754A06B5F2F45A1B7CB7CCB85DEA473"
           },
           {
               "log_information":
               {
                   "updated_date": "2015-05-27T09:32:24",
                   "created_date": "2015-05-27T09:23:57",
                   "created_by_unit":
                   {
                       "community_name": "Internal Community",
                       "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                       "name": "Admin Unit",
                       "group_name": "Main Group",
                       "description": "r1",
                       "alternative_code": "MG"
                   },
                   "updated_by_unit":
                   {
                       "community_name": "Internal Community",
                       "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                       "name": "Admin Unit",
                       "group_name": "Main Group",
                       "description": "r1",
                       "alternative_code": "MG"
                   },
                   "created_by_user":
                   {
                       "person_name": "MPAdministrator",
                       "username": "MPAdministrator",
                       "id": "1",
                       "email": "sakkascy1986@hotmail.com"
                   },
                   "updated_by_user":
                   {
                       "person_name": "MPAdministrator",
                       "username": "MPAdministrator",
                       "id": "1",
                       "email": "sakkascy1986@hotmail.com"
                   }
               },
               "reward_participant": null,
               "authentication_code": "66554433",
               "life_cycle_state": "NOT_EFFECTIVE",
               "accounts_receivable": null,
               "number": "48",
               "identifier": "99aw2311",
               "id": "4B7037868CE14A7D863E56251A629A20"
           }
       ]
    
}

...

This method creates an access token.  Single access tokens can be created by each call.

Resource URL

Parameters

Name

Type

Description

token

String

The token retrieved from the login method

authentication_code

(optional)

String

The authentication code of the access token that will be created. If not specified then it will be generated automatically.

identifier

(mandatory on conditions)

String

The identifier of the access token that will be created. This information is not mandatory if the system is set up to allow creating access tokens with no identifier and pass code.

pass_code

(mandatory on conditions)

StringThe pass code of the access token that will be created. This information is not mandatory if the system is set up to allow creating access tokens with no identifier and pass code, although it is always mandatory if an identifier was specified. 

accounts_receivable_identifier

(optional)

Accounts Receivable Identifier

The identifier of the accounts receivable that will be related with the access token. The available accounts receivable identifier fields are the following:

Include Page
V4:accounts_receivable_identifier
V4:accounts_receivable_identifier

Tip

Available from CRM.COM R9.0.0

rewards_participant_identifier

(optional)

Rewards Participant Identifier

The identifier of the rewards participant that will be related with the access token. The available rewards participant identifier fields are the following:

Include Page
V4:access_token_rewards_participants_identifier
V4:access_token_rewards_participants_identifier

Tip

Available from CRM.COM R9.0.0

Note that if an accounts receivable is also specified, then the rewards participant should be owned by that accounts receivable

Restrictions

  • It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified.

Response Data

Include Page
V4:access_token_complete
V4:access_token_complete

Examples

Expand
titleExample 1

HTTP Method: POST

 

Request:

Body:

Code Block
themeConfluence
languagejavascript
linenumberstrue
{
       "token":"A4F19B70D95D4DE09C3A9FC720A33A49",
       "authentication_code":"apitest",
       "identifier":"apitest12",
       "pass_code":"api11112"
}  

 

 

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
{
       "status":
       {
           "message": "",
           "description": "",
           "code": "OK"
       },
       "data":
       {
           "log_information":
           {
               "updated_date": "2015-05-27T12:48:32",
               "created_date": "2015-05-27T12:48:31",
               "created_by_unit":
               {
                   "community_name": "Internal Community",
                   "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                   "name": "Admin Unit",
                   "group_name": "Main Group",
                   "description": "r1",
                   "alternative_code": "MG"
               },
               "updated_by_unit":
               {
                   "community_name": "Internal Community",
                   "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                   "name": "Admin Unit",
                   "group_name": "Main Group",
                   "description": "r1",
                   "alternative_code": "MG"
               },
               "created_by_user":
               {
                   "person_name": "Marios Lannister",
                   "username": "MPAdministrator",
                   "id": "1"
               },
               "updated_by_user":
               {
                   "person_name": "Marios Lannister",
                   "username": "MPAdministrator",
                   "id": "1"
               }
           },
           "reward_participant": null,
           "authentication_code": "apitest",
           "accounts_receivable": null,
           "life_cycle_state": "EFFECTIVE",
           "identifier": "apitest12",
           "number": "53",
           "id": "BA7BBF7E3DDD40528C4680FBECC1D798"
       }

}

...

This method updates access tokens. A single access token can be updated by each call. Fields which are not specified are not updated at all. Fields which are specified as null will be set as null.

Resource URL

Parameters

Name

Type

Description

token

String

The token retrieved from the login method

access_token_identifier

(mandatory)

Access Token identifier  

The identifier of the access token that should be updated. The allowed access token identifier fields are the following:

Include Page
V4:access_token_identifier
V4:access_token_identifier

authentication_code

(optional)

String

The authentication code of the access token that will be updated. Is specified as null then the authentication code will be regenerated automatically

identifier

(mandatory on conditions)

String

The identifier of the access token that will be update. This information is not mandatory if the system is set up to allow creating access tokens with no identifier and pass code.

pass_code

(mandatory on conditions)

StringThe pass code of the access token that will be updated. This information is not mandatory if the system is set up to allow creating access tokens with no identifier and pass code, although it is always mandatory if an identifier was specified. 

Restrictions

  • It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified.

Response Data

Include Page
V4:access_token_complete
V4:access_token_complete

Examples

Expand
titleExample 1

HTTP Method: POST

 

Request:

Body:

Code Block
themeConfluence
languagejavascript
linenumberstrue
{
       "token":"A4F19B70D95D4DE09C3A9FC720A33A49",
       "access_token_identifier" : {"authentication_code":"CCD4537CA4AD4EE8912FFBAE53110601"},
       "authentication_code":"testpassnew1",
       "identifier":"api1test12up",
       "pass_code":"api11112"
}

 

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
    {
       "status":
       {
           "message": "",
           "description": "",
           "code": "OK"
       },
       "data":
       {
           "log_information":
           {
               "updated_date": "2015-05-27T12:50:22",
               "created_date": "2015-02-16T14:23:46",
               "created_by_unit":
               {
                   "community_name": "Internal Community",
                   "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                   "name": "Admin Unit",
                   "group_name": "Main Group",
                   "description": "r1",
                   "alternative_code": "MG"
               },
               "updated_by_unit":
               {
                   "community_name": "Internal Community",
                   "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                   "name": "Admin Unit",
                   "group_name": "Main Group",
                   "description": "r1",
                   "alternative_code": "MG"
               },
               "created_by_user":
               {
                   "person_name": "p_xenopoulou",
                   "username": "p_xenopoulou",
                   "id": "159C17D9C4B1E48DC129FBC701D38438",
                   "email": "p_xenopoulou@crm.com"
               },
               "updated_by_user":
               {
                   "person_name": "Marios Lannister",
                   "username": "MPAdministrator",
                   "id": "1"
               }
           },
           "reward_participant":
           {
               "accounts_receivable":
               {
                   "account_owner":
                   {
                       "last_name": "Havier",
                       "middle_name": null,
                       "life_cycle_state": "FINANCIAL",
                       "company_profile": null,
                       "title": null,
                       "first_name": "Shemar",
                       "type": "PERSON",
                       "id": "E21381FCC07AB01BAAC3851B6C00FFE5",
                       "name": null,
                       "company_name": null,
                       "demographics":
                       {
                           "gender": null,
                           "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": null,
                           "industry": null,
                           "id_issued_by_country": null
                       }
                   },
                   "life_cycle_state": "ACTIVE",
                   "number": "ACR000418",
                   "id": "8728513FDA0C6919AE007D84938A835B",
                   "name": "Havier 6"
               },
               "number": "28",
               "id": "2432994125F2450EBDF84E00B21C89F0"
           },
           "authentication_code": "testpassnew1",
           "accounts_receivable":
           {
               "account_owner":
               {
                   "last_name": "Havier",
                   "middle_name": null,
                   "life_cycle_state": "FINANCIAL",
                   "company_profile": null,
                   "title": null,
                   "first_name": "Shemar",
                   "type": "PERSON",
                   "id": "E21381FCC07AB01BAAC3851B6C00FFE5",
                   "name": "Havier Shemar",
                   "company_name": null,
                   "demographics":
                   {
                       "gender": null,
                       "passport_issued_by_country": null,
                       "social_security_number": null,
                       "passport_number": null,
                       "industry_sector": null,
                       "country_of_residence":
                       {
                           "three_character_code": "USA",
                           "two_character_code": "US",
                           "id": "127",
                           "name": "UNITED STATES",
                           "alternative_code": null
                       },
                       "name_day":
                       {
                           "month": null,
                           "day": null
                       },
                       "date_of_birth":
                       {
                           "month": null,
                           "day": null,
                           "year": null
                       },
                       "id_number": null,
                       "industry": null,
                       "id_issued_by_country": null
                   }
               },
               "life_cycle_state": "ACTIVE",
               "number": "ACR000418",
               "id": "8728513FDA0C6919AE007D84938A835B",
               "name": "Havier 6"
           },
           "life_cycle_state": "EFFECTIVE",
           "identifier": "api1test12up",
           "number": "35",
           "id": "CDC003FAB1204830ACED364BA77EC18D"
       }
}