Remove country as identification parameter, restore server statuses

This commit is contained in:
Maciej Szlosarczyk 2018-07-18 21:22:13 +03:00
parent 74c97eb923
commit 1b9a504fb5
No known key found for this signature in database
GPG key ID: 41D62D42D3B0D765
2 changed files with 8 additions and 10 deletions

View file

@ -15,12 +15,11 @@ Returns a bearer token to be used for further API requests. Tokens are valid for
Values in brackets represent values that come from the id card certificate.
| Field name | Required | Type | Allowed values | Description |
| ----------------- | -------- | ---- | -------------- | ----------- |
| ident | true | String | | Identity code of the user (`serialNumber`) |
| first_name | true | String | | Name of the customer (`GN`) |
| last_name | true | String | | Name of the customer (`SN`) |
| country | true | String | 'ee' | Code of the country that issued the id card (`C`) |
| Field name | Required | Type | Allowed values | Description |
| ----------------- | -------- | ---- | -------------- | ----------- |
| ident | true | String | | Identity code of the user (`serialNumber`) |
| first_name | true | String | | Name of the customer (`GN`) |
| last_name | true | String | | Name of the customer (`SN`) |
#### Request
@ -33,7 +32,6 @@ Content-type: application/json
"ident": "30110100103",
"first_name": "Jan",
"last_name": "Tamm",
"country": "ee",
}
```

View file

@ -46,9 +46,9 @@ Content-Type: application/json
"pending_json": {},
"force_delete_at": null,
"statuses": [
"clientUpdateProhibited",
"clientDeleteProhibited",
"clientTransferProhibited"
"serverUpdateProhibited",
"serverDeleteProhibited",
"serverTransferProhibited"
],
"reserved": false,
"status_notes": {},