GET person/getPhoto?PersonId={PersonId}&Token={Token}
Personal data can be changed in the system. Application privilege "Edit" for licensed agenda "Persons" required. Application privilege "Edit" for agenda item "Identifiers" of licensed agenda "Persons" required. Functionality may also be restricted by record permission "Edit" of agenda "Person".
Request Information
Authorization
- Authorization by token required
Availability
- Method can be used
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
PersonId |
Unique identification of the person in the system |
string |
Required String length: inclusive between 0 and 100 |
Token |
The action is authorized by this token. Token should generated by calling action "POST login". Expiration time of each token is 20 seconds |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Response Codes
Http Code | Error Number | Description |
---|---|---|
200 request succesfully done | 0 | Processed with result: ExecOK |
202 request succesfully done | 0 | Processed with results: PersonId [{0}] remains unchanged |
201 request accepted | 1107 | Person created without identifier. Entry code constraint found |
201 request accepted | 1108 | Person created without identifier. Card 1 constraint found |
201 request accepted | 1109 | Person created without identifier. Card 2 constraint found |
400 bad request | 1002 | Entry parameter missing or parameter bindigs failed |
401 unauthorized | 1000 | Token {0} not found |
401 unauthorized | 1001 | Token {0} already expired |
401 unauthorized | 1006 | Ip filter violated for ip client address [{0}] |
401 unauthorized | 1007 | Ip filter [{0}] parsing failed |
401 unauthorized | 1008 | Request rate policy violated for [{0}] |
403 server refuses fo fulfill the request | 1102 | Application privilege Edit for licensed agenda Persons violated for person [{0}] |
403 server refuses fo fulfill the request | 2123 | Application privilege Edit for of agenda item Identifiers of licensed agenda Persons violated for person [{0}] |
403 server refuses fo fulfill the request | 1014 | Uds column saving failed. Issue: [{0}] |
403 server refuses fo fulfill the request | 1 | Db operation failed, agenda missing priviliges |
403 server refuses fo fulfill the request | 2 | Db operation failed, record missing priviliges |
403 server refuses fo fulfill the request | 3 | Db operation failed, Record duplicity |
403 server refuses fo fulfill the request | 4 | Db operation failed, already changed by another user |
403 server refuses fo fulfill the request | 5 | Db operation failed, already deleted by another user |
403 server refuses fo fulfill the request | 6 | Db operation failed, database data consistence violation |
403 server refuses fo fulfill the request | 7 | Db operation failed, operation can not be executed because another problems occured |
403 server refuses fo fulfill the request | 8 | Db operation failed, licence violation |
403 server refuses fo fulfill the request | 0 | Processed with results: PersonId[{0}] remains unchanged |
404 required resource does not exist on the server | 1106 | Create PersonId [{0}] failed |
404 required resource does not exist on the server | 1110 | Create PersonId [{0}] failed |
404 required resource does not exist on the server | 1100 | Person not found |
415 unsupported Media Type | The request entity has a media type which the server or resource does not support. Only application/json and application/xml are supported | |
500 internal error | Server exception description |
Resource Description
BaseRespOfPersonUpdateReqName | Description | Type | Additional information |
---|---|---|---|
Result | RequestResult |
None. |
|
Request | PersonUpdateReq |
None. |