Reference for https://webservices.seabourne-group.com/cogiwebservice/CogiWebService.svc/XMLService/GetGLSParcelShops
Url: https://webservices.seabourne-group.com/cogiwebservice/CogiWebService.svc/XMLService/GetGLSParcelShops
HTTP Method: POST
| Message direction | Format | Body |
|---|---|---|
| Request | Xml | Example,Schema |
| Request | Json | Example |
| Response | Xml | Example,Schema |
| Response | Json | Example |
The following is an example request Xml body:
<GetGLSParcelShopRequest xmlns="http://schemas.datacontract.org/2004/07/CogiWebService">
<Authorisation>
<Password>String content</Password>
<Username>String content</Username>
</Authorisation>
<Country>String content</Country>
<Parcels>
<GLSParcelShopPiece>
<Height>2147483647</Height>
<Length>2147483647</Length>
<Weight>12678967.543233</Weight>
<Width>2147483647</Width>
</GLSParcelShopPiece>
<GLSParcelShopPiece>
<Height>2147483647</Height>
<Length>2147483647</Length>
<Weight>12678967.543233</Weight>
<Width>2147483647</Width>
</GLSParcelShopPiece>
</Parcels>
<Postcode>String content</Postcode>
</GetGLSParcelShopRequest>
The following is an example request Json body:
{
"Authorisation":{
"Password":"String content",
"Username":"String content"
},
"Country":"String content",
"Parcels":[{
"Height":2147483647,
"Length":2147483647,
"Weight":12678967.543233,
"Width":2147483647
}],
"Postcode":"String content"
}
The following is an example response Xml body:
<GLSGetParcelShopResponse xmlns="http://schemas.datacontract.org/2004/07/CogiWebService">
<Errors>
<Error>
<ErrNumber>2147483647</ErrNumber>
<Description>String content</Description>
</Error>
<Error>
<ErrNumber>2147483647</ErrNumber>
<Description>String content</Description>
</Error>
</Errors>
<SearchResults>
<GLSParcelShop>
<Address>
<BlockNo1>String content</BlockNo1>
<BlockNo2>String content</BlockNo2>
<City>String content</City>
<Country>String content</Country>
<Name1>String content</Name1>
<Name2>String content</Name2>
<Name3>String content</Name3>
<Postcode>String content</Postcode>
<Street1>String content</Street1>
<Street2>String content</Street2>
</Address>
<AirLineDistance>String content</AirLineDistance>
<Email>String content</Email>
<Fax>
<Contact>String content</Contact>
<Country>String content</Country>
<Extension>String content</Extension>
<Region>String content</Region>
</Fax>
<GLSCoordinates>
<Latitude>1.26743233E+15</Latitude>
<Longitude>1.26743233E+15</Longitude>
</GLSCoordinates>
<GLSWorkingDays>
<GLSWorkingDay>
<Breaks>
<From>String content</From>
<To>String content</To>
</Breaks>
<Day>String content</Day>
<Hours>
<From>String content</From>
<To>String content</To>
</Hours>
</GLSWorkingDay>
<GLSWorkingDay>
<Breaks>
<From>String content</From>
<To>String content</To>
</Breaks>
<Day>String content</Day>
<Hours>
<From>String content</From>
<To>String content</To>
</Hours>
</GLSWorkingDay>
</GLSWorkingDays>
<Mobile>
<Contact>String content</Contact>
<Country>String content</Country>
<Extension>String content</Extension>
<Region>String content</Region>
</Mobile>
<ParcelShopID>String content</ParcelShopID>
<Phone>
<Contact>String content</Contact>
<Country>String content</Country>
<Extension>String content</Extension>
<Region>String content</Region>
</Phone>
<URL>String content</URL>
</GLSParcelShop>
<GLSParcelShop>
<Address>
<BlockNo1>String content</BlockNo1>
<BlockNo2>String content</BlockNo2>
<City>String content</City>
<Country>String content</Country>
<Name1>String content</Name1>
<Name2>String content</Name2>
<Name3>String content</Name3>
<Postcode>String content</Postcode>
<Street1>String content</Street1>
<Street2>String content</Street2>
</Address>
<AirLineDistance>String content</AirLineDistance>
<Email>String content</Email>
<Fax>
<Contact>String content</Contact>
<Country>String content</Country>
<Extension>String content</Extension>
<Region>String content</Region>
</Fax>
<GLSCoordinates>
<Latitude>1.26743233E+15</Latitude>
<Longitude>1.26743233E+15</Longitude>
</GLSCoordinates>
<GLSWorkingDays>
<GLSWorkingDay>
<Breaks>
<From>String content</From>
<To>String content</To>
</Breaks>
<Day>String content</Day>
<Hours>
<From>String content</From>
<To>String content</To>
</Hours>
</GLSWorkingDay>
<GLSWorkingDay>
<Breaks>
<From>String content</From>
<To>String content</To>
</Breaks>
<Day>String content</Day>
<Hours>
<From>String content</From>
<To>String content</To>
</Hours>
</GLSWorkingDay>
</GLSWorkingDays>
<Mobile>
<Contact>String content</Contact>
<Country>String content</Country>
<Extension>String content</Extension>
<Region>String content</Region>
</Mobile>
<ParcelShopID>String content</ParcelShopID>
<Phone>
<Contact>String content</Contact>
<Country>String content</Country>
<Extension>String content</Extension>
<Region>String content</Region>
</Phone>
<URL>String content</URL>
</GLSParcelShop>
</SearchResults>
<Status>2147483647</Status>
</GLSGetParcelShopResponse>
The following is an example response Json body:
{
"Errors":[{
"ErrNumber":2147483647,
"Description":"String content"
}],
"SearchResults":[{
"Address":{
"BlockNo1":"String content",
"BlockNo2":"String content",
"City":"String content",
"Country":"String content",
"Name1":"String content",
"Name2":"String content",
"Name3":"String content",
"Postcode":"String content",
"Street1":"String content",
"Street2":"String content"
},
"AirLineDistance":"String content",
"Email":"String content",
"Fax":{
"Contact":"String content",
"Country":"String content",
"Extension":"String content",
"Region":"String content"
},
"GLSCoordinates":{
"Latitude":1.26743233E+15,
"Longitude":1.26743233E+15
},
"GLSWorkingDays":[{
"Breaks":{
"From":"String content",
"To":"String content"
},
"Day":"String content",
"Hours":{
"From":"String content",
"To":"String content"
}
}],
"Mobile":{
"Contact":"String content",
"Country":"String content",
"Extension":"String content",
"Region":"String content"
},
"ParcelShopID":"String content",
"Phone":{
"Contact":"String content",
"Country":"String content",
"Extension":"String content",
"Region":"String content"
},
"URL":"String content"
}],
"Status":2147483647
}
The following is the request Xml Schema:
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/CogiWebService" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/CogiWebService" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:complexType name="GetGLSParcelShopRequest">
<xs:sequence>
<xs:element minOccurs="0" name="Authorisation" nillable="true" type="tns:Authorisation" />
<xs:element minOccurs="0" name="Country" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Parcels" nillable="true" type="tns:ArrayOfGLSParcelShopPiece" />
<xs:element minOccurs="0" name="Postcode" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
<xs:element name="GetGLSParcelShopRequest" nillable="true" type="tns:GetGLSParcelShopRequest" />
<xs:complexType name="Authorisation">
<xs:sequence>
<xs:element name="Password" nillable="true" type="xs:string" />
<xs:element name="Username" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
<xs:element name="Authorisation" nillable="true" type="tns:Authorisation" />
<xs:complexType name="ArrayOfGLSParcelShopPiece">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="GLSParcelShopPiece" nillable="true" type="tns:GLSParcelShopPiece" />
</xs:sequence>
</xs:complexType>
<xs:element name="ArrayOfGLSParcelShopPiece" nillable="true" type="tns:ArrayOfGLSParcelShopPiece" />
<xs:complexType name="GLSParcelShopPiece">
<xs:sequence>
<xs:element minOccurs="0" name="Height" type="xs:int" />
<xs:element minOccurs="0" name="Length" type="xs:int" />
<xs:element minOccurs="0" name="Weight" type="xs:decimal" />
<xs:element minOccurs="0" name="Width" type="xs:int" />
</xs:sequence>
</xs:complexType>
<xs:element name="GLSParcelShopPiece" nillable="true" type="tns:GLSParcelShopPiece" />
</xs:schema>
Additional request 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>
The following is the response Xml Schema:
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/CogiWebService" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/CogiWebService" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:complexType name="GLSGetParcelShopResponse">
<xs:sequence>
<xs:element minOccurs="0" name="Errors" nillable="true" type="tns:ArrayOfError" />
<xs:element minOccurs="0" name="SearchResults" nillable="true" type="tns:ArrayOfGLSParcelShop" />
<xs:element minOccurs="0" name="Status" type="xs:int" />
</xs:sequence>
</xs:complexType>
<xs:element name="GLSGetParcelShopResponse" nillable="true" type="tns:GLSGetParcelShopResponse" />
<xs:complexType name="ArrayOfError">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="Error" nillable="true" type="tns:Error" />
</xs:sequence>
</xs:complexType>
<xs:element name="ArrayOfError" nillable="true" type="tns:ArrayOfError" />
<xs:complexType name="Error">
<xs:sequence>
<xs:element minOccurs="0" name="ErrNumber" type="xs:int" />
<xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
<xs:element name="Error" nillable="true" type="tns:Error" />
<xs:complexType name="ArrayOfGLSParcelShop">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="GLSParcelShop" nillable="true" type="tns:GLSParcelShop" />
</xs:sequence>
</xs:complexType>
<xs:element name="ArrayOfGLSParcelShop" nillable="true" type="tns:ArrayOfGLSParcelShop" />
<xs:complexType name="GLSParcelShop">
<xs:sequence>
<xs:element minOccurs="0" name="Address" nillable="true" type="tns:GLSParcelShopAddress" />
<xs:element minOccurs="0" name="AirLineDistance" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Email" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Fax" nillable="true" type="tns:GLSParcelShopPhone" />
<xs:element minOccurs="0" name="GLSCoordinates" nillable="true" type="tns:GLSParcelShopCoordinates" />
<xs:element minOccurs="0" name="GLSWorkingDays" nillable="true" type="tns:ArrayOfGLSWorkingDay" />
<xs:element minOccurs="0" name="Mobile" nillable="true" type="tns:GLSParcelShopPhone" />
<xs:element minOccurs="0" name="ParcelShopID" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Phone" nillable="true" type="tns:GLSParcelShopPhone" />
<xs:element minOccurs="0" name="URL" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
<xs:element name="GLSParcelShop" nillable="true" type="tns:GLSParcelShop" />
<xs:complexType name="GLSParcelShopAddress">
<xs:sequence>
<xs:element minOccurs="0" name="BlockNo1" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="BlockNo2" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="City" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Country" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Name1" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Name2" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Name3" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Postcode" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Street1" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Street2" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
<xs:element name="GLSParcelShopAddress" nillable="true" type="tns:GLSParcelShopAddress" />
<xs:complexType name="GLSParcelShopPhone">
<xs:sequence>
<xs:element minOccurs="0" name="Contact" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Country" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Extension" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Region" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
<xs:element name="GLSParcelShopPhone" nillable="true" type="tns:GLSParcelShopPhone" />
<xs:complexType name="GLSParcelShopCoordinates">
<xs:sequence>
<xs:element minOccurs="0" name="Latitude" type="xs:double" />
<xs:element minOccurs="0" name="Longitude" type="xs:double" />
</xs:sequence>
</xs:complexType>
<xs:element name="GLSParcelShopCoordinates" nillable="true" type="tns:GLSParcelShopCoordinates" />
<xs:complexType name="ArrayOfGLSWorkingDay">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="GLSWorkingDay" nillable="true" type="tns:GLSWorkingDay" />
</xs:sequence>
</xs:complexType>
<xs:element name="ArrayOfGLSWorkingDay" nillable="true" type="tns:ArrayOfGLSWorkingDay" />
<xs:complexType name="GLSWorkingDay">
<xs:sequence>
<xs:element minOccurs="0" name="Breaks" nillable="true" type="tns:GLSWorkingHours" />
<xs:element minOccurs="0" name="Day" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Hours" nillable="true" type="tns:GLSWorkingHours" />
</xs:sequence>
</xs:complexType>
<xs:element name="GLSWorkingDay" nillable="true" type="tns:GLSWorkingDay" />
<xs:complexType name="GLSWorkingHours">
<xs:sequence>
<xs:element minOccurs="0" name="From" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="To" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
<xs:element name="GLSWorkingHours" nillable="true" type="tns:GLSWorkingHours" />
</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>