Versions Compared

Key

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

Available from CRM.COM R8.0.0

 

Table of Contents
maxLevel2

POST nagra_media_platform/authenticate

This method authenticates a subscriber against Nagra Media Live Platform provider and returns a token that can be used from third party systems in order to provision a service. A single subscription can be authenticated by each call

Resource URL

Parameters

...

Name

...

Type

...

Description

...

token

...

String

...

The token retrieved from the login method

...

(mandatory)

...

Accounts receivable identifier  

The identifier of the accounts receivable that owns the subscription that will be authenticated. The allowed accounts receivable identifier fields are the following:

...

subscription_identifier

(mandatory)

...

The identifier of the subscription that will be authenticated. The allowed subscription identifier fields are the following:

...

Note that the specified subscription should be owned by the specified accounts receivable

...

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.

Response Data

...

Examples

HTTP Method: POST

 

Request:

Body:

Expand
titleExample 1
Code Block
themeConfluence
languagejavascript
linenumberstrue
 {
    "token":"{{token}}",  
    "accounts_receivable_identifier":{"number":"ACR0000000317"},
     "subscription_identifier":{"number":"S0000000242"}
}

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
 { "data": { "nagra_token": "24CA1EECEACB4CA8BC3E84C815CF4693" "subscription":{ "number": "S0000000242", "first_activated_date": "2016-07-28T13:58:40", "rating_state": "PENDING", "accounts_receivable": { "number": "ACR0000000317", "name": "Loukia P", "id": "4C786CECD72943929D7655A96C0D3B39", "life_cycle_state": "ACTIVE", "account_owner": { "company_profile": null, "company_name": null, "name": "Loukia Papapavlou", "last_name": "Papapavlou", "id": "5C46C8DBBADE431BBA064DB9C41F046F", "life_cycle_state": "FINANCIAL", "middle_name": null, "title": null, "type": "PERSON", "first_name": "Loukia", "demographics": { "name_day": { "month": null, "day": null }, "id_number": null, "gender": "FEMALE", "country_of_residence": { "alternative_code": "CYP", "three_character_code": "CYP", "name": "CYPRUS", "id": "181", "two_character_code": "CY" }, "date_of_birth": { "month": null, "year": null, "day": null }, "industry_sector": null, "passport_number": null, "industry": null, "social_security_number": null, "id_issued_by_country": null, "passport_issued_by_country": null } } }, "id": "A4CA535D1AD140A2BB400DEA312CCFC5", "life_cycle_state": "EFFECTIVE", "type": { "alternative_code": "normalsub", "name": "Normal", "description": null, "id": "D1BAE6454A2248189EBCD7ADD3B4B65F" } } Panel
nameblue

Child pages (Children Display)
alltrue
excerpttrue