POST api/user/registration
Request Information
URI Parameters
None.
Body Parameters
RegistrationInfoName | Description | Type | Additional information |
---|---|---|---|
user | User |
None. |
|
rememberMe | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "user": { "idUser": 1, "globalId": "22a10e1e-2b95-483c-8d72-8a8ecab377ad", "username": "sample string 3", "password": "sample string 4", "email": "sample string 5", "emailConfirmed": true, "lockoutEndDateUtc": "2024-11-16T02:58:11.1978881+01:00", "lockoutEnabled": true, "accessFailedCount": 8, "notificheMail": true, "creationDate": "2024-11-16T02:58:11.1978881+01:00", "changePasswordDate": "2024-11-16T02:58:11.1978881+01:00", "userInfo": { "idUser": 1, "cognome": "sample string 2", "nome": "sample string 3", "codiceFiscale": "sample string 4", "partitaIva": "sample string 5", "tipologiaUser": { "Id": 1, "Description": "sample string 2" }, "dataNascita": "2024-11-16T02:58:11.1978881+01:00", "idNazioneNascita": 1, "idComuneNascita": 1, "localitaEsteraNascita": "sample string 6", "capNascita": "sample string 7", "idNazioneCittadinanza": 1, "statoCivile": { "Id": 1, "Description": "sample string 2" }, "idNazioneResidenza": 1, "idComuneResidenza": 1, "indirizzoResidenza": "sample string 8", "capResidenza": "sample string 9", "localitaEsteraResidenza": "sample string 10", "sesso": { "value": "sample string 1" }, "categoria": null, "idOrdinamentoPreferiti": 1 }, "devices": [ { "idUserDevice": 1, "idUser": 2, "deviceName": "sample string 3", "identifierForVendor": "sample string 4", "notifichePush": true, "androidPushToken": "sample string 6", "iOSPushToken": "sample string 7", "huaweiPushToken": "sample string 8" }, { "idUserDevice": 1, "idUser": 2, "deviceName": "sample string 3", "identifierForVendor": "sample string 4", "notifichePush": true, "androidPushToken": "sample string 6", "iOSPushToken": "sample string 7", "huaweiPushToken": "sample string 8" } ], "astePreferite": [ { "idAstaPreferita": 1, "idUser": 2, "idAsta": 3, "dataInserimento": "2024-11-16T02:58:11.2135097+01:00", "dataUltimaVisualizzazione": "2024-11-16T02:58:11.2135097+01:00", "dataUltimaNotificaPush": "2024-11-16T02:58:11.2135097+01:00", "nota": "sample string 6", "idLotto": 7, "dataUltimaNotificaEmail": "2024-11-16T02:58:11.2135097+01:00" }, { "idAstaPreferita": 1, "idUser": 2, "idAsta": 3, "dataInserimento": "2024-11-16T02:58:11.2135097+01:00", "dataUltimaVisualizzazione": "2024-11-16T02:58:11.2135097+01:00", "dataUltimaNotificaPush": "2024-11-16T02:58:11.2135097+01:00", "nota": "sample string 6", "idLotto": 7, "dataUltimaNotificaEmail": "2024-11-16T02:58:11.2135097+01:00" } ], "ricercheSalvate": [ { "idRicercaSalvata": 1, "idUser": 2, "descrizione": "sample string 3", "dataInserimento": "2024-11-16T02:58:11.2135097+01:00", "dataUltimaVisualizzazione": "2024-11-16T02:58:11.2135097+01:00", "jsonParameters": "sample string 6", "notificheMail": true, "dataUltimaNotificaMail": "2024-11-16T02:58:11.2135097+01:00" }, { "idRicercaSalvata": 1, "idUser": 2, "descrizione": "sample string 3", "dataInserimento": "2024-11-16T02:58:11.2135097+01:00", "dataUltimaVisualizzazione": "2024-11-16T02:58:11.2135097+01:00", "jsonParameters": "sample string 6", "notificheMail": true, "dataUltimaNotificaMail": "2024-11-16T02:58:11.2135097+01:00" } ], "tokens": [ { "idToken": 1, "idUser": 2, "token": "sample string 3", "validFor": 4, "expireDate": "2024-11-16T02:58:11.2135097+01:00" }, { "idToken": 1, "idUser": 2, "token": "sample string 3", "validFor": 4, "expireDate": "2024-11-16T02:58:11.2135097+01:00" } ] }, "rememberMe": true }
application/xml
Sample:
text/xml
Sample:
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.