GET api/Users
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of UserName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
userName | string |
Required String length: inclusive between 0 and 250 |
|
passwordHash | string |
Required String length: inclusive between 0 and 250 |
|
companyID | integer |
None. |
|
company | Company |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ID": 1, "userName": "sample string 1", "passwordHash": "sample string 2", "companyID": 3, "company": { "ID": 1, "vendorID": "sample string 1", "companyName": "sample string 2", "contractStatus": "sample string 3" } }, { "ID": 1, "userName": "sample string 1", "passwordHash": "sample string 2", "companyID": 3, "company": { "ID": 1, "vendorID": "sample string 1", "companyName": "sample string 2", "contractStatus": "sample string 3" } } ]
application/xml, text/xml
Sample:
<ArrayOfUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NMAUtilityAPI.Entity"> <User> <ID>1</ID> <company> <ID>1</ID> <companyName>sample string 2</companyName> <contractStatus>sample string 3</contractStatus> <vendorID>sample string 1</vendorID> </company> <companyID>3</companyID> <passwordHash>sample string 2</passwordHash> <userName>sample string 1</userName> </User> <User> <ID>1</ID> <company> <ID>1</ID> <companyName>sample string 2</companyName> <contractStatus>sample string 3</contractStatus> <vendorID>sample string 1</vendorID> </company> <companyID>3</companyID> <passwordHash>sample string 2</passwordHash> <userName>sample string 1</userName> </User> </ArrayOfUser>