POST modelo_arquivo/Atualizar

Request Information

URI Parameters

None.

Body Parameters

MODELO_ARQUIVOContract
NameDescriptionTypeAdditional information
CODMODELO

string

None.

NOME

string

None.

USA_HEADER

integer

None.

IDMODELO_HEADER

string

None.

AtualizaHeader

integer

None.

ListMODELO_HEADER

Collection of CAMPO_ARQUIVOContract

None.

USA_DETALHE

integer

None.

IDMODELO_DETALHE

string

None.

AtualizaDetalhe

integer

None.

ListMODELO_DETALHE

Collection of CAMPO_ARQUIVOContract

None.

USA_TRAILER

integer

None.

IDMODELO_TRAILER

string

None.

AtualizaTrailer

integer

None.

ListMODELO_TRAILER

Collection of CAMPO_ARQUIVOContract

None.

USA_HEADERLOTE

integer

None.

IDMODELO_HEADERLOTE

string

None.

AtualizaHeaderLote

integer

None.

ListMODELO_HEADERLOTE

Collection of CAMPO_ARQUIVOContract

None.

USA_DETALHE2

integer

None.

IDMODELO_DETALHE2

string

None.

AtualizaDetalhe2

integer

None.

ListMODELO_DETALHE2

Collection of CAMPO_ARQUIVOContract

None.

USA_DETALHE3

integer

None.

IDMODELO_DETALHE3

string

None.

AtualizaDetalhe3

integer

None.

ListMODELO_DETALHE3

Collection of CAMPO_ARQUIVOContract

None.

USA_DETALHE4

integer

None.

IDMODELO_DETALHE4

string

None.

AtualizaDetalhe4

integer

None.

ListMODELO_DETALHE4

Collection of CAMPO_ARQUIVOContract

None.

USA_TRAILERLOTE

integer

None.

IDMODELO_TRAILERLOTE

string

None.

AtualizaTrailerLote

integer

None.

ListMODELO_TRAILERLOTE

Collection of CAMPO_ARQUIVOContract

None.

Request Formats

application/json, text/json

Sample:
{
  "CODMODELO": "sample string 1",
  "NOME": "sample string 2",
  "USA_HEADER": 1,
  "IDMODELO_HEADER": "sample string 3",
  "AtualizaHeader": 1,
  "ListMODELO_HEADER": [
    {
      "IDCAMPO": "sample string 1",
      "IDACAO_MULTPAG": 1,
      "TP_CAMPO": "sample string 2",
      "TAMANHO": 1,
      "CAMPO_TABELA": "sample string 3",
      "CONTEUDO": "sample string 4",
      "COMPLETA_COM": "sample string 5",
      "DE": "sample string 6",
      "ORDEM_CAMPO": 7,
      "OBSERVACAO": "sample string 8"
    },
    {
      "IDCAMPO": "sample string 1",
      "IDACAO_MULTPAG": 1,
      "TP_CAMPO": "sample string 2",
      "TAMANHO": 1,
      "CAMPO_TABELA": "sample string 3",
      "CONTEUDO": "sample string 4",
      "COMPLETA_COM": "sample string 5",
      "DE": "sample string 6",
      "ORDEM_CAMPO": 7,
      "OBSERVACAO": "sample string 8"
    }
  ],
  "USA_DETALHE": 1,
  "IDMODELO_DETALHE": "sample string 4",
  "AtualizaDetalhe": 1,
  "ListMODELO_DETALHE": [
    {
      "IDCAMPO": "sample string 1",
      "IDACAO_MULTPAG": 1,
      "TP_CAMPO": "sample string 2",
      "TAMANHO": 1,
      "CAMPO_TABELA": "sample string 3",
      "CONTEUDO": "sample string 4",
      "COMPLETA_COM": "sample string 5",
      "DE": "sample string 6",
      "ORDEM_CAMPO": 7,
      "OBSERVACAO": "sample string 8"
    },
    {
      "IDCAMPO": "sample string 1",
      "IDACAO_MULTPAG": 1,
      "TP_CAMPO": "sample string 2",
      "TAMANHO": 1,
      "CAMPO_TABELA": "sample string 3",
      "CONTEUDO": "sample string 4",
      "COMPLETA_COM": "sample string 5",
      "DE": "sample string 6",
      "ORDEM_CAMPO": 7,
      "OBSERVACAO": "sample string 8"
    }
  ],
  "USA_TRAILER": 1,
  "IDMODELO_TRAILER": "sample string 5",
  "AtualizaTrailer": 1,
  "ListMODELO_TRAILER": [
    {
      "IDCAMPO": "sample string 1",
      "IDACAO_MULTPAG": 1,
      "TP_CAMPO": "sample string 2",
      "TAMANHO": 1,
      "CAMPO_TABELA": "sample string 3",
      "CONTEUDO": "sample string 4",
      "COMPLETA_COM": "sample string 5",
      "DE": "sample string 6",
      "ORDEM_CAMPO": 7,
      "OBSERVACAO": "sample string 8"
    },
    {
      "IDCAMPO": "sample string 1",
      "IDACAO_MULTPAG": 1,
      "TP_CAMPO": "sample string 2",
      "TAMANHO": 1,
      "CAMPO_TABELA": "sample string 3",
      "CONTEUDO": "sample string 4",
      "COMPLETA_COM": "sample string 5",
      "DE": "sample string 6",
      "ORDEM_CAMPO": 7,
      "OBSERVACAO": "sample string 8"
    }
  ],
  "USA_HEADERLOTE": 1,
  "IDMODELO_HEADERLOTE": "sample string 6",
  "AtualizaHeaderLote": 1,
  "ListMODELO_HEADERLOTE": [
    {
      "IDCAMPO": "sample string 1",
      "IDACAO_MULTPAG": 1,
      "TP_CAMPO": "sample string 2",
      "TAMANHO": 1,
      "CAMPO_TABELA": "sample string 3",
      "CONTEUDO": "sample string 4",
      "COMPLETA_COM": "sample string 5",
      "DE": "sample string 6",
      "ORDEM_CAMPO": 7,
      "OBSERVACAO": "sample string 8"
    },
    {
      "IDCAMPO": "sample string 1",
      "IDACAO_MULTPAG": 1,
      "TP_CAMPO": "sample string 2",
      "TAMANHO": 1,
      "CAMPO_TABELA": "sample string 3",
      "CONTEUDO": "sample string 4",
      "COMPLETA_COM": "sample string 5",
      "DE": "sample string 6",
      "ORDEM_CAMPO": 7,
      "OBSERVACAO": "sample string 8"
    }
  ],
  "USA_DETALHE2": 1,
  "IDMODELO_DETALHE2": "sample string 7",
  "AtualizaDetalhe2": 1,
  "ListMODELO_DETALHE2": [
    {
      "IDCAMPO": "sample string 1",
      "IDACAO_MULTPAG": 1,
      "TP_CAMPO": "sample string 2",
      "TAMANHO": 1,
      "CAMPO_TABELA": "sample string 3",
      "CONTEUDO": "sample string 4",
      "COMPLETA_COM": "sample string 5",
      "DE": "sample string 6",
      "ORDEM_CAMPO": 7,
      "OBSERVACAO": "sample string 8"
    },
    {
      "IDCAMPO": "sample string 1",
      "IDACAO_MULTPAG": 1,
      "TP_CAMPO": "sample string 2",
      "TAMANHO": 1,
      "CAMPO_TABELA": "sample string 3",
      "CONTEUDO": "sample string 4",
      "COMPLETA_COM": "sample string 5",
      "DE": "sample string 6",
      "ORDEM_CAMPO": 7,
      "OBSERVACAO": "sample string 8"
    }
  ],
  "USA_DETALHE3": 1,
  "IDMODELO_DETALHE3": "sample string 8",
  "AtualizaDetalhe3": 1,
  "ListMODELO_DETALHE3": [
    {
      "IDCAMPO": "sample string 1",
      "IDACAO_MULTPAG": 1,
      "TP_CAMPO": "sample string 2",
      "TAMANHO": 1,
      "CAMPO_TABELA": "sample string 3",
      "CONTEUDO": "sample string 4",
      "COMPLETA_COM": "sample string 5",
      "DE": "sample string 6",
      "ORDEM_CAMPO": 7,
      "OBSERVACAO": "sample string 8"
    },
    {
      "IDCAMPO": "sample string 1",
      "IDACAO_MULTPAG": 1,
      "TP_CAMPO": "sample string 2",
      "TAMANHO": 1,
      "CAMPO_TABELA": "sample string 3",
      "CONTEUDO": "sample string 4",
      "COMPLETA_COM": "sample string 5",
      "DE": "sample string 6",
      "ORDEM_CAMPO": 7,
      "OBSERVACAO": "sample string 8"
    }
  ],
  "USA_DETALHE4": 1,
  "IDMODELO_DETALHE4": "sample string 9",
  "AtualizaDetalhe4": 1,
  "ListMODELO_DETALHE4": [
    {
      "IDCAMPO": "sample string 1",
      "IDACAO_MULTPAG": 1,
      "TP_CAMPO": "sample string 2",
      "TAMANHO": 1,
      "CAMPO_TABELA": "sample string 3",
      "CONTEUDO": "sample string 4",
      "COMPLETA_COM": "sample string 5",
      "DE": "sample string 6",
      "ORDEM_CAMPO": 7,
      "OBSERVACAO": "sample string 8"
    },
    {
      "IDCAMPO": "sample string 1",
      "IDACAO_MULTPAG": 1,
      "TP_CAMPO": "sample string 2",
      "TAMANHO": 1,
      "CAMPO_TABELA": "sample string 3",
      "CONTEUDO": "sample string 4",
      "COMPLETA_COM": "sample string 5",
      "DE": "sample string 6",
      "ORDEM_CAMPO": 7,
      "OBSERVACAO": "sample string 8"
    }
  ],
  "USA_TRAILERLOTE": 1,
  "IDMODELO_TRAILERLOTE": "sample string 10",
  "AtualizaTrailerLote": 1,
  "ListMODELO_TRAILERLOTE": [
    {
      "IDCAMPO": "sample string 1",
      "IDACAO_MULTPAG": 1,
      "TP_CAMPO": "sample string 2",
      "TAMANHO": 1,
      "CAMPO_TABELA": "sample string 3",
      "CONTEUDO": "sample string 4",
      "COMPLETA_COM": "sample string 5",
      "DE": "sample string 6",
      "ORDEM_CAMPO": 7,
      "OBSERVACAO": "sample string 8"
    },
    {
      "IDCAMPO": "sample string 1",
      "IDACAO_MULTPAG": 1,
      "TP_CAMPO": "sample string 2",
      "TAMANHO": 1,
      "CAMPO_TABELA": "sample string 3",
      "CONTEUDO": "sample string 4",
      "COMPLETA_COM": "sample string 5",
      "DE": "sample string 6",
      "ORDEM_CAMPO": 7,
      "OBSERVACAO": "sample string 8"
    }
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

JsonRetorno
NameDescriptionTypeAdditional information
sucesso

boolean

None.

CodErro

string

None.

auxRetorno

string

None.

msg

string

None.

Response Formats

application/json, text/json

Sample:
{
  "sucesso": true,
  "CodErro": "sample string 2",
  "auxRetorno": "sample string 3",
  "msg": "sample string 4"
}