GET api/UserProfile
Gets all User Profiles.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
A list of User Profile and Details
Collection of UserProfileName | 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. |
Phone |
Gets or sets the Phone of the user. |
string |
None. |
ProfileImage |
Gets or sets the profile image URL of the user. |
string |
None. |
Address |
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", "Phone": "sample string 4", "ProfileImage": "sample string 5", "Address": "sample string 6" }, { "Id": 1, "UserName": "sample string 2", "EmailID": "sample string 3", "Phone": "sample string 4", "ProfileImage": "sample string 5", "Address": "sample string 6" } ]
application/xml, text/xml
Sample:
<ArrayOfUserProfile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OTJServices.Models"> <UserProfile> <Address>sample string 6</Address> <EmailID>sample string 3</EmailID> <Id>1</Id> <Phone>sample string 4</Phone> <ProfileImage>sample string 5</ProfileImage> <UserName>sample string 2</UserName> </UserProfile> <UserProfile> <Address>sample string 6</Address> <EmailID>sample string 3</EmailID> <Id>1</Id> <Phone>sample string 4</Phone> <ProfileImage>sample string 5</ProfileImage> <UserName>sample string 2</UserName> </UserProfile> </ArrayOfUserProfile>