POST api/Users/Inicializar

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

DatosIniAbmUsuariosWebModel
NameDescriptionTypeAdditional information
Errores

Collection of MSErrorMessage

None.

Datos

DatosIniAbmUsuariosWeb

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"
    }
  ],
  "Datos": {
    "PerfilesWeb": [
      {
        "Id": 1,
        "EmpresaId": 1,
        "Descripcion": "sample string 2",
        "ObjectState": 3
      },
      {
        "Id": 1,
        "EmpresaId": 1,
        "Descripcion": "sample string 2",
        "ObjectState": 3
      }
    ],
    "Empresas": [
      {
        "CodEmpre": 1,
        "Descrip": "sample string 2"
      },
      {
        "CodEmpre": 1,
        "Descrip": "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:
<DatosIniAbmUsuariosWebModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BigDipperAPI.Models">
  <Datos xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mastersoft.BigDipper.Entities">
    <d2p1:Empresas>
      <d2p1:EmpresasCombo>
        <d2p1:CodEmpre>1</d2p1:CodEmpre>
        <d2p1:Descrip>sample string 2</d2p1:Descrip>
      </d2p1:EmpresasCombo>
      <d2p1:EmpresasCombo>
        <d2p1:CodEmpre>1</d2p1:CodEmpre>
        <d2p1:Descrip>sample string 2</d2p1:Descrip>
      </d2p1:EmpresasCombo>
    </d2p1:Empresas>
    <d2p1:PerfilesWeb>
      <d2p1:PerfilesWeb>
        <ObjectState xmlns="http://schemas.datacontract.org/2004/07/Mastersoft.Framework.Interfaces">3</ObjectState>
        <d2p1:Descripcion>sample string 2</d2p1:Descripcion>
        <d2p1:EmpresaId>1</d2p1:EmpresaId>
        <d2p1:Id>1</d2p1:Id>
      </d2p1:PerfilesWeb>
      <d2p1:PerfilesWeb>
        <ObjectState xmlns="http://schemas.datacontract.org/2004/07/Mastersoft.Framework.Interfaces">3</ObjectState>
        <d2p1:Descripcion>sample string 2</d2p1:Descripcion>
        <d2p1:EmpresaId>1</d2p1:EmpresaId>
        <d2p1:Id>1</d2p1:Id>
      </d2p1:PerfilesWeb>
    </d2p1:PerfilesWeb>
  </Datos>
  <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>
</DatosIniAbmUsuariosWebModel>