POST api/AccountApi/Logout
Request Information
URI Parameters
None.
Body Parameters
UserParamLogoutName | Description | Type | Additional information |
---|---|---|---|
UsuarioId | integer |
None. |
|
ClienteId | integer |
None. |
|
EmpresaId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "UsuarioId": 1, "ClienteId": 2, "EmpresaId": 3 }
application/xml, text/xml
Sample:
<UserParamLogout xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mastersoft.BigDipper.Entities.Domain"> <ClienteId>2</ClienteId> <EmpresaId>3</EmpresaId> <UsuarioId>1</UsuarioId> </UserParamLogout>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
LoginResultName | Description | Type | Additional information |
---|---|---|---|
Token | string |
None. |
|
User | UserData |
None. |
|
InHabilitado | boolean |
None. |
|
ListaID | integer |
None. |
|
ExpiresIn | string |
None. |
|
Expires | date |
None. |
|
Errors | APIErrors |
None. |
Response Formats
application/json, text/json
Sample:
{ "Token": "sample string 1", "User": { "UserId": 1, "UserName": "sample string 2", "FullName": "sample string 3", "ProfileId": 1, "CustomerId": 1, "SucursalId": 1, "VendedorId": 1, "EsConsumidorFinal": true, "TipoDocId": 1, "NroDocumento": "sample string 4", "Telefono": "sample string 5", "Calle": "sample string 6", "Puerta": "sample string 7", "Localidad": "sample string 8", "CodPostal": "sample string 9", "Piso": "sample string 10", "ProvinciaId": 1 }, "InHabilitado": true, "ListaID": 1, "ExpiresIn": "sample string 3", "Expires": "2025-01-09T14:51:09.9115493-03:00", "Errors": { "HasErrors": true, "ErrorList": [ { "Message": "sample string 1", "Source": "sample string 2" }, { "Message": "sample string 1", "Source": "sample string 2" } ] } }
application/xml, text/xml
Sample:
<LoginResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mastersoft.BigDipper.Entities.Domain"> <Errors> <ErrorList> <APIErrorMessage> <Message>sample string 1</Message> <Source>sample string 2</Source> </APIErrorMessage> <APIErrorMessage> <Message>sample string 1</Message> <Source>sample string 2</Source> </APIErrorMessage> </ErrorList> <HasErrors>true</HasErrors> </Errors> <Expires>2025-01-09T14:51:09.9115493-03:00</Expires> <ExpiresIn>sample string 3</ExpiresIn> <InHabilitado>true</InHabilitado> <ListaID>1</ListaID> <Token>sample string 1</Token> <User> <Calle>sample string 6</Calle> <CodPostal>sample string 9</CodPostal> <CustomerId>1</CustomerId> <EsConsumidorFinal>true</EsConsumidorFinal> <FullName>sample string 3</FullName> <Localidad>sample string 8</Localidad> <NroDocumento>sample string 4</NroDocumento> <Piso>sample string 10</Piso> <ProfileId>1</ProfileId> <ProvinciaId>1</ProvinciaId> <Puerta>sample string 7</Puerta> <SucursalId>1</SucursalId> <Telefono>sample string 5</Telefono> <TipoDocId>1</TipoDocId> <UserId>1</UserId> <UserName>sample string 2</UserName> <VendedorId>1</VendedorId> </User> </LoginResult>