Reference for http://dispatchweb.eureka-technology.fr/WebManager/WCFDispatchAPI.svc/REST/GetSubServices

Récupération de sous prestations d'une prestation

Url: http://dispatchweb.eureka-technology.fr/WebManager/WCFDispatchAPI.svc/REST/GetSubServices

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:

<GetSubServicesRequest xmlns="EurekaTechnology.DispatchWeb.API.Business">
  <Credential>
    <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>
  <ServiceCode>String content</ServiceCode>
</GetSubServicesRequest>

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"
		}
	},
	"ServiceCode":"String content"
}

The following is an example response Xml body:

<GetSubServicesResponse 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>
  <SubServices>
    <SubService>
      <Code>String content</Code>
      <Label>String content</Label>
      <Quantity>1.26743233E+15</Quantity>
      <Price>12678967.543233</Price>
      <AmountWithTaxes>12678967.543233</AmountWithTaxes>
      <Unit>String content</Unit>
      <CustomerComment>String content</CustomerComment>
      <QuantityDescriptionLabel>String content</QuantityDescriptionLabel>
      <QuantityMustBeSelected>true</QuantityMustBeSelected>
      <QuantityCanBeOverride>true</QuantityCanBeOverride>
      <RestrictedQuantityList>
        <double xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">1.26743233E+15</double>
        <double xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">1.26743233E+15</double>
      </RestrictedQuantityList>
      <DefaultQuantity>1.26743233E+15</DefaultQuantity>
      <TriggerACashOnDelivery>true</TriggerACashOnDelivery>
    </SubService>
    <SubService>
      <Code>String content</Code>
      <Label>String content</Label>
      <Quantity>1.26743233E+15</Quantity>
      <Price>12678967.543233</Price>
      <AmountWithTaxes>12678967.543233</AmountWithTaxes>
      <Unit>String content</Unit>
      <CustomerComment>String content</CustomerComment>
      <QuantityDescriptionLabel>String content</QuantityDescriptionLabel>
      <QuantityMustBeSelected>true</QuantityMustBeSelected>
      <QuantityCanBeOverride>true</QuantityCanBeOverride>
      <RestrictedQuantityList>
        <double xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">1.26743233E+15</double>
        <double xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">1.26743233E+15</double>
      </RestrictedQuantityList>
      <DefaultQuantity>1.26743233E+15</DefaultQuantity>
      <TriggerACashOnDelivery>true</TriggerACashOnDelivery>
    </SubService>
  </SubServices>
</GetSubServicesResponse>

The following is an example response Json body:

{
	"Errors":["String content"],
	"Status":0,
	"SubServices":[{
		"Code":"String content",
		"Label":"String content",
		"Quantity":1.26743233E+15,
		"Price":12678967.543233,
		"AmountWithTaxes":12678967.543233,
		"Unit":"String content",
		"CustomerComment":"String content",
		"QuantityDescriptionLabel":"String content",
		"QuantityMustBeSelected":true,
		"QuantityCanBeOverride":true,
		"RestrictedQuantityList":[1.26743233E+15],
		"DefaultQuantity":1.26743233E+15,
		"TriggerACashOnDelivery":true
	}]
}

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:complexType name="GetSubServicesRequest">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:RequestType">
        <xs:sequence>
          <xs:element name="ServiceCode" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="GetSubServicesRequest" nillable="true" type="tns:GetSubServicesRequest" />
  <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: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="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="GetSubServicesResponse">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ResponseType">
        <xs:sequence>
          <xs:element minOccurs="0" name="SubServices" nillable="true" type="tns:ArrayOfSubService" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="GetSubServicesResponse" nillable="true" type="tns:GetSubServicesResponse" />
  <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="ArrayOfSubService">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="SubService" nillable="true" type="tns:SubService" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfSubService" nillable="true" type="tns:ArrayOfSubService" />
  <xs:complexType name="SubService">
    <xs:sequence>
      <xs:element minOccurs="0" name="Code" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Label" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Quantity" type="xs:double" />
      <xs:element minOccurs="0" name="Price" type="xs:decimal" />
      <xs:element minOccurs="0" name="AmountWithTaxes" type="xs:decimal" />
      <xs:element minOccurs="0" name="Unit" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CustomerComment" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="QuantityDescriptionLabel" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="QuantityMustBeSelected" type="xs:boolean" />
      <xs:element minOccurs="0" name="QuantityCanBeOverride" type="xs:boolean" />
      <xs:element minOccurs="0" name="RestrictedQuantityList" nillable="true" xmlns:q2="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q2:ArrayOfdouble" />
      <xs:element minOccurs="0" name="DefaultQuantity" type="xs:double" />
      <xs:element minOccurs="0" name="TriggerACashOnDelivery" type="xs:boolean" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="SubService" nillable="true" type="tns:SubService" />
</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:complexType name="ArrayOfdouble">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="double" type="xs:double" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfdouble" nillable="true" type="tns:ArrayOfdouble" />
</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>