| Required permission: | view_user |
| GET | /admin/user/{Id} |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | path | int | No | |
| AsVendor | query | bool? | No | Optional parameter for ID -1 to populate sensible default values for the Vendor fields as well |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| Role | form | Role | No | |
| UserName | form | string | No | |
| AuthMethod | form | AuthMethod | No | |
| Vendor | form | VendorHeaderDto | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| Name | form | string | No | |
| Guid | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /admin/user/{Id} HTTP/1.1
Host: vendors-klueh-api-ts.necta.at
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"Id":0,"Role":1,"UserName":"String","AuthMethod":1,"Vendor":{"Id":0,"Name":"String","Guid":"String"}}