feat: separate fusion field service and LTC into standalone modules, update core modules
- fusion_claims: separated field service logic, updated controllers/views - fusion_tasks: updated task views and map integration - fusion_authorizer_portal: added page 11 signing, schedule booking, migrations - fusion_shipping: new standalone shipping module (Canada Post, FedEx, DHL, Purolator) - fusion_ltc_management: new standalone LTC management module
This commit is contained in:
1
fusion_shipping/api/dhl/__init__.py
Normal file
1
fusion_shipping/api/dhl/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
from . import request
|
||||
343
fusion_shipping/api/dhl/request.py
Normal file
343
fusion_shipping/api/dhl/request.py
Normal file
@@ -0,0 +1,343 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
from lxml.etree import fromstring
|
||||
from datetime import datetime, date, timedelta
|
||||
from lxml import etree
|
||||
from odoo.tools.zeep import Client, Plugin
|
||||
from odoo.tools.zeep.wsdl.utils import etree_to_string
|
||||
|
||||
from odoo import _
|
||||
from odoo import release
|
||||
from odoo.exceptions import UserError
|
||||
from odoo.tools import float_repr, float_round
|
||||
from odoo.tools.misc import file_path
|
||||
|
||||
class DHLProvider():
|
||||
|
||||
def __init__(self, debug_logger, request_type='ship', prod_environment=False):
|
||||
self.debug_logger = debug_logger
|
||||
if not prod_environment:
|
||||
self.url = 'https://xmlpitest-ea.dhl.com/XMLShippingServlet?isUTF8Support=true'
|
||||
else:
|
||||
self.url = 'https://xmlpi-ea.dhl.com/XMLShippingServlet?isUTF8Support=true'
|
||||
if request_type == "ship":
|
||||
self.client = self._set_client('ship-10.0.wsdl', 'Ship')
|
||||
self.factory = self.client.type_factory('ns1')
|
||||
elif request_type =="rate":
|
||||
self.client = self._set_client('rate.wsdl', 'Rate')
|
||||
self.factory = self.client.type_factory('ns1')
|
||||
self.factory_dct_request = self.client.type_factory('ns2')
|
||||
self.factory_dct_response = self.client.type_factory('ns3')
|
||||
|
||||
|
||||
def _set_client(self, wsdl_filename, api):
|
||||
wsdl_path = file_path(f'fusion_shipping/api/dhl/wsdl/{wsdl_filename}')
|
||||
client = Client(wsdl_path)
|
||||
return client
|
||||
|
||||
def _set_request(self, site_id, password):
|
||||
request = self.factory.Request()
|
||||
service_header = self.factory.ServiceHeader()
|
||||
service_header.MessageTime = datetime.now()
|
||||
service_header.MessageReference = 'ref:' + datetime.now().isoformat() #CHANGEME
|
||||
service_header.SiteID = site_id
|
||||
service_header.Password = password
|
||||
request.ServiceHeader = service_header
|
||||
metadata = self.factory.MetaData()
|
||||
metadata.SoftwareName = release.product_name
|
||||
metadata.SoftwareVersion = release.series
|
||||
request.MetaData = metadata
|
||||
return request
|
||||
|
||||
def _set_region_code(self, region_code):
|
||||
return region_code
|
||||
|
||||
def _set_requested_pickup_time(self, requested_pickup):
|
||||
if requested_pickup:
|
||||
return "Y"
|
||||
else:
|
||||
return "N"
|
||||
|
||||
def _set_billing(self, shipper_account, payment_type, duty_payment_type, is_dutiable):
|
||||
billing = self.factory.Billing()
|
||||
billing.ShipperAccountNumber = shipper_account
|
||||
billing.ShippingPaymentType = payment_type
|
||||
if is_dutiable:
|
||||
billing.DutyPaymentType = duty_payment_type
|
||||
return billing
|
||||
|
||||
def _set_consignee(self, partner_id):
|
||||
consignee = self.factory.Consignee()
|
||||
consignee.CompanyName = partner_id.commercial_company_name or partner_id.name
|
||||
consignee.AddressLine1 = partner_id.street or partner_id.street2
|
||||
consignee.AddressLine2 = partner_id.street and partner_id.street2 or None
|
||||
consignee.City = partner_id.city
|
||||
if partner_id.state_id:
|
||||
consignee.Division = partner_id.state_id.name
|
||||
consignee.DivisionCode = partner_id.state_id.code
|
||||
consignee.PostalCode = partner_id.zip
|
||||
consignee.CountryCode = partner_id.country_id.code
|
||||
consignee.CountryName = partner_id.country_id.name
|
||||
contact = self.factory.Contact()
|
||||
contact.PersonName = partner_id.name
|
||||
contact.PhoneNumber = partner_id.phone
|
||||
if partner_id.email:
|
||||
contact.Email = partner_id.email
|
||||
consignee.Contact = contact
|
||||
return consignee
|
||||
|
||||
def _set_dct_to(self, partner_id):
|
||||
to = self.factory_dct_request.DCTTo()
|
||||
country_code = partner_id.country_id.code
|
||||
zip_code = partner_id.zip or ''
|
||||
if country_code == 'ES' and (zip_code.startswith('35') or zip_code.startswith('38')):
|
||||
country_code = 'IC'
|
||||
to.CountryCode = country_code
|
||||
to.Postalcode = zip_code
|
||||
to.City = partner_id.city
|
||||
return to
|
||||
|
||||
def _set_shipper(self, account_number, company_partner_id, warehouse_partner_id):
|
||||
shipper = self.factory.Shipper()
|
||||
shipper.ShipperID = account_number
|
||||
shipper.CompanyName = company_partner_id.name
|
||||
shipper.AddressLine1 = warehouse_partner_id.street or warehouse_partner_id.street2
|
||||
shipper.AddressLine2 = warehouse_partner_id.street and warehouse_partner_id.street2 or None
|
||||
shipper.City = warehouse_partner_id.city
|
||||
if warehouse_partner_id.state_id:
|
||||
shipper.Division = warehouse_partner_id.state_id.name
|
||||
shipper.DivisionCode = warehouse_partner_id.state_id.code
|
||||
shipper.PostalCode = warehouse_partner_id.zip
|
||||
shipper.CountryCode = warehouse_partner_id.country_id.code
|
||||
shipper.CountryName = warehouse_partner_id.country_id.name
|
||||
contact = self.factory.Contact()
|
||||
contact.PersonName = warehouse_partner_id.name
|
||||
contact.PhoneNumber = warehouse_partner_id.phone
|
||||
if warehouse_partner_id.email:
|
||||
contact.Email = warehouse_partner_id.email
|
||||
shipper.Contact = contact
|
||||
return shipper
|
||||
|
||||
def _set_dct_from(self, warehouse_partner_id):
|
||||
dct_from = self.factory_dct_request.DCTFrom()
|
||||
dct_from.CountryCode = warehouse_partner_id.country_id.code
|
||||
dct_from.Postalcode = warehouse_partner_id.zip
|
||||
dct_from.City = warehouse_partner_id.city
|
||||
return dct_from
|
||||
|
||||
def _set_dutiable(self, total_value, currency_name, incoterm):
|
||||
dutiable = self.factory.Dutiable()
|
||||
dutiable.DeclaredValue = float_repr(total_value, 2)
|
||||
dutiable.DeclaredCurrency = currency_name
|
||||
if not incoterm:
|
||||
raise UserError(_("Please define an incoterm in the associated sale order or set a default incoterm for the company in the accounting's settings."))
|
||||
dutiable.TermsOfTrade = incoterm.code
|
||||
return dutiable
|
||||
|
||||
def _set_dct_dutiable(self, total_value, currency_name):
|
||||
dct_dutiable = self.factory_dct_request.DCTDutiable()
|
||||
dct_dutiable.DeclaredCurrency = currency_name
|
||||
dct_dutiable.DeclaredValue = total_value
|
||||
return dct_dutiable
|
||||
|
||||
def _set_dct_bkg_details(self, carrier, packages):
|
||||
bkg_details = self.factory_dct_request.BkgDetailsType()
|
||||
bkg_details.PaymentCountryCode = packages[0].company_id.partner_id.country_id.code
|
||||
bkg_details.Date = date.today()
|
||||
bkg_details.ReadyTime = timedelta(hours=1,minutes=2)
|
||||
bkg_details.DimensionUnit = "CM" if carrier.dhl_package_dimension_unit == "C" else "IN"
|
||||
bkg_details.WeightUnit = "KG" if carrier.dhl_package_weight_unit == "K" else "LB"
|
||||
bkg_details.InsuredValue = float_repr(sum(pkg.total_cost for pkg in packages) * carrier.shipping_insurance / 100, precision_digits=3)
|
||||
bkg_details.InsuredCurrency = packages[0].currency_id.name
|
||||
pieces = []
|
||||
for sequence, package in enumerate(packages):
|
||||
piece = self.factory_dct_request.PieceType()
|
||||
piece.PieceID = sequence
|
||||
piece.PackageTypeCode = package.packaging_type
|
||||
piece.Height = package.dimension['height']
|
||||
piece.Depth = package.dimension['length']
|
||||
piece.Width = package.dimension['width']
|
||||
piece.Weight = carrier._dhl_convert_weight(package.weight, carrier.dhl_package_weight_unit)
|
||||
pieces.append(piece)
|
||||
bkg_details.Pieces = {'Piece': pieces}
|
||||
bkg_details.PaymentAccountNumber = carrier.sudo().dhl_account_number
|
||||
if carrier.dhl_dutiable:
|
||||
bkg_details.IsDutiable = "Y"
|
||||
else:
|
||||
bkg_details.IsDutiable = "N"
|
||||
bkg_details.NetworkTypeCode = "AL"
|
||||
return bkg_details
|
||||
|
||||
def _set_shipment_details(self, picking):
|
||||
shipment_details = self.factory.ShipmentDetails()
|
||||
pieces = []
|
||||
packages = picking.carrier_id._get_packages_from_picking(picking, picking.carrier_id.dhl_default_package_type_id)
|
||||
for sequence, package in enumerate(packages):
|
||||
piece = self.factory.Piece()
|
||||
piece.PieceID = sequence
|
||||
piece.Height = package.dimension['height']
|
||||
piece.Depth = package.dimension['length']
|
||||
piece.Width = package.dimension['width']
|
||||
piece.Weight = picking.carrier_id._dhl_convert_weight(package.weight, picking.carrier_id.dhl_package_weight_unit)
|
||||
piece.PieceContents = package.name
|
||||
pieces.append(piece)
|
||||
shipment_details.Pieces = self.factory.Pieces(pieces)
|
||||
shipment_details.WeightUnit = picking.carrier_id.dhl_package_weight_unit
|
||||
shipment_details.GlobalProductCode = picking.carrier_id.dhl_product_code
|
||||
shipment_details.LocalProductCode = picking.carrier_id.dhl_product_code
|
||||
shipment_details.Date = date.today()
|
||||
shipment_details.Contents = "MY DESCRIPTION"
|
||||
shipment_details.DimensionUnit = picking.carrier_id.dhl_package_dimension_unit
|
||||
shipment_details.InsuredAmount = float_repr(sum(pkg.total_cost for pkg in packages) * picking.carrier_id.shipping_insurance / 100, precision_digits=2)
|
||||
if picking.carrier_id.dhl_dutiable:
|
||||
shipment_details.IsDutiable = "Y"
|
||||
sale = picking.reference_ids.sale_ids
|
||||
currency = sale and sale[0].currency_id or picking.company_id.currency_id
|
||||
shipment_details.CurrencyCode = currency.name
|
||||
return shipment_details
|
||||
|
||||
def _set_label_image_format(self, label_image_format):
|
||||
return label_image_format
|
||||
|
||||
def _set_label(self, label):
|
||||
label_obj = self.factory.Label()
|
||||
label_obj.LabelTemplate = label
|
||||
return label_obj
|
||||
|
||||
def _set_return(self):
|
||||
return_service = self.factory.SpecialService()
|
||||
return_service.SpecialServiceType = "PV"
|
||||
return return_service
|
||||
|
||||
def _set_insurance(self, shipment_details):
|
||||
insurance_service = self.factory.SpecialService()
|
||||
insurance_service.SpecialServiceType = "II"
|
||||
insurance_service.ChargeValue = shipment_details.InsuredAmount
|
||||
insurance_service.CurrencyCode = shipment_details.CurrencyCode
|
||||
return insurance_service
|
||||
|
||||
def _process_shipment(self, shipment_request):
|
||||
ShipmentRequest = self.client._Client__obj.get_element('ns0:ShipmentRequest')
|
||||
document = etree.Element('root')
|
||||
ShipmentRequest.render(document, shipment_request)
|
||||
request_to_send = etree_to_string(list(document)[0])
|
||||
headers = {'Content-Type': 'text/xml'}
|
||||
response = self.client._Client__obj.transport.post(self.url, request_to_send, headers=headers)
|
||||
if self.debug_logger:
|
||||
self.debug_logger(request_to_send, 'dhl_shipment_request')
|
||||
self.debug_logger(response.content, 'dhl_shipment_response')
|
||||
response_element_xml = fromstring(response.content)
|
||||
Response = self.client._Client__obj.get_element(response_element_xml.tag)
|
||||
response_zeep = Response.type.parse_xmlelement(response_element_xml)
|
||||
dict_response = {'tracking_number': 0.0,
|
||||
'price': 0.0,
|
||||
'currency': False}
|
||||
# This condition handle both 'ShipmentValidateErrorResponse' and
|
||||
# 'ErrorResponse', we could handle them differently if needed as
|
||||
# the 'ShipmentValidateErrorResponse' is something you cannot do,
|
||||
# and 'ErrorResponse' are bad values given in the request.
|
||||
if hasattr(response_zeep.Response, 'Status'):
|
||||
condition = response_zeep.Response.Status.Condition[0]
|
||||
error_msg = "%s: %s" % (condition.ConditionCode, condition.ConditionData)
|
||||
raise UserError(error_msg)
|
||||
return response_zeep
|
||||
|
||||
def _process_rating(self, rating_request):
|
||||
DCTRequest = self.client._Client__obj.get_element('ns0:DCTRequest')
|
||||
document = etree.Element('root')
|
||||
DCTRequest.render(document, rating_request)
|
||||
request_to_send = etree_to_string(list(document)[0])
|
||||
headers = {'Content-Type': 'text/xml'}
|
||||
response = self.client._Client__obj.transport.post(self.url, request_to_send, headers=headers)
|
||||
if self.debug_logger:
|
||||
self.debug_logger(request_to_send, 'dhl_rating_request')
|
||||
self.debug_logger(response.content, 'dhl_rating_response')
|
||||
response_element_xml = fromstring(response.content)
|
||||
dict_response = {'tracking_number': 0.0,
|
||||
'price': 0.0,
|
||||
'currency': False}
|
||||
# This condition handle both 'ShipmentValidateErrorResponse' and
|
||||
# 'ErrorResponse', we could handle them differently if needed as
|
||||
# the 'ShipmentValidateErrorResponse' is something you cannot do,
|
||||
# and 'ErrorResponse' are bad values given in the request.
|
||||
if response_element_xml.find('GetQuoteResponse') is not None:
|
||||
return response_element_xml
|
||||
else:
|
||||
condition = response_element_xml.find('Response/Status/Condition')
|
||||
error_msg = "%s: %s" % (condition.find('ConditionCode').text, condition.find('ConditionData').text)
|
||||
raise UserError(error_msg)
|
||||
|
||||
def check_required_value(self, carrier, recipient, shipper, order=False, picking=False):
|
||||
carrier = carrier.sudo()
|
||||
recipient_required_field = ['city', 'zip', 'country_id']
|
||||
if not carrier.dhl_SiteID:
|
||||
return _("DHL Site ID is missing, please modify your delivery method settings.")
|
||||
if not carrier.dhl_password:
|
||||
return _("DHL password is missing, please modify your delivery method settings.")
|
||||
if not carrier.dhl_account_number:
|
||||
return _("DHL account number is missing, please modify your delivery method settings.")
|
||||
|
||||
# The street isn't required if we compute the rate with a partial delivery address in the
|
||||
# express checkout flow.
|
||||
if not recipient.street and not recipient.street2 and not recipient.env.context.get(
|
||||
'express_checkout_partial_delivery_address', False
|
||||
):
|
||||
recipient_required_field.append('street')
|
||||
res = [field for field in recipient_required_field if not recipient[field]]
|
||||
if res:
|
||||
return _("The address of the customer is missing or wrong (Missing field(s) :\n %s)", ", ".join(res).replace("_id", ""))
|
||||
|
||||
shipper_required_field = ['city', 'zip', 'phone', 'country_id']
|
||||
if not shipper.street and not shipper.street2:
|
||||
shipper_required_field.append('street')
|
||||
|
||||
res = [field for field in shipper_required_field if not shipper[field]]
|
||||
if res:
|
||||
return _("The address of your company warehouse is missing or wrong (Missing field(s) :\n %s)", ", ".join(res).replace("_id", ""))
|
||||
|
||||
if order:
|
||||
if not order.order_line:
|
||||
return _("Please provide at least one item to ship.")
|
||||
error_lines = order.order_line._get_invalid_delivery_weight_lines()
|
||||
if error_lines:
|
||||
return _("The estimated shipping price cannot be computed because the weight is missing for the following product(s): \n %s", ", ".join(error_lines.product_id.mapped('name')))
|
||||
return False
|
||||
|
||||
def _set_export_declaration(self, carrier, picking, is_return=False):
|
||||
export_lines = []
|
||||
move_lines = picking.move_line_ids.filtered(lambda line: line.product_id.type == 'consu')
|
||||
currency_id = picking.sale_id and picking.sale_id.currency_id or picking.company_id.currency_id
|
||||
for sequence, line in enumerate(move_lines, start=1):
|
||||
if line.move_id.sale_line_id:
|
||||
unit_quantity = line.product_uom_id._compute_quantity(line.quantity, line.move_id.sale_line_id.product_uom_id)
|
||||
else:
|
||||
unit_quantity = line.product_uom_id._compute_quantity(line.quantity, line.product_id.uom_id)
|
||||
rounded_qty = max(1, float_round(unit_quantity, precision_digits=0, rounding_method='HALF-UP'))
|
||||
item = self.factory.ExportLineItem()
|
||||
item.LineNumber = sequence
|
||||
item.Quantity = int(rounded_qty)
|
||||
item.QuantityUnit = 'PCS' # Pieces - very generic
|
||||
if len(line.product_id.name) > 75:
|
||||
raise UserError(_("DHL doesn't support products with name greater than 75 characters."))
|
||||
item.Description = line.product_id.name
|
||||
item.Value = float_repr(line.sale_price / rounded_qty, currency_id.decimal_places)
|
||||
item.Weight = item.GrossWeight = {
|
||||
"Weight": carrier._dhl_convert_weight(line.product_id.weight, carrier.dhl_package_weight_unit),
|
||||
"WeightUnit": carrier.dhl_package_weight_unit,
|
||||
}
|
||||
item.ManufactureCountryCode = line.product_id.country_of_origin.code or line.picking_id.picking_type_id.warehouse_id.partner_id.country_id.code
|
||||
if line.product_id.hs_code:
|
||||
item.ImportCommodityCode = line.product_id.hs_code
|
||||
item.CommodityCode = line.product_id.hs_code
|
||||
export_lines.append(item)
|
||||
|
||||
export_declaration = self.factory.ExportDeclaration()
|
||||
export_declaration.InvoiceDate = datetime.today()
|
||||
export_declaration.InvoiceNumber = carrier.env['ir.sequence'].sudo().next_by_code('delivery_dhl.commercial_invoice')
|
||||
if is_return:
|
||||
export_declaration.ExportReason = 'RETURN'
|
||||
|
||||
export_declaration.ExportLineItem = export_lines
|
||||
if picking.sale_id.client_order_ref:
|
||||
export_declaration.ReceiverReference = picking.sale_id.client_order_ref
|
||||
return export_declaration
|
||||
92
fusion_shipping/api/dhl/wsdl/DCT-Response_global-2.0.xsd
Normal file
92
fusion_shipping/api/dhl/wsdl/DCT-Response_global-2.0.xsd
Normal file
@@ -0,0 +1,92 @@
|
||||
<?xml version="1.0"?>
|
||||
<xsd:schema targetNamespace="http://www.dhl.com" xmlns:dhl="http://www.dhl.com/datatypes" xmlns:dct="http://www.dhl.com/DCTResponsedatatypes" xmlns="http://www.dhl.com" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
elementFormDefault="unqualified">
|
||||
<xsd:import namespace="http://www.dhl.com/datatypes_global" schemaLocation="datatypes_global_v62.xsd" />
|
||||
<xsd:import namespace="http://www.dhl.com/DCTResponsedatatypes" schemaLocation="DCTResponsedatatypes_global.xsd" />
|
||||
<xsd:element name="DCTResponse">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:choice minOccurs="1" maxOccurs="1">
|
||||
<xsd:element name="GetQuoteResponse">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>Root element of Quote request
|
||||
</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="Response">
|
||||
<xsd:complexType>
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>Generic response header</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="ServiceHeader" type="ServiceHeader" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="BkgDetails" minOccurs="0" type="dct:BkgDetailsType" maxOccurs="1" />
|
||||
<xsd:element name="Srvs" minOccurs="0" maxOccurs="1">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="Srv" type="dct:SrvType" minOccurs="0" maxOccurs="unbounded">
|
||||
</xsd:element>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="Note" minOccurs="0" type="dct:NoteType" maxOccurs="1" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="GetCapabilityResponse">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>Root element of Capability request
|
||||
</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="Response">
|
||||
<xsd:complexType>
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>Generic response header</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="ServiceHeader" type="ServiceHeader" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="BkgDetails" minOccurs="0" type="dct:BkgDetailsType" maxOccurs="1" />
|
||||
<xsd:element name="Srvs" minOccurs="0" maxOccurs="1">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="Srv" type="dct:SrvType" minOccurs="0" maxOccurs="unbounded">
|
||||
</xsd:element>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="Note" minOccurs="0" type="dct:NoteType" maxOccurs="1" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:complexType name="ServiceHeader">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>Standard routing header</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="MessageTime" type="xsd:dateTime" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>Time this message is sent</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="MessageReference" type="xsd:string" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>A string, peferably number, to uniquely identify individual messages. Minimum length must be 28 and maximum length is 32</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="SiteID" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:schema>
|
||||
47
fusion_shipping/api/dhl/wsdl/DCT-req_global-2.0.xsd
Normal file
47
fusion_shipping/api/dhl/wsdl/DCT-req_global-2.0.xsd
Normal file
@@ -0,0 +1,47 @@
|
||||
<?xml version="1.0"?>
|
||||
<xsd:schema targetNamespace="http://www.dhl.com" xmlns:dhl="http://www.dhl.com/datatypes_global" xmlns="http://www.dhl.com" xmlns:dct="http://www.dhl.com/DCTRequestdatatypes" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
elementFormDefault="unqualified">
|
||||
<xsd:import namespace="http://www.dhl.com/datatypes_global" schemaLocation="datatypes_global_v62.xsd" />
|
||||
<xsd:import namespace="http://www.dhl.com/DCTRequestdatatypes" schemaLocation="DCTRequestdatatypes_global.xsd" />
|
||||
<xsd:element name="DCTRequest">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:choice minOccurs="1" maxOccurs="1">
|
||||
<xsd:element name="GetQuote">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>Root element of Quote request
|
||||
</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="Request" type="dhl:Request" />
|
||||
<xsd:element name="From" type="dct:DCTFrom" minOccurs="1" />
|
||||
<xsd:element name="BkgDetails" minOccurs="1" type="dct:BkgDetailsType" />
|
||||
<xsd:element name="To" minOccurs="1" type="dct:DCTTo" />
|
||||
<xsd:element name="Dutiable" minOccurs="0" type="dct:DCTDutiable" />
|
||||
<xsd:element name="GenReq" minOccurs="0" type="dct:GenReq" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="GetCapability">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>Root element of Capability request
|
||||
</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="Request" type="dhl:Request" />
|
||||
<xsd:element name="From" type="dct:DCTFrom" minOccurs="1" />
|
||||
<xsd:element name="BkgDetails" minOccurs="1" type="dct:BkgDetailsType" />
|
||||
<xsd:element name="To" minOccurs="1" type="dct:DCTTo" />
|
||||
<xsd:element name="Dutiable" minOccurs="0" type="dct:DCTDutiable" />
|
||||
<xsd:element name="GenReq" minOccurs="0" type="dct:GenReq" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="schemaVersion" type="xsd:decimal" use="required" fixed="2.0" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
449
fusion_shipping/api/dhl/wsdl/DCTRequestdatatypes_global.xsd
Normal file
449
fusion_shipping/api/dhl/wsdl/DCTRequestdatatypes_global.xsd
Normal file
@@ -0,0 +1,449 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xsd:schema targetNamespace="http://www.dhl.com/DCTRequestdatatypes" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.dhl.com/DCTRequestdatatypes" elementFormDefault="unqualified"
|
||||
attributeFormDefault="unqualified">
|
||||
<xsd:element name="DCTRequestDataTypes">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>Comment describing your root element</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
|
||||
<xsd:complexType name="DCTFrom">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="CountryCode" minOccurs="1">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:length value="2" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="Postalcode" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:maxLength value="12" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="City" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:maxLength value="45" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="Suburb" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:maxLength value="45" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="BkgDetailsType">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="PaymentCountryCode" minOccurs="1">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:length value="2" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="Date" minOccurs="1">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:date" />
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="ReadyTime">
|
||||
<xsd:simpleType>
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>Time in hours and minutes (HH:MM)</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:restriction base="xsd:duration" />
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="ReadyTimeGMTOffset" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>
|
||||
Time in hours and minutes (HH:MM)
|
||||
</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:minLength value="0"></xsd:minLength>
|
||||
<xsd:maxLength value="6"></xsd:maxLength>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="DimensionUnit" minOccurs="1">
|
||||
<xsd:simpleType>
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>
|
||||
Dimension Unit I (inches);Centimeters (CM)
|
||||
</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:enumeration value="IN" />
|
||||
<xsd:enumeration value="CM" />
|
||||
<xsd:maxLength value="3"></xsd:maxLength>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="WeightUnit" minOccurs="1">
|
||||
<xsd:simpleType>
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>
|
||||
Kilogram (KG),Pounds (LB)
|
||||
</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:enumeration value="KG" />
|
||||
<xsd:enumeration value="LB" />
|
||||
<xsd:maxLength value="3"></xsd:maxLength>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="NumberOfPieces" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:positiveInteger">
|
||||
<xsd:minInclusive value="1" />
|
||||
<xsd:maxInclusive value="999" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="ShipmentWeight" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:decimal">
|
||||
<xsd:totalDigits value="15" />
|
||||
<xsd:fractionDigits value="3" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="Volume" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:decimal">
|
||||
<xsd:totalDigits value="15" />
|
||||
<xsd:fractionDigits value="3" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="MaxPieceWeight" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:decimal">
|
||||
<xsd:totalDigits value="15" />
|
||||
<xsd:fractionDigits value="3" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="MaxPieceHeight" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:decimal">
|
||||
<xsd:totalDigits value="10" />
|
||||
<xsd:fractionDigits value="3" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="MaxPieceDepth" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:decimal">
|
||||
<xsd:totalDigits value="10" />
|
||||
<xsd:fractionDigits value="3" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="MaxPieceWidth" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:decimal">
|
||||
<xsd:totalDigits value="10" />
|
||||
<xsd:fractionDigits value="3" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="Pieces" minOccurs="0">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="Piece" type="PieceType" maxOccurs="999" minOccurs="1">
|
||||
</xsd:element>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="PaymentAccountNumber" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
|
||||
<xsd:maxLength value="12"></xsd:maxLength>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="IsDutiable" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>
|
||||
Y - Dutiable/Non-Doc,
|
||||
N - Non-dutiable/Doc
|
||||
</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:length value="1" />
|
||||
<xsd:enumeration value="Y" />
|
||||
<xsd:enumeration value="N" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="NetworkTypeCode" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:length value="2" />
|
||||
<xsd:enumeration value="DD" />
|
||||
<xsd:enumeration value="TD" />
|
||||
<xsd:enumeration value="AL" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="QtdShp" minOccurs="0" maxOccurs="unbounded" type="QtdShpType" />
|
||||
<xsd:element name="InsuredValue" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:decimal">
|
||||
<xsd:totalDigits value="18" />
|
||||
<xsd:fractionDigits value="3" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="InsuredCurrency" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:length value="3"></xsd:length>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="PaymentType" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>Payment type - by method of payment ( DHL account)</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:enumeration value="D" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="AcctPickupCloseTime" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>Account's Pickup Close Time to be retrieved from GCDB or specified by customer</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:dateTime"/>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="DCTTo">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="CountryCode" minOccurs="1">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:length value="2" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="Postalcode" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:maxLength value="12" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="City" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:maxLength value="45" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="Suburb" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:maxLength value="45" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="DCTDutiable">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="DeclaredCurrency" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:length value="3" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="DeclaredValue" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:float">
|
||||
<xsd:minInclusive value="0.000" />
|
||||
<xsd:maxInclusive value="999999999999999999.999" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="PieceType">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="PieceID" minOccurs="1">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
|
||||
<xsd:pattern value="[0-9]+"></xsd:pattern>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="PackageTypeCode" default="BOX" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:length value="3" />
|
||||
<xsd:enumeration value="FLY" />
|
||||
<xsd:enumeration value="COY" />
|
||||
<xsd:enumeration value="NCY" />
|
||||
<xsd:enumeration value="PAL" />
|
||||
<xsd:enumeration value="DBL" />
|
||||
<xsd:enumeration value="BOX" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="Height" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>required if width and depth are specified</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:decimal">
|
||||
<xsd:totalDigits value="10" />
|
||||
<xsd:fractionDigits value="3" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="Depth" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>required if width and height are specified</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:decimal">
|
||||
<xsd:totalDigits value="10" />
|
||||
<xsd:fractionDigits value="3" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="Width" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>required if height and depth are specified</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:decimal">
|
||||
<xsd:totalDigits value="10" />
|
||||
<xsd:fractionDigits value="3" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="Weight" minOccurs="1">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:decimal">
|
||||
<xsd:totalDigits value="15" />
|
||||
<xsd:fractionDigits value="3" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="QtdShpType">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="GlobalProductCode" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:pattern value="[A-Z0-9]+"></xsd:pattern>
|
||||
<xsd:minLength value="0"></xsd:minLength>
|
||||
<xsd:maxLength value="6"></xsd:maxLength>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="LocalProductCode" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:minLength value="0"></xsd:minLength>
|
||||
<xsd:maxLength value="6"></xsd:maxLength>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
|
||||
<xsd:element name="QtdShpExChrg" minOccurs="0" maxOccurs="unbounded" type="QtdShpExChrgType">
|
||||
|
||||
</xsd:element>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="QtdShpExChrgType">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="SpecialServiceType" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:maxLength value="6"></xsd:maxLength>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="LocalSpecialServiceType" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:maxLength value="3"></xsd:maxLength>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="GenReq">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="OSINFO" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:length value="1" />
|
||||
<xsd:enumeration value="Y" />
|
||||
<xsd:enumeration value="N" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="NXTPU" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:length value="1" />
|
||||
<xsd:enumeration value="Y" />
|
||||
<xsd:enumeration value="N" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="FCNTWTYCD" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:length value="2" />
|
||||
<xsd:enumeration value="DD" />
|
||||
<xsd:enumeration value="TD" />
|
||||
<xsd:enumeration value="AL" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="CUSTAGRIND" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:length value="1" />
|
||||
<xsd:enumeration value="Y" />
|
||||
<xsd:enumeration value="N" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="VLDTRT_DD" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:length value="1" />
|
||||
<xsd:enumeration value="Y" />
|
||||
<xsd:enumeration value="N" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:schema>
|
||||
876
fusion_shipping/api/dhl/wsdl/DCTResponsedatatypes_global.xsd
Normal file
876
fusion_shipping/api/dhl/wsdl/DCTResponsedatatypes_global.xsd
Normal file
@@ -0,0 +1,876 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xsd:schema targetNamespace="http://www.dhl.com/DCTResponsedatatypes" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.dhl.com/DCTResponsedatatypes" elementFormDefault="unqualified"
|
||||
attributeFormDefault="unqualified">
|
||||
<xsd:element name="DCTResponseDataTypes">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>Comment describing your root element
|
||||
</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
|
||||
<xsd:complexType name="OrgnSvcAreaType">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="FacilityCode" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:length value="3" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="ServiceAreaCode" minOccurs="1">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:length value="3" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="DestSvcAreaType">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="FacilityCode" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:length value="3" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="ServiceAreaCode" minOccurs="1">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:length value="3" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="BkgDetailsType">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="QtdShp" minOccurs="0" maxOccurs="unbounded" type="QtdShpType" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="SrvCombType">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="GlobalServiceName" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:length value="45" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="GlobalServiceCode" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:length value="6" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="LocalServiceCode" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:length value="3" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="LocalServiceTypeName" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:length value="45" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="ChargeCodeType" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:length value="3" />
|
||||
<xsd:enumeration value="FEE" />
|
||||
<xsd:enumeration value="SCH" />
|
||||
<xsd:enumeration value="XCH" />
|
||||
<xsd:enumeration value="NRI" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="SOfferedCustAgreement" minOccurs="1">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:length value="1" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="SrvComb" minOccurs="0">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="Prod" minOccurs="0" type="ProdType" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="ProdType">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="VldSrvComb" minOccurs="0" maxOccurs="unbounded">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="SpecialServiceType" type="xsd:string" minOccurs="0" maxOccurs="1">
|
||||
</xsd:element>
|
||||
<!-- xsd:element name="VldMrkSrvComb" minOccurs="0" maxOccurs="unbounded"> <xsd:complexType> <xsd:sequence> <xsd:element name="LocalChargeCode" type="xsd:string" minOccurs="0" maxOccurs="1"> </xsd:element>
|
||||
</xsd:sequence> </xsd:complexType> </xsd:element -->
|
||||
<xsd:element name="LocalServiceType" type="xsd:string" minOccurs="0" maxOccurs="unbounded">
|
||||
</xsd:element>
|
||||
<xsd:element name="CombRSrv" minOccurs="0" maxOccurs="unbounded">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="RestrictedSpecialServiceType" minOccurs="0" type="xsd:string" maxOccurs="1">
|
||||
</xsd:element>
|
||||
<xsd:element name="RestrictedLocalServiceType" type="xsd:string" minOccurs="0" maxOccurs="unbounded" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="TotalDiscount" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:length value="1" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="NoteType">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="ActionStatus" type="xsd:string" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="Condition" minOccurs="0" maxOccurs="unbounded">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="ConditionCode" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:minLength value="0"></xsd:minLength>
|
||||
<xsd:maxLength value="10"></xsd:maxLength>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="ConditionData" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="QtdShpExChrgType">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="SpecialServiceType" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:maxLength value="6"></xsd:maxLength>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="LocalServiceType" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:maxLength value="3"></xsd:maxLength>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="GlobalServiceName" type="xsd:string" minOccurs="0" maxOccurs="1">
|
||||
</xsd:element>
|
||||
<xsd:element name="LocalServiceTypeName" type="xsd:string" minOccurs="0" maxOccurs="1">
|
||||
</xsd:element>
|
||||
<xsd:element name="SOfferedCustAgreement" type="xsd:string" minOccurs="0" maxOccurs="1" />
|
||||
<xsd:element name="ChargeCodeType" type="xsd:string" minOccurs="0"></xsd:element>
|
||||
<xsd:element name="InsPrmRateInPercentage" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:decimal">
|
||||
<xsd:totalDigits value="8" />
|
||||
<xsd:fractionDigits value="4" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="CurrencyCode" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:length value="3" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="ChargeValue" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:decimal">
|
||||
<xsd:totalDigits value="18" />
|
||||
<xsd:fractionDigits value="3" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="ChargeTaxAmount" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:decimal">
|
||||
<xsd:totalDigits value="18" />
|
||||
<xsd:fractionDigits value="3" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="ChargeTaxRate" minOccurs="0" maxOccurs="unbounded">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:decimal">
|
||||
<xsd:totalDigits value="6" />
|
||||
<xsd:fractionDigits value="3" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<!-- Added for Brazil DCT change -->
|
||||
<xsd:element name="ChargeTaxAmountDet" minOccurs="0" type="ChargeTaxAmountDetType" maxOccurs="unbounded" />
|
||||
<xsd:element name="QtdSExtrChrgInAdCur" minOccurs="0" type="QtdSExtrChrgInAdCurType" maxOccurs="unbounded" />
|
||||
<!-- Added for Brazil DCT change -->
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<!-- Start:Added for Brazil DCT changes -->
|
||||
<xsd:complexType name="WeightChargeTaxDetType">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="TaxTypeRate" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:decimal">
|
||||
<xsd:totalDigits value="8" />
|
||||
<xsd:fractionDigits value="6" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="TaxTypeCode" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:maxLength value="6"></xsd:maxLength>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="WeightChargeTax" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:decimal">
|
||||
<xsd:totalDigits value="18" />
|
||||
<xsd:fractionDigits value="3" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="BaseAmt" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:decimal">
|
||||
<xsd:totalDigits value="18" />
|
||||
<xsd:fractionDigits value="3" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="ChargeTaxAmountDetType">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="TaxTypeRate" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:decimal">
|
||||
<xsd:totalDigits value="8" />
|
||||
<xsd:fractionDigits value="6" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="TaxTypeCode" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:maxLength value="6"></xsd:maxLength>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="TaxAmount" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:decimal">
|
||||
<xsd:totalDigits value="18" />
|
||||
<xsd:fractionDigits value="3" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="BaseAmount" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:decimal">
|
||||
<xsd:totalDigits value="18" />
|
||||
<xsd:fractionDigits value="3" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="QtdSInAdCurType">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="CustomsValue" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:decimal">
|
||||
<xsd:totalDigits value="18" />
|
||||
<xsd:fractionDigits value="3" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="ExchangeRate" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:decimal">
|
||||
<xsd:totalDigits value="18" />
|
||||
<xsd:fractionDigits value="6" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="CurrencyCode" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:length value="3" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="CurrencyRoleTypeCode" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:length value="5" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="WeightCharge" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:decimal">
|
||||
<xsd:totalDigits value="18" />
|
||||
<xsd:fractionDigits value="3" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="TotalAmount" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:decimal">
|
||||
<xsd:totalDigits value="18" />
|
||||
<xsd:fractionDigits value="3" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="TotalTaxAmount" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:decimal">
|
||||
<xsd:totalDigits value="18" />
|
||||
<xsd:fractionDigits value="3" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="WeightChargeTax" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:decimal">
|
||||
<xsd:totalDigits value="18" />
|
||||
<xsd:fractionDigits value="3" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="WeightChargeTaxDet" minOccurs="0" type="WeightChargeTaxDetType" maxOccurs="unbounded" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="QtdSExtrChrgInAdCurType">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="ChargeValue" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:decimal">
|
||||
<xsd:totalDigits value="18" />
|
||||
<xsd:fractionDigits value="3" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="ChargeExchangeRate" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:decimal">
|
||||
<xsd:totalDigits value="18" />
|
||||
<xsd:fractionDigits value="6" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="ChargeTaxAmount" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:decimal">
|
||||
<xsd:totalDigits value="18" />
|
||||
<xsd:fractionDigits value="3" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="ChargeTaxRate" minOccurs="0" maxOccurs="unbounded">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:decimal">
|
||||
<xsd:totalDigits value="6" />
|
||||
<xsd:fractionDigits value="3" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="CurrencyCode" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:length value="3" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="CurrencyRoleTypeCode" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:length value="5" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="ChargeTaxAmountDet" minOccurs="0" type="ChargeTaxAmountDetType" maxOccurs="unbounded" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<!-- End:Added for Brazil DCT changes -->
|
||||
<xsd:complexType name="QtdShpType">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="OriginServiceArea" minOccurs="1" maxOccurs="1" type="OrgnSvcAreaType" />
|
||||
<xsd:element name="DestinationServiceArea" minOccurs="1" maxOccurs="1" type="DestSvcAreaType" />
|
||||
<xsd:element name="GlobalProductCode" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:maxLength value="6"></xsd:maxLength>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="LocalProductCode" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:maxLength value="3"></xsd:maxLength>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
|
||||
<xsd:element name="ProductShortName" type="xsd:string" minOccurs="0" maxOccurs="1">
|
||||
</xsd:element>
|
||||
<xsd:element name="LocalProductName" type="xsd:string" minOccurs="0" maxOccurs="1">
|
||||
</xsd:element>
|
||||
<xsd:element name="NetworkTypeCode" type="xsd:string" minOccurs="0" maxOccurs="1">
|
||||
</xsd:element>
|
||||
<xsd:element name="POfferedCustAgreement" type="xsd:string" minOccurs="0" maxOccurs="1">
|
||||
</xsd:element>
|
||||
<xsd:element name="TransInd" type="xsd:string" minOccurs="0" maxOccurs="1"></xsd:element>
|
||||
<xsd:element name="PickupDate" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:date" />
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="PickupCutoffTime" type="xsd:string" minOccurs="0" maxOccurs="1"></xsd:element>
|
||||
<xsd:element name="BookingTime" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>
|
||||
Booking Time
|
||||
</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:restriction base="xsd:duration" />
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="CurrencyCode" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:length value="3" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="ExchangeRate" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:decimal">
|
||||
<xsd:totalDigits value="18" />
|
||||
<xsd:fractionDigits value="6" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="WeightCharge" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:decimal">
|
||||
<xsd:totalDigits value="18" />
|
||||
<xsd:fractionDigits value="3" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="WeightChargeTax" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:decimal">
|
||||
<xsd:totalDigits value="18" />
|
||||
<xsd:fractionDigits value="3" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="weightChargeTaxRate" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:decimal">
|
||||
<xsd:totalDigits value="6" />
|
||||
<xsd:fractionDigits value="3" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="TotalTransitDays" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:int"></xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="PickupPostalLocAddDays" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:int"></xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="DeliveryPostalLocAddDays" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:int"></xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="PickupNonDHLCourierCode" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:length value="1" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="DeliveryNonDHLCourierCode" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:length value="1" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="DeliveryDate" minOccurs="0" maxOccurs="unbounded" type="DeliveryDate" />
|
||||
<xsd:element name="DeliveryTime" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>
|
||||
Delivery Time
|
||||
</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:restriction base="xsd:duration" />
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="DeliveryTimeGMTOffset" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>
|
||||
Delivery Time GMT Offset
|
||||
</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:maxLength value="6" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="DimensionalWeight" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:decimal">
|
||||
<xsd:totalDigits value="15" />
|
||||
<xsd:fractionDigits value="3" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="WeightUnit" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:maxLength value="3"></xsd:maxLength>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="PickupDayOfWeekNum" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:length value="1" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="DestinationDayOfWeekNum" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:length value="1" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="QuotedWeight" type="QuotedWeight" minOccurs="0" />
|
||||
<xsd:element name="QuotedWeightUOM" type="QuotedWeightUOM" minOccurs="0" />
|
||||
<xsd:element name="QtdShpExChrg" minOccurs="0" type="QtdShpExChrgType" maxOccurs="unbounded" />
|
||||
<xsd:element name="PricingDate" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:date" />
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="ShippingCharge" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:decimal">
|
||||
<xsd:totalDigits value="18" />
|
||||
<xsd:fractionDigits value="3" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="TotalTaxAmount" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:decimal">
|
||||
<xsd:totalDigits value="18" />
|
||||
<xsd:fractionDigits value="3" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="TotalDiscount" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:decimal">
|
||||
<xsd:totalDigits value="18" />
|
||||
<xsd:fractionDigits value="3" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<!-- Added for Brazil DCT changes -->
|
||||
<xsd:element name="QtdSInAdCur" minOccurs="0" type="QtdSInAdCurType" maxOccurs="unbounded" />
|
||||
<xsd:element name="WeightChargeTaxDet" minOccurs="0" type="WeightChargeTaxDetType" maxOccurs="unbounded" />
|
||||
<!-- End : Added for Brazil DCT changes -->
|
||||
|
||||
<xsd:element name="PickupWindowEarliestTime" minOccurs="1">
|
||||
<xsd:simpleType>
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>Pickup window start time</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:restriction base="xsd:string" />
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="PickupWindowLatestTime" minOccurs="1">
|
||||
<xsd:simpleType>
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>Pickup window end time</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:restriction base="xsd:string" />
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="BookingCutoffOffset" minOccurs="1">
|
||||
<xsd:simpleType>
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>Booking cut off time offset</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:restriction base="xsd:string" />
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="PickupLeadTime" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:length value="1" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="PickupCloseTime" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:length value="1" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="WeightChargeDisc" minOccurs="0" type="WeightChargeDisc" maxOccurs="unbounded" />
|
||||
<xsd:element name="QtdShpExChrgDisc" minOccurs="0" type="QtdShpExChrgDisc" maxOccurs="unbounded" />
|
||||
<!-- <xsd:element name="QtdShpExChrg" minOccurs="0" type="QtdShpExChrg" /> -->
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:simpleType name="QuotedWeight">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>Weight of piece or shipment</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:restriction base="xsd:decimal">
|
||||
<xsd:fractionDigits value="3" />
|
||||
<xsd:minInclusive value="0.000" />
|
||||
<xsd:maxInclusive value="999999.999" />
|
||||
<xsd:totalDigits value="10" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
|
||||
<xsd:simpleType name="QuotedWeightUOM">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>WeightUOM</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:minLength value="1" />
|
||||
<xsd:maxLength value="3" />
|
||||
<xsd:enumeration value="KG" />
|
||||
<xsd:enumeration value="Lbs" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
|
||||
<xsd:complexType name="MrkSrvType">
|
||||
<xsd:sequence>
|
||||
<xsd:choice>
|
||||
<xsd:element name="LocalProductCode" type="xsd:string" minOccurs="0" maxOccurs="1" />
|
||||
<xsd:element name="LocalServiceType" type="xsd:string" minOccurs="0" maxOccurs="1" />
|
||||
</xsd:choice>
|
||||
<xsd:choice>
|
||||
<xsd:element name="ProductShortName" type="xsd:string" minOccurs="0" maxOccurs="1" />
|
||||
<xsd:element name="GlobalServiceName" type="xsd:string" minOccurs="0" maxOccurs="1" />
|
||||
</xsd:choice>
|
||||
<xsd:choice>
|
||||
<xsd:element name="LocalProductName" type="xsd:string" minOccurs="0" maxOccurs="1" />
|
||||
<xsd:element name="LocalServiceTypeName" type="xsd:string" minOccurs="0" maxOccurs="1" />
|
||||
</xsd:choice>
|
||||
<xsd:choice>
|
||||
<!-- Added for Brazil DCT change -->
|
||||
<xsd:element name="ProductDesc" type="xsd:string" minOccurs="0" maxOccurs="1" />
|
||||
<xsd:element name="ServiceDesc" type="xsd:string" minOccurs="0" maxOccurs="1" />
|
||||
</xsd:choice>
|
||||
<!-- Added for Brazil DCT change -->
|
||||
<xsd:element name="NetworkTypeCode" type="xsd:string" minOccurs="0" maxOccurs="1">
|
||||
</xsd:element>
|
||||
<xsd:choice>
|
||||
<xsd:element name="POfferedCustAgreement" type="xsd:string" minOccurs="0" maxOccurs="1" />
|
||||
<xsd:element name="SOfferedCustAgreement" type="xsd:string" minOccurs="0" maxOccurs="1" />
|
||||
</xsd:choice>
|
||||
<xsd:element name="TransInd" type="xsd:string" minOccurs="0" maxOccurs="1">
|
||||
</xsd:element>
|
||||
<xsd:element name="ChargeCodeType" type="xsd:string" minOccurs="0" maxOccurs="unbounded">
|
||||
</xsd:element>
|
||||
<!--Start: Added for Brazil DCT change -->
|
||||
<xsd:element name="MrkSrvInd" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:length value="1" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<!--End: Added for Brazil DCT change -->
|
||||
<xsd:element name="LocalProductCtryCd" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:length value="2" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="LocalProductDesc" type="xsd:string" minOccurs="0" maxOccurs="1" />
|
||||
<xsd:element name="GlobalProductDesc" type="xsd:string" minOccurs="0" maxOccurs="1" />
|
||||
<xsd:element name="GlobalServiceType" type="xsd:string" minOccurs="0" maxOccurs="1" />
|
||||
<xsd:element name="BillingServiceIndicator" type="xsd:string" minOccurs="0" maxOccurs="1" />
|
||||
<xsd:element name="LocalServiceName" type="xsd:string" minOccurs="0" maxOccurs="1" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="ProdNtwrkType">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="NetworkTypeCode" minOccurs="1">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:length value="2" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="SrvType">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="GlobalProductCode" type="xsd:string" minOccurs="1" maxOccurs="1">
|
||||
</xsd:element>
|
||||
<xsd:element name="MrkSrv" type="MrkSrvType" minOccurs="0" maxOccurs="unbounded">
|
||||
</xsd:element>
|
||||
<xsd:element name="SBTP" type="SBTPType" minOccurs="0" maxOccurs="1"></xsd:element>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="SBTPType">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="Prod" type="ProdType" minOccurs="0" maxOccurs="1"></xsd:element>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="DeliveryDate">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="DeliveryType" type="xsd:string" minOccurs="0" maxOccurs="1" />
|
||||
<xsd:element name="DlvyDateTime" type="xsd:string" minOccurs="0" maxOccurs="1" />
|
||||
<xsd:element name="DeliveryDateTimeOffset" type="xsd:string" minOccurs="0" maxOccurs="1" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="WeightChargeDisc">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="DiscAmt" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:decimal">
|
||||
<xsd:totalDigits value="18" />
|
||||
<xsd:fractionDigits value="3" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="BaseAmount" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:decimal">
|
||||
<xsd:totalDigits value="18" />
|
||||
<xsd:fractionDigits value="3" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="CurrencyCode" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:length value="3" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="DiscType" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:length value="1" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="DiscPercentage" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:decimal">
|
||||
<xsd:totalDigits value="18" />
|
||||
<xsd:fractionDigits value="3" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="QtdShpExChrgDisc">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="DiscAmt" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:length value="5" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="BaseAmt" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:decimal">
|
||||
<xsd:totalDigits value="18" />
|
||||
<xsd:fractionDigits value="3" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="CurrencyCode" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:length value="3" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="CurrencyRoleTypeCode" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:length value="5" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="DiscPercentage" minOccurs="0">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:decimal">
|
||||
<xsd:totalDigits value="18" />
|
||||
<xsd:fractionDigits value="3" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
|
||||
</xsd:schema>
|
||||
2660
fusion_shipping/api/dhl/wsdl/datatypes.xsd
Normal file
2660
fusion_shipping/api/dhl/wsdl/datatypes.xsd
Normal file
File diff suppressed because it is too large
Load Diff
4596
fusion_shipping/api/dhl/wsdl/datatypes_global_v10.xsd
Normal file
4596
fusion_shipping/api/dhl/wsdl/datatypes_global_v10.xsd
Normal file
File diff suppressed because it is too large
Load Diff
2470
fusion_shipping/api/dhl/wsdl/datatypes_global_v62.xsd
Normal file
2470
fusion_shipping/api/dhl/wsdl/datatypes_global_v62.xsd
Normal file
File diff suppressed because it is too large
Load Diff
18
fusion_shipping/api/dhl/wsdl/err-res.xsd
Normal file
18
fusion_shipping/api/dhl/wsdl/err-res.xsd
Normal file
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xsd:schema targetNamespace="http://www.dhl.com"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.dhl.com"
|
||||
xmlns:dhl="http://www.dhl.com/datatypes_global" elementFormDefault="unqualified">
|
||||
<xsd:import namespace="http://www.dhl.com/datatypes_global"
|
||||
schemaLocation="datatypes_global_v62.xsd" />
|
||||
<xsd:element name="ErrorResponse">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>Generic error response root element
|
||||
</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="Response" type="dhl:ErrorResponse" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
9
fusion_shipping/api/dhl/wsdl/rate.wsdl
Normal file
9
fusion_shipping/api/dhl/wsdl/rate.wsdl
Normal file
@@ -0,0 +1,9 @@
|
||||
<definitions name="Ship" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:ns="http://www.dhl.com" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="http://www.dhl.com">
|
||||
<types>
|
||||
<xsd:schema>
|
||||
<xsd:import namespace="http://www.dhl.com" schemaLocation="DCT-req_global-2.0.xsd"/>
|
||||
<xsd:import namespace="http://www.dhl.com" schemaLocation="DCT-Response_global-2.0.xsd"/>
|
||||
<xsd:import namespace="http://www.dhl.com" schemaLocation="err-res.xsd"/>
|
||||
</xsd:schema>
|
||||
</types>
|
||||
</definitions>
|
||||
10
fusion_shipping/api/dhl/wsdl/ship-10.0.wsdl
Normal file
10
fusion_shipping/api/dhl/wsdl/ship-10.0.wsdl
Normal file
@@ -0,0 +1,10 @@
|
||||
<definitions name="Ship" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:ns="http://www.dhl.com" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="http://www.dhl.com">
|
||||
<types>
|
||||
<xsd:schema>
|
||||
<xsd:import namespace="http://www.dhl.com" schemaLocation="ship-val-global-req-10.0.xsd"/>
|
||||
<xsd:import namespace="http://www.dhl.com" schemaLocation="ship-val-global-res-10.0.xsd"/>
|
||||
<xsd:import namespace="http://www.dhl.com" schemaLocation="ship-val-err-res-10.0.xsd"/>
|
||||
<xsd:import namespace="http://www.dhl.com" schemaLocation="err-res.xsd"/>
|
||||
</xsd:schema>
|
||||
</types>
|
||||
</definitions>
|
||||
19
fusion_shipping/api/dhl/wsdl/ship-val-err-res-10.0.xsd
Normal file
19
fusion_shipping/api/dhl/wsdl/ship-val-err-res-10.0.xsd
Normal file
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xsd:schema targetNamespace="http://www.dhl.com"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.dhl.com"
|
||||
xmlns:dhl="http://www.dhl.com/datatypes" elementFormDefault="unqualified">
|
||||
<xsd:import namespace="http://www.dhl.com/datatypes"
|
||||
schemaLocation="datatypes.xsd" />
|
||||
|
||||
<xsd:element name="ShipmentValidateErrorResponse">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>Shipment Validation error response root element
|
||||
</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="Response" type="dhl:ErrorResponse" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
212
fusion_shipping/api/dhl/wsdl/ship-val-global-req-10.0.xsd
Normal file
212
fusion_shipping/api/dhl/wsdl/ship-val-global-req-10.0.xsd
Normal file
@@ -0,0 +1,212 @@
|
||||
<?xml version="1.0"?>
|
||||
<xsd:schema xmlns:dhl="http://www.dhl.com/datatypes_global" xmlns="http://www.dhl.com" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.dhl.com" elementFormDefault="unqualified">
|
||||
<xsd:import namespace="http://www.dhl.com/datatypes_global" schemaLocation="datatypes_global_v10.xsd"/>
|
||||
<xsd:element name="ShipmentRequest">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>Root element of Shipment Validation Global request</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="Request" type="dhl:Request">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The element contains the header information for the message. It is present in both the request and response XML message. The request element contains a complex data type Service Header</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="RegionCode" type="dhl:RegionCode" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The RegionCode element indicates the shipment to be route to the specific region eCom backend. It is a optional field. The valid values are AP, EU and AM</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="RequestedPickupTime" type="dhl:YesNo" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The RequestedPickupTime element indicates whether a pickup time is requested or not. It is a mandatory field. The valid vaues are Y (Yes) and N (No). If the value equals to Y, eCom Backend will return ReadyByTime and CallInTime, which query based on Postcode or City name. This logic only applicable for AM region</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="LanguageCode" type="dhl:LanguageCode" default="en">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>LanguageCode element contains the ISO language code used by the requestor. This element should be declared once in the Shipment validation request message</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="LatinResponseInd" type="dhl:YesNo" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The LatinResponseInd element contains the indication from user whether the response xml will be transliterated to Latin characters. Currently, it is only workable for Cyrillic configured countries</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="Billing" type="dhl:Billing">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The Billing element contains the billing information of the shipment</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="Consignee" type="dhl:Consignee">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>Consignee element contains the details of the Consignee (Receiver of the shipment). This element should be declared once in the shipment validation request message</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="Commodity" type="dhl:Commodity" minOccurs="0" maxOccurs="unbounded">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The commodity element identifies the commodity or commodities being shipped. This element should be declared once in the shipment validation request message</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="Dutiable" type="dhl:Dutiable" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>For non-domestic shipments, the Dutiable element provides information which defines the types of duties to be levied</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="UseDHLInvoice" type="dhl:YesNo" minOccurs="0" default="N">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>UseDHLInvoice element is an optional field. By providing UseDHLInvoice field value of ‘Y’, Shipment Validation service will generate DHL Custom Invoice image. With value of ‘N’, this means customer will use their own custom invoice for shipment</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="DHLInvoiceLanguageCode" type="dhl:InvLanguageCode" minOccurs="0" default="en">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>DHLInvoiceLanguageCode element is an optional field. This field indicates the DHL custom invoice language code. Default language code is en (English)</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="DHLInvoiceType" type="dhl:InvoiceType" minOccurs="0" default="CMI">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>DHLInvoiceType element is an optional field. This field indicates the DHL Custom Invoice type. CMI for Commercial Invoice and PFI for Proforma Invoice</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="ExportDeclaration" type="dhl:ExportDeclaration" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>For non-domestic shipments, the ExportDeclaration element provides information which is used to aid in the export of a shipment</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="Reference" type="dhl:Reference" minOccurs="0" maxOccurs="unbounded">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>This element identifies the reference information. It is an optional field in the shipment validation request. Only the first reference will be taken currently</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="ShipmentDetails" type="dhl:ShipmentDetails">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The ShipmentDetails element contains the details of the shipment. It must be declared once in the request message</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="Shipper" type="dhl:Shipper">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>Shipper element contains the details of the Shipper. This element should be declared once in the Shipment validation Request message</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="SpecialService" type="dhl:SpecialService" minOccurs="0" maxOccurs="10">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The SpecialService Element provides various special services for the shipment. It is an optional field. Please refer to the Reference Data and use appropriate Service codes enabled for the Country/Region</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="Notification" type="dhl:Notification" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The Notification element contains the notification address and customized message to the designated recipient address for the shipment</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="Place" type="dhl:Place" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The place element contains the address from the shipment has to be picked. This element should be declared once in the request message</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="EProcShip" type="dhl:YesNo" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The EProcShip element indicates whether shipment has to generate waybill or not. It is an optional field. Its value is either Y (Yes – For not generating the waybill and not manifest the shipment) or N (No – To generate the waybill)</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="Airwaybill" type="dhl:AWBNumber" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The Airwaybill element indicates the waybill number of the Paperless Trade (PLT) shipment that will be used for Image Upload service. Note: This is only applicable for Image Upload service</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="DocImages" type="dhl:DocImages" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The DocImages element indicates Paperless Trade (PLT) shipment related Commercial Invoice or other supporting document images</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="LabelImageFormat" type="dhl:LabelImageFormat" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The LabelImageFormat element indicates to receive the GLS’s generated Transport label and Archive document image in Shipment Validation response XML for the required output format that supported by GLS</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="RequestArchiveDoc" type="dhl:YesNo" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The RequestArchiveDoc element indicates to receive the GLS’s generated Archive document image in Shipment Validation response XML for the required output format that supported by GLS. With value of ‘Y’, Archive document image will be returned to Shipment Validation response XML if LabelImageFormat element is defined</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="NumberOfArchiveDoc" type="dhl:NumberOfArchiveDoc" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The NumberOfArchiveDoc element indicates the number of archive doc that user wants to generate. With value of ‘1’, one archive document image will be returned to Shipment Validation response XML. With value of ‘2’, two archive document image will be returned</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="RequestQRCode" type="dhl:YesNo" default="N" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The RequestQRCode element indicates for labelless shipment that user wants to generate the QR code. With value of 'Y', it will return the QR code in Shipment Validation response XML. With value of 'N', it will not return QR code in Shipment Validation response XML.</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="RequestTransportLabel" type="dhl:YesNo" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The RequestTransportLabel element indicates whether user wants to generate the Transport Label. With value of 'Y', it will return the Transport Label in Shipment Validation response XML. With value of 'N', it will not return Transport Label in Shipment Validation response XML.The RequestTransportLabel element is an optional value to request for Transport Label. This element can be set as N only when requesting for a QRCode in the Shipment Validation response if RequestQRCode = Y ).</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="Label" type="dhl:Label" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The Label element defines the required label template, customer’s logo image plus image format, and DPI resolution</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="ODDLinkReq" type="dhl:YesNo" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The ODDLinkReq element indicates to receive the URL link for On Demand Delivery (ODD) page for the specified Waybill number, Shipper Account Number, Origin Service Area Code and Destination Service Area Code in Shipment Validation response XML. With value of ‘Y’, URL link for On Demand Delivery (ODD) page will be returned to Shipment Validation response XML if ODDLinkReq element is defined</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="DGs" type="dhl:DGs" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The DGs element defines the details of the Dangerous Goods items that included in shipment</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="GetPriceEstimate" type="dhl:YesNo" minOccurs="0" default="Y">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The GetPriceEstimate element is the option for retrieving the product capability or/and estimatd tariff for the given origin, destination and shipment details. Default option is Yes (Y)</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="SinglePieceImage" type="dhl:YesNo" default="N" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>SinglePieceImage element is the option is generate the Transport Label and Waybill Document in single piece output.</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="ShipmentIdentificationNumber" type="dhl:AWBNumber" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The shipment identification number does not need to be transmitted in the request as the operation will assign a new number and return it in the response. Only used when UseOwnShipmentdentificationNumber set to Y and this feature enabled within customer profile.</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="UseOwnShipmentIdentificationNumber" default="N" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>Customer able to provide SID if set to Y. The default is N.
|
||||
Y or 1 = allows you to define your own AWB in the tag above N or 0 = Auto-allocates the AWB from DHL Express</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:maxLength value="1"/>
|
||||
<xsd:enumeration value="Y"/>
|
||||
<xsd:enumeration value="N"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="Importer" type="dhl:Importer" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>Party that makes (or on whose behalf an agent or broker makes) the import declaration, and who is liable for the payment of duties (if any) on the imported goods. Normally, this party is named either as the consignee in the shipping documents and/or as the buyer in the exporter's invoice.></xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="Exporter" type="dhl:Exporter" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The party who is responsible for the legality of the shipment under applicable export control laws, which includes determining the proper export classification and authorization needed to ship the Items.The Exporter is usually the party who controls the transaction, acts as declarant in its own name and provides the corresponding instructions for the export, regardless of who files the export declaration. The Exporter may or may not be the Shipper.></xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="Seller" type="dhl:Seller" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The party that makes, offers or contracts to make a sale to an actual or potential buyer. Also called vendor.</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="Payer" type="dhl:Payer" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The party responsible for the full or partial payment of associated charges/cost. There can be many payers related to the different elements linked to a Shipment (e.g Services, fiscal charges).</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="schemaVersion" type="xsd:decimal" use="required" fixed="10.0"/>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
341
fusion_shipping/api/dhl/wsdl/ship-val-global-res-10.0.xsd
Normal file
341
fusion_shipping/api/dhl/wsdl/ship-val-global-res-10.0.xsd
Normal file
@@ -0,0 +1,341 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.dhl.com" xmlns:dhl="http://www.dhl.com/datatypes_global" targetNamespace="http://www.dhl.com" elementFormDefault="unqualified">
|
||||
<xsd:import namespace="http://www.dhl.com/datatypes_global" schemaLocation="datatypes_global_v10.xsd"/>
|
||||
<xsd:element name="ShipmentResponse">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>Shipment Validation Global response root element</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="Response" type="dhl:Response">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The element contains the header information for the message. It is present in both the request and response XML message. The response element contains a complex datatype ServiceHeader</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="RegionCode" type="dhl:RegionCode">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The RegionCode element indicates the shipment transaction originated from which region</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="Note" type="dhl:Note">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The Note element is a complex element which consists of two child elements “ActionNote” and “Condition” element. The Note element is returned by the backend service while processing the Shipment validation request. The element is a mandatory element</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="AirwayBillNumber" type="dhl:AWBNumber">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The AirwayBillNumber element contains the DHL defines 10-digit waybill number. It is a mandatory field in the shipment validation response. If shipment validation request is successful, this is the actual waybill number assigned to the shipment</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="DHLInvoiceLanguageCode" type="dhl:InvLanguageCode" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The DHLInvoiceLanguageCode identifies the Invoice Language code. It is a optional field</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="DHLInvoiceType" type="dhl:InvoiceType" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The DHLInvoiceType element identifies the type of invoice. It is a optional field</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="BillingCode" type="dhl:BillCode" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The BillingCode element identifies how the shipment is billed. It is a optional field</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="CurrencyCode" type="dhl:CurrencyCode">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The CurrencyCode element identifies the shipment is billed in which currency</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="CourierMessage" type="dhl:CourierMsg" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The CourierMessage element contains the courier message. It is an optional field</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="DestinationServiceArea" type="dhl:DestinationServiceArea">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The DestinationServiceArea element contains the information of the shipment’s destination along with the facility code and the inbound sort code information</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="OriginServiceArea" type="dhl:OriginServiceArea">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The OriginServiceArea element contains the information of the shipment’s origin along with the outbound sort code info</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="PackageCharge" type="dhl:Money" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The PackageCharge element contains the package charge of the shipment. It is an optional field</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="Rated" type="dhl:YesNo">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The Rated element indicates whether shipment is rated or not. It is a mandatory field. Its value is either Y (Yes) or N (No). “N” indicates that no rates could be retrieved for the given search criteria. Value will be “N” for third party or receiver payment type. “N” value when shipper is payer indicates that rates could not be obtained because of system configuration or availability reasons</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="ShippingCharge" type="dhl:Money" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The ShipmentCharge element contains the shipment charge for the shipment. It is an optional field. This field will be filled if rated is ‘Y’</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="ShipmentCharges" type="dhl:ShipmentCharges" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The shipmentcharges element consist of shipment details shipment charges. This element is optional</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="WeightUnit">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The WeightUnit element contains the unit by which the shipment weight is measured. It is a mandatory field</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:minLength value="0"/>
|
||||
<xsd:maxLength value="1"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="ChargeableWeight" type="dhl:Weight" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The ChargeableWeight element contains the weight that is used to calculate shipment charge. This is an optional field</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="DimensionalWeight" type="dhl:Weight" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The DimensionalWeight element contains the dimensional weight of the shipment. It is an optional field</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="ReadyByTime" type="dhl:TimeHM" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The ReadyByTime element indicates the ready by time of the shipment</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="PickupCharge" type="dhl:Money" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The PickupCharge element indicates pick up charges of the shipment</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="CallInTime" type="dhl:TimeHM" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The CallInTime indicates the Callin time of the shipment</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="DaysAdvanceNotice" type="dhl:AdvanceDaysNotice" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The DaysAdvanceNotice element indicates the advance days notice required for the shipment</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="ConversionRate" type="dhl:Money" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The ConversionRate indicates the conversion rate of the shipment if any</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="CountryCode" type="dhl:CountryCode">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>Its value should be valid DHL Country/Region code. This element must be declared once in the response element. Please refer to the Reference Data (DHL Country/Region) for Country/Region codes</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="Barcodes">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The Barcodes element contains the Barcode images for construction of Waybill and DHL Routing barcode. It is a mandatory field</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="AWBBarCode" type="dhl:BarCode">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>Air Waybill Barcode</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="OriginDestnBarcode" type="dhl:BarCode">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>Origin Destination Barcode</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="ClientIDBarCode" type="dhl:BarCode" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>Client ID Barcode</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="BarCode2D" type="dhl:BarCode" minOccurs="0" maxOccurs="1">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>Barcode 2D</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="DHLRoutingBarCode" type="dhl:BarCode" minOccurs="0" maxOccurs="1">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>DHL Routing Barcode</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="Piece" type="xsd:positiveInteger" minOccurs="0"> <!-- Manually added minOccurs="0" - GOA -->
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>No of pieces contained in shipment</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="Contents" type="xsd:string">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The contents element contains the shipment content description. It is a mandatory field</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="Reference" type="dhl:Reference" minOccurs="0" maxOccurs="unbounded">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>This element identifies the reference information. It is an optional field</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="Consignee" type="dhl:Consignee">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>Consignee element contains the details of the Consignee (Receiver). This element should be declared once in the shipment validation response message</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="Shipper" type="dhl:Shipper">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>Shipper element contains the details of the Shipper. This element should be declared once in the Book Shipment validation Response message</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="AccountNumber" type="dhl:AccountNumber" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>This element contains the DHL account number. It is a mandatory field</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="CustomerID" type="xsd:string">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>This element contains the Customer ID</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="ShipmentDate" type="dhl:Date">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>This element contains the date of the shipment. It is a mandatory field</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="GlobalProductCode" type="dhl:GlobalProductCode">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The GlobalProductCode element contains the DHL Global product code for the shipment</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="CustData" type="dhl:CustData" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The CustData element consists of customer data that required to be printed on shipment level in GLS transport label CI template</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="SpecialService" type="dhl:SpecialService" minOccurs="0" maxOccurs="5">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The SpecialService Element provides various special services for shipment. It is an optional field</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="Billing" type="dhl:Billing" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The Billing element contains the billing information of the shipment</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="Dutiable" type="dhl:Dutiable" minOccurs="0"> <!-- Manually added minOccurs="0" - GOA -->
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>For non-domestic shipments, The Dutiable element provides informations which defines the types of duties to be levied</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="ExportDeclaration" type="dhl:ExportDeclaration" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>For non -domestic shipments, the ExportDeclaration element provides information which is used for export declarartion documents.It is a mandatory field</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="NewShipper" type="dhl:YesNo" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The NewShipper element indicates whether shipper is new or not. The valid values are Y (Yes) and N (No)</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="DHLRoutingCode" type="dhl:DHLRoutingCode" minOccurs="0" maxOccurs="1">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The DHL ISO Routing Barcode in plain text format. It contains destination Country/Region, destination zip code, transport products and associated product features</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="DHLRoutingDataId" type="dhl:DHLRoutingCode" minOccurs="0" maxOccurs="1">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The DHL Routing barcode contains the data Identifier.The available values are 2L, 403</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="ProductContentCode" type="xsd:string" minOccurs="0" maxOccurs="1">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The Product content code indicates the DHL’s internal code of the product</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="ProductShortName" type="xsd:string" minOccurs="0" maxOccurs="1">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The product short name indicates the type of the product name which the underlying transport service has been sold to the cusomter</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="InternalServiceCode" type="dhl:InternalServiceCode" minOccurs="0" maxOccurs="unbounded">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The internal service code contains the DHL’s product handling relevant services or features</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="DeliveryDateCode" type="xsd:string" minOccurs="0" maxOccurs="1">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The delivery date code contains the date of delivery of the shipment</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="DeliveryTimeCode" type="xsd:string" minOccurs="0" maxOccurs="1">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The delivery time code contains the time of delivery of the shipment</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="Pieces" type="dhl:ShipValResponsePieces" minOccurs="0" maxOccurs="1">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The Pieces element contains the License Plate information and barcode along with the piece details</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="PLTStatus" type="dhl:PLTStatus" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The PLTStatus element indicates the shipper account’s PLT subscription status. The valid values are A, D and S.
|
||||
For PLTStatus field value of 'A' – Active, it signifies it is a valid PLT registered customer and allowed to proceed for PLT shipment process.
|
||||
For PLTStatus field value of 'D' – De-registered, XML-PI Shipment Validation service will stop the shipment processing and returned an error to the XML-PI client.
|
||||
For PLTStatus field value of 'S' – Suspended, XML-PI Shipment Validation service will stop the shipment processing and return an error message to the XML-PI client.</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="QtdSInAdCur" type="dhl:QtdSInAdCur" minOccurs="0" maxOccurs="unbounded">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The QtdSInAdCur element contains the multiple currency billing details returned for different billing role of shipment charges if available in DCT tariff. Note: For PLT shipment, it will be interface with DCT getQuote interface for tariff. For EU regular shipment, if it is switched to interface with DCT getQuote is configurable in XML Services application backend</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="LabelImage" type="dhl:LabelImage" minOccurs="0" maxOccurs="unbounded">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The LabelImage element contains the GLS’s generated Global and Archive label image output if it is required by user via LabelImageFormat element in request XML</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="ODDURLLink" type="xsd:string" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The ODDURLLink element contains the URL for the On Demand Delivery (ODD) page. This element is optional</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="DGs" type="dhl:DGs" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The DGs element defines the details of the Dangerous Goods items that included in shipment</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="Label" type="dhl:Label" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The Label element defines the required label template used and its customer’s barcode type, barcode code and barcode text if available in client’s request</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="Importer" type="dhl:Importer" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>Party that makes (or on whose behalf an agent or broker makes) the import declaration, and who is liable for the payment of duties (if any) on the imported goods. Normally, this party is named either as the consignee in the shipping documents and/or as the buyer in the exporter's invoice.</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="Exporter" type="dhl:Exporter" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The party who is responsible for the legality of the shipment under applicable export control laws, which includes determining the proper export classification and authorization needed to ship the Items.The Exporter is usually the party who controls the transaction, acts as declarant in its own name and provides the corresponding instructions for the export, regardless of who files the export declaration. The Exporter may or may not be the Shipper.</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="Seller" type="dhl:Seller" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The party that makes, offers or contracts to make a sale to an actual or potential buyer. Also called vendor.</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="Payer" type="dhl:Payer" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>The party responsible for the full or partial payment of associated charges/cost. There can be many payers related to the different elements linked to a Shipment (e.g Services, fiscal charges).</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
Reference in New Issue
Block a user