# Engenharia de Produto

engenharia

## GET /engenhariaProduto/{id}

> Obter Cadastro da Engenharia

```json
{"openapi":"3.0.1","info":{"title":"PPCP Tecelagem","version":"1.0"},"tags":[{"name":"Engenharia de Produto","description":"engenharia"}],"servers":[{"url":"https://localhost/ppcptecelagem/v10"},{"url":"http://localhost/ppcptecelagem/v10"}],"security":[{"csw_auth":[]}],"components":{"securitySchemes":{"csw_auth":{"type":"apiKey","name":"Authorization","in":"header"}},"schemas":{"EngenhariaProduto":{"type":"object","properties":{"codEngenharia":{"maxLength":12,"type":"string","description":"Código da Engenharia"},"descEngenharia":{"maxLength":40,"type":"string","description":"Descrição da Engenharia"},"narrativa":{"maxLength":90,"type":"string","description":"Narrativa da Engenharia"},"unidadeMedida":{"maxLength":3,"type":"string","description":"Unidade de Medida da Engenharia"},"tipoEngenharia":{"maximum":99,"type":"integer","description":"Tipo de Engenharia (0 - Acabados Outros, 1 - Estamparia Cilíndrica, 2 - Estamparia Digital, 3 - Tinturaria/LavaçãO, 4 - Tecelagem, 5 - Semiacabado, 99 - Antigas)","enum":[0,1,2,3,4,5,99]}}},"Erro":{"type":"object","properties":{"mensagem":{"type":"string"}}}}},"paths":{"/engenhariaProduto/{id}":{"get":{"tags":["Engenharia de Produto"],"summary":"Obter Cadastro da Engenharia","operationId":"ObterEngenhariaProduto","parameters":[{"name":"empresa","in":"header","description":"Código da Empresa","required":true,"schema":{"type":"integer"}},{"name":"id","in":"path","description":"Código da Engenharia","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EngenhariaProduto"}}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Erro"}}}}},"429":{"description":"Too Many Requests","content":{}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Erro"}}}}}}}}}
```

## GET /engenhariaComposicao/{id}

> Obter Composição de uma Engenharia

```json
{"openapi":"3.0.1","info":{"title":"PPCP Tecelagem","version":"1.0"},"tags":[{"name":"Engenharia de Produto","description":"engenharia"}],"servers":[{"url":"https://localhost/ppcptecelagem/v10"},{"url":"http://localhost/ppcptecelagem/v10"}],"security":[{"csw_auth":[]}],"components":{"securitySchemes":{"csw_auth":{"type":"apiKey","name":"Authorization","in":"header"}},"schemas":{"ComposicaoEngenhariaProduto":{"type":"object","properties":{"codEngenharia":{"maxLength":12,"type":"string","description":"Código da Engenharia"},"tipoEngenharia":{"maximum":99,"type":"integer","description":"Tipo de Engenharia (0 - Acabados Outros, 1 - Acabados de Estamparia Cilíndrica, 2 - Acabados de Estamparia Digital, 3 - Acabados de Tinturaria/Lavação, 4 - Tecelagem, 5 - Semiacabado, 99 - Não Estruturado)","enum":[0,1,2,3,4,5,99]},"composicaoTextil":{"type":"array","items":{"$ref":"#/components/schemas/ComposicaoTextil"}}}},"ComposicaoTextil":{"type":"object","properties":{"corVariante":{"type":"string","description":"Cor/Variante"},"composicaoTecnica":{"type":"string","description":"Composição Técnica Têxtil"},"composicaoComercial":{"type":"string","description":"Composição Comercial Têxtil"}}},"Erro":{"type":"object","properties":{"mensagem":{"type":"string"}}}}},"paths":{"/engenhariaComposicao/{id}":{"get":{"tags":["Engenharia de Produto"],"summary":"Obter Composição de uma Engenharia","operationId":"ObterComposicaoEngenhariaProduto","parameters":[{"name":"empresa","in":"header","description":"Código da Empresa","required":true,"schema":{"type":"integer"}},{"name":"id","in":"path","description":"Código da Engenharia","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ComposicaoEngenhariaProduto"}}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Erro"}}}}},"429":{"description":"Too Many Requests","content":{}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Erro"}}}}}}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ajuda.consistem.com.br/consistem-api/consistem-erp-api/industrial/ppcp-tecelagem-v1.0/engenharia-de-produto.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
