MMD
Click here for a complete list of operations.
ProduktInfo
Returner produktinfo på et varenummer.
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /webservices/mmd.asmx HTTP/1.1 Host: www.mmd.dk Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://www.mmd.dk/ProduktInfo" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ProduktInfo xmlns="http://www.mmd.dk/"> <Varenummer>string</Varenummer> <Konto>string</Konto> <UserId>string</UserId> <Password>string</Password> </ProduktInfo> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ProduktInfoResponse xmlns="http://www.mmd.dk/"> <ProduktInfoResult> <ID>string</ID> <DESC>string</DESC> <DESC2>string</DESC2> <DESC3>string</DESC3> <DESC4>string</DESC4> <DESC5>string</DESC5> <PROD>string</PROD> <GROUP>string</GROUP> <IDGROUP>string</IDGROUP> <OEMNR>string</OEMNR> <PRICE>string</PRICE> <VEJL>string</VEJL> <AFGIFT>string</AFGIFT> <QTY>decimal</QTY> <DELDATE>string</DELDATE> <DELQTY>decimal</DELQTY> <PICTURE>string</PICTURE> <SUBGROUP>string</SUBGROUP> <MANSKU>string</MANSKU> <BESTILLINGSVARE>int</BESTILLINGSVARE> <MOQ>int</MOQ> <KOLLIANTAL>int</KOLLIANTAL> <KOLLIPRIS>decimal</KOLLIPRIS> <DITVARENR>string</DITVARENR> <MASTERKOLLI>int</MASTERKOLLI> <MASTERKOLLIPRIS>decimal</MASTERKOLLIPRIS> <EAN>string</EAN> </ProduktInfoResult> </ProduktInfoResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /webservices/mmd.asmx HTTP/1.1 Host: www.mmd.dk Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <ProduktInfo xmlns="http://www.mmd.dk/"> <Varenummer>string</Varenummer> <Konto>string</Konto> <UserId>string</UserId> <Password>string</Password> </ProduktInfo> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <ProduktInfoResponse xmlns="http://www.mmd.dk/"> <ProduktInfoResult> <ID>string</ID> <DESC>string</DESC> <DESC2>string</DESC2> <DESC3>string</DESC3> <DESC4>string</DESC4> <DESC5>string</DESC5> <PROD>string</PROD> <GROUP>string</GROUP> <IDGROUP>string</IDGROUP> <OEMNR>string</OEMNR> <PRICE>string</PRICE> <VEJL>string</VEJL> <AFGIFT>string</AFGIFT> <QTY>decimal</QTY> <DELDATE>string</DELDATE> <DELQTY>decimal</DELQTY> <PICTURE>string</PICTURE> <SUBGROUP>string</SUBGROUP> <MANSKU>string</MANSKU> <BESTILLINGSVARE>int</BESTILLINGSVARE> <MOQ>int</MOQ> <KOLLIANTAL>int</KOLLIANTAL> <KOLLIPRIS>decimal</KOLLIPRIS> <DITVARENR>string</DITVARENR> <MASTERKOLLI>int</MASTERKOLLI> <MASTERKOLLIPRIS>decimal</MASTERKOLLIPRIS> <EAN>string</EAN> </ProduktInfoResult> </ProduktInfoResponse> </soap12:Body> </soap12:Envelope>
HTTP GET
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
GET /webservices/mmd.asmx/ProduktInfo?Varenummer=string&Konto=string&UserId=string&Password=string HTTP/1.1 Host: www.mmd.dk
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <ProduktInfoClass xmlns="http://www.mmd.dk/"> <ID>string</ID> <DESC>string</DESC> <DESC2>string</DESC2> <DESC3>string</DESC3> <DESC4>string</DESC4> <DESC5>string</DESC5> <PROD>string</PROD> <GROUP>string</GROUP> <IDGROUP>string</IDGROUP> <OEMNR>string</OEMNR> <PRICE>string</PRICE> <VEJL>string</VEJL> <AFGIFT>string</AFGIFT> <QTY>decimal</QTY> <DELDATE>string</DELDATE> <DELQTY>decimal</DELQTY> <PICTURE>string</PICTURE> <SUBGROUP>string</SUBGROUP> <MANSKU>string</MANSKU> <BESTILLINGSVARE>int</BESTILLINGSVARE> <MOQ>int</MOQ> <KOLLIANTAL>int</KOLLIANTAL> <KOLLIPRIS>decimal</KOLLIPRIS> <DITVARENR>string</DITVARENR> <MASTERKOLLI>int</MASTERKOLLI> <MASTERKOLLIPRIS>decimal</MASTERKOLLIPRIS> <EAN>string</EAN> </ProduktInfoClass>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /webservices/mmd.asmx/ProduktInfo HTTP/1.1 Host: www.mmd.dk Content-Type: application/x-www-form-urlencoded Content-Length: length Varenummer=string&Konto=string&UserId=string&Password=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <ProduktInfoClass xmlns="http://www.mmd.dk/"> <ID>string</ID> <DESC>string</DESC> <DESC2>string</DESC2> <DESC3>string</DESC3> <DESC4>string</DESC4> <DESC5>string</DESC5> <PROD>string</PROD> <GROUP>string</GROUP> <IDGROUP>string</IDGROUP> <OEMNR>string</OEMNR> <PRICE>string</PRICE> <VEJL>string</VEJL> <AFGIFT>string</AFGIFT> <QTY>decimal</QTY> <DELDATE>string</DELDATE> <DELQTY>decimal</DELQTY> <PICTURE>string</PICTURE> <SUBGROUP>string</SUBGROUP> <MANSKU>string</MANSKU> <BESTILLINGSVARE>int</BESTILLINGSVARE> <MOQ>int</MOQ> <KOLLIANTAL>int</KOLLIANTAL> <KOLLIPRIS>decimal</KOLLIPRIS> <DITVARENR>string</DITVARENR> <MASTERKOLLI>int</MASTERKOLLI> <MASTERKOLLIPRIS>decimal</MASTERKOLLIPRIS> <EAN>string</EAN> </ProduktInfoClass>