GET api/Profile?UserID={UserID}
Get user Profile
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
UserID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of UserProfileDataModelName | Description | Type | Additional information |
---|---|---|---|
UserID | integer |
None. |
|
UserCode | string |
None. |
|
UserName | string |
None. |
|
UserFirstName | string |
None. |
|
UserLastname | string |
None. |
|
string |
None. |
||
PhoneNo | string |
None. |
|
Gender | string |
None. |
|
CurrentPlanID | integer |
None. |
|
CurrentPlan | string |
None. |
Response Formats
application/json, text/json, text/plain, text/html
Sample:
[ { "userID": 1, "userCode": "sample string 2", "userName": "sample string 3", "userFirstName": "sample string 4", "userLastname": "sample string 5", "email": "sample string 6", "phoneNo": "sample string 7", "gender": "sample string 8", "currentPlanID": 9, "currentPlan": "sample string 10" }, { "userID": 1, "userCode": "sample string 2", "userName": "sample string 3", "userFirstName": "sample string 4", "userLastname": "sample string 5", "email": "sample string 6", "phoneNo": "sample string 7", "gender": "sample string 8", "currentPlanID": 9, "currentPlan": "sample string 10" } ]
application/xml, text/xml
Sample:
<ArrayOfUserProfileDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMMS_V2.Core.DataModel"> <UserProfileDataModel> <CurrentPlan>sample string 10</CurrentPlan> <CurrentPlanID>9</CurrentPlanID> <Email>sample string 6</Email> <Gender>sample string 8</Gender> <PhoneNo>sample string 7</PhoneNo> <UserCode>sample string 2</UserCode> <UserFirstName>sample string 4</UserFirstName> <UserID>1</UserID> <UserLastname>sample string 5</UserLastname> <UserName>sample string 3</UserName> </UserProfileDataModel> <UserProfileDataModel> <CurrentPlan>sample string 10</CurrentPlan> <CurrentPlanID>9</CurrentPlanID> <Email>sample string 6</Email> <Gender>sample string 8</Gender> <PhoneNo>sample string 7</PhoneNo> <UserCode>sample string 2</UserCode> <UserFirstName>sample string 4</UserFirstName> <UserID>1</UserID> <UserLastname>sample string 5</UserLastname> <UserName>sample string 3</UserName> </UserProfileDataModel> </ArrayOfUserProfileDataModel>
multipart/form-data
Sample:
<ArrayOfUserProfileDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMMS_V2.Core.DataModel"><UserProfileDataModel><CurrentPlan>sample string 10</CurrentPlan><CurrentPlanID>9</CurrentPlanID><Email>sample string 6</Email><Gender>sample string 8</Gender><PhoneNo>sample string 7</PhoneNo><UserCode>sample string 2</UserCode><UserFirstName>sample string 4</UserFirstName><UserID>1</UserID><UserLastname>sample string 5</UserLastname><UserName>sample string 3</UserName></UserProfileDataModel><UserProfileDataModel><CurrentPlan>sample string 10</CurrentPlan><CurrentPlanID>9</CurrentPlanID><Email>sample string 6</Email><Gender>sample string 8</Gender><PhoneNo>sample string 7</PhoneNo><UserCode>sample string 2</UserCode><UserFirstName>sample string 4</UserFirstName><UserID>1</UserID><UserLastname>sample string 5</UserLastname><UserName>sample string 3</UserName></UserProfileDataModel></ArrayOfUserProfileDataModel>