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

...

POST access_tokens/list

Tip

Available from CRM.COM R8.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

...

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

...

 

 

Response:

Expand
titleExample 1

HTTP Method: POSTGET

Request:Body:

Code Block
Code Block
themeConfluence
languagejavascript
linenumberstrue
     {
       "status":
       {
           "message": "",
           "description": "",
           "code": "OK"
       },
       "data":
       [
           {
               "log_information":
               {
                   "updated_date": "2015-10-16T11:25:15",
                   "created_date": "2015-10-16T10:51:00",
                   "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": "MPAdministrator",
                       "username": "MPAdministrator",
                       "id": "1",
                       "email": "sakkascy1986@hotmail.com"
                   }
               },
               "reward_participant": null,
               "authentication_code": "API_TEST_T1",
               "life_cycle_state": "EFFECTIVE",
               "accounts_receivable":
               {
                   "account_owner":
                   {
                       "last_name": "Arvanitidis",
                       "middle_name": null,
                       "life_cycle_state": "FINANCIAL",
                       "company_profile": null,
                       "title": null,
                       "first_name": "Pasxalis",
                       "type": "PERSON",
                       "id": "6D2460AAF25D40E3953789A87FE6587D",
                       "name": "Arvanitidis Pasxalis",
                       "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": "965677",
                           "industry": null,
                           "id_issued_by_country": null
                       }
                   },
                   "life_cycle_state": "ACTIVE",
                   "number": "ACR000814",
                   "id": "CFB4A3DDED8541D987A48FE3DF0C7A64",
                   "name": "Arvanitidis"
               },
               "number": "ACT0000000150",
               "identifier": "4234242",
               "id": "3BBF6F52819340CA8361D109B785E67D"
           }
       ]
    }

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. 

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 R8.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 R8.0.0

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

...

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. 

...