POST api/autenticacion/obtenerf2a
Request Information
URI Parameters
None.
Body Parameters
Autenticacionf2aName | Description | Type | Additional information |
---|---|---|---|
Usuario | string |
None. |
|
Clave | string |
None. |
|
f2aToken | TwoFactorInitiationResult |
None. |
Request Formats
application/json, text/json
Sample:
{ "Usuario": "sample string 1", "Clave": "sample string 2", "f2aToken": { "TemporaryIdentifier": "sample string 1", "Requires2FA": true, "Message": "sample string 3" } }
application/xml, text/xml
Sample:
<Autenticacionf2a xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ArellanoAPI.Models"> <Clave>sample string 2</Clave> <Usuario>sample string 1</Usuario> <f2aToken> <Message>sample string 3</Message> <Requires2FA>true</Requires2FA> <TemporaryIdentifier>sample string 1</TemporaryIdentifier> </f2aToken> </Autenticacionf2a>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseAPIName | Description | Type | Additional information |
---|---|---|---|
Exito | boolean |
None. |
|
Mensaje | string |
None. |
|
Excepcion | string |
None. |
|
Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "Exito": true, "Mensaje": "sample string 2", "Excepcion": "sample string 3", "Data": {} }
application/xml, text/xml
Sample:
<ResponseAPI xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ArellanoAPI.Models"> <Data /> <Excepcion>sample string 3</Excepcion> <Exito>true</Exito> <Mensaje>sample string 2</Mensaje> </ResponseAPI>