GET users/user?id={id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer (Int32) |
Required |
Body Parameters
None.
Response Information
Resource Description
userModelName | Description | Type | Additional information |
---|---|---|---|
id | integer (Int32) |
None. |
|
userTypeId | integer (Int32) |
Required |
|
factoryId | integer (Int32) |
None. |
|
name | string |
Required Max length: 64 |
|
lastname | string |
Required Max length: 64 |
|
string |
Required Max length: 64 |
||
tel | string |
Required Max length: 10 Min length: 10 |
|
isActive | boolean |
Required |
|
createdInfo | string |
None. |
|
updatedInfo | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "id": 1, "userTypeId": 2, "factoryId": 1, "name": "sample string 3", "lastname": "sample string 4", "email": "sample string 5", "tel": "sample string 6", "isActive": true, "createdInfo": "sample string 8", "updatedInfo": "sample string 9" }
application/xml, text/xml
Sample:
<userModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api.Models"> <createdInfo>sample string 8</createdInfo> <email>sample string 5</email> <factoryId>1</factoryId> <id>1</id> <isActive>true</isActive> <lastname>sample string 4</lastname> <name>sample string 3</name> <tel>sample string 6</tel> <updatedInfo>sample string 9</updatedInfo> <userTypeId>2</userTypeId> </userModel>
multipart/form-data
Sample:
<userModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api.Models"><createdInfo>sample string 8</createdInfo><email>sample string 5</email><factoryId>1</factoryId><id>1</id><isActive>true</isActive><lastname>sample string 4</lastname><name>sample string 3</name><tel>sample string 6</tel><updatedInfo>sample string 9</updatedInfo><userTypeId>2</userTypeId></userModel>