Reference for http://dispatchweb.eureka-technology.fr/WebManager/WCFDispatchAPI.svc/REST/Json/SaveSatisfactionSurvey
Sauvegarde des réponse d'une d'enquête de satisfaction
Url: http://dispatchweb.eureka-technology.fr/WebManager/WCFDispatchAPI.svc/REST/Json/SaveSatisfactionSurvey
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:
<SaveSatisfactionSurveyRequest xmlns="http://schemas.datacontract.org/2004/07/EurekaTechnology.DispatchWeb.API.Business.Request"> <Credential xmlns="EurekaTechnology.DispatchWeb.API.Business"> <License>String content</License> <Login>String content</Login> <Password>String content</Password> <EMail>String content</EMail> <Language>String content</Language> <ConnectionToken>String content</ConnectionToken> <OrdererCode>String content</OrdererCode> <DelegateToken>String content</DelegateToken> <ConsumerOrdererCode>String content</ConsumerOrdererCode> <ConsumerKey>String content</ConsumerKey> <Sso> <SsoConfigurationCode>String content</SsoConfigurationCode> <SsoAuthCode>String content</SsoAuthCode> <SsoRedirectUri>String content</SsoRedirectUri> <SsoSamlContent>String content</SsoSamlContent> <SsoSamlHttpMethod>String content</SsoSamlHttpMethod> </Sso> </Credential> <InternalShipmentId>2147483647</InternalShipmentId> <SatisfactionSurveyResponses> <SatisfactionSurvey xmlns="EurekaTechnology.DispatchWeb.API.Business"> <ConfigName>String content</ConfigName> <Id>2147483647</Id> <Response>String content</Response> <FieldType>String</FieldType> <Question>String content</Question> <Mandatory>true</Mandatory> <DefaultResponse>String content</DefaultResponse> <ForcePreRegistredValues>true</ForcePreRegistredValues> <PreRegistredValues> <SatisfactionSurveyPreRegistredValue> <Id>2147483647</Id> <Value>String content</Value> <Comment>String content</Comment> </SatisfactionSurveyPreRegistredValue> <SatisfactionSurveyPreRegistredValue> <Id>2147483647</Id> <Value>String content</Value> <Comment>String content</Comment> </SatisfactionSurveyPreRegistredValue> </PreRegistredValues> <ReadOnly>true</ReadOnly> <Code>String content</Code> </SatisfactionSurvey> <SatisfactionSurvey xmlns="EurekaTechnology.DispatchWeb.API.Business"> <ConfigName>String content</ConfigName> <Id>2147483647</Id> <Response>String content</Response> <FieldType>String</FieldType> <Question>String content</Question> <Mandatory>true</Mandatory> <DefaultResponse>String content</DefaultResponse> <ForcePreRegistredValues>true</ForcePreRegistredValues> <PreRegistredValues> <SatisfactionSurveyPreRegistredValue> <Id>2147483647</Id> <Value>String content</Value> <Comment>String content</Comment> </SatisfactionSurveyPreRegistredValue> <SatisfactionSurveyPreRegistredValue> <Id>2147483647</Id> <Value>String content</Value> <Comment>String content</Comment> </SatisfactionSurveyPreRegistredValue> </PreRegistredValues> <ReadOnly>true</ReadOnly> <Code>String content</Code> </SatisfactionSurvey> </SatisfactionSurveyResponses> </SaveSatisfactionSurveyRequest>
The following is an example request Json body:
{ "Credential":{ "License":"String content", "Login":"String content", "Password":"String content", "EMail":"String content", "Language":"String content", "ConnectionToken":"String content", "OrdererCode":"String content", "DelegateToken":"String content", "ConsumerOrdererCode":"String content", "ConsumerKey":"String content", "Sso":{ "SsoConfigurationCode":"String content", "SsoAuthCode":"String content", "SsoRedirectUri":"String content", "SsoSamlContent":"String content", "SsoSamlHttpMethod":"String content" } }, "InternalShipmentId":2147483647, "SatisfactionSurveyResponses":[{ "ConfigName":"String content", "Id":2147483647, "Response":"String content", "FieldType":0, "Question":"String content", "Mandatory":true, "DefaultResponse":"String content", "ForcePreRegistredValues":true, "PreRegistredValues":[{ "Id":2147483647, "Value":"String content", "Comment":"String content" }], "ReadOnly":true, "Code":"String content" }] }
The following is an example response Xml body:
<SaveSatisfactionSurveyResponse xmlns="http://schemas.datacontract.org/2004/07/EurekaTechnology.DispatchWeb.API.Business.Response"> <Errors xmlns="EurekaTechnology.DispatchWeb.API.Business"> <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">String content</string> <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">String content</string> </Errors> <Status xmlns="EurekaTechnology.DispatchWeb.API.Business">OK</Status> <Address> <Name xmlns="EurekaTechnology.DispatchWeb.API.Business">String content</Name> <AddressLine1 xmlns="EurekaTechnology.DispatchWeb.API.Business">String content</AddressLine1> <AddressLine2 xmlns="EurekaTechnology.DispatchWeb.API.Business">String content</AddressLine2> <No xmlns="EurekaTechnology.DispatchWeb.API.Business">String content</No> <Street xmlns="EurekaTechnology.DispatchWeb.API.Business">String content</Street> <PostalCode xmlns="EurekaTechnology.DispatchWeb.API.Business">String content</PostalCode> <City xmlns="EurekaTechnology.DispatchWeb.API.Business">String content</City> <CityID xmlns="EurekaTechnology.DispatchWeb.API.Business">2147483647</CityID> <Sector xmlns="EurekaTechnology.DispatchWeb.API.Business">String content</Sector> <Country xmlns="EurekaTechnology.DispatchWeb.API.Business">String content</Country> <Contact xmlns="EurekaTechnology.DispatchWeb.API.Business">String content</Contact> <Telephone1 xmlns="EurekaTechnology.DispatchWeb.API.Business">String content</Telephone1> <Telephone2 xmlns="EurekaTechnology.DispatchWeb.API.Business">String content</Telephone2> <Telephone3 xmlns="EurekaTechnology.DispatchWeb.API.Business">String content</Telephone3> <EMail xmlns="EurekaTechnology.DispatchWeb.API.Business">String content</EMail> <Fax xmlns="EurekaTechnology.DispatchWeb.API.Business">String content</Fax> <GeoXY xmlns="EurekaTechnology.DispatchWeb.API.Business"> <Latitude>1.26743233E+15</Latitude> <Longitude>1.26743233E+15</Longitude> <GPSUTCDateTime> <Value>1999-05-31T11:20:00</Value> <StringFullDate>String content</StringFullDate> <StringDate>String content</StringDate> <StringHour>String content</StringHour> <JsonDateTime>String content</JsonDateTime> <Tick>9223372036854775807</Tick> <UnixTimeSpan>String content</UnixTimeSpan> <IsDateWithoutHour>true</IsDateWithoutHour> </GPSUTCDateTime> <GPSServerLocalDateTime> <Value>1999-05-31T11:20:00</Value> <StringFullDate>String content</StringFullDate> <StringDate>String content</StringDate> <StringHour>String content</StringHour> <JsonDateTime>String content</JsonDateTime> <Tick>9223372036854775807</Tick> <UnixTimeSpan>String content</UnixTimeSpan> <IsDateWithoutHour>true</IsDateWithoutHour> </GPSServerLocalDateTime> </GeoXY> <SaveToAdressBook xmlns="EurekaTechnology.DispatchWeb.API.Business">true</SaveToAdressBook> <ExternCode xmlns="EurekaTechnology.DispatchWeb.API.Business">String content</ExternCode> <CustomCommentFields xmlns="EurekaTechnology.DispatchWeb.API.Business"> <KeyValuePairOfstringstring xmlns="http://schemas.datacontract.org/2004/07/System"> <key xmlns="http://schemas.datacontract.org/2004/07/System.Collections.Generic">String content</key> <value xmlns="http://schemas.datacontract.org/2004/07/System.Collections.Generic">String content</value> </KeyValuePairOfstringstring> <KeyValuePairOfstringstring xmlns="http://schemas.datacontract.org/2004/07/System"> <key xmlns="http://schemas.datacontract.org/2004/07/System.Collections.Generic">String content</key> <value xmlns="http://schemas.datacontract.org/2004/07/System.Collections.Generic">String content</value> </KeyValuePairOfstringstring> </CustomCommentFields> <AdditionalAddressLine1 xmlns="EurekaTechnology.DispatchWeb.API.Business">String content</AdditionalAddressLine1> <AdditionalAddressLine2 xmlns="EurekaTechnology.DispatchWeb.API.Business">String content</AdditionalAddressLine2> <AdditionalAddressLine3 xmlns="EurekaTechnology.DispatchWeb.API.Business">String content</AdditionalAddressLine3> <AdditionalAddressLine4 xmlns="EurekaTechnology.DispatchWeb.API.Business">String content</AdditionalAddressLine4> <AdditionalAddressLabel1 xmlns="EurekaTechnology.DispatchWeb.API.Business">String content</AdditionalAddressLabel1> <AdditionalAddressLabel2 xmlns="EurekaTechnology.DispatchWeb.API.Business">String content</AdditionalAddressLabel2> <AdditionalAddressLabel3 xmlns="EurekaTechnology.DispatchWeb.API.Business">String content</AdditionalAddressLabel3> <AdditionalAddressLabel4 xmlns="EurekaTechnology.DispatchWeb.API.Business">String content</AdditionalAddressLabel4> <AddressId xmlns="EurekaTechnology.DispatchWeb.API.Business">2147483647</AddressId> <InternalShipmentAddressId xmlns="EurekaTechnology.DispatchWeb.API.Business">2147483647</InternalShipmentAddressId> <OperationZoneCode xmlns="EurekaTechnology.DispatchWeb.API.Business">String content</OperationZoneCode> <ByPassCityCheck xmlns="EurekaTechnology.DispatchWeb.API.Business">true</ByPassCityCheck> </Address> </SaveSatisfactionSurveyResponse>
The following is an example response Json body:
{ "Errors":["String content"], "Status":0, "Address":{ "Name":"String content", "AddressLine1":"String content", "AddressLine2":"String content", "No":"String content", "Street":"String content", "PostalCode":"String content", "City":"String content", "CityID":2147483647, "Sector":"String content", "Country":"String content", "Contact":"String content", "Telephone1":"String content", "Telephone2":"String content", "Telephone3":"String content", "EMail":"String content", "Fax":"String content", "GeoXY":{ "Latitude":1.26743233E+15, "Longitude":1.26743233E+15, "GPSUTCDateTime":{ "Value":"\/Date(928142400000+0200)\/", "StringFullDate":"String content", "StringDate":"String content", "StringHour":"String content", "JsonDateTime":"String content", "Tick":9223372036854775807, "UnixTimeSpan":"String content", "IsDateWithoutHour":true }, "GPSServerLocalDateTime":{ "Value":"\/Date(928142400000+0200)\/", "StringFullDate":"String content", "StringDate":"String content", "StringHour":"String content", "JsonDateTime":"String content", "Tick":9223372036854775807, "UnixTimeSpan":"String content", "IsDateWithoutHour":true } }, "SaveToAdressBook":true, "ExternCode":"String content", "CustomCommentFields":[{ "key":"String content", "value":"String content" }], "AdditionalAddressLine1":"String content", "AdditionalAddressLine2":"String content", "AdditionalAddressLine3":"String content", "AdditionalAddressLine4":"String content", "AdditionalAddressLabel1":"String content", "AdditionalAddressLabel2":"String content", "AdditionalAddressLabel3":"String content", "AdditionalAddressLabel4":"String content", "AddressId":2147483647, "InternalShipmentAddressId":2147483647, "OperationZoneCode":"String content", "ByPassCityCheck":true } }
The following is the request Xml Schema:
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/EurekaTechnology.DispatchWeb.API.Business.Request" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/EurekaTechnology.DispatchWeb.API.Business.Request" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:import namespace="EurekaTechnology.DispatchWeb.API.Business" /> <xs:complexType name="SaveSatisfactionSurveyRequest"> <xs:complexContent mixed="false"> <xs:extension xmlns:q1="EurekaTechnology.DispatchWeb.API.Business" base="q1:RequestType"> <xs:sequence> <xs:element name="InternalShipmentId" type="xs:int" /> <xs:element name="SatisfactionSurveyResponses" nillable="true" type="q1:ArrayOfSatisfactionSurvey" /> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:element name="SaveSatisfactionSurveyRequest" nillable="true" type="tns:SaveSatisfactionSurveyRequest" /> </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>
<xs:schema xmlns:tns="EurekaTechnology.DispatchWeb.API.Business" elementFormDefault="qualified" targetNamespace="EurekaTechnology.DispatchWeb.API.Business" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:complexType name="RequestType"> <xs:sequence> <xs:element name="Credential" nillable="true" type="tns:Credential" /> </xs:sequence> </xs:complexType> <xs:element name="RequestType" nillable="true" type="tns:RequestType" /> <xs:complexType name="Credential"> <xs:sequence> <xs:element name="License" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="Login" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="Password" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="EMail" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="Language" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="ConnectionToken" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="OrdererCode" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="DelegateToken" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="ConsumerOrdererCode" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="ConsumerKey" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="Sso" nillable="true" type="tns:SsoAuthentication" /> </xs:sequence> </xs:complexType> <xs:element name="Credential" nillable="true" type="tns:Credential" /> <xs:complexType name="SsoAuthentication"> <xs:sequence> <xs:element name="SsoConfigurationCode" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="SsoAuthCode" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="SsoRedirectUri" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="SsoSamlContent" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="SsoSamlHttpMethod" nillable="true" type="xs:string" /> </xs:sequence> </xs:complexType> <xs:element name="SsoAuthentication" nillable="true" type="tns:SsoAuthentication" /> <xs:complexType name="ArrayOfSatisfactionSurvey"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="SatisfactionSurvey" nillable="true" type="tns:SatisfactionSurvey" /> </xs:sequence> </xs:complexType> <xs:element name="ArrayOfSatisfactionSurvey" nillable="true" type="tns:ArrayOfSatisfactionSurvey" /> <xs:complexType name="SatisfactionSurvey"> <xs:sequence> <xs:element minOccurs="0" name="ConfigName" nillable="true" type="xs:string" /> <xs:element name="Id" type="xs:int" /> <xs:element name="Response" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="FieldType" type="tns:CustomFieldType" /> <xs:element minOccurs="0" name="Question" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="Mandatory" type="xs:boolean" /> <xs:element minOccurs="0" name="DefaultResponse" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="ForcePreRegistredValues" type="xs:boolean" /> <xs:element minOccurs="0" name="PreRegistredValues" nillable="true" type="tns:ArrayOfSatisfactionSurveyPreRegistredValue" /> <xs:element minOccurs="0" name="ReadOnly" type="xs:boolean" /> <xs:element minOccurs="0" name="Code" nillable="true" type="xs:string" /> </xs:sequence> </xs:complexType> <xs:element name="SatisfactionSurvey" nillable="true" type="tns:SatisfactionSurvey" /> <xs:simpleType name="CustomFieldType"> <xs:restriction base="xs:string"> <xs:enumeration value="String" /> <xs:enumeration value="Int" /> <xs:enumeration value="PositiveInteger" /> <xs:enumeration value="Decimal" /> <xs:enumeration value="PositiveDecimal" /> <xs:enumeration value="DateTime" /> </xs:restriction> </xs:simpleType> <xs:element name="CustomFieldType" nillable="true" type="tns:CustomFieldType" /> <xs:complexType name="ArrayOfSatisfactionSurveyPreRegistredValue"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="SatisfactionSurveyPreRegistredValue" nillable="true" type="tns:SatisfactionSurveyPreRegistredValue" /> </xs:sequence> </xs:complexType> <xs:element name="ArrayOfSatisfactionSurveyPreRegistredValue" nillable="true" type="tns:ArrayOfSatisfactionSurveyPreRegistredValue" /> <xs:complexType name="SatisfactionSurveyPreRegistredValue"> <xs:sequence> <xs:element name="Id" type="xs:int" /> <xs:element minOccurs="0" name="Value" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="Comment" nillable="true" type="xs:string" /> </xs:sequence> </xs:complexType> <xs:element name="SatisfactionSurveyPreRegistredValue" nillable="true" type="tns:SatisfactionSurveyPreRegistredValue" /> </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/EurekaTechnology.DispatchWeb.API.Business.Response" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/EurekaTechnology.DispatchWeb.API.Business.Response" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:import namespace="EurekaTechnology.DispatchWeb.API.Business" /> <xs:complexType name="SaveSatisfactionSurveyResponse"> <xs:complexContent mixed="false"> <xs:extension xmlns:q1="EurekaTechnology.DispatchWeb.API.Business" base="q1:ResponseType"> <xs:sequence> <xs:element minOccurs="0" name="Address" nillable="true" type="q1:Address" /> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:element name="SaveSatisfactionSurveyResponse" nillable="true" type="tns:SaveSatisfactionSurveyResponse" /> </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>
<xs:schema xmlns:tns="EurekaTechnology.DispatchWeb.API.Business" elementFormDefault="qualified" targetNamespace="EurekaTechnology.DispatchWeb.API.Business" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" /> <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" /> <xs:import namespace="http://schemas.datacontract.org/2004/07/System" /> <xs:complexType name="ResponseType"> <xs:sequence> <xs:element minOccurs="0" name="Errors" nillable="true" xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q1:ArrayOfstring" /> <xs:element name="Status" type="tns:ResponseStatus" /> </xs:sequence> </xs:complexType> <xs:element name="ResponseType" nillable="true" type="tns:ResponseType" /> <xs:simpleType name="ResponseStatus"> <xs:restriction base="xs:string"> <xs:enumeration value="OK"> <xs:annotation> <xs:appinfo> <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">200</EnumerationValue> </xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="Created"> <xs:annotation> <xs:appinfo> <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">201</EnumerationValue> </xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="Accepted"> <xs:annotation> <xs:appinfo> <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">202</EnumerationValue> </xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="NoContent"> <xs:annotation> <xs:appinfo> <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">204</EnumerationValue> </xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="NotModified"> <xs:annotation> <xs:appinfo> <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">304</EnumerationValue> </xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="BadRequest"> <xs:annotation> <xs:appinfo> <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">400</EnumerationValue> </xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="Unauthorized"> <xs:annotation> <xs:appinfo> <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">401</EnumerationValue> </xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="MethodNotAllowed"> <xs:annotation> <xs:appinfo> <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">405</EnumerationValue> </xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="RequestTimeout"> <xs:annotation> <xs:appinfo> <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">408</EnumerationValue> </xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="NoEquivalence"> <xs:annotation> <xs:appinfo> <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">420</EnumerationValue> </xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="NOK"> <xs:annotation> <xs:appinfo> <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">421</EnumerationValue> </xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="InternalServerError"> <xs:annotation> <xs:appinfo> <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">500</EnumerationValue> </xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="NotImplemented"> <xs:annotation> <xs:appinfo> <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">501</EnumerationValue> </xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="ServiceUnavailable"> <xs:annotation> <xs:appinfo> <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">503</EnumerationValue> </xs:appinfo> </xs:annotation> </xs:enumeration> </xs:restriction> </xs:simpleType> <xs:element name="ResponseStatus" nillable="true" type="tns:ResponseStatus" /> <xs:complexType name="Address"> <xs:sequence> <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="AddressLine1" nillable="true" type="xs:string"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="AddressLine2" nillable="true" type="xs:string"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="No" nillable="true" type="xs:string"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="Street" nillable="true" type="xs:string"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element name="PostalCode" nillable="true" type="xs:string" /> <xs:element name="City" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="CityID" nillable="true" type="xs:int" /> <xs:element minOccurs="0" name="Sector" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="Country" nillable="true" type="xs:string"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="Contact" nillable="true" type="xs:string"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="Telephone1" nillable="true" type="xs:string"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="Telephone2" nillable="true" type="xs:string"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="Telephone3" nillable="true" type="xs:string"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="EMail" nillable="true" type="xs:string"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="Fax" nillable="true" type="xs:string"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="GeoXY" nillable="true" type="tns:GeoData"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="SaveToAdressBook" type="xs:boolean" /> <xs:element minOccurs="0" name="ExternCode" nillable="true" type="xs:string"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="CustomCommentFields" nillable="true" xmlns:q2="http://schemas.datacontract.org/2004/07/System" type="q2:ArrayOfNullableOfKeyValuePairOfstringstringR8RmUPp7" /> <xs:element minOccurs="0" name="AdditionalAddressLine1" nillable="true" type="xs:string"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="AdditionalAddressLine2" nillable="true" type="xs:string"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="AdditionalAddressLine3" nillable="true" type="xs:string"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="AdditionalAddressLine4" nillable="true" type="xs:string"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="AdditionalAddressLabel1" nillable="true" type="xs:string"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="AdditionalAddressLabel2" nillable="true" type="xs:string"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="AdditionalAddressLabel3" nillable="true" type="xs:string"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="AdditionalAddressLabel4" nillable="true" type="xs:string"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="AddressId" nillable="true" type="xs:int"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="InternalShipmentAddressId" nillable="true" type="xs:int"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="OperationZoneCode" nillable="true" type="xs:string"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="ByPassCityCheck" type="xs:boolean"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> <xs:element name="Address" nillable="true" type="tns:Address" /> <xs:complexType name="GeoData"> <xs:sequence> <xs:element minOccurs="0" name="Latitude" type="xs:double" /> <xs:element minOccurs="0" name="Longitude" type="xs:double" /> <xs:element minOccurs="0" name="GPSUTCDateTime" nillable="true" type="tns:Date" /> <xs:element minOccurs="0" name="GPSServerLocalDateTime" nillable="true" type="tns:Date" /> </xs:sequence> </xs:complexType> <xs:element name="GeoData" nillable="true" type="tns:GeoData" /> <xs:complexType name="Date"> <xs:sequence> <xs:element minOccurs="0" name="Value" nillable="true" type="xs:dateTime" /> <xs:element minOccurs="0" name="StringFullDate" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="StringDate" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="StringHour" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="JsonDateTime" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="Tick" nillable="true" type="xs:long"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="UnixTimeSpan" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="IsDateWithoutHour" type="xs:boolean" /> </xs:sequence> </xs:complexType> <xs:element name="Date" nillable="true" type="tns:Date" /> </xs:schema>
<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/Arrays" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:complexType name="ArrayOfstring"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="string" nillable="true" type="xs:string" /> </xs:sequence> </xs:complexType> <xs:element name="ArrayOfstring" nillable="true" type="tns:ArrayOfstring" /> </xs:schema>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/System" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/System" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:import namespace="http://schemas.datacontract.org/2004/07/System.Collections.Generic" /> <xs:complexType name="ArrayOfNullableOfKeyValuePairOfstringstringR8RmUPp7"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="KeyValuePairOfstringstring" nillable="true" xmlns:q1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" type="q1:KeyValuePairOfstringstring" /> </xs:sequence> </xs:complexType> <xs:element name="ArrayOfNullableOfKeyValuePairOfstringstringR8RmUPp7" nillable="true" type="tns:ArrayOfNullableOfKeyValuePairOfstringstringR8RmUPp7" /> </xs:schema>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/System.Collections.Generic" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/System.Collections.Generic" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" /> <xs:complexType name="KeyValuePairOfstringstring"> <xs:annotation> <xs:appinfo> <GenericType Name="KeyValuePairOf{0}{1}{#}" Namespace="http://schemas.datacontract.org/2004/07/System.Collections.Generic" xmlns="http://schemas.microsoft.com/2003/10/Serialization/"> <GenericParameter Name="string" Namespace="http://www.w3.org/2001/XMLSchema" /> <GenericParameter Name="string" Namespace="http://www.w3.org/2001/XMLSchema" /> </GenericType> <IsValueType xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</IsValueType> </xs:appinfo> </xs:annotation> <xs:sequence> <xs:element name="key" nillable="true" type="xs:string" /> <xs:element name="value" nillable="true" type="xs:string" /> </xs:sequence> </xs:complexType> <xs:element name="KeyValuePairOfstringstring" nillable="true" type="tns:KeyValuePairOfstringstring" /> </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>