Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Latest xsd's added

Table of Contents
 

1 General

1.1 System

MyMPS is a SCHENKER application developed to support handling action of marinepartsmarine parts. It is built on modern Internet technology, and moonrise can easily be accessed from anywhere in the world without any installation.

 


The system is a multi-layer architecture, developed in .Net NET and running on the Windows and MS SQL

1.2 Description

This document explains Document Explains how MyMPS can send status messages to the client. This is the specification. This document explains Document Explains the Status status messages that That are sent late from MyMPS. Status messages will send for every hour if updates are done.

1.3 Architecture

An exemplified overview of the set-up, this based on MyMPS standard format which Which is included in the document. This document describes Status Messages. Status messages will be sent late on a scheduled basis, in every hour.

...

2 EDI integration

...

- Status messages

MyMPS standard default is to send xml-XML files to a local that That is available via ftp. Other format formats than MyMPS standard has to be mapped.

2.

1 File

format

Format

Document will be encoded using UTF-8.

 

2.1.

...

1 XMLstructure

Envelope

Attribute

Code

Man

MAN

Explanation

explanation

Type

FromPartner

 

from Partners


Y

Provided from MyMPS team

string (50)

FromPartnerUser

From Partner User

 


Y

 


string (50)

ToPartner

MYMPS

Y

 


Fixed

ToPartnerUser

 


Y

 

 


string (50)

DateTime

dateTime


Y

Time

when

When message was created

dateTime

datetime

DocumentVersion

Document Version

1.0

Y

Version of this

fileformat

file format

string (10)

DocumentNumber

 

Document Number


Y

Unique reference number for the message. First message no 1 then 2,3 etc.

Unsigned integer, max: 2147483647

DocumentName

Document Name

ORDERSTATUS

ORDER STATUS

Y

Message name

”ORDERSTATUS”

"ORDER STATUS"

Fixed

Order

Attribute

Code

Man

MAN

Explanation

explanation

Comment

comment

Type

OrderId

OrderID

 


Y

OrderId

OrderID

 

 


Integer

OrderNumber

 

Order Number


Y

OrderNumber

Order Number


String (200)

PortCode5CL

 


Y

Port code

 


String (50)

PortCode3CL

 


Y

Port code

 


String (50)

LocationType

Location Type

 


Y

Type of location

 


V50

RefNo

 


Y

Buyer's PO Reference Number

 


V 50

ChangeDate

Chang Date

 


Y

Date for the

statuschange

status change

 


YY-MM-DD hh: mm

RequistionNo

 


N

RequistionsNo

 


V15

Status

NEW

HUB

DEP

ANN

PEN

BKD

DLV

ARR

Y

NEW =

New order

new orders

HUB = Received

DEP =

Departed

departed

ANN =

Cancelled

Canceled

PEN = Pending

BKD = Booked

DLV = Delivered

ARR = Arrived

 


V50

CargoDetials

 


N

Used to add the package details

 

TypePackage

...


Type Package

Type Package

Attribute

Code

Man

MAN

Explanation

explanation

Comment

comment

Type

Quantity

 


N

Package quantity

 


Integer

Weight

 


N

Package weight

 


Decimal

Length

 


N

Package length

 


Decimal

Width

width

 


N

Package width

 

 


Decimal

Height

height


N

Package height

 


Decimal

Stackable

 


N

Is

Ice package stackable

 


Boolean

DangerousGoods

Dangerous Goods

 


N

Is

Ice Package contains

dangerous goods 

Dangerous Goods


Boolean

DGNumberOfPackages

 


N

DGNumberOfPackages

 


String (50)

DGTypeOfPackages

 


N

DGTypeOfPackages

 


String (50)

DGContentOfPackages

 


N

DGContentOfPackages

 


String (50)

DGCargoAircraftOnly

 


N

DGCargoAircraftOnly

 


Boolean

DGMarinePollutant

 


N

DGMarinePollutant

 


Boolean

DGLimitedQuantity

 


N

DGLimitedQuantity

 


Boolean

DGUnNumber

 


N

DGUnNumber

 


String (50)

DgdgrClass

 


N

DgdgrClass

 


String (50)

DGPackageGroup

 


N

DGPackageGroup

 


String (50)

DGWeightValue

 


N

DGWeightValue

 


Decimal

DGWeightUnit

 


N

DGWeightUnit

 


String (50)

DGVolumeValue

 


N

DGVolumeValue

 


Decimal

DGVolumeUnit

 


N

DGVolumeUnit

 


String (50)

DGShippingName

 


N

DGShippingName

 


String (50)

DGTechnicalName

 


N

DGTechnicalName

 


String (50)

 

...

Example 3

3.

1 XML

Status

status message

<? xml  version = "1.0"  encoding = "utf-8"?>

< LxirEnvelope >

  < Header FromPartner From Partner = "MyMPS"  FromPartnerUserFrom Partner user = "User1"  ToPartnerToPartner = "Client"  ToPartnerUserToPartnerUser = "ClientUserClient User"  DateTimedatetime = "1900-01-01T01: 01: 01 + 01: 00" DocumentVersion, Document Version = "1.0"  DocumentNumberDocument Number = "123"  DocumentNameDocument Name = "ORDERSTATUSORDER STATUS"   />

  < Body >

< OrderStatusOrder Status >

      < OrderId>123</OrderIdOrderID > 123 </ OrderID >

      < OrderNumber>str1234< > str1234 </ OrderNumber >

      < PortCode5CL>str1234< > str1234 </ PortCode5CL >

      < PortCode3CL>str1234< > str1234 </ PortCode3CL >

      < LocationType>Air</LocationTypeLocation Type > Air </ Location Type >

      < RefNNo>str1234< > str1234 </ RefNNo >

      < ChangeDate>2012CHANGEDATE > 2012-12-13T12: 12: 12<12 </ ChangeDateCHANGEDATE >

      < RequisitionNumber>str1234< > str1234 </ RequisitionNumber >

      < Status>NEW< > NEW </ Status >

      < CargoDetailsCargo Details >

        < Packages >

          < Quantity>123< > 123 </ Quantity >

          < Weight>123 > 123.45<45 </ Weight >

          < Length>123 > 123.45<45 </ Length >

          < Width>123 > 123.45<45 </ Width >

          < Height>123 > 123.45<45 </ Height >

          < Stackable>true< > true </ Stackable >

          < DangerousGoods>true</DangerousGoodsDangerous Goods > true </ Dangerous Goods >

          < DGNumberOfPackages>123< > 123 </ DGNumberOfPackages >

          < DGTypeOfPackages>str1234< > str1234 </ DGTypeOfPackages >

          < DGContentOfPackages>str1234< > str1234 </ DGContentOfPackages >

          < DGCargoAircraftOnly>true< > true </ DGCargoAircraftOnly >

          < DGMarinePollutant>true< > true </ DGMarinePollutant >

          < DGLimitedQuantity>true< > true </ DGLimitedQuantity >

          < DGUnNumber>str1234< > str1234 </ DGUnNumber >

          < DGdgrClass>str1234< > str1234 </ DGdgrClass >

          < DGPackageGroup>str1234< > str1234 </ DGPackageGroup >

          < DGWeightValue>123 > 123.45<45 </ DGWeightValue >

          < DGWeightUnit>str1234< > str1234 </ DGWeightUnit >

          < DGVolumeValue>123 > 123.45<45 </ DGVolumeValue >

          < DGVolumeUnit>str1234< > str1234 </ DGVolumeUnit >

          < DGShippingName>str1234< > str1234 </ DGShippingName >

          < DGTechnicalName>str1234< > str1234 </ DGTechnicalName >

        </ Packages >

      </ CargoDetailsCargo Details >

    </ OrderStatusOrder Status >

  </ Body >

</ LxirEnvelope >



XSD

View file
nameBasicTypes.xsd
height250
View file
nameOrderStatus.xsd
height250

Version

3.2 History

Version and date

Author

About the author

Comment

comment

PA1 2011-11-20

Martin Fransson

First draft without example

PA2 2011-11-21

Martin Fransson

With

with example

PA3 2011-12-12

Martin Fransson

Added requisition Number after meeting with Helge

PA4 2012-04-20

Niclas Sparr

Added

xsd

XSD and changed

fileformat

file formats

PA5 2012-05-16

Muhammad Jawad

Added PortCode5CL, PortCode3CL,

LocationType

Location Type and

LocationType

Location Type enum

PA6 2015-03-24

Muhammad Jawad

Added cargo details and package

info

information

  

Include Page

 

 

 

Google Analytics
Google Analytics