POST perception/provisioning_requests/set_subscriber_pin_number

Available from CRM.COM R9.0.0

This method sets the subscription pin number of a subscription provisioned by Perception to a value specified by the caller. A single subscription can be updated by each call

Resource URL

Parameters

Name

Type

Description

token

String

The token retrieved from the login method

subscription_identifier

(mandatory)

Accounts receivable identifier  

The subscription that should be updated. Only subscriptions which are provisioned by Perception can be specified. The allowed subscription identifier fields are the following:

Name

Type

Description

id 

(semi-optional)

String

The ID of subscription

number 

(semi-optional)

String

The number of subscription

pin_number

(mandatory)

IntegerThe value of the pin number

Restrictions

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

Response Data

Not Applicable.

Examples

 Example 1

HTTP Method: POST

 

Request:

Body:

{
    "token" : "AE5847C0F2C544B98390C8C39530BCBD",
    "subscription_identifier" :{"number":  "S60808"} ,
    "pin_number":"11110000"
}

Response:

 {
  "status": {
    "message": "",
    "description": "",
    "code": "OK"
  },
  "data": {}
}