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

...

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. 

...

Expand
titleExample 1

HTTP Method: POST

 

Request:

Body:

Code Block
themeConfluence
languagejavascript
linenumberstrue
{
       "token":"1342230357E64174914017181E1CBEBEA4F19B70D95D4DE09C3A9FC720A33A49",
       "access_token_identifier" : {"authentication_code":"api1testCCD4537CA4AD4EE8912FFBAE53110601"},
       "authentication_code":"testpassnew1",
       "identifier":"api1testapi1test12up",
       "pass_code":"api11112"
}

 

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
    {
       "status":
       {
           "message": null"",
           "description": null"",
           "code": "OK"
       },
       "data":
       {
           "log_information":
           {
               "updated_date": "2015-0305-07T1127T12:0950:0822",
               "created_by_unitdate": "2015-02-16T14:23:46",
               "created_by_unit":
               {
                   "community_name": "MainInternal Community",
                   "group_nameid": "Main Group48305F8849E3C18B227C5BE3A27BA6DF",
                   "name": "Admin Unit",
                   "idgroup_name": "48305F8849E3C18B227C5BE3A27BA6DFMain Group",
                   "description": "r1",
                   "alternative_code": "MG"
            },     },
       "created_date": "2015-03-07T11:02:30",             "updated_by_unit":
               {
                   "community_name": "MainInternal Community",
                   "group_nameid": "Main Group48305F8849E3C18B227C5BE3A27BA6DF",
                   "name": "Admin Unit",
                   "idgroup_name": "48305F8849E3C18B227C5BE3A27BA6DFMain Group",
                   "description": "r1",
                   "alternative_code": "MG"
               },
               "created_by_user":
               {
                   "person_name": "mpadministratorp_xenopoulou",
                   "username": "mpadministratorp_xenopoulou",
                   "id": "1159C17D9C4B1E48DC129FBC701D38438",
                   "email": "mp@ministratorp_xenopoulou@crm.com"
               },
               "updated_by_user":
               {
                   "person_name": "Marios Lannister",
                   "username": "mpadministratorMPAdministrator",
                   "id": "1"
               }
           },
           "reward_participant": null,
           {
     "authentication_code": "testpassnew1",         "lifeaccounts_cycle_statereceivable":
"EFFECTIVE",            "identifier": "api1test",  {
      "number": "60",         "id": "9247A6CE4210494F9B7FED787F32B9AA"   "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"
       }
}