GET api/PSUser
Gets all Users.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
A list of users and their details
Collection of UserName | Description | Type | Additional information |
---|---|---|---|
Id |
Gets or sets the unique identifier of the user. |
integer |
None. |
UserName |
Gets or sets the username of the user. |
string |
None. |
EmailID |
Gets or sets the email ID of the user. |
string |
None. |
ProfileImage |
Gets or sets the profile image URL of the user. |
string |
None. |
DeliveryAddress |
Gets or sets the delivery address of the user. |
string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": 1, "UserName": "sample string 2", "EmailID": "sample string 3", "ProfileImage": "sample string 4", "DeliveryAddress": "sample string 5" }, { "Id": 1, "UserName": "sample string 2", "EmailID": "sample string 3", "ProfileImage": "sample string 4", "DeliveryAddress": "sample string 5" } ]
application/xml, text/xml
Sample:
<ArrayOfUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OTJServices.Models"> <User> <DeliveryAddress>sample string 5</DeliveryAddress> <EmailID>sample string 3</EmailID> <Id>1</Id> <ProfileImage>sample string 4</ProfileImage> <UserName>sample string 2</UserName> </User> <User> <DeliveryAddress>sample string 5</DeliveryAddress> <EmailID>sample string 3</EmailID> <Id>1</Id> <ProfileImage>sample string 4</ProfileImage> <UserName>sample string 2</UserName> </User> </ArrayOfUser>