Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

...

...

...

...


Tip

Deprecated from CRM.COM R18.0.0


Excerpt

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 or PENDING_VERIFICATION

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.

...

Expand
titleExample 1

HTTP Method: GET

 


Request: 


Response:

Code Block
languagejavascript
themeConfluencelanguagejavascript
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"
           }
       ]
    
}


...