%PDF- %PDF-
| Direktori : /www/varak.net/www.varak.net/MDM/ |
| Current File : /www/varak.net/www.varak.net/MDM/openapi.json |
{
"openapi": "3.0.0",
"info": {
"title": "MDM API",
"version": "1.0.0"
},
"servers": [
{
"url": "https://localhost:44365"
}
],
"paths": {
"/api/onecodes": {
"get": {
"tags": [
"General"
],
"summary": "https://localhost:44365/api/onecodes?id=ACEA",
"parameters": [
{
"name": "id",
"in": "query",
"schema": {
"type": "string"
},
"description": "Alphacode",
"example": "ACEA"
}
],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {}
}
}
}
}
},
"/api/alphacodes": {
"get": {
"tags": [
"General"
],
"summary": "https://localhost:44365/api/alphacodes",
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"type": "object",
"properties": {
"Alphacode": {
"type": "string"
},
"Description": {
"type": "string"
},
"LineId": {
"type": "string"
},
"ProductLineName": {
"type": "string"
},
"IsRetired": {
"type": "boolean"
}
}
}
}
}
}
}
}
}
},
"/api/AllLatestTransferPrices": {
"get": {
"tags": [
"General"
],
"summary": "https://localhost:44365/api/AllLatestTransferPrices?id=seavf",
"parameters": [
{
"name": "id",
"in": "query",
"schema": {
"type": "string"
},
"description": "Market",
"example": "seavf"
}
],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {}
}
}
}
}
},
"/api/LatestTransferPricesByAlphacode": {
"get": {
"tags": [
"General"
],
"summary": "https://localhost:44365/api/LatestTransferPricesByAlphacode?id=SEAVF&alphacode=ACEA",
"parameters": [
{
"name": "id",
"in": "query",
"schema": {
"type": "string"
},
"description": "Market",
"example": "SEAVF"
},
{
"name": "alphacode",
"in": "query",
"schema": {
"type": "string"
},
"description": "Alphacode",
"example": "ACEA"
}
],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {}
}
}
}
}
},
"/api/LatestTransferPricesByOnecode": {
"get": {
"tags": [
"General"
],
"summary": "https://localhost:44365/api/LatestTransferPricesByOnecode?id=SEAVF&onecode=ACEAG10A",
"parameters": [
{
"name": "id",
"in": "query",
"schema": {
"type": "string"
},
"description": "Market",
"example": "SEAVF"
},
{
"name": "onecode",
"in": "query",
"schema": {
"type": "string"
},
"example": "ACEAG10A"
}
],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {}
}
}
}
}
},
"/api/LatestCPLPricesByAlphacode": {
"get": {
"tags": [
"General"
],
"summary": "https://localhost:44365/api/LatestCPLPricesByAlphacode?id=se&alphacode=AEXE",
"parameters": [
{
"name": "id",
"in": "query",
"schema": {
"type": "string"
},
"description": "Market",
"example": "se"
},
{
"name": "alphacode",
"in": "query",
"schema": {
"type": "string"
},
"description": "Alphacode",
"example": "AEXE"
}
],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {}
}
}
}
}
},
"/api/AllLatestCPLPrices": {
"get": {
"tags": [
"General"
],
"summary": "https://localhost:44365/api/AllLatestCPLPrices?id=se",
"parameters": [
{
"name": "id",
"in": "query",
"schema": {
"type": "string"
},
"description": "Market",
"example": "se"
}
],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {}
}
}
}
}
},
"/api/LatestCPLPricesByOnecode": {
"get": {
"tags": [
"General"
],
"summary": "https://localhost:44365/api/LatestCPLPricesByOnecode?id=se&onecode=AEXE-2-00037-1-2-5",
"parameters": [
{
"name": "id",
"in": "query",
"schema": {
"type": "string"
},
"example": "se"
},
{
"name": "onecode",
"in": "query",
"schema": {
"type": "string"
},
"example": "AEXE-2-00037-1-2-5"
}
],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {}
}
}
}
}
},
"/api/LatestEGPLPricesByAlphacode": {
"get": {
"tags": [
"General"
],
"summary": "https://localhost:44365/api/LatestEGPLPricesByAlphacode?id=340TA",
"parameters": [
{
"name": "id",
"in": "query",
"schema": {
"type": "string"
},
"description": "Alphacode",
"example": "340TA"
}
],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {}
}
}
}
}
},
"/api/AllLatestEGPLPrices": {
"get": {
"tags": [
"General"
],
"summary": "https://localhost:44365/api/AllLatestEGPLPrices",
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {}
}
}
}
}
}
}
}