POST api/Users/Grabar
Request Information
URI Parameters
None.
Body Parameters
UsuariosWebName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
EmpresaId | integer |
None. |
|
Usuario | string |
None. |
|
NombreCompleto | string |
None. |
|
Hash | string |
None. |
|
Salt | string |
None. |
|
PerfilId | integer |
None. |
|
ClienteId | integer |
None. |
|
Bloqueado | boolean |
None. |
|
ActivationKey | string |
None. |
|
Password | string |
None. |
|
SucursalId | integer |
None. |
|
VendedorId | integer |
None. |
|
ClienteNuevo | boolean |
None. |
|
EsConsumidorFinal | boolean |
None. |
|
ObjectState | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "EmpresaId": 1, "Usuario": "sample string 2", "NombreCompleto": "sample string 3", "Hash": "sample string 4", "Salt": "sample string 5", "PerfilId": 1, "ClienteId": 1, "Bloqueado": true, "ActivationKey": "sample string 6", "Password": "sample string 7", "SucursalId": 1, "VendedorId": 1, "ClienteNuevo": true, "EsConsumidorFinal": true, "ObjectState": 8 }
application/xml, text/xml
Sample:
<UsuariosWeb xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mastersoft.BigDipper.Entities"> <ObjectState xmlns="http://schemas.datacontract.org/2004/07/Mastersoft.Framework.Interfaces">8</ObjectState> <ActivationKey>sample string 6</ActivationKey> <Bloqueado>true</Bloqueado> <ClienteId>1</ClienteId> <ClienteNuevo>true</ClienteNuevo> <EmpresaId>1</EmpresaId> <EsConsumidorFinal>true</EsConsumidorFinal> <Hash>sample string 4</Hash> <Id>1</Id> <NombreCompleto>sample string 3</NombreCompleto> <Password>sample string 7</Password> <PerfilId>1</PerfilId> <Salt>sample string 5</Salt> <SucursalId>1</SucursalId> <Usuario>sample string 2</Usuario> <VendedorId>1</VendedorId> </UsuariosWeb>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
AbmUsuariosWebResultName | Description | Type | Additional information |
---|---|---|---|
Errores | Collection of MSErrorMessage |
None. |
|
UsuariosWeb | UsuariosWeb |
None. |
Response Formats
application/json, text/json
Sample:
{ "Errores": [ { "Source": "sample string 1", "Message": "sample string 2" }, { "Source": "sample string 1", "Message": "sample string 2" } ], "UsuariosWeb": { "Id": 1, "EmpresaId": 1, "Usuario": "sample string 2", "NombreCompleto": "sample string 3", "Hash": "sample string 4", "Salt": "sample string 5", "PerfilId": 1, "ClienteId": 1, "Bloqueado": true, "ActivationKey": "sample string 6", "Password": "sample string 7", "SucursalId": 1, "VendedorId": 1, "ClienteNuevo": true, "EsConsumidorFinal": true, "ObjectState": 8 } }
application/xml, text/xml
Sample:
<AbmUsuariosWebResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BigDipperAPI.Models"> <Errores xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mastersoft.Framework.Standard"> <d2p1:MSErrorMessage> <d2p1:Message>sample string 2</d2p1:Message> <d2p1:Source>sample string 1</d2p1:Source> </d2p1:MSErrorMessage> <d2p1:MSErrorMessage> <d2p1:Message>sample string 2</d2p1:Message> <d2p1:Source>sample string 1</d2p1:Source> </d2p1:MSErrorMessage> </Errores> <UsuariosWeb xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mastersoft.BigDipper.Entities"> <ObjectState xmlns="http://schemas.datacontract.org/2004/07/Mastersoft.Framework.Interfaces">8</ObjectState> <d2p1:ActivationKey>sample string 6</d2p1:ActivationKey> <d2p1:Bloqueado>true</d2p1:Bloqueado> <d2p1:ClienteId>1</d2p1:ClienteId> <d2p1:ClienteNuevo>true</d2p1:ClienteNuevo> <d2p1:EmpresaId>1</d2p1:EmpresaId> <d2p1:EsConsumidorFinal>true</d2p1:EsConsumidorFinal> <d2p1:Hash>sample string 4</d2p1:Hash> <d2p1:Id>1</d2p1:Id> <d2p1:NombreCompleto>sample string 3</d2p1:NombreCompleto> <d2p1:Password>sample string 7</d2p1:Password> <d2p1:PerfilId>1</d2p1:PerfilId> <d2p1:Salt>sample string 5</d2p1:Salt> <d2p1:SucursalId>1</d2p1:SucursalId> <d2p1:Usuario>sample string 2</d2p1:Usuario> <d2p1:VendedorId>1</d2p1:VendedorId> </UsuariosWeb> </AbmUsuariosWebResult>