Skip to content

Example of RESTful API service that's consume data from MS-SQL database.

Notifications You must be signed in to change notification settings

besser/go-mssql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rest API Service

Version: 1.3

NCMs

API: http://localhost:9000/api/ncms

Return (JSON)

{
  "ncms": [
    {
      "ncm"            : int,
      "descricao"      : string,
      "vigenciaInicial": datetime,
      "vigenciaFinal"  : datetime,
      "tributo"        : string,
      "instituto"      : string
    }
  ]
}

NCMs by user

API: http://locahost:9000/api/ncms/{userID}

Return (JSON)

{
  "ncms": [
    {
      "ncm"            : int,
      "descricao"      : string,
      "vigenciaInicial": datetime,
      "vigenciaFinal"  : datetime,
      "tributo"        : string,
      "instituto"      : string
    }
  ]
}

Trial Leads

API: http://locahost:9000/api/leads/trial

Return (JSON)

{
  "leads": [
    {
      "email"          : string,
      "cpf"            : string,
      "cnpj"           : string,
      "ncm"            : int,
      "descricao"      : string,
      "vigenciaInicial": datetime,
      "vigenciaFinal"  : datetime,
      "tributo"        : string,
      "instituto"      : string
    }
  ]
}  

About

Example of RESTful API service that's consume data from MS-SQL database.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages