Skip to content

jhonattasantos/QuotationCore

Repository files navigation

API documentation Quotation Core

POST create Quotation and your aggregate entities

Url: http://localhost:5000/api/quotations

{
  "name": "EPI",
  "createdAt": "21/06/2020 00:00:00",
  "items": [
    {
      "code": "0000010101",
      "description": "Capacete Amarelo",
      "detailing": "Modelo XPTO",
      "quantity": 100,
      "unitOfMeasure": "UN",
      "ncm": 999222,
      "partNumber": null
    }
  ],
  "validations": [
    {
      "responseTime": "20/07/2020 00:00:00",
      "description": "Teste"
    }
  ]
}

GET by ID

Url: http://localhost:5000/api/quotations/4

{
  "id": 4,
  "name": "EPI",
  "createdAt": "21/06/2020 00:00:00",
  "items": [
    {
      "id": 8,
      "code": "0000010101",
      "description": "Capacete Amarelo",
      "detailing": "Modelo XPTO",
      "quantity": 100,
      "unitOfMeasure": "UN",
      "ncm": 999222,
      "partNumber": null
    }
  ],
  "validations": [
    {
      "id": 1,
      "responseTime": "20/07/2020 00:00:00",
      "description": "Teste"
    }
  ]
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages