POST api/Usuario?idEstablishment={idEstablishment}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
idEstablishment

string

Required

Body Parameters

USUARIO_BE
NameDescriptionTypeAdditional information
COD_Usuario

decimal number

None.

TIP_Perfil

decimal number

None.

NOM_Usuario

string

None.

NOM_Apelido

string

None.

DTH_Cadastro

date

None.

FLG_Suspenso

string

None.

DSC_Login

string

None.

DSC_Senha

string

None.

EMAIL_Usuario

string

None.

TEL_Usuario

string

None.

ProfileID

string

None.

Player_ID

string

None.

User_Points

decimal number

None.

User_Balance

decimal number

None.

Perfil

TIPO_PERFIL

None.

lstPermissao

Collection of Permissao

None.

Request Formats

application/json, text/json

Sample:
{
  "perfil": {
    "tiP_Perfil": 1.0,
    "noM_Perfil": "sample string 2"
  },
  "lstPermissao": [
    0,
    0
  ],
  "coD_Usuario": 1.0,
  "tiP_Perfil": 2.0,
  "noM_Usuario": "sample string 3",
  "noM_Apelido": "sample string 4",
  "dtH_Cadastro": "2019-12-05T12:37:37.0589275-05:00",
  "flG_Suspenso": "sample string 6",
  "dsC_Login": "sample string 7",
  "dsC_Senha": "sample string 8",
  "emaiL_Usuario": "sample string 9",
  "teL_Usuario": "sample string 10",
  "profileID": "sample string 11",
  "player_ID": "sample string 12",
  "user_Points": 13.0,
  "user_Balance": 14.0
}

text/html

Sample:
{"perfil":{"tiP_Perfil":1.0,"noM_Perfil":"sample string 2"},"lstPermissao":[0,0],"coD_Usuario":1.0,"tiP_Perfil":2.0,"noM_Usuario":"sample string 3","noM_Apelido":"sample string 4","dtH_Cadastro":"2019-12-05T12:37:37.0589275-05:00","flG_Suspenso":"sample string 6","dsC_Login":"sample string 7","dsC_Senha":"sample string 8","emaiL_Usuario":"sample string 9","teL_Usuario":"sample string 10","profileID":"sample string 11","player_ID":"sample string 12","user_Points":13.0,"user_Balance":14.0}

application/xml, text/xml

Sample:
<USUARIO_BE xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Thalentus.BE">
  <COD_Usuario>1</COD_Usuario>
  <DSC_Login>sample string 7</DSC_Login>
  <DSC_Senha>sample string 8</DSC_Senha>
  <DTH_Cadastro>2019-12-05T12:37:37.0589275-05:00</DTH_Cadastro>
  <EMAIL_Usuario>sample string 9</EMAIL_Usuario>
  <FLG_Suspenso>sample string 6</FLG_Suspenso>
  <NOM_Apelido>sample string 4</NOM_Apelido>
  <NOM_Usuario>sample string 3</NOM_Usuario>
  <Perfil>
    <NOM_Perfil>sample string 2</NOM_Perfil>
    <TIP_Perfil>1</TIP_Perfil>
  </Perfil>
  <Player_ID>sample string 12</Player_ID>
  <ProfileID>sample string 11</ProfileID>
  <TEL_Usuario>sample string 10</TEL_Usuario>
  <TIP_Perfil>2</TIP_Perfil>
  <User_Balance>14</User_Balance>
  <User_Points>13</User_Points>
  <lstPermissao xmlns:d2p1="http://schemas.datacontract.org/2004/07/Thalentus.UTIL">
    <d2p1:PermissaoEnum.Permissao>Default</d2p1:PermissaoEnum.Permissao>
    <d2p1:PermissaoEnum.Permissao>Default</d2p1:PermissaoEnum.Permissao>
  </lstPermissao>
</USUARIO_BE>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'USUARIO_BE'.

Response Information

Resource Description

None.