Reference for https://webservices.ciel.com/CielTelechargement/CrudDownlaodManager.svc/Crud/Operation

Url: https://webservices.ciel.com/CielTelechargement/CrudDownlaodManager.svc/Crud/Operation

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:

<DwmDownLoadProductOperation xmlns="http://schemas.datacontract.org/2004/07/BC.DownloadManager.Entities.InterfaceContract">
  <Value>
    <RecordOptions xmlns="http://schemas.datacontract.org/2004/07/DarkIce.DISystem.EntitiesBuilder.Common">Undefined</RecordOptions>
    <StatusRecord xmlns="http://schemas.datacontract.org/2004/07/DarkIce.DISystem.EntitiesBuilder.Common">Read</StatusRecord>
    <Actif xmlns="http://schemas.datacontract.org/2004/07/BC.DownloadManager.Entities">true</Actif>
    <BDD xmlns="http://schemas.datacontract.org/2004/07/BC.DownloadManager.Entities">None</BDD>
    <BU xmlns="http://schemas.datacontract.org/2004/07/BC.DownloadManager.Entities">None</BU>
    <CodeProduit xmlns="http://schemas.datacontract.org/2004/07/BC.DownloadManager.Entities">String content</CodeProduit>
    <Id xmlns="http://schemas.datacontract.org/2004/07/BC.DownloadManager.Entities">9223372036854775807</Id>
    <IsSecure xmlns="http://schemas.datacontract.org/2004/07/BC.DownloadManager.Entities">true</IsSecure>
    <LibelleCourt xmlns="http://schemas.datacontract.org/2004/07/BC.DownloadManager.Entities">String content</LibelleCourt>
    <LienGuide xmlns="http://schemas.datacontract.org/2004/07/BC.DownloadManager.Entities">String content</LienGuide>
    <NiverauFonctionnel xmlns="http://schemas.datacontract.org/2004/07/BC.DownloadManager.Entities">None</NiverauFonctionnel>
    <NomFichier xmlns="http://schemas.datacontract.org/2004/07/BC.DownloadManager.Entities">String content</NomFichier>
    <OSClient xmlns="http://schemas.datacontract.org/2004/07/BC.DownloadManager.Entities">None</OSClient>
    <OSServer xmlns="http://schemas.datacontract.org/2004/07/BC.DownloadManager.Entities">None</OSServer>
    <Periode xmlns="http://schemas.datacontract.org/2004/07/BC.DownloadManager.Entities">
      <Start xmlns="http://schemas.datacontract.org/2004/07/DarkIce.DISystem.Core.DataTransfertObject">1999-05-31T11:20:00</Start>
      <End xmlns="http://schemas.datacontract.org/2004/07/DarkIce.DISystem.Core.DataTransfertObject">1999-05-31T11:20:00</End>
      <Text xmlns="http://schemas.datacontract.org/2004/07/DarkIce.DISystem.Core.DataTransfertObject">String content</Text>
    </Periode>
    <TailleFichier xmlns="http://schemas.datacontract.org/2004/07/BC.DownloadManager.Entities">1.26743233E+15</TailleFichier>
    <Version xmlns="http://schemas.datacontract.org/2004/07/BC.DownloadManager.Entities">1.26743233E+15</Version>
  </Value>
  <Identity>String content</Identity>
  <Operation>Insert</Operation>
</DwmDownLoadProductOperation>

The following is an example request Json body:

{
	"Value":{
		"RecordOptions":0,
		"StatusRecord":0,
		"Actif":true,
		"BDD":0,
		"BU":0,
		"CodeProduit":"String content",
		"Id":9223372036854775807,
		"IsSecure":true,
		"LibelleCourt":"String content",
		"LienGuide":"String content",
		"NiverauFonctionnel":0,
		"NomFichier":"String content",
		"OSClient":0,
		"OSServer":0,
		"Periode":{
			"Start":"\/Date(928142400000+0200)\/",
			"End":"\/Date(928142400000+0200)\/",
			"Text":"String content"
		},
		"TailleFichier":1.26743233E+15,
		"Version":1.26743233E+15
	},
	"Identity":"String content",
	"Operation":0
}

The following is an example response Xml body:

<CrudDwmDownLoadProductResult xmlns="http://schemas.datacontract.org/2004/07/BC.DownloadManager.Entities.InterfaceContract">
  <DownLoadId>9223372036854775807</DownLoadId>
  <ErrorMessage>String content</ErrorMessage>
  <IsSuccess>true</IsSuccess>
</CrudDwmDownLoadProductResult>

The following is an example response Json body:

{
	"DownLoadId":9223372036854775807,
	"ErrorMessage":"String content",
	"IsSuccess":true
}

The following is the request Xml Schema:

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/BC.DownloadManager.Entities.InterfaceContract" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/BC.DownloadManager.Entities.InterfaceContract" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.datacontract.org/2004/07/BC.DownloadManager.Entities" />
  <xs:complexType name="DwmDownLoadProductOperation">
    <xs:sequence>
      <xs:element minOccurs="0" name="Value" nillable="true" xmlns:q1="http://schemas.datacontract.org/2004/07/BC.DownloadManager.Entities" type="q1:DwmDownLoadProduct" />
      <xs:element minOccurs="0" name="Identity" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Operation" type="tns:CrudDwnOperation" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="DwmDownLoadProductOperation" nillable="true" type="tns:DwmDownLoadProductOperation" />
  <xs:simpleType name="CrudDwnOperation">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Insert" />
      <xs:enumeration value="Update" />
      <xs:enumeration value="Delete" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="CrudDwnOperation" nillable="true" type="tns:CrudDwnOperation" />
</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.datacontract.org/2004/07/BC.DownloadManager.Entities" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/BC.DownloadManager.Entities" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.datacontract.org/2004/07/DarkIce.DISystem.Core.DataTransfertObject" />
  <xs:import namespace="http://schemas.datacontract.org/2004/07/DarkIce.DISystem.EntitiesBuilder.Common" />
  <xs:complexType name="DwmDownLoadProduct">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q1="http://schemas.datacontract.org/2004/07/DarkIce.DISystem.EntitiesBuilder.Common" base="q1:GenericRecord">
        <xs:sequence>
          <xs:element minOccurs="0" name="Actif" type="xs:boolean" />
          <xs:element minOccurs="0" name="BDD" type="tns:BaseDeDonee" />
          <xs:element minOccurs="0" name="BU" type="tns:Division" />
          <xs:element minOccurs="0" name="CodeProduit" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Id" type="xs:long" />
          <xs:element minOccurs="0" name="IsSecure" type="xs:boolean" />
          <xs:element minOccurs="0" name="LibelleCourt" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="LienGuide" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="NiverauFonctionnel" type="tns:NiveauFonctionnel" />
          <xs:element minOccurs="0" name="NomFichier" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="OSClient" type="tns:OSClient" />
          <xs:element minOccurs="0" name="OSServer" type="tns:OSServer" />
          <xs:element minOccurs="0" name="Periode" nillable="true" xmlns:q2="http://schemas.datacontract.org/2004/07/DarkIce.DISystem.Core.DataTransfertObject" type="q2:Period" />
          <xs:element minOccurs="0" name="TailleFichier" type="xs:double" />
          <xs:element minOccurs="0" name="Version" type="xs:double" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="DwmDownLoadProduct" nillable="true" type="tns:DwmDownLoadProduct" />
  <xs:simpleType name="BaseDeDonee">
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Oracle" />
      <xs:enumeration value="SQLServer" />
      <xs:enumeration value="Cbase" />
      <xs:enumeration value="Express" />
      <xs:enumeration value="MSAccess" />
      <xs:enumeration value="BaseCiel" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="BaseDeDonee" nillable="true" type="tns:BaseDeDonee" />
  <xs:simpleType name="Division">
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Ciel" />
      <xs:enumeration value="PE" />
      <xs:enumeration value="PME" />
      <xs:enumeration value="MGE" />
      <xs:enumeration value="ATL" />
      <xs:enumeration value="Automobile" />
      <xs:enumeration value="ExpertComptable" />
      <xs:enumeration value="Export" />
      <xs:enumeration value="EServicePaye" />
      <xs:enumeration value="Collectivite" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="Division" nillable="true" type="tns:Division" />
  <xs:simpleType name="NiveauFonctionnel">
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Base" />
      <xs:enumeration value="Pack" />
      <xs:enumeration value="PackPlus" />
      <xs:enumeration value="SélectionI" />
      <xs:enumeration value="SélectionII" />
      <xs:enumeration value="Standard" />
      <xs:enumeration value="Premium" />
      <xs:enumeration value="Evolution" />
      <xs:enumeration value="Artisan" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="NiveauFonctionnel" nillable="true" type="tns:NiveauFonctionnel" />
  <xs:simpleType name="OSClient">
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Windows" />
      <xs:enumeration value="MasOS" />
      <xs:enumeration value="Linux" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="OSClient" nillable="true" type="tns:OSClient" />
  <xs:simpleType name="OSServer">
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="MicrosoftWindows2000Server" />
      <xs:enumeration value="MicrosoftWindows2003Server" />
      <xs:enumeration value="MicrosoftWindows2008Server" />
      <xs:enumeration value="MicrosoftWindows2012Server" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="OSServer" nillable="true" type="tns:OSServer" />
</xs:schema>

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/DarkIce.DISystem.EntitiesBuilder.Common" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/DarkIce.DISystem.EntitiesBuilder.Common" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
  <xs:complexType name="GenericRecord">
    <xs:annotation>
      <xs:appinfo>
        <GenericType Name="GenericRecord" Namespace="http://schemas.datacontract.org/2004/07/DarkIce.DISystem.EntitiesBuilder.Common" xmlns="http://schemas.microsoft.com/2003/10/Serialization/">
          <GenericParameter Name="DwmDownLoadProduct" Namespace="http://schemas.datacontract.org/2004/07/BC.DownloadManager.Entities" />
        </GenericType>
      </xs:appinfo>
    </xs:annotation>
    <xs:sequence>
      <xs:element minOccurs="0" name="RecordOptions" type="tns:RecordOptions" />
      <xs:element minOccurs="0" name="StatusRecord" type="tns:StatusRecord" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="GenericRecord" nillable="true" type="tns:GenericRecord" />
  <xs:simpleType name="RecordOptions">
    <xs:annotation>
      <xs:appinfo>
        <ActualType Name="short" Namespace="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
      </xs:appinfo>
    </xs:annotation>
    <xs:list>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="Undefined">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">0</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="Normal">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="AutoLinkResolve">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">2</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="ReadOnly">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">4</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="DontDoMap">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">8</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
        </xs:restriction>
      </xs:simpleType>
    </xs:list>
  </xs:simpleType>
  <xs:element name="RecordOptions" nillable="true" type="tns:RecordOptions" />
  <xs:simpleType name="StatusRecord">
    <xs:annotation>
      <xs:appinfo>
        <ActualType Name="short" Namespace="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
      </xs:appinfo>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Read" />
      <xs:enumeration value="New" />
      <xs:enumeration value="Deleted" />
      <xs:enumeration value="Modified" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="StatusRecord" nillable="true" type="tns:StatusRecord" />
</xs:schema>

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/DarkIce.DISystem.Core.DataTransfertObject" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/DarkIce.DISystem.Core.DataTransfertObject" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="Period">
    <xs:sequence>
      <xs:element minOccurs="0" name="Start" type="xs:dateTime" />
      <xs:element minOccurs="0" name="End" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Text" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Period" nillable="true" type="tns:Period" />
</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/BC.DownloadManager.Entities.InterfaceContract" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/BC.DownloadManager.Entities.InterfaceContract" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="CrudDwmDownLoadProductResult">
    <xs:sequence>
      <xs:element minOccurs="0" name="DownLoadId" type="xs:long" />
      <xs:element minOccurs="0" name="ErrorMessage" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="IsSuccess" type="xs:boolean" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="CrudDwmDownLoadProductResult" nillable="true" type="tns:CrudDwmDownLoadProductResult" />
</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>