Páginas filhas
  • API Destinatário para outros produtos

Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

...

Bloco de código
languagejava
titleDestinatário
{
    "instancia": "ALBERTOTVS",
    "cdDestinat": 99,
    "deDestinat": "TESTE DESTINATARIO",
    "cdIntErp": null,
    "deEndereco": null,
    "cdMunic": 32,
    "noCep": "14.025-140",
    "noTelefone": "9999-9999",
    "fgTpPess": "J",
    "noCgcCpf": "71.320.857/0001-37",
    "noInscrEst": "664.003.070.110",
    "cdTpTabela": 15,
    "fgTpDestinat": null
}

...

Bloco de código
languagejava
titleResponse (200 OK)
{
    "instancia": "ALBERTOTVS",
    "cdDestinat": 99,
    "deDestinat": "TESTE DESTINATARIO",
    "cdIntErp": null,
    "deEndereco": null,
    "cdMunic": 32,
    "noCep": "14.025-140",
    "noTelefone": "9999-9999",
    "fgTpPess": "J",
    "noCgcCpf": "71.320.857/0001-37",
    "noInscrEst": "664.003.070.110",
    "cdTpTabela": null,
    "fgTpDestinat": "P"
}

...

http:127.0.0.1:8080/api/entity/v1/destinatario?instancia=ALBERTOTVS&cdDestinat=99&page=1&pageSize=15

Bloco de código
languagejava
titleResponse (200 OK)
{
    "hasNext": false,
    "items": [
        {
            "instancia": "ALBERTOTVS",
            "cdDestinat": 99,
            "deDestinat": "TESTE DESTINATARIO",
            "cdIntErp": null,
            "deEndereco": null,
            "cdMunic": 32,
            "noCep": "14.025-140",
            "noTelefone": "9999-9999",
            "fgTpPess": "J",
            "noCgcCpf": "71.320.857/0001-37",
            "noInscrEst": "664.003.070.110",
            "cdTpTabela": null,
            "fgTpDestinat": "P"
        }
    ]
}

...

Bloco de código
languagejava
titleDestinatário
{
    "instancia": "ALBERTOTVS",
    "cdDestinat": 99,
    "deDestinat": "UPDATE DESTINATARIO",
    "cdIntErp": null,
    "deEndereco": null,
    "cdMunic": 1,
    "noCep": "14.025-140",
    "noTelefone": "9999-9911",
    "fgTpPess": "F",
    "noCgcCpf": "422.880.478-01",
    "noInscrEst": "664.003.070.110",
    "cdTpTabela": null,
    "fgTpDestinat": null
}

...

http:127.0.0.1:8080/api/entity/v1/destinatario?cdDestinat=99&instancia=ALBERTOTVS

Parâmetros

  • instancia: Código da Instância
  • cdDestinat: Código do Destinatário.

...