POST Core/Produtos/InserirGrupos

Request Information

URI Parameters

None.

Body Parameters

Collection of Produtos_Grupo
NameDescriptionTypeAdditional information
IdGrupo

integer

None.

DescGrupo

string

None.

TaxaLucro

decimal number

None.

DescontoMax

decimal number

None.

TipoServicoSN

boolean

None.

EpiSN

boolean

None.

InsumosSN

boolean

None.

ComissaoP

integer

None.

IdPlanoContas

integer

None.

Segmento

string

None.

Anexos

Collection of Anexos

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "IdGrupo": 1,
    "DescGrupo": "sample string 2",
    "TaxaLucro": 1.0,
    "DescontoMax": 1.0,
    "TipoServicoSN": true,
    "EpiSN": true,
    "InsumosSN": true,
    "ComissaoP": 1,
    "IdPlanoContas": 1,
    "Segmento": "sample string 3",
    "Anexos": [
      {
        "Id": 1,
        "Descricao": "sample string 1",
        "IdRegistro_Vinculo": 1,
        "IdTabela_Vinculo": 1,
        "Base64": "sample string 2",
        "Caminho_Anexo": "sample string 3",
        "PrincipalSN": true,
        "DesativadoSN": true
      },
      {
        "Id": 1,
        "Descricao": "sample string 1",
        "IdRegistro_Vinculo": 1,
        "IdTabela_Vinculo": 1,
        "Base64": "sample string 2",
        "Caminho_Anexo": "sample string 3",
        "PrincipalSN": true,
        "DesativadoSN": true
      }
    ]
  },
  {
    "IdGrupo": 1,
    "DescGrupo": "sample string 2",
    "TaxaLucro": 1.0,
    "DescontoMax": 1.0,
    "TipoServicoSN": true,
    "EpiSN": true,
    "InsumosSN": true,
    "ComissaoP": 1,
    "IdPlanoContas": 1,
    "Segmento": "sample string 3",
    "Anexos": [
      {
        "Id": 1,
        "Descricao": "sample string 1",
        "IdRegistro_Vinculo": 1,
        "IdTabela_Vinculo": 1,
        "Base64": "sample string 2",
        "Caminho_Anexo": "sample string 3",
        "PrincipalSN": true,
        "DesativadoSN": true
      },
      {
        "Id": 1,
        "Descricao": "sample string 1",
        "IdRegistro_Vinculo": 1,
        "IdTabela_Vinculo": 1,
        "Base64": "sample string 2",
        "Caminho_Anexo": "sample string 3",
        "PrincipalSN": true,
        "DesativadoSN": true
      }
    ]
  }
]

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Retorno_Response
NameDescriptionTypeAdditional information
Message

string

None.

Descricao

string

None.

Objeto

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "Descricao": "sample string 2",
  "Objeto": {}
}