The following details are taken from the documentation available on https://spportal.mycas.org.uk
This service is used to subscribe Citizens to existing private services Private Services.
Guidance
- UCRNType will be considered as Genuine if the values are not set.
- Only Private Services can be subscribed using this Web Service as these are not visible to Citizen in list of public services.
Request
requires a UCRN and UCRN Type, the ServiceID and an operationcode
Valid Operation Codes
- S - Subscribe the Service into the Citizen Account
- U - Unsubscribe the Service from Citizen Account
Example
{
"method":"SubscribeUnsubscribe",
"params":{
"callertoken":"YourCallerToken",
"ucrn": "2100000000000000193",
"ucrntype": "P",
"serviceid": "135024740",
"operationcode": "S"
},
"id":"12",
"jsonrpc": "2.0"
}
Response
No ResponseBody will be returned for this Web Service
Response Codes
Response Code | Result | Response Message |
---|---|---|
10053 | True | Details have been updated |
10054 | False | Only private services are accessible |
0030 | False | No record found with the given UCRN |
10006 | False | Incorrect UCRN |
10003 | False | A technical error has been faced. Kindly try again later. |
Last modified on June 27, 2023