POST api/SalesMan/GetUser
GetUser by token and passkey
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
beData | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "Token": "sample string 1", "PassKey": "sample string 2", "Lat": 3.1, "Lon": 4.1, "GPSLocation": "sample string 5", "DeviceId": "sample string 6" }
application/xml, text/xml
Sample:
<TokenPassKey xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SalesOrderAPI.Models.Global"> <DeviceId>sample string 6</DeviceId> <GPSLocation>sample string 5</GPSLocation> <Lat>3.1</Lat> <Lon>4.1</Lon> <PassKey>sample string 2</PassKey> <Token>sample string 1</Token> </TokenPassKey>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Response body formats
application/json, text/json
Sample:
{ "AgentId": 1, "UserId": 2, "Name": "sample string 3", "Code": "sample string 4", "Address": "sample string 5", "MobileNo": "sample string 6", "EmailId": "sample string 7", "Token": "sample string 8", "UserName": "sample string 9", "IsSuccess": true, "ResponseMSG": "sample string 11" }
application/xml, text/xml
Sample:
<SalesMan xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SalesOrderAPI.Models.BusinessEntity"> <IsSuccess xmlns="http://schemas.datacontract.org/2004/07/SalesOrderAPI.Models.Global">true</IsSuccess> <ResponseMSG xmlns="http://schemas.datacontract.org/2004/07/SalesOrderAPI.Models.Global">sample string 11</ResponseMSG> <Address>sample string 5</Address> <AgentId>1</AgentId> <Code>sample string 4</Code> <EmailId>sample string 7</EmailId> <MobileNo>sample string 6</MobileNo> <Name>sample string 3</Name> <Token>sample string 8</Token> <UserId>2</UserId> <UserName>sample string 9</UserName> </SalesMan>