Description: Request for userId with token
URL: http://{your-server-url}/api/v1/token/get_userid
Method: POST
Token Required: False
content-type: application/json or content-type: application/xml
Type: Nexus.AppSpace.Service.Contract.Messages.Token.TokenRequest
Parameter | Type | Nullable |
---|---|---|
Request.Authentication | Nexus.AppSpace.Service.Contract.Messages.Authentication | False |
Type: Nexus.AppSpace.Service.Contract.Messages.Token.TokenResponse
Parameter | Type |
---|---|
Response.UserId | string |
<TokenRequest xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages.Token" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <Authentication xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages"> <AccountId>String</AccountId> <SecurityToken>String</SecurityToken> </Authentication> </TokenRequest>
{ "Authentication":{ "AccountId":"String", "SecurityToken":"String" } }
<TokenResponse xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages.Token" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <DebugMessage xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages">String</DebugMessage> <Errors xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages"> <Error> <Code>String</Code> <Message>String</Message> <StackTrace>String</StackTrace> </Error> </Errors> <Status xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages">Success</Status> <UserId>String</UserId> </TokenResponse>
{ "DebugMessage":"String", "Errors":[ { "Code":"String", "Message":"String", "StackTrace":"String" } ], "Status":1, "UserId":"String" }