Bonjour,
J'essayes actuellement d'utiliser la method Create en utilisant la requête suivante:
L'objet de cet exemple est simplement de créer un folder nommé "new_folder" sous le root folder. Pour ce faire j'ai généré un CUID pour mon nouveau folder et j'ai récupéré le CUID du root folder.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://biplatform.dsws.businessobjects.com/2007/06/01" xmlns:inf="http://enterprise.businessobjects.com/4.0/infoobject"> <soapenv:Header/> <soapenv:Body> <ns:Create> <ns:SessionID>3%26ua%3DAWmaEx4Z.NVPpAEthuTGAjc%2C8P%26ub%3DAfRWaT5_131NlLLf5bRMLKY%2C8P%26S5%2C88%265U%3D6705JH1PuLyVS352E13xGsAaFcd6704J5PMM9QGoWoAAOpqJjZf5bw%2C8P%2663%3DsecEnterprise%2C8P%26PP%3D1024%2C83%262r%3DVP-DL-BO4.fr.mega.com%3A6400%2C8P%263k%3D%40VP-DL-BO4.fr.mega.com%3A6400%2C8P%261%3DAdministrator%2Baccount%2C8P%264E%3D6704J5PMM9QGoWoAAOpqJjZf5bw%2C8P%26Tn%3D%7B3%26.1%3D%7B3%262%3D725%2C83%26O%3DFavoritesFolder%2C8P%7D%2C%3Fz%26.2%3D%7B3%262%3D726%2C83%26O%3DPersonalCategory%2C8P%7D%2C%3Fz%26U%3D3%2C83%26.3%3D%7B3%262%3D727%2C83%26O%3DInbox%2C8P%7D%2C%3Fz%7D%2C%3Fz%264F%3D12%2C8P%26Tm%3D36500%2C83%26lu%3D1033%2C83%26uy%3D-32%2C8L%2635%3DAdministrator%2C8P%267r%2C83%26ux%3DAcDZo8OuvR9IiowBUHJX6hs%2C8P%26pa%2C8P|osca%3Aiiop%3A%2F%2FVP-DL-BO4.fr.mega.com%3A6400%3BSI_SESSIONID%3D6704J5PMM9QGoWoAAOpqJjZf5bw|en|Europe/Paris|null</ns:SessionID> <ns:InfoObjects> <inf:InfoObject xsi:type="ns262:Folder" xmlns:ns262="http://enterprise.businessobjects.com/4.0/folder" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <inf:Name>new_folder</inf:Name> <inf:Description>new_description</inf:Description> <inf:CUID>Ab8R1ikkbQJAlMxsW5RkLlU</inf:CUID> <inf:ParentCUID>ASHnC0S_Pw5LhKFbZ.iA_j4</inf:ParentCUID> </inf:InfoObject> </ns:InfoObjects> </ns:Create> </soapenv:Body> </soapenv:Envelope>
Le soucis est que la méthode ne répond pas grand chose et surtout le folder au final n'est pas crée:
Je ne sais pas vraiment ce qui manque dans l'appel. Quelqu'un pourrait il m'aider?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5 <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <CreateResponse xmlns="http://biplatform.dsws.businessobjects.com/2007/06/01"/> </soapenv:Body> </soapenv:Envelope>
JPH
Partager