Home

Série 1

Páginas filhas
  • PaymentCondition

Versões comparadas

Chave

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

...

Leitura de registro específico(GET):

localhost:8085/first/api/v1/PaymentCondition/001

{

  "pk": "001",

  "id": "001",

  "type": "1",

  "typeDescription1": "Informe o deslocamento em dias a partir da Data Base. Ex.:00,30 - 1a. parc. à vista - 2a. parc. 30 dias.",

  "paymentCond": "00",

  "description": "A VISTA BOL/CART",

  "days": "",

  "payInCheck": "2",

  "formICMSPayment": "",

  "formIpiPayment": "",

  "minimumValue": 0

}

...

Leitura de registro com filtro (GET)

localhost:8085/first/api/v1/PaymentCondition?description=30 DIAS CHEQUE

{

  "total": 1,

  "hasNext": false,

  "syncing": false,

  "lines": [

    {

      "pk": "004",

      "id": "004",

      "type": "1",

      "typeDescription1": "Informe o deslocamento em dias a partir da Data Base. Ex.:00,30 - 1a. parc. à vista - 2a. parc. 30 dias.",

      "paymentCond": "31",

      "description": "30 DIAS CHEQUE",

      "days": "",

      "payInCheck": "2",

      "formICMSPayment": "",

      "formIpiPayment": "",

      "minimumValue": 0

    }

  ]

}

...

Atualização de Registro (PUT)

 

localhost:8085/first/api/v1/client/000028

...

Retorno:

{

  "url": "/first/api/v1/paymentcondition/001",

  "id": "001"

}

 

Inclusão (POST)

localhost:8085/first/api/v1/PaymentCondition

...

Retorno :

{

  "url": "/first/api/v1/paymentcondition/500",

  "id": "500"

}

 

 

Exclusão (DELETE)

localhost:8085/first/api/v1/PaymentCondition/500

...