{ "openapi": "3.0.1", "info": { "title": "MOrdreAPI", "version": "637757011262550558" }, "paths": { "/FileIO/firms/{frmNo}/actors/{actNo}/note": { "get": { "tags": [ "FileIO" ], "parameters": [ { "name": "frmNo", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "actNo", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "noteNm", "in": "query", "schema": { "type": "string" } }, { "name": "hash", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/FileIO/firms/{frmNo}/orders/{ordNo}/note": { "get": { "tags": [ "FileIO" ], "parameters": [ { "name": "frmNo", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "ordNo", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "noteNm", "in": "query", "schema": { "type": "string" } }, { "name": "hash", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/FileIO/firms/{frmNo}/orders/{ordNo}/orderlines/{lnNo}/note": { "get": { "tags": [ "FileIO" ], "parameters": [ { "name": "frmNo", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "ordNo", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "lnNo", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "noteNm", "in": "query", "schema": { "type": "string" } }, { "name": "hash", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/Order/textTypes": { "get": { "tags": [ "Order" ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "object", "additionalProperties": { "type": "integer", "format": "int32" } } }, "application/json": { "schema": { "type": "object", "additionalProperties": { "type": "integer", "format": "int32" } } }, "text/json": { "schema": { "type": "object", "additionalProperties": { "type": "integer", "format": "int32" } } } } } } } }, "/Order/firmCountries": { "get": { "tags": [ "Order" ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "type": "integer", "format": "int32" } } }, "application/json": { "schema": { "type": "array", "items": { "type": "integer", "format": "int32" } } }, "text/json": { "schema": { "type": "array", "items": { "type": "integer", "format": "int32" } } } } } } } }, "/Order/firms": { "get": { "tags": [ "Order" ], "parameters": [ { "name": "ctry", "in": "query", "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Frm" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Frm" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Frm" } } } } } } } }, "/Order/firms/{frmNo}/texts": { "get": { "tags": [ "Order" ], "parameters": [ { "name": "frmNo", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "txtTp", "in": "query", "schema": { "$ref": "#/components/schemas/TextTp" } }, { "name": "lang", "in": "query", "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Txt" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Txt" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Txt" } } } } } } } }, "/Order/firms/{frmNo}/units": { "get": { "tags": [ "Order" ], "parameters": [ { "name": "frmNo", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Unit" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Unit" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Unit" } } } } } } } }, "/Order/firms/{frmNo}/products": { "get": { "tags": [ "Order" ], "parameters": [ { "name": "frmNo", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Prod" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Prod" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Prod" } } } } } } } }, "/Order/firms/{frmNo}/products/{prodNo}": { "get": { "tags": [ "Order" ], "parameters": [ { "name": "frmNo", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "prodNo", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Prod" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Prod" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Prod" } } } } } } }, "/Order/firms/{frmNo}/offices": { "get": { "tags": [ "Order" ], "parameters": [ { "name": "frmNo", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/R10" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/R10" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/R10" } } } } } } } }, "/Order/firms/{frmNo}/offices/{rNo}": { "get": { "tags": [ "Order" ], "parameters": [ { "name": "frmNo", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "rNo", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/R10" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/R10" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/R10" } } } } } } } }, "/Order/firms/{frmNo}/sections": { "get": { "tags": [ "Order" ], "parameters": [ { "name": "frmNo", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "r10", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/R1" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/R1" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/R1" } } } } } } } }, "/Order/firms/{frmNo}/sections/{rNo}": { "get": { "tags": [ "Order" ], "parameters": [ { "name": "frmNo", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "rNo", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/R1" } }, "application/json": { "schema": { "$ref": "#/components/schemas/R1" } }, "text/json": { "schema": { "$ref": "#/components/schemas/R1" } } } } } } }, "/Order/firms/{frmNo}/customers/{custNo}": { "get": { "tags": [ "Order" ], "parameters": [ { "name": "frmNo", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "custNo", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ActorCustomer" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ActorCustomer" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ActorCustomer" } } } } } } }, "/Order/firms/{frmNo}/actors/{actNo}/deliveryAddresses": { "get": { "tags": [ "Order" ], "parameters": [ { "name": "frmNo", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "actNo", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ActorDeliveryAddress" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ActorDeliveryAddress" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ActorDeliveryAddress" } } } } } } } }, "/Order/firms/{frmNo}/actors/{actNo}/contactPersons": { "get": { "tags": [ "Order" ], "parameters": [ { "name": "frmNo", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "actNo", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ActorContactPerson" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ActorContactPerson" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ActorContactPerson" } } } } } } } }, "/Order/firms/{frmNo}/offices/{r10}/work": { "get": { "tags": [ "Order" ], "parameters": [ { "name": "frmNo", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "r10", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Work" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Work" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Work" } } } } } } }, "/Order/firms/{frmNo}/offices/{r10}/orders": { "get": { "tags": [ "Order" ], "parameters": [ { "name": "frmNo", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "r10", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Ord" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Ord" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Ord" } } } } } } } }, "/Order/firms/{frmNo}/orders/{ordNo}/activities": { "get": { "tags": [ "Order" ], "parameters": [ { "name": "frmNo", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "ordNo", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "ordHash", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Agr" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Agr" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Agr" } } } } } } } }, "/Order/firms/{frmNo}/orders/{ordNo}/orderLine": { "post": { "tags": [ "Order" ], "parameters": [ { "name": "frmNo", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "ordNo", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "ordHash", "in": "query", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NewOrdLn" } }, "text/json": { "schema": { "$ref": "#/components/schemas/NewOrdLn" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/NewOrdLn" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "integer", "format": "int32" } }, "application/json": { "schema": { "type": "integer", "format": "int32" } }, "text/json": { "schema": { "type": "integer", "format": "int32" } } } } } } } }, "components": { "schemas": { "ActorContactPerson": { "type": "object", "properties": { "actNo": { "type": "integer", "format": "int32" }, "nm": { "type": "string", "nullable": true }, "ad1": { "type": "string", "nullable": true }, "ad2": { "type": "string", "nullable": true }, "ad4": { "type": "string", "nullable": true }, "pNo": { "type": "string", "nullable": true }, "pArea": { "type": "string", "nullable": true }, "mobPh": { "type": "string", "nullable": true }, "phone": { "type": "string", "nullable": true }, "mailAd": { "type": "string", "nullable": true }, "ctry": { "type": "integer", "format": "int32" }, "noteNm": { "type": "string", "nullable": true }, "hash": { "type": "string", "nullable": true, "readOnly": true }, "noteHash": { "type": "string", "nullable": true, "readOnly": true } }, "additionalProperties": false }, "ActorCustomer": { "type": "object", "properties": { "actNo": { "type": "integer", "format": "int32" }, "nm": { "type": "string", "nullable": true }, "ad1": { "type": "string", "nullable": true }, "ad2": { "type": "string", "nullable": true }, "ad4": { "type": "string", "nullable": true }, "pNo": { "type": "string", "nullable": true }, "pArea": { "type": "string", "nullable": true }, "mobPh": { "type": "string", "nullable": true }, "phone": { "type": "string", "nullable": true }, "mailAd": { "type": "string", "nullable": true }, "ctry": { "type": "integer", "format": "int32" }, "noteNm": { "type": "string", "nullable": true }, "hash": { "type": "string", "nullable": true, "readOnly": true }, "noteHash": { "type": "string", "nullable": true, "readOnly": true }, "custNo": { "type": "integer", "format": "int32" }, "crSusp": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "ActorDeliveryAddress": { "type": "object", "properties": { "actNo": { "type": "integer", "format": "int32" }, "nm": { "type": "string", "nullable": true }, "ad1": { "type": "string", "nullable": true }, "ad2": { "type": "string", "nullable": true }, "ad4": { "type": "string", "nullable": true }, "pNo": { "type": "string", "nullable": true }, "pArea": { "type": "string", "nullable": true }, "mobPh": { "type": "string", "nullable": true }, "phone": { "type": "string", "nullable": true }, "mailAd": { "type": "string", "nullable": true }, "ctry": { "type": "integer", "format": "int32" }, "noteNm": { "type": "string", "nullable": true }, "hash": { "type": "string", "nullable": true, "readOnly": true }, "noteHash": { "type": "string", "nullable": true, "readOnly": true } }, "additionalProperties": false }, "Agr": { "type": "object", "properties": { "agrActNo": { "type": "integer", "format": "int32" }, "agrNo": { "type": "integer", "format": "int32" }, "ordNo": { "type": "integer", "format": "int32" }, "ordLnNo": { "type": "integer", "format": "int32" }, "empNo": { "type": "integer", "format": "int32" }, "r1": { "type": "integer", "format": "int32" }, "r2": { "type": "integer", "format": "int32" }, "r5": { "type": "integer", "format": "int32" }, "r9": { "type": "string", "nullable": true }, "r11": { "type": "string", "nullable": true }, "custNo": { "type": "integer", "format": "int32" }, "prodNo": { "type": "string", "nullable": true }, "descr": { "type": "string", "nullable": true }, "descr2": { "type": "string", "nullable": true }, "un": { "type": "integer", "format": "int32" }, "noInvoAb": { "type": "number", "format": "double" }, "noReg": { "type": "number", "format": "double" }, "fin": { "type": "boolean" }, "txt1": { "type": "string", "nullable": true }, "txt2": { "type": "string", "nullable": true } }, "additionalProperties": false }, "Frm": { "type": "object", "properties": { "frmNo": { "type": "integer", "format": "int32" }, "nm": { "type": "string", "nullable": true } }, "additionalProperties": false }, "NewOrdLn": { "type": "object", "properties": { "ordNo": { "type": "integer", "format": "int32" }, "hash": { "type": "string", "nullable": true }, "r1": { "type": "integer", "format": "int32" }, "r2": { "type": "string", "nullable": true }, "r5": { "type": "integer", "format": "int32" }, "r6": { "type": "integer", "format": "int32" }, "r9": { "type": "string", "nullable": true }, "r10": { "type": "string", "nullable": true }, "r11": { "type": "string", "nullable": true }, "empNo": { "type": "integer", "format": "int32" }, "prodNo": { "type": "string", "nullable": true }, "descr": { "type": "string", "nullable": true }, "un": { "type": "integer", "format": "int32" }, "free2": { "type": "number", "format": "double" }, "free3": { "type": "number", "format": "double" }, "noReg": { "type": "number", "format": "double" }, "frDt": { "type": "integer", "format": "int32" }, "frTm": { "type": "integer", "format": "int32" }, "toDt": { "type": "integer", "format": "int32" }, "toTm": { "type": "integer", "format": "int32" }, "durDt": { "type": "integer", "format": "int32" }, "delDt": { "type": "integer", "format": "int32" }, "cfDelDt": { "type": "integer", "format": "int32" }, "refNo": { "type": "string", "nullable": true } }, "additionalProperties": false }, "Ord": { "type": "object", "properties": { "ordNo": { "type": "integer", "format": "int32" }, "hash": { "type": "string", "nullable": true, "readOnly": true }, "r1": { "type": "string", "nullable": true }, "r2": { "type": "string", "nullable": true }, "r10": { "type": "string", "nullable": true }, "r11": { "type": "string", "nullable": true }, "empNo": { "type": "integer", "format": "int32" }, "rsp": { "type": "integer", "format": "int32" }, "custNo": { "type": "integer", "format": "int32" }, "nm": { "type": "string", "nullable": true }, "ctry": { "type": "integer", "format": "int32" }, "delAd1": { "type": "string", "nullable": true }, "delAd2": { "type": "string", "nullable": true }, "delAd4": { "type": "string", "nullable": true }, "delPArea": { "type": "string", "nullable": true }, "cfDelDt": { "type": "integer", "format": "int32" }, "gr": { "type": "integer", "format": "int32" }, "gr2": { "type": "integer", "format": "int32" }, "gr6": { "type": "integer", "format": "int32" }, "ourRef": { "type": "string", "nullable": true }, "yrRef": { "type": "string", "nullable": true }, "csOrdNo": { "type": "string", "nullable": true }, "label": { "type": "string", "nullable": true }, "inf": { "type": "string", "nullable": true }, "inf2": { "type": "string", "nullable": true }, "inf3": { "type": "string", "nullable": true }, "inf4": { "type": "string", "nullable": true }, "inf5": { "type": "string", "nullable": true }, "inf6": { "type": "string", "nullable": true }, "noteNm": { "type": "string", "nullable": true }, "ordLns": { "type": "array", "items": { "$ref": "#/components/schemas/OrdLn" }, "nullable": true }, "noteHash": { "type": "string", "nullable": true, "readOnly": true } }, "additionalProperties": false }, "OrdLn": { "type": "object", "properties": { "ordNo": { "type": "integer", "format": "int32" }, "lnNo": { "type": "integer", "format": "int32" }, "prodNo": { "type": "string", "nullable": true }, "descr": { "type": "string", "nullable": true }, "r1": { "type": "integer", "format": "int32" }, "empNo": { "type": "integer", "format": "int32" }, "rsp": { "type": "integer", "format": "int32" }, "un": { "type": "integer", "format": "int32" }, "delDt": { "type": "integer", "format": "int32" }, "cfDelDt": { "type": "integer", "format": "int32" }, "durDt": { "type": "integer", "format": "int32" }, "noteNm": { "type": "string", "nullable": true }, "noteHash": { "type": "string", "nullable": true, "readOnly": true } }, "additionalProperties": false }, "Prod": { "type": "object", "properties": { "prodNo": { "type": "string", "nullable": true }, "descr": { "type": "string", "nullable": true }, "prodTp3": { "type": "integer", "format": "int32" }, "prodGr": { "type": "integer", "format": "int32" }, "prodPrG2": { "type": "integer", "format": "int32" }, "stSaleUn": { "type": "integer", "format": "int32" }, "webPg2": { "type": "string", "nullable": true }, "r3": { "type": "integer", "format": "int32" }, "r4": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "R1": { "type": "object", "properties": { "rNo": { "type": "integer", "format": "int32" }, "r5": { "type": "integer", "format": "int32" }, "r6": { "type": "integer", "format": "int32" }, "r9": { "type": "string", "nullable": true }, "r10": { "type": "string", "nullable": true }, "nm": { "type": "string", "nullable": true }, "mailAd": { "type": "string", "nullable": true } }, "additionalProperties": false }, "R10": { "type": "object", "properties": { "rNo": { "type": "string", "nullable": true }, "nm": { "type": "string", "nullable": true }, "mailAd": { "type": "string", "nullable": true } }, "additionalProperties": false }, "TextTp": { "enum": [ 16, 21, 48, 53 ], "type": "integer", "format": "int32" }, "Txt": { "type": "object", "properties": { "txtNo": { "type": "integer", "format": "int32" }, "txt": { "type": "string", "nullable": true } }, "additionalProperties": false }, "Unit": { "type": "object", "properties": { "un": { "type": "integer", "format": "int32" }, "descr": { "type": "string", "nullable": true } }, "additionalProperties": false }, "Work": { "type": "object", "properties": { "ords": { "type": "array", "items": { "$ref": "#/components/schemas/Ord" }, "nullable": true }, "ordLns": { "type": "array", "items": { "$ref": "#/components/schemas/OrdLn" }, "nullable": true } }, "additionalProperties": false } } } }