2.0info: 5.7.1 Posição Safra description: Gestão da Posição Safra x-senior-domain: Agronegócio x-senior-domain-path: agro x-senior-service-path: posicaosafra contact: name: Senior X Platform url: https://dev.senior.com.br email: seniorx-dev@senior.com.brhost: api.senior.com.br /agro/posicaosafrasecurityDefinitions: bearerAuth: type: apiKey in: header name: Authorization – application/json – application/jsonparameters: clientId: name: client_id type: string in: header required: true description: Identificação da aplicação cadastrada no portal do desenvolvedor (api.xplatform.com.br)paths: /createInvoice: post: description: Registra as Notas Fiscais
### Resources
- res://senior.com.br/agro/posicaosafra/actions/createInvoice x-senior-event: false deprecated: false tags: – Endpoints security: – bearerAuth: [] parameters: – #/parameters/clientId – name: input in: body required: true schema: type: object required: – invoices properties: invoices: type: array items: #/definitions/dataInvoices description: Lista de lotes responses: 200: description: Ok schema: type: object required: – protocol properties: protocol: type: string description: Protocolo de retorno do processo 403: description: Permissão negada 400: description: Requisição inválida, parâmetros obrigatórios não informados ou campo informado incorretamente default: description: Error response schema: #/definitions/genericError /getProcessedRecords: post: description: Lista o status de cada protocolo de requisição
### Resources
- res://senior.com.br/agro/posicaosafra/queries/getProcessedRecords x-senior-event: false deprecated: false tags: – Endpoints security: – bearerAuth: [] parameters: – #/parameters/clientId – name: input in: body required: true schema: type: object required: – protocols properties: protocols: type: array items: #/definitions/protocols description: Lista de protocolos que serão utilizados para consulta de status responses: 200: description: Ok schema: type: object required: – returnProtocols properties: returnProtocols: #/definitions/returnProtocols default: description: Error response schema: #/definitions/genericError get: description: Lista o status de cada protocolo de requisição
### Resources
- res://senior.com.br/agro/posicaosafra/queries/getProcessedRecords x-senior-event: false deprecated: false tags: – Endpoints security: – bearerAuth: [] parameters: – #/parameters/clientId – name: input in: body required: true schema: type: object required: – protocols properties: protocols: type: array items: #/definitions/protocols description: Lista de protocolos que serão utilizados para consulta de status responses: 200: description: Ok schema: type: object required: – returnProtocols properties: returnProtocols: #/definitions/returnProtocols default: description: Error response schema: #/definitions/genericError /createFeedStockAssessments: post: description: Registra os rateios dos insumos
### Resources
- res://senior.com.br/agro/posicaosafra/actions/createFeedStockAssessments x-senior-event: false deprecated: false tags: – Endpoints security: – bearerAuth: [] parameters: – #/parameters/clientId – name: input in: body required: true schema: type: object required: – feedStockAssessments properties: feedStockAssessments: type: array items: #/definitions/dataFeedStockAssessment description: Lista de rateios de insumos responses: 200: description: Ok 403: description: Permissão negada 400: description: Requisição inválida, parâmetros obrigatórios não informados ou campo informado incorretamente default: description: Error response schema: #/definitions/genericError /createDepositMovements: post: description: Registra os movimentos de depósitos
### Resources
- res://senior.com.br/agro/posicaosafra/actions/createDepositMovements x-senior-event: false deprecated: false tags: – Endpoints security: – bearerAuth: [] parameters: – #/parameters/clientId – name: input in: body required: true schema: type: object required: – depositMovements properties: depositMovements: type: array items: #/definitions/dataDepositMovements description: Lista de depósitos responses: 200: description: Ok 403: description: Permissão negada 400: description: Requisição inválida, parâmetros obrigatórios não informados ou campo informado incorretamente default: description: Error response schema: #/definitions/genericError /createChartOfAccount: post: description: Registra o Plano de Contas
### Resources
- res://senior.com.br/agro/posicaosafra/actions/createChartOfAccount x-senior-event: false deprecated: false tags: – Endpoints security: – bearerAuth: [] parameters: – #/parameters/clientId – name: input in: body required: true schema: type: object required: – dataChartOfAccounts properties: dataChartOfAccounts: type: array items: #/definitions/dataChartOfAccounts description: Plano de Contas responses: 200: description: Ok 403: description: Permissão negada 400: description: Requisição inválida, parâmetros obrigatórios não informados ou campo informado incorretamente default: description: Error response schema: #/definitions/genericError /createOriginFeedStocks: post: description: Integração dos Insumos
### Resources
- res://senior.com.br/agro/posicaosafra/actions/createOriginFeedStocks x-senior-event: false deprecated: false tags: – Endpoints security: – bearerAuth: [] parameters: – #/parameters/clientId – name: input in: body required: true schema: type: object required: – originFeedStocks properties: originFeedStocks: type: array items: #/definitions/dataFeedStocks description: Integração dos Insumos responses: 200: description: Ok 403: description: Permissão negada 400: description: Requisição inválida, parâmetros obrigatórios não informados ou campo informado incorretamente default: description: Error response schema: #/definitions/genericError /createDistributionMatrices: post: description: Registra as matrizes de distribuição
### Resources
- res://senior.com.br/agro/posicaosafra/actions/createDistributionMatrices x-senior-event: false deprecated: false tags: – Endpoints security: – bearerAuth: [] parameters: – #/parameters/clientId – name: input in: body required: true schema: type: object required: – matrices properties: matrices: type: array items: #/definitions/dataDistributionMatrix description: Lista de matrizes responses: 200: description: Ok 403: description: Permissão negada 400: description: Requisição inválida, parâmetros obrigatórios não informados ou campo informado incorretamente default: description: Error response schema: #/definitions/genericError /createMeasurementUnits: post: description: Registra as unidades de medidas
### Resources
- res://senior.com.br/agro/posicaosafra/actions/createMeasurementUnits x-senior-event: false deprecated: false tags: – Endpoints security: – bearerAuth: [] parameters: – #/parameters/clientId – name: input in: body required: true schema: type: object required: – measurementUnits properties: measurementUnits: type: array items: #/definitions/measurementUnitData description: Inserção de informações sobre a unidade de medida responses: 200: description: Ok 403: description: Permissão negada 400: description: Requisição inválida, parâmetros obrigatórios não informados ou campo informado incorretamente default: description: Error response schema: #/definitions/genericError /createOriginHarvests: post: description: Registra as origens de safra
### Resources
- res://senior.com.br/agro/posicaosafra/actions/createOriginHarvests x-senior-event: false deprecated: false tags: – Endpoints security: – bearerAuth: [] parameters: – #/parameters/clientId – name: input in: body required: true schema: type: object required: – originHarvests properties: originHarvests: type: array items: #/definitions/dataOriginHarvest description: Inserção de informações sobre a origem de safra responses: 200: description: Ok 403: description: Permissão negada 400: description: Requisição inválida, parâmetros obrigatórios não informados ou campo informado incorretamente default: description: Error response schema: #/definitions/genericError /createTaxInvoice: post: description: Registra os impostos da nota fiscal
### Resources
- res://senior.com.br/agro/posicaosafra/actions/createTaxInvoice x-senior-event: false deprecated: false tags: – Endpoints security: – bearerAuth: [] parameters: – #/parameters/clientId – name: input in: body required: true schema: type: object required: – taxInvoiceGroups properties: taxInvoiceGroups: type: array items: #/definitions/dataTaxInvoiceGroup description: Lista de notas fiscais com seus respectivos impostos responses: 200: description: Ok 403: description: Permissão negada 400: description: Requisição inválida, parâmetros obrigatórios não informados ou campo informado incorretamente default: description: Error response schema: #/definitions/genericError /createProjects: post: description: Registra os Projetos
### Resources
- res://senior.com.br/agro/posicaosafra/actions/createProjects x-senior-event: false deprecated: false tags: – Endpoints security: – bearerAuth: [] parameters: – #/parameters/clientId – name: input in: body required: true schema: type: object required: – projects properties: projects: type: array items: #/definitions/dataProject description: Projetos responses: 200: description: Ok 403: description: Permissão negada 400: description: Requisição inválida, parâmetros obrigatórios não informados ou campo informado incorretamente default: description: Error response schema: #/definitions/genericError /createAccountingLots: post: description: Registra os lotes contábeis
### Resources
- res://senior.com.br/agro/posicaosafra/actions/createAccountingLots x-senior-event: false deprecated: false tags: – Endpoints security: – bearerAuth: [] parameters: – #/parameters/clientId – name: input in: body required: true schema: type: object required: – accountingLots properties: accountingLots: type: array items: #/definitions/dataAccountingLots description: Lista de lotes responses: 200: description: Ok schema: type: object required: – protocol properties: protocol: type: string description: Protocolo de retorno do processo 403: description: Permissão negada 400: description: Requisição inválida, parâmetros obrigatórios não informados ou campo informado incorretamente default: description: Error response schema: #/definitions/genericError /createOrigins: post: description: Evento para recebimento/criação de novas origens
### Resources
- res://senior.com.br/agro/posicaosafra/actions/createOrigins x-senior-event: false deprecated: false tags: – Endpoints security: – bearerAuth: [] parameters: – #/parameters/clientId – name: input in: body required: true schema: type: object required: – origins properties: origins: type: array items: #/definitions/dataOrigin description: Lista de origens responses: 200: description: Ok 403: description: Permissão negada 400: description: Requisição inválida, parâmetros obrigatórios não informados ou campo informado incorretamente default: description: Error response schema: #/definitions/genericError /createOriginGrainClassification: post: description: Registra as classificações de grãos
### Resources
- res://senior.com.br/agro/posicaosafra/actions/createOriginGrainClassification x-senior-event: false deprecated: false tags: – Endpoints security: – bearerAuth: [] parameters: – #/parameters/clientId – name: input in: body required: true schema: type: object required: – grainClassifications properties: grainClassifications: type: array items: #/definitions/dataGrainClassification description: Lista de classificações de grãos responses: 200: description: Ok 403: description: Permissão negada 400: description: Requisição inválida, parâmetros obrigatórios não informados ou campo informado incorretamente default: description: Error response schema: #/definitions/genericError /createOriginCultures: post: description: Registra as culturas de origem
### Resources
- res://senior.com.br/agro/posicaosafra/actions/createOriginCultures x-senior-event: false deprecated: false tags: – Endpoints security: – bearerAuth: [] parameters: – #/parameters/clientId – name: input in: body required: true schema: type: object required: – cultures properties: cultures: type: array items: #/definitions/dataOriginCulture description: Inserção de informações sobre as origens de cultura responses: 200: description: Ok 403: description: Permissão negada 400: description: Requisição inválida, parâmetros obrigatórios não informados ou campo informado incorretamente default: description: Error response schema: #/definitions/genericError /createPhases: post: description: Registra as Fases
### Resources
- res://senior.com.br/agro/posicaosafra/actions/createPhases x-senior-event: false deprecated: false tags: – Endpoints security: – bearerAuth: [] parameters: – #/parameters/clientId – name: input in: body required: true schema: type: object required: – phases properties: phases: type: array items: #/definitions/dataPhases description: Fases responses: 200: description: Ok 403: description: Permissão negada 400: description: Requisição inválida, parâmetros obrigatórios não informados ou campo informado incorretamente default: description: Error response schema: #/definitions/genericError /createOriginClassification: post: description: Registra os items de classificação
### Resources
- res://senior.com.br/agro/posicaosafra/actions/createOriginClassification x-senior-event: false deprecated: false tags: – Endpoints security: – bearerAuth: [] parameters: – #/parameters/clientId – name: input in: body required: true schema: type: object required: – classifications properties: classifications: type: array items: #/definitions/dataClassification description: Lista de classificação de grãos responses: 200: description: Ok 403: description: Permissão negada 400: description: Requisição inválida, parâmetros obrigatórios não informados ou campo informado incorretamente default: description: Error response schema: #/definitions/genericError /deleteAllFixar: post: description: Remove todos os registros da tabela fixar x-senior-event: false deprecated: false tags: – Endpoints security: – bearerAuth: [] parameters: – #/parameters/clientId – name: input in: body required: true schema: type: object responses: 200: description: Ok default: description: Error response schema: #/definitions/genericErrordefinitions: situation: type: string enum: – Active – Inactive originTypeSource: type: string enum: – SeniorERP – OtherSources originType: type: string enum: – HARVEST – REGISTER – DEPOSIT – COST_CENTER – FAMILY – PROJECT – PHASE harvestOriginTypeDeprecated: type: string enum: – CD – DP – NF typeChartOfAccounts: type: string enum: – CT – ACCOUNTING – CDC – COST_CENTER typeOfAccount: type: string enum: – A – S natureOfAccount: type: string enum: – D – C registerTypeDeprecated: type: string enum: – CDC – FP originCultures: type: string enum: – SeniorERP – OtherSources docOrigin: type: string enum: – Typed – Imported processedRecordsStatus: type: string enum: – SUCCESS – ERROR – PENDING entryLotOrigin: type: string enum: – MAN – VEN – VEF – BVSEST – REC – AFR – RAM – ARV – CPR – COF – PAG – COM – AFP – PAM – APV – TES – PRD – PAT – IVE – ICO – IVZ – IOD – IMP – RPA – UIV – IVR – IVO – IVI – PRJ – CTC – VRB – REG entryType: type: string enum: – ACCOUNTING – MANAGERIAL – BOTH – CONVERSION – Faccount entryOrExit: type: string enum: – E – S – T situationInvoices: type: string enum: – TYPED – CLOSE – CANCELED – DOCOUT – AGCLOSE – AGINTEGRATION – TYPEDINTEGRATION situationNfe: type: string enum: – AUTHORIZED – CANCELED invoiceFinality: type: string enum: – INVOICING – DEVOLUTION dataOrigin: type: object required: – singleRecordKey – code – description – situation – applicationOrigin – type properties: singleRecordKey: type: string description: Código único de registro code: type: string description: Código da origem description: type: string description: Descrição da origem situation: #/definitions/situation applicationOrigin: #/definitions/originTypeSource type: #/definitions/originType parentSingleRecordKey: type: string description: Registro pai measurementUnitData: type: object required: – singleRecordKey properties: singleRecordKey: type: string description: Código Unico description: type: string description: Descrição acronym: type: string description: Acrônimo dataOriginHarvest: type: object required: – situation – singleRecordKey properties: code: type: string description: Código da origem de safra origin: #/definitions/originTypeSource type: #/definitions/harvestOriginTypeDeprecated description: type: string description: Descrição da origem de safra situation: #/definitions/situation singleRecordKey: type: string description: Código de Registro Unico dataChartOfAccounts: type: object required: – singleRecordKey – situation properties: singleRecordKey: type: string description: Código único do Registro codeModelChart: type: integer description: Código Modelo Plano descriptionModelChart: type: string description: Descrição Modelo Plano typeChartOfAccounts: #/definitions/typeChartOfAccounts reducedAccount: type: string description: Conta Reduzida mskGcc: type: string description: Máscara Formatação classMskGcc: type: string description: Classificação Máscara nomenclature: type: string description: Nomenclatura abbreviation: type: string description: Abreviatura parallelReducedAccount: type: string description: Conta Reduzida Paralela parallelClassification: type: string description: Classificação Paralela parallelDescription: type: string description: Descrição Paralela typeOfAccount: #/definitions/typeOfAccount natureOfAccount: #/definitions/natureOfAccount level: type: integer description: Nivel situation: #/definitions/situation dataOriginCulture: type: object required: – singleRecordKey – situation properties: singleRecordKey: type: string description: Código unico do registro code: type: string description: Código da cultura description: type: string description: Descrição da cultura type: #/definitions/registerTypeDeprecated origin: #/definitions/originCultures situation: #/definitions/situation dataDistributionMatrix: type: object required: – singleRecordKey – situation properties: singleRecordKey: type: string description: Código único do registro company: type: integer description: Empresa branch: type: integer description: Filial tableNumber: type: integer description: N° da tabela situation: #/definitions/situation initialValidity: type: string description: Validade inicial format: date finalValidity: type: string description: Validade final format: date docOrigin: #/definitions/docOrigin matriceItems: type: array items: #/definitions/dataChildMatrice description: Matrizes filhas dataChildMatrice: type: object required: – singleRecordKey properties: singleRecordKey: type: string description: Código único do registro prioritySequence: type: integer description: Seq. de prioridade distributionBranch: type: integer description: Filial de distribuição distributionCostCenter: type: string description: Centro de custos de distribuição accountingAccount: type: string description: Conta contábil receivingCostCenter: type: string description: Centro de custos a receber distributionPercentage: type: number description: Porcentagem de distribuição format: double originHarvestRecordKey: type: string description: Safra harvestPercentage: type: number description: Porcentagem Safra format: double protocols: type: object required: – protocol properties: protocol: type: string description: Protocolo returnProtocols: type: object required: – protocol – statusProtocol – returnProcessing properties: protocol: type: string description: Protocolo statusProtocol: #/definitions/processedRecordsStatus returnProcessing: type: array items: #/definitions/jsonReturnAccountingLotsMaster description: Retorno jsonReturnAccountingLotsMaster: type: object required: – singleRecordKey – errorMessage – status properties: singleRecordKey: type: string description: Chave Unica Registro errorMessage: #/definitions/jsonReturnAccountingLots status: #/definitions/processedRecordsStatus jsonReturnAccountingLots: type: object required: – message properties: message: type: string description: Mensagem Erro dataAccountingLots: type: object required: – lotSingleRecordKey – situation properties: lotSingleRecordKey: type: string description: Identificação única do lote lotNumber: type: integer description: Número do lote matrixSingleRecordKey: type: string description: Identificação única de matriz situation: #/definitions/situation entries: type: array items: #/definitions/dataEntriesLots description: Lançamentos dataEntriesLots: type: object properties: entrySingleRecordKey: type: string description: Código único do lançamento entryNumber: type: integer description: Número do lançamento entryDate: type: string description: Data do lançamento format: date origin: #/definitions/entryLotOrigin entryType: #/definitions/entryType lotValue: type: string description: Valor do lançamento debitAccount: type: string description: Conta de débito – singleRecord de chart creditAccount: type: string description: Conta de crédito – singleRecord de chart assessments: type: array items: #/definitions/dataAssessmentLots description: Rateios dataAssessmentLots: type: object properties: assessmentSingleRecordKey: type: string description: Código único do rateio accountingAccount: type: string description: Conta contábil – singleRecord do plano de contas costCenter: type: string description: Centro de custos – singleRecord de cultura percentage: type: number description: Porcentagem format: double value: type: string description: Valor debitOrCredit: #/definitions/natureOfAccount dataDepositMovements: type: object required: – singleRecordKey – mediumPrice – situation properties: singleRecordKey: type: string description: Chave única Registro singleRecordOriginCulture: type: string description: Chave única Registro Cultura singleRecordOriginHarvest: type: string description: Chave única Registro Safra lastClosingDate: type: string description: Data do Fechamento format: date availableForBilling: type: number description: Disponivel Faturamento format: double stockValue: type: string description: Valor Estoque mediumPrice: type: string description: Preço Médio Estoque Safra situation: #/definitions/situation dataMovementsDeposit: type: array items: #/definitions/dataDeposit description: Movimentos de Depósito dataDeposit: type: object required: – singleRecordKey – entryType – singleRecordKeyMeasurementUnit properties: singleRecordKey: type: string description: Chave única Registro entryType: #/definitions/entryOrExit stockQuantity: type: number description: Quantidade Estoque format: double singleRecordKeyMeasurementUnit: type: string description: Unidade de Medida lastMovement: type: string description: Data do último movimento format: date dataProject: type: object required: – singleRecordKey – situation properties: singleRecordKey: type: string description: Código único do Registro number: type: integer description: Número Projeto description: type: string description: Descrição abbreviation: type: string description: Abreviatura situation: #/definitions/situation branch: type: integer description: Filial predictionStartDate: type: string description: Previsão Inicial format: date predictionFinalDate: type: string description: Previsão Final format: date dataPhases: type: object required: – singleRecordKey – situation properties: singleRecordKey: type: string description: Código único do Registro singleRecordProject: type: string description: Projeto number: type: integer description: Número description: type: string description: Descrição abbreviation: type: string description: Abreviatura situation: #/definitions/situation predictionStartDate: type: string description: Previsão Inicial format: date predictionFinalDate: type: string description: Previsão Final format: date singleRecordKeyPhaseSynthetic: type: string description: Fase Sintética type: #/definitions/typeOfAccount dataInvoices: type: object required: – singleRecordKey – number – series – issueData – situation – situationNfe – client – grossValue – itemsInvoices – invoiceFinality properties: singleRecordKey: type: string description: Código Unico number: type: integer description: Numero da Nota series: type: integer description: Serie da Nota issueData: type: string description: Data Emissão format: date situation: #/definitions/situationInvoices situationNfe: #/definitions/situationNfe client: type: string description: Cliente grossValue: type: string description: Valor Bruto da Nota itemsInvoices: type: array items: #/definitions/dataItemsInvoices description: Itens da Nota assessment: type: array items: #/definitions/dataAssessmentInvoices description: Rateios invoiceFinality: #/definitions/invoiceFinality discountValue: type: string description: Valor Descontos da Nota singleRecordKeyOriginHarvest: type: string description: Origem Safra dataItemsInvoices: type: object required: – singleRecordKey – referenceProduct – descriptionProduct – salesQuantity – grossValue – netValue – singleRecordKeyOriginCulture properties: singleRecordKey: type: string description: Código Unico referenceProduct: type: string description: Referência do Produto descriptionProduct: type: string description: Descrição do Produto salesQuantity: type: integer description: Quantidade Vendida grossValue: type: string description: Valor Bruto netValue: type: string description: Valor Liquido singleRecordKeyOriginCulture: type: string description: Familia do Produto singleRecordKeyOriginDeposit: type: string description: Depósito discountValue: type: string description: Valor desconto do item dataAssessmentInvoices: type: object required: – singleRecordKey – costCenter – value – percProjPhase – percCDC properties: singleRecordKey: type: string description: Código único do rateio costCenter: type: string description: Centro de custos – singleRecord de cultura value: type: string description: Valor singleRecordKeyProject: type: string description: Projeto singleRecordKeyFase: type: string description: Fase percProjPhase: type: number description: Percentual Rateio Projeto/Fase format: double percCDC: type: number description: Percentual Centro de Custo format: double singleRecordKeyItemInvoice: type: string description: Item da nota dataTaxInvoiceGroup: type: object required: – singleRecordKeyInvoice – taxValue properties: singleRecordKeyInvoice: type: string description: Código único do registro da nota fiscal taxValue: type: string description: Valor total dos impostos da nota fiscal dataFeedStocks: type: object required: – singleRecordKey – description – singleRecordKeyMeasurementUnit properties: singleRecordKey: type: string description: Identificação dos insumos description: type: string description: Descrição singleRecordKeyMeasurementUnit: type: string description: Código de origem da unidade de medida dataFeedStockAssessment: type: object required: – singleRecordKey – situation – singleRecordKeyFeedStock – singleRecordKeyMeasurementUnit – assessmentItems properties: singleRecordKey: type: string description: Código único situation: #/definitions/situation singleRecordKeyOriginHarvest: type: string description: Origem do tipo Safra singleRecordKeyFeedStock: type: string description: Código de origem do insumo singleRecordKeyMeasurementUnit: type: string description: Código da unidade de medida utilizada assessmentItems: type: array items: #/definitions/dataDetailsFeedStockAssessment description: Itens de rateio dataDetailsFeedStockAssessment: type: object required: – amount – value properties: singleRecordKeyOriginProject: type: string description: Origem do projeto singleRecordKeyOriginPhase: type: string description: Origem de cultura fase assessmentPercentagePhase: type: number description: Percentual de rateio da fase format: double singleRecordKeyOriginCostCenter: type: string description: Origem de cultura centro de custo assessmentPercentageCostCenter: type: number description: Percentual de rateio do centro de custo format: double amount: type: number description: Quantidade movimentada format: double value: type: string description: Valor movimentado dataClassification: type: object required: – singleRecordKey – description properties: singleRecordKey: type: string description: Origem da classificação description: type: string description: Descrição da classificação dataGrainClassification: type: object required: – singleRecordKey – situation – singleRecordKeyOriginHarvest – singleRecordKeyOriginCulture – singleRecordKeyOriginLocalization – singleRecordKeyOriginClassification – singleRecordKeyMeasurementUnit properties: singleRecordKey: type: string description: Origem dos itens de classificação situation: #/definitions/situation singleRecordKeyOriginHarvest: type: string description: Origem do tipo Safra singleRecordKeyOriginCulture: type: string description: Origem do tipo Cultura singleRecordKeyOriginLocalization: type: string description: Código IBGE da localidade de origem da mercadoria singleRecordKeyOriginClassification: type: string description: Origem da classificação value: type: number description: Valor format: double discountValue: type: number description: Valor do desconto format: double singleRecordKeyMeasurementUnit: type: string description: Código da unidade de medida 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