The following details are taken from the documentation available on https://spportal.mycas.org.uk
Citizen's having a NEC Card can be registered into the MyAccount Portal by simply providing their NEC card details their postcode and email address. The Citizen Accounts created by this web service will be registered with Assurance Level Two. On creation of the account an auto generated email will be sent to the provided Email Address which will contain a randomly generated one time password along with provided username. The Citizen can use these credentials to login into ant service using MyGovScot authentication.
If the account with this NEC Card is already registered, then the account password will be reset and the new password with the existing username will be sent as e-mail to the existing account's email address.
New accounts cannot be created with existing usernames. Email Addresses can also be provided as username. If the NEC Card and Post Code doesn't match with data provided from CMS, the account will not be created.
Request
requires a neccardnumber, postcode, emailaddress and username optionally a mobile and brandname
Example
{
"method":"registerViaNECCard",
"params":{
"callertoken":"YourCallerToken",
"neccardnumber": "123456789",
"postcode": "PL6 7TL",
"mobile": "0844 8803637",
"emailaddress": "goss.demo@gmail.com",
"username": "goss.demo.NEC"
},
"id":"12",
"jsonrpc": "2.0"
}
Response
- ucrn
- value- UCRN associated with the provided Citizen details in request
- ucrnType
- uprn
- value
- uprnType
- NECCardNumber - Same NEC Card number as provided in Request
- username - Unique Username as provided in Request
- emailAddress - Same EmailAddress as provided in Request
- LoA - Level of Assurance associated with the newly created Citizen Account.
Response Codes
Response Code | Result | Response Message |
---|---|---|
5047 | True | Password Reset for Citizen account |
0014 | False | Invalid Email. Please enter a valid email id. (eg: abc@xyz.com) |
5048 | True | Citizen new account created |
5049 | False | Username Already Exist |
5061 | False | No Person Card details found for NEC card number |
5062 | False | Card is revoked |
1001 | False | No record found |
10003 | False | A technical error has been faced. Kindly try again later. |