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. Values in brackets represent values that come from the id card certificate.
| Field name | Required | Type | Allowed values | Description | | Field name | Required | Type | Allowed values | Description |
| ----------------- | -------- | ---- | -------------- | ----------- | | ----------------- | -------- | ---- | -------------- | ----------- |
| ident | true | String | | Identity code of the user (`serialNumber`) | | ident | true | String | | Identity code of the user (`serialNumber`) |
| first_name | true | String | | Name of the customer (`GN`) | | first_name | true | String | | Name of the customer (`GN`) |
| last_name | true | String | | Name of the customer (`SN`) | | last_name | true | String | | Name of the customer (`SN`) |
| country | true | String | 'ee' | Code of the country that issued the id card (`C`) |
#### Request #### Request
@ -33,7 +32,6 @@ Content-type: application/json
"ident": "30110100103", "ident": "30110100103",
"first_name": "Jan", "first_name": "Jan",
"last_name": "Tamm", "last_name": "Tamm",
"country": "ee",
} }
``` ```

View file

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