https://frp.sage.fr/wiki1000/index.php?title=Utilisation_du_contr%C3%B4leur_de_partage_(API)&feed=atom&action=history
Utilisation du contrôleur de partage (API) - Historique des versions
2024-03-28T09:09:16Z
Historique pour cette page sur le wiki
MediaWiki 1.18.6
https://frp.sage.fr/wiki1000/index.php?title=Utilisation_du_contr%C3%B4leur_de_partage_(API)&diff=14098&oldid=prev
Syfre : /* Changement du mode de restitution */
2021-10-20T14:55:26Z
<p><span class="autocomment">Changement du mode de restitution</span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Version précédente</td>
<td colspan='2' style="background-color: white; color:black;">Version du 20 octobre 2021 à 14:55</td>
</tr><tr><td colspan="2" class="diff-lineno">Ligne 95 :</td>
<td colspan="2" class="diff-lineno">Ligne 95 :</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></pre></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></pre></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>{tip|Utilisez "" ou "*" pour passer en restitution sur toutes les sociétés}}</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">{</ins>{tip|Utilisez "" ou "*" pour passer en restitution sur toutes les sociétés}}</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><pre></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><pre></div></td></tr>
</table>
Syfre
https://frp.sage.fr/wiki1000/index.php?title=Utilisation_du_contr%C3%B4leur_de_partage_(API)&diff=14097&oldid=prev
Syfre : /* Changement du mode de restitution */
2021-10-20T14:55:09Z
<p><span class="autocomment">Changement du mode de restitution</span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Version précédente</td>
<td colspan='2' style="background-color: white; color:black;">Version du 20 octobre 2021 à 14:55</td>
</tr><tr><td colspan="2" class="diff-lineno">Ligne 96 :</td>
<td colspan="2" class="diff-lineno">Ligne 96 :</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>{tip|Utilisez "" ou "*" pour passer en restitution sur toutes les sociétés}}</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>{tip|Utilisez "" ou "*" pour passer en restitution sur toutes les sociétés}}</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"><pre></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">POST https://.../sdata/TdbfSharingController/changemoderestitution</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">{</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">"iModeRestitution":true,</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">"iSocieties":"*"</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">}</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">200OK</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">{</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">    "aReason": "",</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">    "result": true</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">}</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></pre></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>===Changement de la famille de restitution===</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>===Changement de la famille de restitution===</div></td></tr>
</table>
Syfre
https://frp.sage.fr/wiki1000/index.php?title=Utilisation_du_contr%C3%B4leur_de_partage_(API)&diff=14096&oldid=prev
Syfre : /* Changement du mode de restitution */
2021-10-20T14:54:48Z
<p><span class="autocomment">Changement du mode de restitution</span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Version précédente</td>
<td colspan='2' style="background-color: white; color:black;">Version du 20 octobre 2021 à 14:54</td>
</tr><tr><td colspan="2" class="diff-lineno">Ligne 84 :</td>
<td colspan="2" class="diff-lineno">Ligne 84 :</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>POST https://.../sdata/TdbfSharingController/changemoderestitution</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>POST https://.../sdata/TdbfSharingController/changemoderestitution</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>{</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>{</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>"iModeRestitution":<del class="diffchange diffchange-inline">false</del>,</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>"iModeRestitution":<ins class="diffchange diffchange-inline">true</ins>,</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>"iSocieties":"S1,S3"</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>"iSocieties":"S1,S3"</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>}</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>}</div></td></tr>
</table>
Syfre
https://frp.sage.fr/wiki1000/index.php?title=Utilisation_du_contr%C3%B4leur_de_partage_(API)&diff=13951&oldid=prev
Syfre : Page créée avec « __TOC__ ===Introduction=== Le contrôleur de partage permet d'obtenir les informations de partage associés à l'utilisateur du jeton d'authentification. {{tip|Le contrô... »
2021-04-21T12:01:55Z
<p>Page créée avec « __TOC__ ===Introduction=== Le contrôleur de partage permet d'obtenir les informations de partage associés à l'utilisateur du jeton d'authentification. {{tip|Le contrô... »</p>
<p><b>Nouvelle page</b></p><div>__TOC__<br />
===Introduction===<br />
Le contrôleur de partage permet d'obtenir les informations de partage associés à l'utilisateur du jeton d'authentification.<br />
<br />
{{tip|Le contrôleur de partage ne retourne que les sociétés utilisables par l'utilisateur.}}<br />
<br />
===Interrogation du contexte de partage===<br />
<pre><br />
GET https://.../sdata/TdbfSharingController<br />
200 OK<br />
{<br />
"$url": "http://localhost:8080/sdata/repository/TdbfSharingController",<br />
"stamp": "00000000",<br />
"Caption": "",<br />
"CurrentFamilly": {},<br />
"CurrentSociety": {<br />
"$key": "FFFFFFFFFFFFEEEE0003C57300000007",<br />
"$url": "http://localhost:8080/sdata/repository/TdbfShareSocietyView('FFFFFFFFFFFFEEEE0003C57300000007')"<br />
},<br />
"CurrentUser": "sage",<br />
"FamillyViewList": [<br />
{<br />
"$key": "FFFFFFFFFFFFEEEE0004C5730000000C",<br />
"Caption": "S1 & S2 Editions",<br />
"PerimetreRestitution": {<br />
"$key": "1B28EFFFF1C3000200F20000000300CA",<br />
"$url": "http://localhost:8080/sdata/repository/TdbfPerimetreRestitution('1B28EFFFF1C3000200F20000000300CA')"<br />
}<br />
},<br />
....<br />
],<br />
"Filter": "",<br />
"FilteredCount": 0,<br />
"FilteredStatus": "0 société(s) filtré(s)",<br />
"ModeRestitution": true,<br />
"ModeRestitutionAllSocieties": false,<br />
"ShareEnable": true,<br />
"ShowActive": true,<br />
"ShowInactive": false,<br />
"SocietyViewList": [<br />
{<br />
"$key": "FFFFFFFFFFFFEEEE0003C57300000007",<br />
"Caption": "S1",<br />
"Active": true,<br />
"Checked": true,<br />
"Company": {<br />
"$key": "1B28EFFFF1C3000200F1000000030009",<br />
"$url": "http://localhost:8080/sdata/repository/TitObject('1B28EFFFF1C3000200F1000000030009')"<br />
},<br />
"CompanyName": "Société S1",<br />
"PerimeterName": "S1",<br />
"PerimetrePartage": {<br />
"$key": "1B28EFFFF1C30002000300000003000B",<br />
"$url": "http://localhost:8080/sdata/repository/TdbfPerimetrePartage('1B28EFFFF1C30002000300000003000B')"<br />
},<br />
"Status": {<br />
"value": "Production",<br />
"title": "Production"<br />
},<br />
"Visible": true<br />
},<br />
....<br />
],<br />
"UserHasSuperRights": true<br />
}<br />
</pre><br />
<br />
===Changement de la société courante===<br />
<pre><br />
POST https://.../sdata/TdbfSharingController/changesociety<br />
{<br />
"iName":"S2"<br />
}<br />
<br />
200OK<br />
{<br />
"aReason": "",<br />
"result": true<br />
}<br />
</pre><br />
<br />
===Changement du mode de restitution===<br />
<pre><br />
POST https://.../sdata/TdbfSharingController/changemoderestitution<br />
{<br />
"iModeRestitution":false,<br />
"iSocieties":"S1,S3"<br />
}<br />
<br />
200OK<br />
{<br />
"aReason": "",<br />
"result": true<br />
}<br />
</pre><br />
<br />
{tip|Utilisez "" ou "*" pour passer en restitution sur toutes les sociétés}}<br />
<br />
===Changement de la famille de restitution===<br />
<pre><br />
POST https://.../sdata/TdbfSharingController/changefamilly<br />
{<br />
"iName":"S1 & S2 Editions"<br />
}<br />
<br />
200OK<br />
{<br />
"aReason": "",<br />
"result": true<br />
}<br />
</pre><br />
<br />
[[Category:SData]]</div>
Syfre