178 lines
5.7 KiB
YAML
Executable File
178 lines
5.7 KiB
YAML
Executable File
openapi: 3.0.0
|
|
servers:
|
|
- description: M3 Sentinel Json Receiver
|
|
url: http://esn2:10014
|
|
info:
|
|
description: Sentinel Receiver
|
|
version: 1.0.0
|
|
title: Sentinel API
|
|
contact:
|
|
email: you@your-company.com
|
|
license:
|
|
name: Apache 2.0
|
|
url: http://www.apache.org/licenses/LICENSE-2.0.html
|
|
tags:
|
|
- name: M3 API
|
|
description: Receive Json from Mulesoft
|
|
components:
|
|
securitySchemes:
|
|
basicAuth:
|
|
type: http
|
|
scheme: basic
|
|
paths:
|
|
/api/m3receiver:
|
|
post:
|
|
tags:
|
|
- General
|
|
summary: M3 Laravel API
|
|
description: M3 POC listener
|
|
requestBody:
|
|
content:
|
|
application/json:
|
|
schema:
|
|
type: object
|
|
example:
|
|
Recipient:
|
|
BillToId: C09586
|
|
ShipToId: C09587
|
|
PersonName: Mary Berry
|
|
CompanyName: ELIT AS
|
|
Country: UK
|
|
CountryName: United Kingdom
|
|
State: ''
|
|
City: GJERDRUM N
|
|
PostalCode: '2022'
|
|
Address1: HELLENVEGEN 9
|
|
Address2: ''
|
|
Address3: ''
|
|
Address4: ''
|
|
AccountNo: '0212520'
|
|
Email: KRISTIN@ELIT.NO
|
|
Contents:
|
|
Commodities:
|
|
- Quantity: 1
|
|
PartWeight: 102.552
|
|
Description: Electrical and Fastening Products
|
|
PartNumber: C1586230
|
|
UOM: EA
|
|
SellUOM: EA
|
|
PartConv: '1'
|
|
BaseUnitPrice: 1
|
|
FrgnUnitPrice: 1.134
|
|
OrderLine: 1
|
|
ShipmentPOLine: 1
|
|
PrimaryLocation: 1A69580
|
|
LocationSeq: B003550
|
|
LocationType: PRIMARY
|
|
Zone: A
|
|
HazMat: H4.1
|
|
PartUPC: '78285637301'
|
|
PartEAN: '3479775637204'
|
|
ProdType: FE
|
|
LotFlag: 'N'
|
|
LotNumber: ''
|
|
ManOrd: ''
|
|
FreightClass: '50'
|
|
PallSize: 60
|
|
MasterCarton: EBV-240381
|
|
MasterQty: 12
|
|
InnerQty: 1
|
|
PalletQty: 14400
|
|
CartonQty: 14
|
|
- Quantity: 50
|
|
PartWeight: 6.21
|
|
Description: HANGER,CONDUIT,FLEXIBLE
|
|
PartNumber: KX
|
|
UOM: BG
|
|
SellUOM: EA
|
|
PartConv: '1000'
|
|
BaseUnitPrice: 15.015
|
|
FrgnUnitPrice: 19.73
|
|
OrderLine: 2
|
|
ShipmentPOLine: 4
|
|
PrimaryLocation: 1F12L01
|
|
LocationSeq: A003280
|
|
LocationType: PRIMARY
|
|
Zone: A
|
|
HazMat: H4
|
|
PartUPC: '78285600156'
|
|
PartEAN: ''
|
|
ProdType: FEP
|
|
LotFlag: A
|
|
LotNumber: '450012584451'
|
|
ManOrd: C458987
|
|
FreightClass: '50'
|
|
PallSize: 60
|
|
MasterCarton: EBV-240381
|
|
MasterQty: 12
|
|
InnerQty: 1
|
|
PalletQty: 14400
|
|
CartonQty: 150
|
|
- Quantity: 50
|
|
PartWeight: 6.21
|
|
Description: HANGER,CONDUIT,FLEXIBLE
|
|
PartNumber: KX
|
|
UOM: BG
|
|
SellUOM: EA
|
|
PartConv: '1000'
|
|
BaseUnitPrice: 15.015
|
|
FrgnUnitPrice: 19.73
|
|
OrderLine: 2
|
|
ShipmentPOLine: 4
|
|
PrimaryLocation: 1F12L01
|
|
LocationSeq: A003280
|
|
LocationType: PRIMARY
|
|
Zone: A
|
|
HazMat: H4
|
|
PartUPC: '78285600156'
|
|
PartEAN: ''
|
|
ProdType: FEP
|
|
LotFlag: A
|
|
LotNumber: '450012584451'
|
|
ManOrd: C458987
|
|
FreightClass: '50'
|
|
PallSize: 60
|
|
MasterCarton: EBV-240381
|
|
MasterQty: 12
|
|
InnerQty: 1
|
|
PalletQty: 14400
|
|
CartonQty: 150
|
|
Company: '11'
|
|
Plant: '11'
|
|
Warehouse: '111'
|
|
OrderNumber: '79758'
|
|
ReleaseNumber: '05'
|
|
ShipmentNumber: '001'
|
|
PickerNumber: '1454221245'
|
|
ShipmentPONumber: '100497'
|
|
PromDate: 20221001
|
|
Currency: EUR
|
|
ExchangeRate: 1.134
|
|
RouteCode: '00'
|
|
ShipTerms: FC
|
|
FOBCode: SP
|
|
OrderClass: '001'
|
|
CarrierCode: BWAY
|
|
ShipVia: AIR
|
|
security:
|
|
- basicAuth: []
|
|
parameters:
|
|
- name: Content-Type
|
|
in: header
|
|
schema:
|
|
type: string
|
|
example: application/json
|
|
responses:
|
|
'200':
|
|
description: OK
|
|
headers:
|
|
Content-Type:
|
|
schema:
|
|
type: string
|
|
example: text/plain
|
|
content:
|
|
text/plain:
|
|
schema:
|
|
type: string
|
|
example: File Received, DB Updated
|