POST api/LookupUser
This method looks up the provided userID against the contacts table and returns the userID and ESF GUID if available. LookupUser end point allows OCP to verify if a userID has access to the portal.
Request Information
URI Parameters
None.
Body Parameters
LookUpInputName | Description | Type | Additional information |
---|---|---|---|
username |
To get username |
string |
None. |
portal | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "username": "sample string 1", "portal": "sample string 2" }
application/xml, text/xml
Sample:
<LookUpInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RDOCPWebAPI.SupportClasses"> <portal>sample string 2</portal> <username>sample string 1</username> </LookUpInput>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
It returns user status with RD portal ID and GUID (if applicable).
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.