POST api/fileo/dossier
Crée un dossier.
Request Information
URI Parameters
None.
Body Parameters
ApiIncomingDossier| Name | Description | Type | Additional information |
|---|---|---|---|
| IdDossier | integer |
None. |
|
| Nom | string |
Max length: 255 |
|
| IdDossierParent | integer |
None. |
|
| IdDossierProduction | integer |
None. |
|
| ProprietesModifiees | Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{
"IdDossier": 1,
"Nom": "sample string 1",
"IdDossierParent": 1,
"IdDossierProduction": 2,
"ProprietesModifiees": [
"sample string 1",
"sample string 2"
]
}
application/xml, text/xml
Sample:
<ApiIncomingDossier xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ModuleoCommunServeur.Business.Api.Incoming">
<ProprietesModifiees xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</ProprietesModifiees>
<IdDossier>1</IdDossier>
<IdDossierParent>1</IdDossierParent>
<IdDossierProduction>2</IdDossierProduction>
<Nom>sample string 1</Nom>
</ApiIncomingDossier>
application/x-www-form-urlencoded
Sample:
Sample not available.
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IdDossier" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Nom" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IdDossierParent" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IdDossierProduction" 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="ProprietesModifiees[0]" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="ProprietesModifiees[1]" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e--
Response Information
Resource Description
Retourne un ApiDossier.
ApiDossier| Name | Description | Type | Additional information |
|---|---|---|---|
| IdDossierParent |
Identifiant unique du dossier |
integer |
None. |
| IdDossierProduction |
Identifiant unique de l'élément de production |
integer |
None. |
| IdElement |
Identifiant unique de l'élément |
integer |
None. |
| Nom |
Nom de l'élément |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"IdDossierParent": 1,
"IdDossierProduction": 1,
"IdElement": 1,
"Nom": "sample string 2"
}
application/xml, text/xml
Sample:
<ApiDossier xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ModuleoWeb.Models.Api"> <IdElement>1</IdElement> <Nom>sample string 2</Nom> <IdDossierParent>1</IdDossierParent> <IdDossierProduction>1</IdDossierProduction> </ApiDossier>
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IdDossierParent" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IdDossierProduction" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IdElement" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Nom" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e--