POST api/Auth/1/1/RegisterDevice
Registro del dispositivo
Información del Request
Parametros de la URI
No posee parametros
Parametros del Body
SFE.Auth.Core.Requests.RegisterDeviceRequest| Nombre | Descripción | Tipo | Información Adicional |
|---|---|---|---|
| encRegisterDeviceInfo |
Contenido cifrado basado en la clase RegisterDeviceInfo |
string |
Required |
| language |
Código ISO 639-1 de dos letras del idioma usado para los mensajes |
string |
N/A |
Ejemplos de request:
application/json, text/json
Ejemplo:
{
"encRegisterDeviceInfo": "sample string 1",
"language": "sample string 2"
}
application/xml, text/xml
Ejemplo:
<RegisterDeviceRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SFE.Auth.Core.Requests"> <encRegisterDeviceInfo>sample string 1</encRegisterDeviceInfo> <language>sample string 2</language> </RegisterDeviceRequest>
Información del Response
Descripción de los parametros
SFE.Auth.Core.Requests.RegisterDeviceResponse| Nombre | Descripción | Tipo | Información Adicional |
|---|---|---|---|
| encRegisteredDeviceInfo |
Contenido cifrado basado en la clase RegisteredDeviceInfo |
string |
N/A |
Ejemplos de response:
application/json, text/json
Ejemplo:
{
"encRegisteredDeviceInfo": "sample string 1"
}
application/xml, text/xml
Ejemplo:
<RegisterDeviceResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SFE.Auth.Core.Requests"> <encRegisteredDeviceInfo>sample string 1</encRegisteredDeviceInfo> </RegisterDeviceResponse>