- Iniciando a integração
- OrçaFascio API
- v1
- Autenticação
- Grupos
- Insumos
- Composições
- Listar composiçõesGET
- Consultar composiçaoGET
- Consultar composição por códigoGET
- Criar Composição (Modelo SINAPI)POST
- Criar composição (Melo SICRO)POST
- Atualizar composição (Modelo SINAPI)PUT
- Atualizar composição (Modelo SICRO)PUT
- Deletar composiçãoDELETE
- Editar BancosPOST
- Adicionar itens da composiçãoPOST
- Remover itens da composiçãoDELETE
- Orçamentos
- Relatórios
Consultar composição por código
Production Env
https://api.orcafascio.com/api
Production Env
https://api.orcafascio.com/api
GET
https://api.orcafascio.com/api
Última modificação:2024-03-13 01:44:04
Responsável:Higor Melo
Requisição
Parâmetros Query
code
string
requerido
Exemplo:
{{composition_code}}
state
string
requerido
Exemplo:
{{composition_state}}
Parâmetros Header
Authorization
string
requerido
Exemplo:
{{token_auth}}
Exemplos de Requisição
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://api.orcafascio.com/api/v1/base/mybase/compositions/find_by_code?code=&state=' \
--header 'Authorization: '
Respostas
🟢200Success
application/json
Body
id
string
requerido
company_id
string
requerido
user_id
string
requerido
department_id
string
requerido
code
string
requerido
second_code
null
requerido
description
string
requerido
type
string
requerido
unit
string
requerido
is_sicro
boolean
requerido
labor
boolean
requerido
calculation_method
object
requerido
type
integer
requerido
description
string
requerido
prices
object
requerido
pnd
number
requerido
pd
number
requerido
items
array [object {11}]
requerido
banco
string
requerido
code
string
requerido
description
string
requerido
type
string | integer
requerido
unit
string
requerido
unitary_pnd
number
requerido
unitary_pd
number
requerido
coefficient
number | integer
requerido
pnd
number
requerido
pd
number
requerido
is_resource
boolean
requerido
created_at
string
requerido
Exemplo
{
"id": "65d7d151f43197d18ac07432",
"company_id": "62683e8363051f543020cfe5",
"user_id": "62683e8363051f543020cfe9",
"department_id": "62683e8363051f543020cfe8",
"code": "00000001",
"second_code": null,
"description": "Copia da SINAPI (74210/001) - BARRACAO PARA DEPOSITO EM TABUAS DE MADEIRA, COBERTURA EM FIBROCIMENTO 4 MM, INCLUSO PISO ARGAMASSA TRAÇO 1:6 (CIMENTO E AREIA)",
"type": "CANT",
"unit": "m²",
"is_sicro": false,
"labor": false,
"calculation_method": {
"type": 2,
"description": "Arredondar em 2 casas decimais"
},
"prices": {
"pnd": 6570.51,
"pd": 6519.08
},
"items": [
{
"banco": "SINAPI",
"code": "73965/010",
"description": "ESCAVACAO MANUAL DE VALA EM MATERIAL DE 1A CATEGORIA ATE 1,5M EXCLUINDO ESGOTAMENTO / ESCORAMENTO",
"type": "MOVT",
"unit": "m³",
"unitary_pnd": 55.63,
"unitary_pd": 49.85,
"coefficient": 0.06,
"pnd": 3.34,
"pd": 2.99,
"is_resource": false
},
{
"banco": "SINAPI",
"code": "88262",
"description": "CARPINTEIRO DE FORMAS COM ENCARGOS COMPLEMENTARES",
"type": "SEDI",
"unit": "H",
"unitary_pnd": 32.17,
"unitary_pd": 28.87,
"coefficient": 6.0,
"pnd": 193.02,
"pd": 173.22,
"is_resource": false
},
{
"banco": "SINAPI",
"code": "88309",
"description": "PEDREIRO COM ENCARGOS COMPLEMENTARES",
"type": "SEDI",
"unit": "H",
"unitary_pnd": 32.57,
"unitary_pd": 29.24,
"coefficient": 0.8,
"pnd": 26.06,
"pd": 23.39,
"is_resource": false
},
{
"banco": "SINAPI",
"code": "88316",
"description": "SERVENTE COM ENCARGOS COMPLEMENTARES",
"type": "SEDI",
"unit": "H",
"unitary_pnd": 28.17,
"unitary_pd": 25.43,
"coefficient": 8.0,
"pnd": 225.36,
"pd": 203.44,
"is_resource": false
},
{
"banco": "SETOP",
"code": "ED-8443",
"description": " FÔRMA PARA PILAR COM CHAPA DE COMPENSADO RESINADO, ESP. 14MM (MONTAGEM)",
"type": "ED-",
"unit": "m²",
"unitary_pnd": 17.03,
"unitary_pd": 15.66,
"coefficient": 1.0,
"pnd": 17.03,
"pd": 15.66,
"is_resource": false
},
{
"banco": "SBC",
"code": "023361",
"description": "ABERTURA EM FORRO GESSO P/REPARO DE INSTALACOES (0,40m)",
"type": "023",
"unit": "UN",
"unitary_pnd": 25.79,
"unitary_pd": 23.13,
"coefficient": 2.0,
"pnd": 51.58,
"pd": 46.26,
"is_resource": false
},
{
"banco": "EMOP",
"code": "22.040.0005-A",
"description": "ABATE DE ARVORES COM MACHADO.CUSTO VALIDO PARA CADA 100 UNIDADES",
"type": "22",
"unit": "UN",
"unitary_pnd": 86.95,
"unitary_pd": 86.95,
"coefficient": 3.0,
"pnd": 260.85,
"pd": 260.85,
"is_resource": false
},
{
"banco": "SINAPI",
"code": "00000367",
"description": "AREIA GROSSA - POSTO JAZIDA/FORNECEDOR (RETIRADO NA JAZIDA, SEM TRANSPORTE)",
"type": 4,
"unit": "m³",
"unitary_pnd": 75.98,
"unitary_pd": 75.98,
"coefficient": 0.02,
"pnd": 1.52,
"pd": 1.52,
"is_resource": true
},
{
"banco": "SINAPI",
"code": "00001379",
"description": "CIMENTO PORTLAND COMPOSTO CP II-32",
"type": 4,
"unit": "KG",
"unitary_pnd": 0.6,
"unitary_pd": 0.6,
"coefficient": 3.62,
"pnd": 2.17,
"pd": 2.17,
"is_resource": true
},
{
"banco": "SINAPI",
"code": "00002418",
"description": "DOBRADICA EM ACO/FERRO, 3\" X 2 1/2\", E= 1,2 A 1,8 MM, SEM ANEL, CROMADO OU ZINCADO, TAMPA BOLA, COM PARAFUSOS",
"type": 4,
"unit": "UN",
"unitary_pnd": 15.3,
"unitary_pd": 15.3,
"coefficient": 0.33,
"pnd": 5.05,
"pd": 5.05,
"is_resource": true
},
{
"banco": "SINAPI",
"code": "00002745",
"description": "PONTALETE ROLIÇO SEM TRATAMENTO, D = 8 A 11 CM, H = 3 M, EM EUCALIPTO OU EQUIVALENTE DA REGIAO - BRUTA (PARA ESCORAMENTO)",
"type": 4,
"unit": "M",
"unitary_pnd": 3.24,
"unitary_pd": 3.24,
"coefficient": 4.5,
"pnd": 14.58,
"pd": 14.58,
"is_resource": true
},
{
"banco": "SINAPI",
"code": "00004408",
"description": "RIPA NAO APARELHADA, *1,5 X 5* CM, EM MACARANDUBA/MASSARANDUBA, ANGELIM OU EQUIVALENTE DA REGIAO - BRUTA",
"type": 4,
"unit": "M",
"unitary_pnd": 3.01,
"unitary_pd": 3.01,
"coefficient": 5.0,
"pnd": 15.05,
"pd": 15.05,
"is_resource": true
},
{
"banco": "SINAPI",
"code": "00005061",
"description": "PREGO DE ACO POLIDO COM CABECA 18 X 27 (2 1/2 X 10)",
"type": 4,
"unit": "KG",
"unitary_pnd": 14.4,
"unitary_pd": 14.4,
"coefficient": 0.5,
"pnd": 7.2,
"pd": 7.2,
"is_resource": true
},
{
"banco": "SINAPI",
"code": "00006189",
"description": "TABUA NAO APARELHADA *2,5 X 30* CM, EM MACARANDUBA/MASSARANDUBA, ANGELIM OU EQUIVALENTE DA REGIAO - BRUTA",
"type": 4,
"unit": "M",
"unitary_pnd": 32.67,
"unitary_pd": 32.67,
"coefficient": 8.0,
"pnd": 261.36,
"pd": 261.36,
"is_resource": true
},
{
"banco": "SINAPI",
"code": "00007213",
"description": "TELHA DE FIBROCIMENTO ONDULADA E = 4 MM, DE 2,44 X 0,50 M (SEM AMIANTO)",
"type": 4,
"unit": "m²",
"unitary_pnd": 17.35,
"unitary_pd": 17.35,
"coefficient": 1.2,
"pnd": 20.82,
"pd": 20.82,
"is_resource": true
},
{
"banco": "SINAPI",
"code": "00011467",
"description": "FECHADURA DE SOBREPOR TIPO CAIXAO, EM FERRO COM ACABAMENTO RESINADO, SEM MACANETA, SEM CILINDRO, INCLUINDO CHAVE TIPO SIMPLES",
"type": 4,
"unit": "UN",
"unitary_pnd": 31.71,
"unitary_pd": 31.71,
"coefficient": 0.11,
"pnd": 3.49,
"pd": 3.49,
"is_resource": true
},
{
"banco": "SETOP",
"code": "MATED-28547",
"description": "ABRAÇADEIRA (MATERIAL: NYLON|COMPRIMENTO: 150MM|LARGURA*: 3,6MM| COR: PRETA)",
"type": 4,
"unit": "un",
"unitary_pnd": 0.15,
"unitary_pd": 0.15,
"coefficient": 7.0,
"pnd": 1.05,
"pd": 1.05,
"is_resource": true
},
{
"banco": "SBC",
"code": "065246",
"description": "ACABAMENTO PARA VALVULA DE DESCARGA BENEFIT 00184906 PARA PCD DOCOL",
"type": 4,
"unit": "UN",
"unitary_pnd": 479.37,
"unitary_pd": 479.37,
"coefficient": 9.0,
"pnd": 4314.33,
"pd": 4314.33,
"is_resource": true
},
{
"banco": "EMOP",
"code": "13443",
"description": "ADESIVO EPOXI ESTRUTURANTE FC, 100% DE SOLIDOS, P/SERVIR MATRIZ A MANTA",
"type": 4,
"unit": "KG",
"unitary_pnd": 229.33,
"unitary_pd": 229.33,
"coefficient": 5.0,
"pnd": 1146.65,
"pd": 1146.65,
"is_resource": true
}
],
"created_at": "2024-02-22T19:57:21.933-03:00"
}
🟠401Not authorized
🟠404Not found
🔴500Internal server error