Reference for http://4221117.shop53.dandomain.dk/admin/WEBAPI/Endpoints/v1_0/SettingService/{KEY}/ShippingMethods/{SITEID}
Get all Shipping Methods for a specific Site
Url: http://4221117.shop53.dandomain.dk/admin/WEBAPI/Endpoints/v1_0/SettingService/{KEY}/ShippingMethods/{SITEID}
HTTP Method: GET
Message direction | Format | Body |
---|---|---|
Request | N/A | The Request body is empty. |
Response | Xml | Example,Schema |
Response | Json | Example |
The following is an example response Xml body:
<ArrayOfshippingMethod xmlns="http://schemas.datacontract.org/2004/07/Shared.DTO.v1_0.Setting"> <shippingMethod> <adminImage>String content</adminImage> <automaticReturnLabel>true</automaticReturnLabel> <b2BGroupId>String content</b2BGroupId> <countries> <country> <code>String content</code> <id>2147483647</id> <name>String content</name> </country> <country> <code>String content</code> <id>2147483647</id> <name>String content</name> </country> </countries> <enableFreeDeliveryOrderSize>true</enableFreeDeliveryOrderSize> <feeVat>true</feeVat> <freeDeliveryOrderSize>12678967.543233</freeDeliveryOrderSize> <frontendImage>String content</frontendImage> <gatewayType>None</gatewayType> <hideWhenOverMaxWeightLimit>true</hideWhenOverMaxWeightLimit> <id>2147483647</id> <message>String content</message> <modified>true</modified> <name>String content</name> <priceExtraKg>12678967.543233</priceExtraKg> <services> <shippingMethodService> <code>String content</code> <fee>12678967.543233</fee> <hideService>true</hideService> <id>2147483647</id> <label>String content</label> <parameters> <shippingMethodServiceParameter> <code>String content</code> <id>2147483647</id> <label>String content</label> <validationText>String content</validationText> </shippingMethodServiceParameter> <shippingMethodServiceParameter> <code>String content</code> <id>2147483647</id> <label>String content</label> <validationText>String content</validationText> </shippingMethodServiceParameter> </parameters> <productNumber>String content</productNumber> <sortOrder>2147483647</sortOrder> </shippingMethodService> <shippingMethodService> <code>String content</code> <fee>12678967.543233</fee> <hideService>true</hideService> <id>2147483647</id> <label>String content</label> <parameters> <shippingMethodServiceParameter> <code>String content</code> <id>2147483647</id> <label>String content</label> <validationText>String content</validationText> </shippingMethodServiceParameter> <shippingMethodServiceParameter> <code>String content</code> <id>2147483647</id> <label>String content</label> <validationText>String content</validationText> </shippingMethodServiceParameter> </parameters> <productNumber>String content</productNumber> <sortOrder>2147483647</sortOrder> </shippingMethodService> </services> <siteId>2147483647</siteId> <sortOrder>2147483647</sortOrder> <weightLimits> <shippingMethodWeight> <fee>12678967.543233</fee> <id>2147483647</id> <weight>12678967.543233</weight> </shippingMethodWeight> <shippingMethodWeight> <fee>12678967.543233</fee> <id>2147483647</id> <weight>12678967.543233</weight> </shippingMethodWeight> </weightLimits> </shippingMethod> <shippingMethod> <adminImage>String content</adminImage> <automaticReturnLabel>true</automaticReturnLabel> <b2BGroupId>String content</b2BGroupId> <countries> <country> <code>String content</code> <id>2147483647</id> <name>String content</name> </country> <country> <code>String content</code> <id>2147483647</id> <name>String content</name> </country> </countries> <enableFreeDeliveryOrderSize>true</enableFreeDeliveryOrderSize> <feeVat>true</feeVat> <freeDeliveryOrderSize>12678967.543233</freeDeliveryOrderSize> <frontendImage>String content</frontendImage> <gatewayType>None</gatewayType> <hideWhenOverMaxWeightLimit>true</hideWhenOverMaxWeightLimit> <id>2147483647</id> <message>String content</message> <modified>true</modified> <name>String content</name> <priceExtraKg>12678967.543233</priceExtraKg> <services> <shippingMethodService> <code>String content</code> <fee>12678967.543233</fee> <hideService>true</hideService> <id>2147483647</id> <label>String content</label> <parameters> <shippingMethodServiceParameter> <code>String content</code> <id>2147483647</id> <label>String content</label> <validationText>String content</validationText> </shippingMethodServiceParameter> <shippingMethodServiceParameter> <code>String content</code> <id>2147483647</id> <label>String content</label> <validationText>String content</validationText> </shippingMethodServiceParameter> </parameters> <productNumber>String content</productNumber> <sortOrder>2147483647</sortOrder> </shippingMethodService> <shippingMethodService> <code>String content</code> <fee>12678967.543233</fee> <hideService>true</hideService> <id>2147483647</id> <label>String content</label> <parameters> <shippingMethodServiceParameter> <code>String content</code> <id>2147483647</id> <label>String content</label> <validationText>String content</validationText> </shippingMethodServiceParameter> <shippingMethodServiceParameter> <code>String content</code> <id>2147483647</id> <label>String content</label> <validationText>String content</validationText> </shippingMethodServiceParameter> </parameters> <productNumber>String content</productNumber> <sortOrder>2147483647</sortOrder> </shippingMethodService> </services> <siteId>2147483647</siteId> <sortOrder>2147483647</sortOrder> <weightLimits> <shippingMethodWeight> <fee>12678967.543233</fee> <id>2147483647</id> <weight>12678967.543233</weight> </shippingMethodWeight> <shippingMethodWeight> <fee>12678967.543233</fee> <id>2147483647</id> <weight>12678967.543233</weight> </shippingMethodWeight> </weightLimits> </shippingMethod> </ArrayOfshippingMethod>
The following is an example response Json body:
[{ "adminImage":"String content", "automaticReturnLabel":true, "b2BGroupId":"String content", "countries":[{ "code":"String content", "id":2147483647, "name":"String content" }], "enableFreeDeliveryOrderSize":true, "feeVat":true, "freeDeliveryOrderSize":12678967.543233, "frontendImage":"String content", "gatewayType":0, "hideWhenOverMaxWeightLimit":true, "id":2147483647, "message":"String content", "modified":true, "name":"String content", "priceExtraKg":12678967.543233, "services":[{ "code":"String content", "fee":12678967.543233, "hideService":true, "id":2147483647, "label":"String content", "parameters":[{ "code":"String content", "id":2147483647, "label":"String content", "validationText":"String content" }], "productNumber":"String content", "sortOrder":2147483647 }], "siteId":2147483647, "sortOrder":2147483647, "weightLimits":[{ "fee":12678967.543233, "id":2147483647, "weight":12678967.543233 }] }]
The following is the response Xml Schema:
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/Shared.DTO.v1_0.Setting" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/Shared.DTO.v1_0.Setting" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:complexType name="ArrayOfshippingMethod"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="shippingMethod" nillable="true" type="tns:shippingMethod" /> </xs:sequence> </xs:complexType> <xs:element name="ArrayOfshippingMethod" nillable="true" type="tns:ArrayOfshippingMethod" /> <xs:complexType name="shippingMethod"> <xs:sequence> <xs:element minOccurs="0" name="adminImage" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="automaticReturnLabel" type="xs:boolean" /> <xs:element minOccurs="0" name="b2BGroupId" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="countries" nillable="true" type="tns:ArrayOfcountry" /> <xs:element minOccurs="0" name="enableFreeDeliveryOrderSize" type="xs:boolean" /> <xs:element minOccurs="0" name="feeVat" type="xs:boolean" /> <xs:element minOccurs="0" name="freeDeliveryOrderSize" type="xs:decimal" /> <xs:element minOccurs="0" name="frontendImage" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="gatewayType" type="tns:shippingMethodGatewayType" /> <xs:element minOccurs="0" name="hideWhenOverMaxWeightLimit" type="xs:boolean" /> <xs:element minOccurs="0" name="id" type="xs:int" /> <xs:element minOccurs="0" name="message" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="modified" type="xs:boolean" /> <xs:element minOccurs="0" name="name" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="priceExtraKg" type="xs:decimal" /> <xs:element minOccurs="0" name="services" nillable="true" type="tns:ArrayOfshippingMethodService" /> <xs:element minOccurs="0" name="siteId" type="xs:int" /> <xs:element minOccurs="0" name="sortOrder" type="xs:int" /> <xs:element minOccurs="0" name="weightLimits" nillable="true" type="tns:ArrayOfshippingMethodWeight" /> </xs:sequence> </xs:complexType> <xs:element name="shippingMethod" nillable="true" type="tns:shippingMethod" /> <xs:complexType name="ArrayOfcountry"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="country" nillable="true" type="tns:country" /> </xs:sequence> </xs:complexType> <xs:element name="ArrayOfcountry" nillable="true" type="tns:ArrayOfcountry" /> <xs:complexType name="country"> <xs:sequence> <xs:element minOccurs="0" name="code" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="id" type="xs:int" /> <xs:element minOccurs="0" name="name" nillable="true" type="xs:string" /> </xs:sequence> </xs:complexType> <xs:element name="country" nillable="true" type="tns:country" /> <xs:simpleType name="shippingMethodGatewayType"> <xs:restriction base="xs:string"> <xs:enumeration value="None" /> <xs:enumeration value="GLS" /> <xs:enumeration value="PostDanmark" /> <xs:enumeration value="Pacsoft" /> </xs:restriction> </xs:simpleType> <xs:element name="shippingMethodGatewayType" nillable="true" type="tns:shippingMethodGatewayType" /> <xs:complexType name="ArrayOfshippingMethodService"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="shippingMethodService" nillable="true" type="tns:shippingMethodService" /> </xs:sequence> </xs:complexType> <xs:element name="ArrayOfshippingMethodService" nillable="true" type="tns:ArrayOfshippingMethodService" /> <xs:complexType name="shippingMethodService"> <xs:sequence> <xs:element minOccurs="0" name="code" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="fee" type="xs:decimal" /> <xs:element minOccurs="0" name="hideService" type="xs:boolean" /> <xs:element minOccurs="0" name="id" type="xs:int" /> <xs:element minOccurs="0" name="label" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="parameters" nillable="true" type="tns:ArrayOfshippingMethodServiceParameter" /> <xs:element minOccurs="0" name="productNumber" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="sortOrder" type="xs:int" /> </xs:sequence> </xs:complexType> <xs:element name="shippingMethodService" nillable="true" type="tns:shippingMethodService" /> <xs:complexType name="ArrayOfshippingMethodServiceParameter"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="shippingMethodServiceParameter" nillable="true" type="tns:shippingMethodServiceParameter" /> </xs:sequence> </xs:complexType> <xs:element name="ArrayOfshippingMethodServiceParameter" nillable="true" type="tns:ArrayOfshippingMethodServiceParameter" /> <xs:complexType name="shippingMethodServiceParameter"> <xs:sequence> <xs:element minOccurs="0" name="code" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="id" type="xs:int" /> <xs:element minOccurs="0" name="label" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="validationText" nillable="true" type="xs:string" /> </xs:sequence> </xs:complexType> <xs:element name="shippingMethodServiceParameter" nillable="true" type="tns:shippingMethodServiceParameter" /> <xs:complexType name="ArrayOfshippingMethodWeight"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="shippingMethodWeight" nillable="true" type="tns:shippingMethodWeight" /> </xs:sequence> </xs:complexType> <xs:element name="ArrayOfshippingMethodWeight" nillable="true" type="tns:ArrayOfshippingMethodWeight" /> <xs:complexType name="shippingMethodWeight"> <xs:sequence> <xs:element minOccurs="0" name="fee" type="xs:decimal" /> <xs:element minOccurs="0" name="id" type="xs:int" /> <xs:element minOccurs="0" name="weight" type="xs:decimal" /> </xs:sequence> </xs:complexType> <xs:element name="shippingMethodWeight" nillable="true" type="tns:shippingMethodWeight" /> </xs:schema>
Additional response Xml Schemas:
<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="anyType" nillable="true" type="xs:anyType" /> <xs:element name="anyURI" nillable="true" type="xs:anyURI" /> <xs:element name="base64Binary" nillable="true" type="xs:base64Binary" /> <xs:element name="boolean" nillable="true" type="xs:boolean" /> <xs:element name="byte" nillable="true" type="xs:byte" /> <xs:element name="dateTime" nillable="true" type="xs:dateTime" /> <xs:element name="decimal" nillable="true" type="xs:decimal" /> <xs:element name="double" nillable="true" type="xs:double" /> <xs:element name="float" nillable="true" type="xs:float" /> <xs:element name="int" nillable="true" type="xs:int" /> <xs:element name="long" nillable="true" type="xs:long" /> <xs:element name="QName" nillable="true" type="xs:QName" /> <xs:element name="short" nillable="true" type="xs:short" /> <xs:element name="string" nillable="true" type="xs:string" /> <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" /> <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" /> <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" /> <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" /> <xs:element name="char" nillable="true" type="tns:char" /> <xs:simpleType name="char"> <xs:restriction base="xs:int" /> </xs:simpleType> <xs:element name="duration" nillable="true" type="tns:duration" /> <xs:simpleType name="duration"> <xs:restriction base="xs:duration"> <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" /> <xs:minInclusive value="-P10675199DT2H48M5.4775808S" /> <xs:maxInclusive value="P10675199DT2H48M5.4775807S" /> </xs:restriction> </xs:simpleType> <xs:element name="guid" nillable="true" type="tns:guid" /> <xs:simpleType name="guid"> <xs:restriction base="xs:string"> <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" /> </xs:restriction> </xs:simpleType> <xs:attribute name="FactoryType" type="xs:QName" /> <xs:attribute name="Id" type="xs:ID" /> <xs:attribute name="Ref" type="xs:IDREF" /> </xs:schema>
<tns:schema targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.w3.org/2001/XMLSchema"> <tns:element name="schema"> <tns:complexType /> </tns:element> </tns:schema>