Reference for http://dispatchweb.eureka-technology.fr/WebManager/WCFDispatchAPI.svc/REST/Json/SendCSSDemand
Envoi une demande de css aux développeurs Eureka
Url: http://dispatchweb.eureka-technology.fr/WebManager/WCFDispatchAPI.svc/REST/Json/SendCSSDemand
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:
<SendCSSDemandRequest xmlns="EurekaTechnology.DispatchWeb.API.Business"> <Client>String content</Client> <Contact>String content</Contact> <CSS>String content</CSS> <PackageFamilyPictos> <PackageFamilyPicto> <PictoName>String content</PictoName> <FamilyPackageCode> <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> </FamilyPackageCode> </PackageFamilyPicto> <PackageFamilyPicto> <PictoName>String content</PictoName> <FamilyPackageCode> <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> </FamilyPackageCode> </PackageFamilyPicto> </PackageFamilyPictos> <ServicePictos> <ServicePicto xmlns="http://schemas.datacontract.org/2004/07/EurekaTechnology.DispatchWeb.API.Business.Request"> <PictoName>String content</PictoName> <ServiceCode> <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> </ServiceCode> </ServicePicto> <ServicePicto xmlns="http://schemas.datacontract.org/2004/07/EurekaTechnology.DispatchWeb.API.Business.Request"> <PictoName>String content</PictoName> <ServiceCode> <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> </ServiceCode> </ServicePicto> </ServicePictos> <AdditionalComment>String content</AdditionalComment> <CompanyLogo>QmFzZSA2NCBTdHJlYW0=</CompanyLogo> <CompanyLogoFileName>String content</CompanyLogoFileName> <ServiceFamilyPictos> <FamilyServicePicto xmlns="http://schemas.datacontract.org/2004/07/EurekaTechnology.DispatchWeb.API.Business.Request"> <PictoName>String content</PictoName> <ServiceFamilyCode> <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> </ServiceFamilyCode> </FamilyServicePicto> <FamilyServicePicto xmlns="http://schemas.datacontract.org/2004/07/EurekaTechnology.DispatchWeb.API.Business.Request"> <PictoName>String content</PictoName> <ServiceFamilyCode> <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> </ServiceFamilyCode> </FamilyServicePicto> </ServiceFamilyPictos> </SendCSSDemandRequest>
The following is an example request Json body:
{ "Client":"String content", "Contact":"String content", "CSS":"String content", "PackageFamilyPictos":[{ "PictoName":"String content", "FamilyPackageCode":["String content"] }], "ServicePictos":[{ "PictoName":"String content", "ServiceCode":["String content"] }], "AdditionalComment":"String content", "CompanyLogo":[81, 109, 70, 122, 90, 83, 65, 50, 78, 67, 66, 84, 100, 72, 74, 108, 89, 87, 48, 61], "CompanyLogoFileName":"String content", "ServiceFamilyPictos":[{ "PictoName":"String content", "ServiceFamilyCode":["String content"] }] }
The following is an example response Xml body:
<ResponseType xmlns="EurekaTechnology.DispatchWeb.API.Business"> <Errors> <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>OK</Status> </ResponseType>
The following is an example response Json body:
{ "Errors":["String content"], "Status":0 }
The following is the request Xml 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.datacontract.org/2004/07/EurekaTechnology.DispatchWeb.API.Business.Request" /> <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" /> <xs:complexType name="SendCSSDemandRequest"> <xs:sequence> <xs:element minOccurs="0" name="Client" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="Contact" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="CSS" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="PackageFamilyPictos" nillable="true" type="tns:ArrayOfPackageFamilyPicto" /> <xs:element minOccurs="0" name="ServicePictos" nillable="true" xmlns:q1="http://schemas.datacontract.org/2004/07/EurekaTechnology.DispatchWeb.API.Business.Request" type="q1:ArrayOfServicePicto" /> <xs:element minOccurs="0" name="AdditionalComment" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="CompanyLogo" nillable="true" type="xs:base64Binary" /> <xs:element minOccurs="0" name="CompanyLogoFileName" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="ServiceFamilyPictos" nillable="true" xmlns:q2="http://schemas.datacontract.org/2004/07/EurekaTechnology.DispatchWeb.API.Business.Request" type="q2:ArrayOfFamilyServicePicto" /> </xs:sequence> </xs:complexType> <xs:element name="SendCSSDemandRequest" nillable="true" type="tns:SendCSSDemandRequest" /> <xs:complexType name="ArrayOfPackageFamilyPicto"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="PackageFamilyPicto" nillable="true" type="tns:PackageFamilyPicto" /> </xs:sequence> </xs:complexType> <xs:element name="ArrayOfPackageFamilyPicto" nillable="true" type="tns:ArrayOfPackageFamilyPicto" /> <xs:complexType name="PackageFamilyPicto"> <xs:sequence> <xs:element minOccurs="0" name="PictoName" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="FamilyPackageCode" nillable="true" xmlns:q3="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q3:ArrayOfstring" /> </xs:sequence> </xs:complexType> <xs:element name="PackageFamilyPicto" nillable="true" type="tns:PackageFamilyPicto" /> </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="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/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="http://schemas.microsoft.com/2003/10/Serialization/Arrays" /> <xs:complexType name="ArrayOfServicePicto"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="ServicePicto" nillable="true" type="tns:ServicePicto" /> </xs:sequence> </xs:complexType> <xs:element name="ArrayOfServicePicto" nillable="true" type="tns:ArrayOfServicePicto" /> <xs:complexType name="ServicePicto"> <xs:sequence> <xs:element minOccurs="0" name="PictoName" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="ServiceCode" nillable="true" xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q1:ArrayOfstring" /> </xs:sequence> </xs:complexType> <xs:element name="ServicePicto" nillable="true" type="tns:ServicePicto" /> <xs:complexType name="ArrayOfFamilyServicePicto"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="FamilyServicePicto" nillable="true" type="tns:FamilyServicePicto" /> </xs:sequence> </xs:complexType> <xs:element name="ArrayOfFamilyServicePicto" nillable="true" type="tns:ArrayOfFamilyServicePicto" /> <xs:complexType name="FamilyServicePicto"> <xs:sequence> <xs:element minOccurs="0" name="PictoName" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="ServiceFamilyCode" nillable="true" xmlns:q2="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q2:ArrayOfstring" /> </xs:sequence> </xs:complexType> <xs:element name="FamilyServicePicto" nillable="true" type="tns:FamilyServicePicto" /> </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="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: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: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="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>
<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>