Reference for https://webservices.ciel.com/CielTelechargement/CrudDownlaodManager.svc/Patch/Crud/Insert?Identity={IDENTITY}
Url: https://webservices.ciel.com/CielTelechargement/CrudDownlaodManager.svc/Patch/Crud/Insert?Identity={IDENTITY}
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:
<DwmDownLoadProductChild xmlns="http://schemas.datacontract.org/2004/07/BC.DownloadManager.Entities"> <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> <Context>String content</Context> <Description>String content</Description> <FileName>String content</FileName> <FileSize>1.26743233E+15</FileSize> <Id>9223372036854775807</Id> <IdParent>9223372036854775807</IdParent> <IsActive>true</IsActive> <IsSecure>true</IsSecure> <ReleaseDate>1999-05-31T11:20:00</ReleaseDate> <Version>1.26743233E+15</Version> </DwmDownLoadProductChild>
The following is an example request Json body:
{
"RecordOptions":0,
"StatusRecord":0,
"Context":"String content",
"Description":"String content",
"FileName":"String content",
"FileSize":1.26743233E+15,
"Id":9223372036854775807,
"IdParent":9223372036854775807,
"IsActive":true,
"IsSecure":true,
"ReleaseDate":"\/Date(928142400000+0200)\/",
"Version":1.26743233E+15
}
The following is an example response Xml body:
<DwnError xmlns="http://schemas.datacontract.org/2004/07/BC.DownloadManager.Entities.InterfaceContract"> <ErrNo>2147483647</ErrNo> <Message>String content</Message> </DwnError>
The following is an example response Json body:
{
"ErrNo":2147483647,
"Message":"String content"
}
The following is the request Xml 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.EntitiesBuilder.Common" />
<xs:complexType name="DwmDownLoadProductChild">
<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="Context" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="FileName" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="FileSize" type="xs:double" />
<xs:element minOccurs="0" name="Id" type="xs:long" />
<xs:element minOccurs="0" name="IdParent" type="xs:long" />
<xs:element minOccurs="0" name="IsActive" type="xs:boolean" />
<xs:element minOccurs="0" name="IsSecure" type="xs:boolean" />
<xs:element minOccurs="0" name="ReleaseDate" type="xs:dateTime" />
<xs:element minOccurs="0" name="Version" type="xs:double" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="DwmDownLoadProductChild" nillable="true" type="tns:DwmDownLoadProductChild" />
</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/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="DwmDownLoadProductChild" 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>
<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="DwnError">
<xs:sequence>
<xs:element minOccurs="0" name="ErrNo" type="xs:int" />
<xs:element minOccurs="0" name="Message" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
<xs:element name="DwnError" nillable="true" type="tns:DwnError" />
</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>