EnablePin

From Gvp-public
Revision as of 09:05, 17 February 2016 by Pcl245 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

Set to enable PIN of the type chosen. The PIN should have been disable or it doesn't exists. Is the last case, a new PIN will be created.

The PIN sent in request should be valid by the follow regular expression: "^[0-9]{4,4}$".

The user should be logged to use this method.

Parameters

  • token (String, required)
A valid token for identifying the API session context. The token can be anonymous or logged.
Define the type of pin.
  • pin (string, required)
The value of pin


Returns

Returns a JSON object containing true for successful.

Example:

{

"StatusCode": 0,
"Severity": 1,
"StatusMessage": "OK",
"Content": true

}


Exceptions


Caching

This method is not cached.


Known issues

  • None


Version history

API Version Number Change description Changes author
1.0 Initial method design Harley Cabral


See also