Home

Série 1

Páginas filhas
  • Bordero

Versões comparadas

Chave

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

...

Nome

Descrição

Tamanho do campo

Tipo

Mais detalhes

idUrlParam

Código do boderô

9

Caractere

 

bankid

id da conta bancária.

20

Caractere

 

contract

Número do Contrato (Convênio Banco)

20

Caractere

 

transactioncode

Código de Tipo de Movimentação Financeira

2

Caractere

 

historical

Código do grupo que o produto pertence

4

Caractere

 

operatingdate

Código de barras

15

Caractere

 

interestrate

Valor de Crédito Devido

15,2

Numérico

 

accountreceivableids

ids dos títulos do bordero

0 

Matriz

 

     

 

 

Leitura de registro (GET):

/first/api/v1/productbordero

Retorno:

{
  "total": 2,
  "hasNext": false,
  "syncing": false,
  "lines": [
    {
      "pk ": "00001",      "id": "00001000001",
      "descriptionbankId": "ESP EMB ECON GUARD PAPEL SEDA TV   14X14CM 1X1600MDAxLDAxMjQ0LDAwMDAwNTI2MTc=",
      "auxDescriptioncontract": "ESP EMB ECON GUARD PAPEL SEDA TV   14X14CM 1X1600BANCO DO BRASIL",
      "typetransactionCode": "301",
      "groupIdhistorical": "PA03",
      "activeoperatingDate": "2",
      "measureinterestRate": "FD",      "measureFactor": 0,
      "measureTypeaccountReceivableIds": "M",[
      "defaultWarehouse": "0"MDAwMDA5NjEzLCwyLDAwMDAwMywxLDAxMDE=",

      "qualityControl": "2",

      "ncm": "48183000",

      "ncmException": "",

      "economicLot": 0,

      "minimalLot": 0,

      "icmsRate": 0,

      "mvaShopping": 0,

      "mvaSelling": 0,

      "ipiRate": 0,

      "issRate": 0,

      "hasPis": "2",

      "hasCofins": "2",

      "hasCsll": "2",

      "issCode": "",

      "municipalTributationCode": "",

      "estimatedStateRate": 0,

      "estimatedMunicipalRate": 0,

      "estimatedTaxesRate": 0,

      "origin": "0",

      "fciCode": "",

      "fciImportValue": 0,

      "fciCalculatedSaleValue": 0

    },

    {

      "pk": "00002",

      "id": "00002",

      "description": "ESP EMB ECON P TOALHA INTERFOLHA  BCO 20X21CM 1X500",

      "auxDescription": "ESP EMB ECON P TOALHA INTERFOLHA  BCO 20X21CM 1X500",

      "type": "3",

      "groupId": "PA01",

      "active": "2",

      "measure": "FD",

      "measureFactor": 0,

      "measureType": "M",

      "defaultWarehouse": "0",

      "qualityControl": "2",

      "ncm": "48182000",

      "ncmException": "",

      "economicLot": 0,

      "minimalLot": 0,

      "icmsRate": 0,

      "mvaShopping": 0,

      "mvaSelling": 0,

      "ipiRate": 0,

      "issRate": 0,

      "hasPis": "2",

      "hasCofins": "2",

      "hasCsll": "2",

      "issCode": "",

      "municipalTributationCode": "",

      "estimatedStateRate": 0,

      "estimatedMunicipalRate": 0,

      "estimatedTaxesRate": 0,

      "origin": "0",

      "fciCode": "",

      "fciImportValue": 0,

      "fciCalculatedSaleValue": 0

    "MDAwMDA5NjE2LCwyLDAwMDM4MiwxLDAxMDE="
]
},
{
"id": "000014",
"bankId": "MDAxLDAxMjQ0LDAwMDAwNTI2MTc=",
"contract": "BANCO DO BRASIL",
"transactionCode": "01",
"historical": "",
"operatingDate": "",
"interestRate": 50.45,
"accountReceivableIds": [
"MDAwMDA5NjEwLCwyLDAwMDAwMywxLDAxMDE=",
"MDAwMDA5NjExLCwyLDAwMDM2MCwxLDAxMDE="
]
}
]
}


Inclusão de registro (POST):

/first/api/v1/productbordero

Body:

{
      "id" bankid : "90001MDAxLDAxMjQ0LDAwMDAwNTI2MTc=",
      "description" contract : "Novo produtoBANCO DO BRASIL",

      "auxDescription": "Descrição longa",

      "type": "3",

      "groupId": "PA03",

      "active": "2",

      "measure": "FD",

      "measureFactor": 0,

      "measureType": "M",

      "defaultWarehouse": " transactioncode : "01",
      "qualityControl" historical : "2Teste de historico",
      "ncm" operatingdate : "4818300020151023",

      "ncmException": "",

      "economicLot": 0,

      "minimalLot": 0,

      "icmsRate": 0,

      "mvaShopping": 0,

      "mvaSelling": 0,

      "ipiRate": 0,

      "issRate": 0,

      "hasPis": "2",

      "hasCofins": "2",

      "hasCsll": "2",

      "issCode": "",

      "municipalTributationCode": "",

      "estimatedStateRate": 0,

      "estimatedMunicipalRate": 0,

      "estimatedTaxesRate": 0,

      "origin": "0",

      "fciCode": "",

      "fciImportValue": 0,

      "fciCalculatedSaleValue": 0

    interestrate : 50.45,
accountreceivableids : [
"MDAwMDA5NjEwLCwyLDAwMDAwMywxLDAxMDE=","MDAwMDA5NjExLCwyLDAwMDM2MCwxLDAxMDE="
]
}

Retorno:

{
  "urlmessage": "/first/api/v1/product/90001Bordero gerado com sucesso!",
  "id": "90001000016"
}


Alteração de registro (PUT):

...