ERP senior X Foundations (erpx_fnd)

2.0info: 1.46.2 Produto description: Serviço de Produto do ERPX x-senior-domain: erpx_fnd x-senior-domain-path: erpx_fnd x-senior-service-path: produto contact: name: Senior X Platform url: https://dev.senior.com.br email: seniorx-dev@senior.com.brhost: api.senior.com.br /erpx_fnd/produtosecurityDefinitions: 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: /e075derCreated: post: description: Event of e075der create x-senior-event: true deprecated: false tags: – Events security: – bearerAuth: [] parameters: – #/parameters/clientId – name: input in: body required: true schema: #/definitions/e075der responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /e075derMerged: post: description: Event of e075der merge x-senior-event: true deprecated: false tags: – Events security: – bearerAuth: [] parameters: – #/parameters/clientId – name: input in: body required: true schema: #/definitions/e075der responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /e075derUpdated: post: description: Event of e075der update x-senior-event: true deprecated: false tags: – Events security: – bearerAuth: [] parameters: – #/parameters/clientId – name: input in: body required: true schema: #/definitions/e075der responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /equipmentCreated: post: description: Event of equipment create x-senior-event: true deprecated: false tags: – Events security: – bearerAuth: [] parameters: – #/parameters/clientId – name: input in: body required: true schema: #/definitions/equipment responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /equipmentDeleted: post: description: Event of equipment delete x-senior-event: true deprecated: false tags: – Events security: – bearerAuth: [] parameters: – #/parameters/clientId – name: input in: body required: true schema: #/definitions/equipment responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /equipmentMerged: post: description: Event of equipment merge x-senior-event: true deprecated: false tags: – Events security: – bearerAuth: [] parameters: – #/parameters/clientId – name: input in: body required: true schema: #/definitions/equipment responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /equipmentUpdated: post: description: Event of equipment update x-senior-event: true deprecated: false tags: – Events security: – bearerAuth: [] parameters: – #/parameters/clientId – name: input in: body required: true schema: #/definitions/equipment responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /entities/equipment: post: description: This entity is customizable. tags: – Entities security: – bearerAuth: [] parameters: – #/parameters/clientId – name: entity in: body required: true schema: #/definitions/equipment responses: 200: description: The created resource schema: #/definitions/equipment default: description: Error response schema: #/definitions/genericError patch: description: This entity is customizable. tags: – Entities security: – bearerAuth: [] parameters: – #/parameters/clientId – name: entity in: body required: true schema: #/definitions/equipment responses: 200: description: The created resource schema: #/definitions/equipment default: description: Error response schema: #/definitions/genericError get: description: This entity is customizable. tags: – Entities security: – bearerAuth: [] parameters: – #/parameters/clientId – name: offset in: query type: number – name: size in: query type: number responses: 200: description: The created resource schema: type: array items: #/definitions/equipment default: description: Error response schema: #/definitions/genericError /entities/equipment/{id}: put: description: This entity is customizable. tags: – Entities security: – bearerAuth: [] parameters: – #/parameters/clientId – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/equipment responses: 200: description: Ok schema: #/definitions/equipment default: description: Error response schema: #/definitions/genericError patch: description: This entity is customizable. tags: – Entities security: – bearerAuth: [] parameters: – #/parameters/clientId – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/equipment responses: 200: description: Ok schema: #/definitions/equipment default: description: Error response schema: #/definitions/genericError get: description: This entity is customizable. tags: – Entities security: – bearerAuth: [] parameters: – #/parameters/clientId – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/equipment default: description: Error response schema: #/definitions/genericError delete: description: This entity is customizable. tags: – Entities security: – bearerAuth: [] parameters: – #/parameters/clientId – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /entities/equipment/bulk: post: description: This entity is customizable. tags: – Entities security: – bearerAuth: [] parameters: – #/parameters/clientId – name: entities in: body required: true schema: type: array items: #/definitions/equipment responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /entities/e075der: post: description: This entity is customizable. tags: – Entities security: – bearerAuth: [] parameters: – #/parameters/clientId – name: entity in: body required: true schema: #/definitions/e075der responses: 200: description: The created resource schema: #/definitions/e075der default: description: Error response schema: #/definitions/genericError patch: description: This entity is customizable. tags: – Entities security: – bearerAuth: [] parameters: – #/parameters/clientId – name: entity in: body required: true schema: #/definitions/e075der responses: 200: description: The created resource schema: #/definitions/e075der default: description: Error response schema: #/definitions/genericError get: description: This entity is customizable. tags: – Entities security: – bearerAuth: [] parameters: – #/parameters/clientId – name: offset in: query type: number – name: size in: query type: number responses: 200: description: The created resource schema: type: array items: #/definitions/e075der default: description: Error response schema: #/definitions/genericError /entities/e075der/{id}: put: description: This entity is customizable. tags: – Entities security: – bearerAuth: [] parameters: – #/parameters/clientId – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/e075der responses: 200: description: Ok schema: #/definitions/e075der default: description: Error response schema: #/definitions/genericError patch: description: This entity is customizable. tags: – Entities security: – bearerAuth: [] parameters: – #/parameters/clientId – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/e075der responses: 200: description: Ok schema: #/definitions/e075der default: description: Error response schema: #/definitions/genericError get: description: This entity is customizable. tags: – Entities security: – bearerAuth: [] parameters: – #/parameters/clientId – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/e075der default: description: Error response schema: #/definitions/genericError delete: description: This entity is customizable. tags: – Entities security: – bearerAuth: [] parameters: – #/parameters/clientId – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /entities/e075der/bulk: post: description: This entity is customizable. tags: – Entities security: – bearerAuth: [] parameters: – #/parameters/clientId – name: entities in: body required: true schema: type: array items: #/definitions/e075der responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericErrordefinitions: enumTipPro: type: string enum: – VP – VC – VS enumSitReg: type: string enum: – VA – VI enumExiMon: type: string enum: – VS – VN – VO enumPrpMas: type: string enum: – V1 – V2 – V3 – V99 enumTipMas: type: string enum: – VA – VN – VORDEM – VFILIAL – VPRODUTO – VDATAAPONTAMENTO – VHORAAPONTAMENTO enumTipNtg: type: string enum: – VN – VT – VR enumProEpe: type: string enum: – V0 – V1 – V2 – V3 – V4 – V5 – V9 enumTipMer: type: string enum: – VI – VE e075der: type: object required: – e070emp – e012fam – codDer – desDer – sitDer properties: id: type: string description: format: uuid e070emp: #/definitions/e070emp e012fam: #/definitions/e012fam codDer: type: string description: Derivação desDer: type: string description: Descrição desCpl: type: string description: Descrição complementar codBar: type: string description: Código de barras codBa2: type: string description: Código barras livre codGtn: type: string description: Gtin uni. trib idePro: type: string description: Identificação produto pesBru: type: number description: Peso bruto format: double pesLiq: type: number description: Peso líquido format: double codRef: type: string description: Código da Referência e047ntg: #/definitions/e047ntg sitDer: #/definitions/enumSitReg e021mot: #/definitions/e021mot proEpe: #/definitions/enumProEpe excluido: type: boolean description: Indica se o registro foi excluído e076mar: #/definitions/e076mar comprimento: type: number description: Comprimento format: double largura: type: number description: Largura format: double altura: type: number description: Altura format: double e075derImage: #/definitions/e075derImage obsDer: type: string description: Observações usuger: type: string description: dthger: type: string description: format: date-time usualt: type: string description: dthalt: type: string description: format: date-time e070emp: type: object required: – codEmp – nomEmp – sigEmp properties: id: type: string description: format: uuid codEmp: type: integer description: Código da empresa nomEmp: type: string description: Nome da empresa sigEmp: type: string description: Nome fantasia da empresa excluido: type: boolean description: Indica se o registro foi excluído usuger: type: string description: dthger: type: string description: format: date-time usualt: type: string description: dthalt: type: string description: format: date-time e012fam: type: object required: – e070emp – codFam – desFam – e083ori – posPro – indKit properties: id: type: string description: format: uuid e070emp: #/definitions/e070emp codFam: type: string description: Código desFam: type: string description: Descrição e083ori: #/definitions/e083ori posPro: type: integer description: Quantidade de posições para o código de produto numOri: type: integer description: Número do nível da origem do produto indKit: type: boolean description: Indicativo que os produtos produzidos desta família são 'kit' c/ vários produtos agregados p/ venda (não gera op) e076mar: #/definitions/e076mar proMon: #/definitions/enumExiMon sitFam: #/definitions/enumSitReg tipPro: #/definitions/enumTipPro e012fxm: type: array items: #/definitions/e012fxm description: Ligacação família – máscara e047ntg: #/definitions/e047ntg excluido: type: boolean description: Indica se o registro foi excluído usuger: type: string description: dthger: type: string description: format: date-time usualt: type: string description: dthalt: type: string description: format: date-time e083ori: type: object required: – e070emp – codOri – desOri – tipPro properties: id: type: string description: format: uuid e070emp: #/definitions/e070emp codOri: type: string description: Código da origem do produto desOri: type: string description: Descrição da origem do produto tipPro: #/definitions/enumTipPro excluido: type: boolean description: Indica se o registro foi excluído usuger: type: string description: dthger: type: string description: format: date-time usualt: type: string description: dthalt: type: string description: format: date-time e076mar: type: object required: – codMar – nomMar – sitMar properties: id: type: string description: format: uuid codMar: type: string description: Código da marca/etiqueta vinculada a um produto ou a um pedido nomMar: type: string description: Nome da marca sitMar: #/definitions/enumSitReg excluido: type: boolean description: Indica se o registro foi excluído usuger: type: string description: dthger: type: string description: format: date-time usualt: type: string description: dthalt: type: string description: format: date-time e012fxm: type: object required: – e084mas – seqMpr properties: id: type: string description: format: uuid e012fam: #/definitions/e012fam e084mas: #/definitions/e084mas seqMpr: type: integer description: Ordem da máscara na família usuger: type: string description: dthger: type: string description: format: date-time usualt: type: string description: dthalt: type: string description: format: date-time e084mas: type: object required: – e070emp – codMas – desMas – abrMas – prpMas – qtdPos – sitMas properties: id: type: string description: format: uuid e070emp: #/definitions/e070emp codMas: type: string description: Código da máscara desMas: type: string description: Descrição abrMas: type: string description: Abreviatura prpMas: #/definitions/enumPrpMas qtdPos: type: integer description: Quantidade de posições masLiv: type: boolean description: Máscara livre tipMas: #/definitions/enumTipMas vlrInc: type: integer description: Valor incremental ultCod: type: string description: Último código gerado sitMas: #/definitions/enumSitReg e084cma: type: array items: #/definitions/e084cma description: Cadastros – componentes de máscaras excluido: type: boolean description: Indica se o registro foi excluído usuger: type: string description: dthger: type: string description: format: date-time usualt: type: string description: dthalt: type: string description: format: date-time e084cma: type: object required: – codCma – seqCma – desCma – abrCma properties: id: type: string description: format: uuid e084mas: #/definitions/e084mas codCma: type: string description: Código do componente da máscara seqCma: type: integer description: Sequência desCma: type: string description: Descrição abrCma: type: string description: Abreviatura sitCma: #/definitions/enumSitReg excluido: type: boolean description: Indica se o registro foi excluído usuger: type: string description: dthger: type: string description: format: date-time usualt: type: string description: dthalt: type: string description: format: date-time e047ntg: type: object required: – e070emp – codNtg – desNtg – tipNtg properties: id: type: string description: format: uuid e070emp: #/definitions/e070emp codNtg: type: integer description: Natureza de Gasto desNtg: type: string description: Descrição tipNtg: #/definitions/enumTipNtg excluido: type: boolean description: Indica se o registro foi excluído usuger: type: string description: dthger: type: string description: format: date-time usualt: type: string description: dthalt: type: string description: format: date-time e021mot: type: object required: – codMot – desMot properties: id: type: string description: format: uuid codMot: type: integer description: Código do motivo da observação ou situação desMot: type: string description: Descrição do motivo da observação ou situação usuger: type: string description: dthger: type: string description: format: date-time usualt: type: string description: dthalt: type: string description: format: date-time e075derImage: type: object properties: id: type: string description: format: uuid e075der: #/definitions/e075der fileName: type: string description: Nome do arquivo targetObjectId: type: string description: Identificador do arquivo type: string description: Versão do arquivo excluido: type: boolean description: Indica se o registro foi excluido usuger: type: string description: dthger: type: string description: format: date-time usualt: type: string description: dthalt: type: string description: format: date-time equipment: type: object required: – person – code – description properties: id: type: string description: format: uuid person: #/definitions/e001pes code: type: string description: Código do equipamento description: type: string description: Descrição do equipamento usuger: type: string description: dthger: type: string description: format: date-time usualt: type: string description: dthalt: type: string description: format: date-time e001pes: type: object required: – codPes – nomPes – apePes – sitPes properties: id: type: string description: format: uuid e095pes: #/definitions/e095pes codPes: type: integer description: Código nomPes: type: string description: Nome apePes: type: string description: Nome fantasia sitPes: #/definitions/enumSitReg tipMer: #/definitions/enumTipMer excluido: type: boolean description: Indica se o registro foi excluído usuger: type: string description: dthger: type: string description: format: date-time usualt: type: string description: dthalt: type: string description: format: date-time e095pes: type: object required: – sitFor properties: id: type: string description: format: uuid e001pes: #/definitions/e001pes sitFor: #/definitions/enumSitReg excluido: type: boolean description: Indica se o registro foi excluído usuger: type: string description: dthger: type: string description: format: date-time usualt: type: string description: dthalt: type: string description: format: date-time 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