Name: decision-alpha
Owner: HM Land Registry
Description: null
Created: 2014-08-12 19:00:08.0
Updated: 2015-11-27 10:11:49.0
Pushed: 2014-10-31 13:35:50.0
Homepage: null
Size: 356
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Eventually this wants replacing with something like cucumber tests, but for now it is just a few simple functions that return some codes.
Multiple codes can be returned, up to the client to decide what to do with them.
{
"action": "change-name-marriage",
"data": {"iso-country-country": "GB"},
"context": {"session-id":"1234", "transaction-id":"ABCDE"}
}
Return codes look like:
{ “decision”:[
{"code":XXX, "message":"YYY"}
] }
100 - send to casework
200 - send for checking
TODO:
Probably needs some kind of signing of the response, maybe a verifiable hash of the data/decision?