POST api/geral/postgetgeral

Request Information

URI Parameters

None.

Body Parameters

GeralRequestModel
NameDescriptionTypeAdditional information
Autenticacao

AutenticacaoModel

None.

LoginModel

LoginModel

None.

GeralModel

GeralModel

None.

NomeEmpresa

string

None.

novaSenha

string

None.

permissaoNome

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Autenticacao": {
    "Login": "sample string 1",
    "Senha": "sample string 2"
  },
  "LoginModel": {
    "Login": "sample string 1",
    "Senha": "sample string 2"
  },
  "GeralModel": {
    "CodEmpresa": "sample string 1",
    "CodUsuario": "sample string 2",
    "CodPerfil": "sample string 3",
    "UsuarioNome": "sample string 4",
    "UsuarioCodVenSispetro": "sample string 5",
    "UsuarioAutSiap": "sample string 6",
    "AutenticouSiap": true,
    "UsuarioAutMobile": "sample string 8",
    "Perm_alterar_senha": "sample string 9",
    "Perm_administrativo_controle_impressoras": "sample string 10",
    "Perm_administrativo_controle_telefonia": "sample string 11",
    "Perm_financeiro_contas_receber": "sample string 12",
    "Perm_vendas_rentabilidade": "sample string 13",
    "Perm_vendas_simulador_preco": "sample string 14",
    "Perm_vendas_pedidos": "sample string 15",
    "Perm_vendas_clientes": "sample string 16",
    "MobileVersaoRelease": "sample string 17",
    "MobileTipoSO": "sample string 18",
    "MobileVersaoDataPublicacao": "2026-10-29T20:11:07.5098698-03:00",
    "MobileVersaoReleaseAtivo": "sample string 20",
    "UsuAlterarSenha": "sample string 21",
    "UltimaAlteracaoSenha": "2026-10-29T20:11:07.5098698-03:00",
    "Perm_tx_perfil_combustiveis": "sample string 23",
    "Perm_tx_perfil_lubrificantes": "sample string 24",
    "Perm_vendas_pedidos_lubrificantes": "sample string 25",
    "Perm_vendas_clientes_lubrificantes": "sample string 26",
    "Perm_vendas_vendas_lubrificantes": "sample string 27",
    "Perm_vendas_tabela_preco_lubrificantes": "sample string 28",
    "Perm_empresas_petrox_lub": "sample string 29",
    "Perm_empresas_petrox_ba": "sample string 30",
    "Perm_empresas_petrox_pe": "sample string 31",
    "Perm_empresas_petrox_pb": "sample string 32",
    "Perm_empresas_petrox_it": "sample string 33",
    "Perm_empresas_base_se": "sample string 34",
    "Perm_empresas_petrox_lub_al": "sample string 35",
    "Perm_empresas_petrox_jequie": "sample string 36",
    "Perm_empresas_petrox_juazeiro": "sample string 37",
    "Perm_empresas_petrox_rn": "sample string 38",
    "Perm_empresas_petrox_go": "sample string 39",
    "Perm_empresas_petrox_ce": "sample string 40",
    "Perm_empresas_petrox_sl": "sample string 41",
    "Perm_empresas_petrox_br": "sample string 42"
  },
  "NomeEmpresa": "sample string 1",
  "novaSenha": "sample string 2",
  "permissaoNome": "sample string 3"
}

application/xml, text/xml

Sample:
<GeralRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MobileRest.AppCode.Model">
  <Autenticacao>
    <Login>sample string 1</Login>
    <Senha>sample string 2</Senha>
  </Autenticacao>
  <GeralModel xmlns:d2p1="http://schemas.datacontract.org/2004/07/">
    <d2p1:AutenticouSiap>true</d2p1:AutenticouSiap>
    <d2p1:CodEmpresa>sample string 1</d2p1:CodEmpresa>
    <d2p1:CodPerfil>sample string 3</d2p1:CodPerfil>
    <d2p1:CodUsuario>sample string 2</d2p1:CodUsuario>
    <d2p1:MobileTipoSO>sample string 18</d2p1:MobileTipoSO>
    <d2p1:MobileVersaoDataPublicacao>2026-10-29T20:11:07.5098698-03:00</d2p1:MobileVersaoDataPublicacao>
    <d2p1:MobileVersaoRelease>sample string 17</d2p1:MobileVersaoRelease>
    <d2p1:MobileVersaoReleaseAtivo>sample string 20</d2p1:MobileVersaoReleaseAtivo>
    <d2p1:Perm_administrativo_controle_impressoras>sample string 10</d2p1:Perm_administrativo_controle_impressoras>
    <d2p1:Perm_administrativo_controle_telefonia>sample string 11</d2p1:Perm_administrativo_controle_telefonia>
    <d2p1:Perm_alterar_senha>sample string 9</d2p1:Perm_alterar_senha>
    <d2p1:Perm_empresas_base_se>sample string 34</d2p1:Perm_empresas_base_se>
    <d2p1:Perm_empresas_petrox_ba>sample string 30</d2p1:Perm_empresas_petrox_ba>
    <d2p1:Perm_empresas_petrox_br>sample string 42</d2p1:Perm_empresas_petrox_br>
    <d2p1:Perm_empresas_petrox_ce>sample string 40</d2p1:Perm_empresas_petrox_ce>
    <d2p1:Perm_empresas_petrox_go>sample string 39</d2p1:Perm_empresas_petrox_go>
    <d2p1:Perm_empresas_petrox_it>sample string 33</d2p1:Perm_empresas_petrox_it>
    <d2p1:Perm_empresas_petrox_jequie>sample string 36</d2p1:Perm_empresas_petrox_jequie>
    <d2p1:Perm_empresas_petrox_juazeiro>sample string 37</d2p1:Perm_empresas_petrox_juazeiro>
    <d2p1:Perm_empresas_petrox_lub>sample string 29</d2p1:Perm_empresas_petrox_lub>
    <d2p1:Perm_empresas_petrox_lub_al>sample string 35</d2p1:Perm_empresas_petrox_lub_al>
    <d2p1:Perm_empresas_petrox_pb>sample string 32</d2p1:Perm_empresas_petrox_pb>
    <d2p1:Perm_empresas_petrox_pe>sample string 31</d2p1:Perm_empresas_petrox_pe>
    <d2p1:Perm_empresas_petrox_rn>sample string 38</d2p1:Perm_empresas_petrox_rn>
    <d2p1:Perm_empresas_petrox_sl>sample string 41</d2p1:Perm_empresas_petrox_sl>
    <d2p1:Perm_financeiro_contas_receber>sample string 12</d2p1:Perm_financeiro_contas_receber>
    <d2p1:Perm_tx_perfil_combustiveis>sample string 23</d2p1:Perm_tx_perfil_combustiveis>
    <d2p1:Perm_tx_perfil_lubrificantes>sample string 24</d2p1:Perm_tx_perfil_lubrificantes>
    <d2p1:Perm_vendas_clientes>sample string 16</d2p1:Perm_vendas_clientes>
    <d2p1:Perm_vendas_clientes_lubrificantes>sample string 26</d2p1:Perm_vendas_clientes_lubrificantes>
    <d2p1:Perm_vendas_pedidos>sample string 15</d2p1:Perm_vendas_pedidos>
    <d2p1:Perm_vendas_pedidos_lubrificantes>sample string 25</d2p1:Perm_vendas_pedidos_lubrificantes>
    <d2p1:Perm_vendas_rentabilidade>sample string 13</d2p1:Perm_vendas_rentabilidade>
    <d2p1:Perm_vendas_simulador_preco>sample string 14</d2p1:Perm_vendas_simulador_preco>
    <d2p1:Perm_vendas_tabela_preco_lubrificantes>sample string 28</d2p1:Perm_vendas_tabela_preco_lubrificantes>
    <d2p1:Perm_vendas_vendas_lubrificantes>sample string 27</d2p1:Perm_vendas_vendas_lubrificantes>
    <d2p1:UltimaAlteracaoSenha>2026-10-29T20:11:07.5098698-03:00</d2p1:UltimaAlteracaoSenha>
    <d2p1:UsuAlterarSenha>sample string 21</d2p1:UsuAlterarSenha>
    <d2p1:UsuarioAutMobile>sample string 8</d2p1:UsuarioAutMobile>
    <d2p1:UsuarioAutSiap>sample string 6</d2p1:UsuarioAutSiap>
    <d2p1:UsuarioCodVenSispetro>sample string 5</d2p1:UsuarioCodVenSispetro>
    <d2p1:UsuarioNome>sample string 4</d2p1:UsuarioNome>
  </GeralModel>
  <LoginModel>
    <Login>sample string 1</Login>
    <Senha>sample string 2</Senha>
  </LoginModel>
  <NomeEmpresa>sample string 1</NomeEmpresa>
  <novaSenha>sample string 2</novaSenha>
  <permissaoNome>sample string 3</permissaoNome>
</GeralRequestModel>

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 'GeralRequestModel'.

Response Information

Resource Description

GeralModel
NameDescriptionTypeAdditional information
CodEmpresa

string

None.

CodUsuario

string

None.

CodPerfil

string

None.

UsuarioNome

string

None.

UsuarioCodVenSispetro

string

None.

UsuarioAutSiap

string

None.

AutenticouSiap

boolean

None.

UsuarioAutMobile

string

None.

Perm_alterar_senha

string

None.

Perm_administrativo_controle_impressoras

string

None.

Perm_administrativo_controle_telefonia

string

None.

Perm_financeiro_contas_receber

string

None.

Perm_vendas_rentabilidade

string

None.

Perm_vendas_simulador_preco

string

None.

Perm_vendas_pedidos

string

None.

Perm_vendas_clientes

string

None.

MobileVersaoRelease

string

None.

MobileTipoSO

string

None.

MobileVersaoDataPublicacao

date

None.

MobileVersaoReleaseAtivo

string

None.

UsuAlterarSenha

string

None.

UltimaAlteracaoSenha

date

None.

Perm_tx_perfil_combustiveis

string

None.

Perm_tx_perfil_lubrificantes

string

None.

Perm_vendas_pedidos_lubrificantes

string

None.

Perm_vendas_clientes_lubrificantes

string

None.

Perm_vendas_vendas_lubrificantes

string

None.

Perm_vendas_tabela_preco_lubrificantes

string

None.

Perm_empresas_petrox_lub

string

None.

Perm_empresas_petrox_ba

string

None.

Perm_empresas_petrox_pe

string

None.

Perm_empresas_petrox_pb

string

None.

Perm_empresas_petrox_it

string

None.

Perm_empresas_base_se

string

None.

Perm_empresas_petrox_lub_al

string

None.

Perm_empresas_petrox_jequie

string

None.

Perm_empresas_petrox_juazeiro

string

None.

Perm_empresas_petrox_rn

string

None.

Perm_empresas_petrox_go

string

None.

Perm_empresas_petrox_ce

string

None.

Perm_empresas_petrox_sl

string

None.

Perm_empresas_petrox_br

string

None.

Response Formats

application/json, text/json

Sample:
{
  "CodEmpresa": "sample string 1",
  "CodUsuario": "sample string 2",
  "CodPerfil": "sample string 3",
  "UsuarioNome": "sample string 4",
  "UsuarioCodVenSispetro": "sample string 5",
  "UsuarioAutSiap": "sample string 6",
  "AutenticouSiap": true,
  "UsuarioAutMobile": "sample string 8",
  "Perm_alterar_senha": "sample string 9",
  "Perm_administrativo_controle_impressoras": "sample string 10",
  "Perm_administrativo_controle_telefonia": "sample string 11",
  "Perm_financeiro_contas_receber": "sample string 12",
  "Perm_vendas_rentabilidade": "sample string 13",
  "Perm_vendas_simulador_preco": "sample string 14",
  "Perm_vendas_pedidos": "sample string 15",
  "Perm_vendas_clientes": "sample string 16",
  "MobileVersaoRelease": "sample string 17",
  "MobileTipoSO": "sample string 18",
  "MobileVersaoDataPublicacao": "2026-10-29T20:11:07.5098698-03:00",
  "MobileVersaoReleaseAtivo": "sample string 20",
  "UsuAlterarSenha": "sample string 21",
  "UltimaAlteracaoSenha": "2026-10-29T20:11:07.5098698-03:00",
  "Perm_tx_perfil_combustiveis": "sample string 23",
  "Perm_tx_perfil_lubrificantes": "sample string 24",
  "Perm_vendas_pedidos_lubrificantes": "sample string 25",
  "Perm_vendas_clientes_lubrificantes": "sample string 26",
  "Perm_vendas_vendas_lubrificantes": "sample string 27",
  "Perm_vendas_tabela_preco_lubrificantes": "sample string 28",
  "Perm_empresas_petrox_lub": "sample string 29",
  "Perm_empresas_petrox_ba": "sample string 30",
  "Perm_empresas_petrox_pe": "sample string 31",
  "Perm_empresas_petrox_pb": "sample string 32",
  "Perm_empresas_petrox_it": "sample string 33",
  "Perm_empresas_base_se": "sample string 34",
  "Perm_empresas_petrox_lub_al": "sample string 35",
  "Perm_empresas_petrox_jequie": "sample string 36",
  "Perm_empresas_petrox_juazeiro": "sample string 37",
  "Perm_empresas_petrox_rn": "sample string 38",
  "Perm_empresas_petrox_go": "sample string 39",
  "Perm_empresas_petrox_ce": "sample string 40",
  "Perm_empresas_petrox_sl": "sample string 41",
  "Perm_empresas_petrox_br": "sample string 42"
}

application/xml, text/xml

Sample:
<GeralModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/">
  <AutenticouSiap>true</AutenticouSiap>
  <CodEmpresa>sample string 1</CodEmpresa>
  <CodPerfil>sample string 3</CodPerfil>
  <CodUsuario>sample string 2</CodUsuario>
  <MobileTipoSO>sample string 18</MobileTipoSO>
  <MobileVersaoDataPublicacao>2026-10-29T20:11:07.5098698-03:00</MobileVersaoDataPublicacao>
  <MobileVersaoRelease>sample string 17</MobileVersaoRelease>
  <MobileVersaoReleaseAtivo>sample string 20</MobileVersaoReleaseAtivo>
  <Perm_administrativo_controle_impressoras>sample string 10</Perm_administrativo_controle_impressoras>
  <Perm_administrativo_controle_telefonia>sample string 11</Perm_administrativo_controle_telefonia>
  <Perm_alterar_senha>sample string 9</Perm_alterar_senha>
  <Perm_empresas_base_se>sample string 34</Perm_empresas_base_se>
  <Perm_empresas_petrox_ba>sample string 30</Perm_empresas_petrox_ba>
  <Perm_empresas_petrox_br>sample string 42</Perm_empresas_petrox_br>
  <Perm_empresas_petrox_ce>sample string 40</Perm_empresas_petrox_ce>
  <Perm_empresas_petrox_go>sample string 39</Perm_empresas_petrox_go>
  <Perm_empresas_petrox_it>sample string 33</Perm_empresas_petrox_it>
  <Perm_empresas_petrox_jequie>sample string 36</Perm_empresas_petrox_jequie>
  <Perm_empresas_petrox_juazeiro>sample string 37</Perm_empresas_petrox_juazeiro>
  <Perm_empresas_petrox_lub>sample string 29</Perm_empresas_petrox_lub>
  <Perm_empresas_petrox_lub_al>sample string 35</Perm_empresas_petrox_lub_al>
  <Perm_empresas_petrox_pb>sample string 32</Perm_empresas_petrox_pb>
  <Perm_empresas_petrox_pe>sample string 31</Perm_empresas_petrox_pe>
  <Perm_empresas_petrox_rn>sample string 38</Perm_empresas_petrox_rn>
  <Perm_empresas_petrox_sl>sample string 41</Perm_empresas_petrox_sl>
  <Perm_financeiro_contas_receber>sample string 12</Perm_financeiro_contas_receber>
  <Perm_tx_perfil_combustiveis>sample string 23</Perm_tx_perfil_combustiveis>
  <Perm_tx_perfil_lubrificantes>sample string 24</Perm_tx_perfil_lubrificantes>
  <Perm_vendas_clientes>sample string 16</Perm_vendas_clientes>
  <Perm_vendas_clientes_lubrificantes>sample string 26</Perm_vendas_clientes_lubrificantes>
  <Perm_vendas_pedidos>sample string 15</Perm_vendas_pedidos>
  <Perm_vendas_pedidos_lubrificantes>sample string 25</Perm_vendas_pedidos_lubrificantes>
  <Perm_vendas_rentabilidade>sample string 13</Perm_vendas_rentabilidade>
  <Perm_vendas_simulador_preco>sample string 14</Perm_vendas_simulador_preco>
  <Perm_vendas_tabela_preco_lubrificantes>sample string 28</Perm_vendas_tabela_preco_lubrificantes>
  <Perm_vendas_vendas_lubrificantes>sample string 27</Perm_vendas_vendas_lubrificantes>
  <UltimaAlteracaoSenha>2026-10-29T20:11:07.5098698-03:00</UltimaAlteracaoSenha>
  <UsuAlterarSenha>sample string 21</UsuAlterarSenha>
  <UsuarioAutMobile>sample string 8</UsuarioAutMobile>
  <UsuarioAutSiap>sample string 6</UsuarioAutSiap>
  <UsuarioCodVenSispetro>sample string 5</UsuarioCodVenSispetro>
  <UsuarioNome>sample string 4</UsuarioNome>
</GeralModel>