Skip to end of banner
Go to start of banner

POST perception/subscriber/authenticate

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

This method authenticates a subscriber against CRM.COM and returns the subscriber ID related with the subscriber, as defined in perception system

Resource URL

Available from CRM.COM R9.0.0


 

 

Parameters

Name

Type

Description

token

String

The token retrieved from the login method

identifier
(mandatory)

StringThe identifier (username) of the subscriber

pass_code
(mandatory)

StringThe pass code (password) of the subscriber

Restrictions

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

Response Data

Name

Type

Description

subscriber_id

StringThe subscriber ID as defined in Perception
idStringThe ID of the CRM.COM subscription
numberStringThe number of the CRM.COM subscription

Examples

 Example 1

HTTP Method: POST

 

Request:

Body:

  {
    "token" : "419E7699565C422EAEDD51F1FB41344A",
    "identifier" :"Ioannides1123456789!*/-" ,
    "pass_code":"Ioannides1123456789!*/-"
}

Response:

 {
  "status": {
    "message": "",
    "description": "",
    "code": "OK"
  },
  "data": {
    "subscriber_id": "S60808",
    "number": "S60808",
    "id": "2C5766FBEED24D0BADD8A8BEB1550AEC"
  }
}
  • No labels