erp_agr

Painel gerencial de agro.

32 views 22/10/2018 07/11/2018 integrador 0

2.0info: 1.2.8 Painel gerencial de agro. description: Serviço do Painel gerencial de agro. x-senior-domain: ERP Agronegócio Senior X x-senior-domain-path: erp_agr x-senior-service-path: gag_painel contact: name: Senior X Platform url: http://dev.senior.com.br email: seniorx-dev@senior.com.brhost: platform.senior.com.br /t/senior.com.br/bridge/1.0/rest/erp_agrsecurityDefinitions: APIKeyHeader: type: apiKey in: header name: Authorizationsecurity: – APIKeyHeader: [] – application/json – application/jsonpaths: /gag_painel/queries/pesquisarMoeda: post: description: Retorna as moedas – Trunca em 100 registros tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – id properties: id: type: integer format: int64 description: id responses: 200: description: Ok schema: type: object properties: moedas: type: array items: type: object allOf: – #/definitions/recMoedas description: Lista de moedas default: description: Error response schema: #/definitions/genericError get: description: Retorna as moedas – Trunca em 100 registros tags: – Queries x-senior-visibility: PRIVATE parameters: – name: id in: query required: true type: integer format: int64 responses: 200: description: Ok schema: type: object properties: moedas: type: array items: type: object allOf: – #/definitions/recMoedas description: Lista de moedas default: description: Error response schema: #/definitions/genericError /gag_painel/queries/pesquisarProducaoPrevistaVendida: post: description: Retorna dados para Painel Contrato de Venda G7 – Produção Prevista x Vendida tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – empresaId – safraId properties: empresaId: type: integer format: int64 description: Id da empresa safraId: type: integer format: int64 description: Id Safra responses: 200: description: Ok schema: type: object required: – truncado properties: estimativas: type: array items: type: object allOf: – #/definitions/recProducaoPrevistaVendida description: Retorna lista de registros Produção Prevista x Vendida truncado: type: boolean description: Indica se a consulta foi truncada default: description: Error response schema: #/definitions/genericError get: description: Retorna dados para Painel Contrato de Venda G7 – Produção Prevista x Vendida tags: – Queries x-senior-visibility: PRIVATE parameters: – name: empresaId in: query required: true type: integer format: int64 – name: safraId in: query required: true type: integer format: int64 responses: 200: description: Ok schema: type: object required: – truncado properties: estimativas: type: array items: type: object allOf: – #/definitions/recProducaoPrevistaVendida description: Retorna lista de registros Produção Prevista x Vendida truncado: type: boolean description: Indica se a consulta foi truncada default: description: Error response schema: #/definitions/genericError /gag_painel/queries/pesquisarContratosSituacao: post: description: Retorna dados para Painel Contrato de Venda G7 – Produção Prevista x Vendida tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – empresaId – safraId – skuId properties: empresaId: type: integer format: int64 description: Id da empresa safraId: type: integer format: int64 description: Id Safra skuId: type: integer format: int64 description: id do SKU responses: 200: description: Ok schema: type: object required: – empty properties: contratosSituacao: type: array items: type: object allOf: – #/definitions/recContratosVendaSituacao description: Retorna lista de contratos somando situações empty: type: boolean description: Empty States default: description: Error response schema: #/definitions/genericError get: description: Retorna dados para Painel Contrato de Venda G7 – Produção Prevista x Vendida tags: – Queries x-senior-visibility: PRIVATE parameters: – name: empresaId in: query required: true type: integer format: int64 – name: safraId in: query required: true type: integer format: int64 – name: skuId in: query required: true type: integer format: int64 responses: 200: description: Ok schema: type: object required: – empty properties: contratosSituacao: type: array items: type: object allOf: – #/definitions/recContratosVendaSituacao description: Retorna lista de contratos somando situações empty: type: boolean description: Empty States default: description: Error response schema: #/definitions/genericError /gag_painel/queries/pesquisarCotacaoMoeda: post: description: Retorna dados para Painel Contrato de Venda G7 – Produção Prevista x Vendida tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – moedaId properties: moedaId: type: integer format: int64 description: Id da Moeda responses: 200: description: Ok schema: type: object properties: cotacoesMoedas: type: array items: type: object allOf: – #/definitions/reccotacoesMoedas description: Retorna lista de contratos somando situações default: description: Error response schema: #/definitions/genericError get: description: Retorna dados para Painel Contrato de Venda G7 – Produção Prevista x Vendida tags: – Queries x-senior-visibility: PRIVATE parameters: – name: moedaId in: query required: true type: integer format: int64 responses: 200: description: Ok schema: type: object properties: cotacoesMoedas: type: array items: type: object allOf: – #/definitions/reccotacoesMoedas description: Retorna lista de contratos somando situações default: description: Error response schema: #/definitions/genericError /gag_painel/queries/getMetadata: post: description: Default getMetadata query. Every service must handle this command and return metadata in the format requested. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: metadataFormat: type: string description: responses: 200: description: Ok schema: type: object required: – metadata properties: metadata: type: string description: default: description: Error response schema: #/definitions/genericError get: description: Default getMetadata query. Every service must handle this command and return metadata in the format requested. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: metadataFormat in: query type: string responses: 200: description: Ok schema: type: object required: – metadata properties: metadata: type: string description: default: description: Error response schema: #/definitions/genericError /gag_painel/queries/exportEmpresa: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: config in: query required: true type: object allOf: – #/definitions/exportConfig responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /gag_painel/queries/exportFilial: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: config in: query required: true type: object allOf: – #/definitions/exportConfig responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /gag_painel/queries/exportEstimativaProducao: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: config in: query required: true type: object allOf: – #/definitions/exportConfig responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /gag_painel/queries/exportPessoa: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: config in: query required: true type: object allOf: – #/definitions/exportConfig responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /gag_painel/queries/exportPessoaEndereco: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: config in: query required: true type: object allOf: – #/definitions/exportConfig responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /gag_painel/queries/exportEstimativaProdProp: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: config in: query required: true type: object allOf: – #/definitions/exportConfig responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /gag_painel/queries/exportContratoVendaItem: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: config in: query required: true type: object allOf: – #/definitions/exportConfig responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /gag_painel/queries/exportCotacaoMoeda: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: config in: query required: true type: object allOf: – #/definitions/exportConfig responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /gag_painel/queries/exportSafra: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: config in: query required: true type: object allOf: – #/definitions/exportConfig responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /gag_painel/queries/exportUnidadeMedida: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: config in: query required: true type: object allOf: – #/definitions/exportConfig responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /gag_painel/queries/exportSku: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: config in: query required: true type: object allOf: – #/definitions/exportConfig responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /gag_painel/queries/exportContratoVenda: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: config in: query required: true type: object allOf: – #/definitions/exportConfig responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /gag_painel/queries/exportMoeda: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: config in: query required: true type: object allOf: – #/definitions/exportConfig responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /gag_painel/queries/getDependencies: post: description: Returns a list with all dependencies from this service, along with their respective versions tags: – Queries x-senior-visibility: PUBLIC responses: 200: description: Ok schema: type: object required: – dependencies properties: dependencies: type: array items: type: object allOf: – #/definitions/dependency minimum: 1 description: List with this service dependencies default: description: Error response schema: #/definitions/genericError get: description: Returns a list with all dependencies from this service, along with their respective versions tags: – Queries x-senior-visibility: PUBLIC responses: 200: description: Ok schema: type: object required: – dependencies properties: dependencies: type: array items: type: object allOf: – #/definitions/dependency minimum: 1 description: List with this service dependencies default: description: Error response schema: #/definitions/genericError /gag_painel/actions/importEmpresa: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /gag_painel/actions/importFilial: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /gag_painel/actions/importEstimativaProducao: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /gag_painel/actions/importPessoa: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /gag_painel/actions/importPessoaEndereco: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /gag_painel/actions/importEstimativaProdProp: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /gag_painel/actions/importContratoVendaItem: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /gag_painel/actions/importCotacaoMoeda: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /gag_painel/actions/importSafra: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /gag_painel/actions/importUnidadeMedida: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /gag_painel/actions/importSku: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /gag_painel/actions/importContratoVenda: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /gag_painel/actions/importMoeda: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /gag_painel/entities/empresa: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/empresa responses: 200: description: The created resource schema: #/definitions/empresa default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/empresa responses: 200: description: The created resource schema: #/definitions/empresa default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/empresa default: description: Error response schema: #/definitions/genericError /gag_painel/entities/empresa/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/empresa responses: 200: description: Ok schema: #/definitions/empresa default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/empresa responses: 200: description: Ok schema: #/definitions/empresa default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/empresa default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /gag_painel/entities/empresa/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/empresa responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /gag_painel/entities/filial: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/filial responses: 200: description: The created resource schema: #/definitions/filial default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/filial responses: 200: description: The created resource schema: #/definitions/filial default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/filial default: description: Error response schema: #/definitions/genericError /gag_painel/entities/filial/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/filial responses: 200: description: Ok schema: #/definitions/filial default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/filial responses: 200: description: Ok schema: #/definitions/filial default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/filial default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /gag_painel/entities/filial/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/filial responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /gag_painel/entities/estimativaProducao: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/estimativaProducao responses: 200: description: The created resource schema: #/definitions/estimativaProducao default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/estimativaProducao responses: 200: description: The created resource schema: #/definitions/estimativaProducao default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/estimativaProducao default: description: Error response schema: #/definitions/genericError /gag_painel/entities/estimativaProducao/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/estimativaProducao responses: 200: description: Ok schema: #/definitions/estimativaProducao default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/estimativaProducao responses: 200: description: Ok schema: #/definitions/estimativaProducao default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/estimativaProducao default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /gag_painel/entities/estimativaProducao/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/estimativaProducao responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /gag_painel/entities/pessoa: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/pessoa responses: 200: description: The created resource schema: #/definitions/pessoa default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/pessoa responses: 200: description: The created resource schema: #/definitions/pessoa default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/pessoa default: description: Error response schema: #/definitions/genericError /gag_painel/entities/pessoa/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/pessoa responses: 200: description: Ok schema: #/definitions/pessoa default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/pessoa responses: 200: description: Ok schema: #/definitions/pessoa default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/pessoa default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /gag_painel/entities/pessoa/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/pessoa responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /gag_painel/entities/pessoaEndereco: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/pessoaEndereco responses: 200: description: The created resource schema: #/definitions/pessoaEndereco default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/pessoaEndereco responses: 200: description: The created resource schema: #/definitions/pessoaEndereco default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/pessoaEndereco default: description: Error response schema: #/definitions/genericError /gag_painel/entities/pessoaEndereco/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/pessoaEndereco responses: 200: description: Ok schema: #/definitions/pessoaEndereco default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/pessoaEndereco responses: 200: description: Ok schema: #/definitions/pessoaEndereco default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/pessoaEndereco default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /gag_painel/entities/pessoaEndereco/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/pessoaEndereco responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /gag_painel/entities/estimativaProdProp: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/estimativaProdProp responses: 200: description: The created resource schema: #/definitions/estimativaProdProp default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/estimativaProdProp responses: 200: description: The created resource schema: #/definitions/estimativaProdProp default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/estimativaProdProp default: description: Error response schema: #/definitions/genericError /gag_painel/entities/estimativaProdProp/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/estimativaProdProp responses: 200: description: Ok schema: #/definitions/estimativaProdProp default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/estimativaProdProp responses: 200: description: Ok schema: #/definitions/estimativaProdProp default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/estimativaProdProp default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /gag_painel/entities/estimativaProdProp/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/estimativaProdProp responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /gag_painel/entities/contratoVendaItem: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/contratoVendaItem responses: 200: description: The created resource schema: #/definitions/contratoVendaItem default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/contratoVendaItem responses: 200: description: The created resource schema: #/definitions/contratoVendaItem default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/contratoVendaItem default: description: Error response schema: #/definitions/genericError /gag_painel/entities/contratoVendaItem/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/contratoVendaItem responses: 200: description: Ok schema: #/definitions/contratoVendaItem default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/contratoVendaItem responses: 200: description: Ok schema: #/definitions/contratoVendaItem default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/contratoVendaItem default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /gag_painel/entities/contratoVendaItem/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/contratoVendaItem responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /gag_painel/entities/cotacaoMoeda: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/cotacaoMoeda responses: 200: description: The created resource schema: #/definitions/cotacaoMoeda default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/cotacaoMoeda responses: 200: description: The created resource schema: #/definitions/cotacaoMoeda default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/cotacaoMoeda default: description: Error response schema: #/definitions/genericError /gag_painel/entities/cotacaoMoeda/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/cotacaoMoeda responses: 200: description: Ok schema: #/definitions/cotacaoMoeda default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/cotacaoMoeda responses: 200: description: Ok schema: #/definitions/cotacaoMoeda default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/cotacaoMoeda default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /gag_painel/entities/cotacaoMoeda/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/cotacaoMoeda responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /gag_painel/entities/safra: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/safra responses: 200: description: The created resource schema: #/definitions/safra default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/safra responses: 200: description: The created resource schema: #/definitions/safra default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/safra default: description: Error response schema: #/definitions/genericError /gag_painel/entities/safra/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/safra responses: 200: description: Ok schema: #/definitions/safra default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/safra responses: 200: description: Ok schema: #/definitions/safra default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/safra default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /gag_painel/entities/safra/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/safra responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /gag_painel/entities/unidadeMedida: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/unidadeMedida responses: 200: description: The created resource schema: #/definitions/unidadeMedida default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/unidadeMedida responses: 200: description: The created resource schema: #/definitions/unidadeMedida default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/unidadeMedida default: description: Error response schema: #/definitions/genericError /gag_painel/entities/unidadeMedida/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/unidadeMedida responses: 200: description: Ok schema: #/definitions/unidadeMedida default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/unidadeMedida responses: 200: description: Ok schema: #/definitions/unidadeMedida default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/unidadeMedida default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /gag_painel/entities/unidadeMedida/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/unidadeMedida responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /gag_painel/entities/sku: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/sku responses: 200: description: The created resource schema: #/definitions/sku default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/sku responses: 200: description: The created resource schema: #/definitions/sku default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/sku default: description: Error response schema: #/definitions/genericError /gag_painel/entities/sku/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/sku responses: 200: description: Ok schema: #/definitions/sku default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/sku responses: 200: description: Ok schema: #/definitions/sku default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/sku default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /gag_painel/entities/sku/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/sku responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /gag_painel/entities/contratoVenda: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/contratoVenda responses: 200: description: The created resource schema: #/definitions/contratoVenda default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/contratoVenda responses: 200: description: The created resource schema: #/definitions/contratoVenda default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/contratoVenda default: description: Error response schema: #/definitions/genericError /gag_painel/entities/contratoVenda/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/contratoVenda responses: 200: description: Ok schema: #/definitions/contratoVenda default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/contratoVenda responses: 200: description: Ok schema: #/definitions/contratoVenda default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/contratoVenda default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /gag_painel/entities/contratoVenda/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/contratoVenda responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /gag_painel/entities/moeda: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/moeda responses: 200: description: The created resource schema: #/definitions/moeda default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/moeda responses: 200: description: The created resource schema: #/definitions/moeda default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/moeda default: description: Error response schema: #/definitions/genericError /gag_painel/entities/moeda/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/moeda responses: 200: description: Ok schema: #/definitions/moeda default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/moeda responses: 200: description: Ok schema: #/definitions/moeda default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/moeda default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /gag_painel/entities/moeda/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/moeda responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError definitions: enumTipoSku: description: Tipo do sku type: string enum: – Produto – Servico enumSituacaoSku: description: Situação do sku type: string enum: – Inativo – Ativo – Bloqueado enumSituacaoPessoa: description: Situação da pessoa type: string enum: – Inativo – Ativo enumSituacaoEnderecoPessoa: description: Situação Pessoa Endereço type: string enum: – Inativo – Ativo – Bloqueado enumSituacaoContratoVenda: description: Situação do contrato de venda type: string enum: – Elaboracao – Aprovado – ExpedicaoParcial – ExpedicaoTotal enumMercado: description: Mercado em que estão sendo negociado o contrato type: string enum: – Interno – Externo – Ambos enumPrecificacao: description: Forma de precificação type: string enum: – Fixo – AFixar enumTipoMoeda: description: Tipo da moeda type: string enum: – Indice – Valor – Percentual – Especial – Hora userNotificationKind: description: User notification kind. type: string enum: – Operational – Management – News userNotificationPriority: description: User notification priority. type: string enum: – Error – Alert – None eventEmailFormat: description: Format of the email type: string enum: – HTML – PLAIN_TEXT fieldType: description: type: string enum: – BINARY – BOOLEAN – DATE – DATETIME – DOUBLE – ENUM – INTEGER – MONEY – STRING – TIME fileFormat: description: type: string enum: – CSV – FLAT – JSON – XML hookFunction: description: type: string enum: – BEFORE_PARSE – BEFORE_CONVERSION – ON_ERROR – VALIDATE eventType: description: type: string enum: – CHUNK – DOWNLOAD – ERROR – FINISH – START errorStrategy: description: type: string enum: – CALL_SCRIPT – IGNORE – STOP status: description: type: string enum: – DONE – DONE_WITH_ERRORS – DOWNLOADING – ERROR – NOT_STARTED – RUNNING errorType: description: type: string enum: – CONVERT_ERROR – SERVICE_ERROR reccotacoesMoedas: description: Retorna lista de cotação de moedas type: object required: – id – idMoeda – dataHoraCotacao properties: id: type: integer format: int64 description: Id da Cotação idMoeda: type: integer format: int64 description: Id da Moeda dataHoraCotacao: type: string format: date-time description: data e Hora da cotação valorCotacao: type: string description: Valor da cotação recContratosVendaSituacao: description: Retorna lista de contratos somando situações type: object required: – quantidadeAprovado – quantidadeEmElaboracao – quantidadeExpedicaoParcial – quantidadeExpedicaoTotal – safraId – safra – codigoProduto – descricaoProduto properties: quantidadeAprovado: type: integer format: int64 description: Quantidade realizado do contrato quantidadeEmElaboracao: type: integer format: int64 description: Quantidade definido na proposta quantidadeExpedicaoParcial: type: integer format: int64 description: Quantidade em negociação quantidadeExpedicaoTotal: type: integer format: int64 description: Quantidade expedida safraId: type: integer format: int64 description: Id da Safra safra: type: string description: Nome Safra codigoProduto: type: string description: Código do produto descricaoProduto: type: string description: Nome do produto recProducaoPrevistaVendida: description: Retorna lista de registros Produção Prevista x Vendida type: object required: – safraId – safra – skuId – codigoProduto – descricaoProduto – quantidadePrevista – quantidadeVendida properties: safraId: type: integer format: int64 description: Id Safra safra: type: string description: Safra skuId: type: integer format: int64 description: Id Produto codigoProduto: type: string description: Codigo do produto descricaoProduto: type: string description: Descrição do produto quantidadePrevista: type: number format: double description: Quantidade prevista quantidadeVendida: type: number format: double description: Quantidade vendida recMoedas: description: Retornas moedas type: object required: – codigo – nome properties: id: type: integer format: int64 description: Id codigo: type: string maxLength: 3 description: Código da moeda nome: type: string maxLength: 30 description: Nome da moeda empresa: description: Empresa type: object required: – codigo – nome properties: id: type: integer format: int64 description: Id Empresa codigo: type: string maxLength: 4 description: Código da empresa nome: type: string maxLength: 100 description: Nome da empresa fantasia: type: string maxLength: 100 description: Nome fantasia da empresa createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: filial: description: Filial type: object required: – empresaId – pessoaId – codigo – nome properties: id: type: integer format: int64 description: Id da Filial empresaId: type: object allOf: – #/definitions/empresa description: Empresa pessoaId: type: object allOf: – #/definitions/pessoa description: Cadastro da pessoa codigo: type: string maxLength: 4 description: Código nome: type: string maxLength: 100 description: Nome fantasia: type: string maxLength: 30 description: Nome fantasia createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: estimativaProducao: description: Estimativa de produção type: object properties: id: type: integer format: int64 description: Id da estimativa de produção empresaId: type: integer format: int64 description: Id da empresa safraId: type: object allOf: – #/definitions/safra description: Id da safra skuId: type: object allOf: – #/definitions/sku description: Id do sku createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: pessoa: description: Cadastro da pessoa type: object required: – nome properties: id: type: integer format: int64 description: Id da pessoa nome: type: string maxLength: 150 description: Nome da pessoa site: type: string maxLength: 100 description: Site da pessoa situacao: type: string allOf: – #/definitions/enumSituacaoPessoa description: Situação pessoaCliente: type: boolean description: Informa se pessoa é um cliente pessoaFornecedor: type: boolean description: Informa se pessoa é um fornecedor pessoaRepresentante: type: boolean description: Informa se pessoa é um representante createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: pessoaEndereco: description: Entidade que representa os endereços type: object required: – pessoaId – cep – endereco – situacao properties: id: type: integer format: int64 description: Id do endereço da pessoa pessoaId: type: object allOf: – #/definitions/pessoa description: Id da pessoa cep: type: string maxLength: 20 description: CEP endereco: type: string maxLength: 100 description: Endereco numero: type: string maxLength: 60 description: Número complemento: type: string maxLength: 200 description: Complemento bairro: type: string maxLength: 75 description: Bairro situacao: type: string allOf: – #/definitions/enumSituacaoEnderecoPessoa description: Situação enderecoPadrao: type: boolean description: Endereço padrão enderecoOrigem: type: boolean description: Endereço de origem enderecoCobranca: type: boolean description: Endereço de cobrança enderecoEntrega: type: boolean description: Endereço de entrega createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: estimativaProdProp: description: Estimativa de produção – Propriedades type: object properties: id: type: integer format: int64 description: Id da propriedade da estimativa de produção estimativaProducaoId: type: object allOf: – #/definitions/estimativaProducao description: Id da estimativa de produção pessoaId: type: object allOf: – #/definitions/pessoa description: Id da pessoa (produtor) pessoaEnderecoId: type: object allOf: – #/definitions/pessoaEndereco description: Id do endereço da pessoa (produtor) quantidadeProduzida: type: number format: double description: Quantidade produzida pelo produtor createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: contratoVendaItem: description: Item do contrato de venda type: object required: – contratoVendaId properties: id: type: integer format: int64 description: Id do item do contrato de venda safraId: type: object allOf: – #/definitions/safra description: Id da safra do item contratoVendaId: type: object allOf: – #/definitions/contratoVenda description: Id do contrato de venda skuId: type: object allOf: – #/definitions/sku description: Id do sku unidadeMedidaId: type: object allOf: – #/definitions/unidadeMedida description: Id da unidade de medida quantidade: type: number format: double description: Quantidade do sku valorUnitario: type: string description: Valor unitário do sku observacao: type: string maxLength: 500 description: Observação createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: cotacaoMoeda: description: Cotação da moeda type: object properties: id: type: integer format: int64 description: id da Cotação moedaId: type: object allOf: – #/definitions/moeda description: id da Moeda dataHoraCot: type: string format: date-time description: Data e hora da cotação valorCotacao: type: string description: Valor da Cotação createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: safra: description: Safra type: object required: – empresaId – codigo – descricao properties: id: type: integer format: int64 description: Id da safra empresaId: type: object allOf: – #/definitions/empresa description: Empresa codigo: type: string maxLength: 10 description: Código da safra descricao: type: string maxLength: 100 description: Descrição da safra createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: unidadeMedida: description: Unidade de medida type: object required: – codigo – descricao – quantidadeDecimais properties: id: type: integer format: int64 description: Id da unidade de medida codigo: type: string maxLength: 3 description: Código descricao: type: string maxLength: 100 description: Descrição quantidadeDecimais: type: integer format: int64 description: Quantidade de casas decimais createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: sku: description: SKU – produto/serviço type: object required: – empresaId – unidadeMedidaId – codigo – descricao – descricaoComplementar – tipo – situacao properties: id: type: integer format: int64 description: Id do sku – produto/serviço empresaId: type: object allOf: – #/definitions/empresa description: Empresa unidadeMedidaId: type: object allOf: – #/definitions/unidadeMedida description: Unidade de medida codigo: type: string maxLength: 23 description: Código descricao: type: string maxLength: 100 description: Descrição descricaoComplementar: type: string maxLength: 150 description: Descrição complementar tipo: type: string allOf: – #/definitions/enumTipoSku description: Tipo situacao: type: string allOf: – #/definitions/enumSituacaoSku description: Situação createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: contratoVenda: description: Contrato de venda type: object required: – empresaId – filialId – pessoaIdCliente – pessoaIdRepresentante – pessoaEndIdPadraoCliente – pessoaEndIdCobrancaCliente – idMoeda properties: id: type: integer format: int64 description: Id do contrato de venda empresaId: type: object allOf: – #/definitions/empresa description: Id da empresa filialId: type: object allOf: – #/definitions/filial description: Id da filial pessoaIdCliente: type: object allOf: – #/definitions/pessoa description: Id do cliente pessoaIdRepresentante: type: object allOf: – #/definitions/pessoa description: Id do representante pessoaEndIdPadraoCliente: type: object allOf: – #/definitions/pessoaEndereco description: Endereço padrão do cliente pessoaEndIdCobrancaCliente: type: object allOf: – #/definitions/pessoaEndereco description: Endereço de cobrançaa do cliente idMoeda: type: object allOf: – #/definitions/moeda description: Id da moeda situacao: type: string allOf: – #/definitions/enumSituacaoContratoVenda description: Situação do contrato de venda mercado: type: string allOf: – #/definitions/enumMercado description: Mercado dataContrato: type: string format: date description: Data do contrato numeroContratoCliente: type: string maxLength: 50 description: Número do contrato no sistema do cliente dataVigenciaInicio: type: string format: date description: Data inicial de vigência dataVigenciaFim: type: string format: date description: Data final de vigência precificacao: type: string allOf: – #/definitions/enumPrecificacao description: Precificação observacao: type: string maxLength: 1000 description: Observação createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: moeda: description: Moeda type: object required: – codigo – nome – sigla – tipo properties: id: type: integer format: int64 description: Id codigo: type: string maxLength: 3 description: Código da moeda nome: type: string maxLength: 30 description: Nome da moeda sigla: type: string maxLength: 5 description: Sigla da moeda tipo: type: string allOf: – #/definitions/enumTipoMoeda description: Tipo da moeda quantidadeDecimais: type: integer format: int64 description: Quantidade de decimais quantidadeInteiros: type: integer format: int64 description: Quantidade de inteiros createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: notifyUserEventPayload: description: Represents a regular user event notification payload discriminator: _discriminator type: object required: – notificationKind – notificationPriority – notificationSubject – notificationContent – sourceDomain – sourceService – destinationUser – _discriminator properties: notificationOrigin: type: string description: Origin of notification. Free text. Optional. notificationKind: type: string allOf: – #/definitions/userNotificationKind description: Notification kind. notificationPriority: type: string allOf: – #/definitions/userNotificationPriority description: Notification priority. notificationSubject: type: string description: Notification subject. notificationContent: type: string description: Notification content. sourceDomain: type: string description: Domain that generates the notification. sourceService: type: string description: Service that generates the notification. destinationUser: type: string description: Username of the destination user. link: type: string description: Notification link _discriminator: type: string description: emailNotifyUserEventPayload: description: Represents an email notification payload allOf: – #/definitions/notifyUserEventPayload – type: object required: – from properties: from: type: string description: Email sender address sendTo: type: array items: type: string description: Additional recipients to send the email to format: type: string allOf: – #/definitions/eventEmailFormat description: Email format pushNotifyUserEventPayload: description: Represents a push notification payload allOf: – #/definitions/notifyUserEventPayload – type: object required: – applicationId properties: applicationId: type: string description: Apple/Google application id blobReference: description: Default blob reference type. Every service defines its own. type: object required: – targetObjectId properties: domainName: type: string description: The domain the blob belongs to. serviceName: type: string description: The service the blob belongs to. targetObjectId: type: string description: The basic id of the blob. targetCopyId: type: string description: The id of the blob copy. basicErrorPayload: description: Default error payload type. Every service defines its own. type: object properties: message: type: string description: The user-facing error message, if any. errorCode: type: string description: The program-accessible (and service-specific) error code. importError: description: type: object required: – errorType – lineNumber – bean – message – exceptionClass properties: errorType: type: string allOf: – #/definitions/errorType description: lineNumber: type: integer format: int64 description: bean: type: string description: message: type: string description: exceptionClass: type: string description: fielddto: description: type: object required: – id – name – fieldType properties: id: type: integer format: int64 description: name: type: string description: fieldType: type: string allOf: – #/definitions/fieldType description: start: type: integer format: int64 description: size: type: integer format: int64 description: maskPattern: type: string description: hookdto: description: type: object required: – hookFunction – script properties: hookFunction: type: string allOf: – #/definitions/hookFunction description: script: type: string description: layoutdto: description: type: object required: – id – description – fileFormat – errorStrategy – skipLines – fields properties: id: type: integer format: int64 description: description: type: string description: fileFormat: type: string allOf: – #/definitions/fileFormat description: errorStrategy: type: string allOf: – #/definitions/errorStrategy description: delimiter: type: string description: skipLines: type: integer format: int64 description: fields: type: array items: type: object allOf: – #/definitions/fielddto minimum: 1 description: hooks: type: array items: type: object allOf: – #/definitions/hookdto description: importReport: description: type: object required: – id – startTime – endTime – uri – beanClass – serviceClass – layout – sucessCount – errorsCount – filteredCount – skippedCount properties: id: type: string description: startTime: type: string format: date-time description: endTime: type: string format: date-time description: uri: type: string description: beanClass: type: string description: serviceClass: type: string description: layout: type: object allOf: – #/definitions/layoutdto description: sucessCount: type: integer format: int64 description: errorsCount: type: integer format: int64 description: filteredCount: type: integer format: int64 description: skippedCount: type: integer format: int64 description: importErrors: type: array items: type: object allOf: – #/definitions/importError description: exportEventStatus: description: type: object required: – importerId – eventType – recordCount properties: importerId: type: string description: eventType: type: string allOf: – #/definitions/eventType description: recordCount: type: integer format: int64 description: importEventStatus: description: type: object required: – importerId – eventType – status – recordCount properties: importerId: type: string description: eventType: type: string allOf: – #/definitions/eventType description: status: type: string allOf: – #/definitions/status description: errorMessage: type: string description: recordCount: type: integer format: int64 description: importReport: type: object allOf: – #/definitions/importReport description: exportConfig: description: type: object required: – uri – layout – async – errorStrategy properties: uri: type: string description: layout: type: object allOf: – #/definitions/layoutdto description: async: type: boolean description: errorStrategy: type: string description: importConfig: description: type: object required: – uri – layout – async – batchSize – errorStrategy properties: uri: type: string description: layout: type: object allOf: – #/definitions/layoutdto description: async: type: boolean description: batchSize: type: integer format: int64 description: errorStrategy: type: string allOf: – #/definitions/errorStrategy description: dependency: description: Represents a service dependency type: object required: – domain – service – version properties: domain: type: string description: Domain of the dependency service service: type: string description: Name of the dependency service type: string description: Version of the dependency service genericError: properties: message: type: string description: Messaging describing the error. reason: type: string description: A symbolic code identifying the category of the reason of the error. enum: – BAD_REQUEST – UNAUTHORIZED – PAYMENT_REQUIRED – FORBIDDEN – OBJECT_NOT_FOUND – REQUEST_TIMEOUT – GONE – UNPROCESSABLE – INTERNAL_ERROR – NOT_IMPLEMENTED – SERVICE_UNAVAILABLE – INSUFFICIENT_STORAGE

Este artigo foi útil para você?

Leave A Comment