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

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

...

Expand
titleExample 1

HTTP Method: POST

Request:

Body:

Code Block
{
	"token":"908EA808610215B0A69D10277A36317D641070EA9DF042E48CDA1B6414ACABC5", 
	"access_token_identifier": { "identifierauthentication_code" : "kyriakosCCD4537CA4AD4EE8912FFBAE53110601", 
									 "pass_code":"12345"}
} 

 

Response:
}
}

 

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
{
       "status":
       {
           "message": null,
           "description": null,
           "code": "OK"
       },
       "data":
       {
           "log_information":
           {
               "updated_date": "2014-12-03T13:11:57",
               "created_by_unit":
               {
                   "community_name": "Main Community",
                   "group_name": "Main Group",
                   "name": "Admin Unit",
                   "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                   "description": "r1",
                   "alternative_code": "MG"
               },
               "created_date": "2014-12-02T10:16:41",
               "updated_by_unit":
               {
                   "community_name": "Main Community",
                   "group_name": "Main Group",
                   "name": "Admin Unit",
                   "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                   "description": "r1",
                   "alternative_code": "MG"
               },
               "created_by_user":
               {
                   "person_name": "MPAdministrator",
                   "username": "MPAdministrator",
                   "id": "1",
                   "email": "mp@ministrator.com"
               },
               "updated_by_user":
               {
                   "person_name": "MPAdministrator",
                   "username": "MPAdministrator",
                   "id": "1",
                   "email": "mp@ministrator.com"
               }
           },
           "reward_participant":
           {
               "accounts_receivable":
               {
                   "account_owner":
                   {
                       "last_name": "Xenofontos ",
                       "life_cycle_state": "FINANCIAL",
                       "middle_name": "Iatrou",
                       "company_profile": null,
                       "title": null,
                       "type": "PERSON",
                       "first_name": "Kyriakos",
                       "name": null,
                       "id": "31260911295E70BB660EBEB0C4F941AC",
                       "company_name": null,
                       "demographics":
                       {
                           "gender": "MALE",
                           "passport_issued_by_country": null,
                           "passport_number": null,
                           "social_security_number": null,
                           "industry_sector": null,
                           "date_of_birth":
                           {
                               "month": null,
                               "day": null,
                               "year": null
                           },
                           "name_day":
                           {
                               "month": null,
                               "day": null
                           },
                           "id_number": "87878000",
                           "id_issued_by_country": null,
                           "industry": null
                       }
                   },
                   "life_cycle_state": "ACTIVE",
                   "number": "195",
                   "name": "Xenofontos",
                   "id": "5B51429862A7BCBAD60CC81982BBD45B"
               },
               "number": "22",
               "id": "6EDC6E3EB25ED7C72CFBF1027A7A7298"
           },
           "authentication_code": "kyriakos",
           "life_cycle_state": "EFFECTIVE",
           "identifier": "kyriakos",
           "number": "21",
           "id": "77B43DD81264544563D30854729FBDCF"
       }
} 

GET access_tokens/get_not_associated

...

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

...

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. 

...

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. 

...