<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.rws.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>How to assign a file to a user in GS using Swagger UI</title><link>https://community.rws.com/developers-more/trados-portfolio/groupshare-developers/w/groupshare-api/3533/how-to-assign-a-file-to-a-user-in-gs-using-swagger-ui</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12 Non-Production</generator><item><title>How to assign a file to a user in GS using Swagger UI</title><link>https://community.rws.com/developers-more/trados-portfolio/groupshare-developers/w/groupshare-api/3533/how-to-assign-a-file-to-a-user-in-gs-using-swagger-ui</link><pubDate>Thu, 17 Jan 2019 09:09:07 GMT</pubDate><guid isPermaLink="false">10acfa76-f078-475b-a7ef-fc5b3e8d2934:4fe7f506-6101-4258-885f-1ad332f3872d</guid><dc:creator>Andrea-Melinda Ghisa</dc:creator><comments>https://community.rws.com/developers-more/trados-portfolio/groupshare-developers/w/groupshare-api/3533/how-to-assign-a-file-to-a-user-in-gs-using-swagger-ui#comments</comments><description>Current Revision posted to GroupShare API by Andrea-Melinda Ghisa on 1/17/2019 9:09:07 AM&lt;br /&gt;
&lt;p&gt;What we want to achieve:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Before&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-03-53/gsbef.jpg"&gt;&lt;img src="/resized-image/__size/940x647/__key/communityserver-wikis-components-files/00-00-00-03-53/gsbef.jpg" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;After&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-03-53/8802.GsAfter.jpg"&gt;&lt;img src="/resized-image/__size/940x645/__key/communityserver-wikis-components-files/00-00-00-03-53/8802.GsAfter.jpg" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In order to change the user assignment a POST call should be made to&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;&lt;span class="path"&gt;&lt;a class="toggleOperation " href="http://gs2017dev.sdl.com:41234/documentation/api/index#!/PhasesV2/PhasesV2_ChangeProjectAssignments"&gt;/api/projectserver/v2/projects/{projectId}/changeassignment&lt;/a&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;p&gt;&lt;span class="path"&gt;In the body of the call&amp;nbsp;we need to send&amp;nbsp;additional information about the LanguageFileId, PhaseId, Assigned Users.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="path"&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-03-53/1067.asgnBody.jpg"&gt;&lt;img src="/resized-image/__size/940x306/__key/communityserver-wikis-components-files/00-00-00-03-53/1067.asgnBody.jpg" alt=" " /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h3&gt;&lt;span class="path"&gt;How to get the PhaseId and Assigned Users&amp;nbsp;parameters&lt;/span&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span class="path"&gt;&lt;span class="path"&gt;PhaseId can be retrieved by making a call to&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h3&gt;&lt;span class="path"&gt;&lt;a class="toggleOperation " href="http://gs2017dev.sdl.com:41234/documentation/api/index#!/PhasesV2/PhasesV2_GetProjectPhases"&gt;/api/projectserver/v2/phases/{projectId}&lt;/a&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span class="path"&gt;&lt;span class="path"&gt;In order to get the&amp;nbsp;name of the user you want to assign the file&amp;nbsp;you need to make a call to the following endpoint&amp;nbsp;&lt;/span&gt;&lt;/span&gt;
&lt;h3&gt;&lt;span class="path"&gt;&lt;a class="toggleOperation " href="http://gs2017dev.sdl.com:41234/documentation/api/index#!/UsersV2/UsersV2_Get"&gt;/api/management/v2/users&lt;/a&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span class="path"&gt;From the response &amp;quot;&lt;em&gt;UserName&lt;/em&gt;&amp;quot; parameter must be used. You can assign the file to multiple users.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span class="path"&gt;How assign body looks like&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span class="path"&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-03-53/AssignBodyAfter.jpg"&gt;&lt;img src="/resized-image/__size/940x410/__key/communityserver-wikis-components-files/00-00-00-03-53/AssignBodyAfter.jpg" alt=" " /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="path"&gt;If the call was completed successfully you&amp;#39;ll the the changes in GroupShare UI.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: GroupShareApisDocumentation&lt;/div&gt;
</description></item><item><title>How to assign a file to a user in GS using Swagger UI</title><link>https://community.rws.com/developers-more/trados-portfolio/groupshare-developers/w/groupshare-api/3533/how-to-assign-a-file-to-a-user-in-gs-using-swagger-ui/revision/2</link><pubDate>Thu, 17 Jan 2019 09:04:33 GMT</pubDate><guid isPermaLink="false">10acfa76-f078-475b-a7ef-fc5b3e8d2934:4fe7f506-6101-4258-885f-1ad332f3872d</guid><dc:creator>Andrea-Melinda Ghisa</dc:creator><comments>https://community.rws.com/developers-more/trados-portfolio/groupshare-developers/w/groupshare-api/3533/how-to-assign-a-file-to-a-user-in-gs-using-swagger-ui#comments</comments><description>Revision 2 posted to GroupShare API by Andrea-Melinda Ghisa on 1/17/2019 9:04:33 AM&lt;br /&gt;
&lt;p&gt;What we want to achieve:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Before&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-39/gsbef.jpg"&gt;&lt;img src="/resized-image/__size/940x647/__key/communityserver-wikis-components-files/00-00-00-00-39/gsbef.jpg" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;After&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-39/8802.GsAfter.jpg"&gt;&lt;img src="/resized-image/__size/940x645/__key/communityserver-wikis-components-files/00-00-00-00-39/8802.GsAfter.jpg" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In order to change the user assignment a POST call should be made to&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;&lt;span class="path"&gt;&lt;a class="toggleOperation " href="http://gs2017dev.sdl.com:41234/documentation/api/index#!/PhasesV2/PhasesV2_ChangeProjectAssignments"&gt;/api/projectserver/v2/projects/{projectId}/changeassignment&lt;/a&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;p&gt;&lt;span class="path"&gt;In the body of the call&amp;nbsp;we need to send&amp;nbsp;additional information about the LanguageFileId, PhaseId, Assigned Users.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="path"&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-39/1067.asgnBody.jpg"&gt;&lt;img src="/resized-image/__size/940x306/__key/communityserver-wikis-components-files/00-00-00-00-39/1067.asgnBody.jpg" alt=" " /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h3&gt;&lt;span class="path"&gt;How to get the PhaseId and Assigned Users&amp;nbsp;parameters&lt;/span&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span class="path"&gt;&lt;span class="path"&gt;PhaseId can be retrieved by making a call to&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h3&gt;&lt;span class="path"&gt;&lt;a class="toggleOperation " href="http://gs2017dev.sdl.com:41234/documentation/api/index#!/PhasesV2/PhasesV2_GetProjectPhases"&gt;/api/projectserver/v2/phases/{projectId}&lt;/a&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span class="path"&gt;&lt;span class="path"&gt;In order to get the&amp;nbsp;name of the user you want to assign the file&amp;nbsp;you need to make a call to the following endpoint&amp;nbsp;&lt;/span&gt;&lt;/span&gt;
&lt;h3&gt;&lt;span class="path"&gt;&lt;a class="toggleOperation " href="http://gs2017dev.sdl.com:41234/documentation/api/index#!/UsersV2/UsersV2_Get"&gt;/api/management/v2/users&lt;/a&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span class="path"&gt;From the response &amp;quot;&lt;em&gt;UserName&lt;/em&gt;&amp;quot; parameter must be used. You can assign the file to multiple users.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: GroupShareApisDocumentation&lt;/div&gt;
</description></item><item><title>How to assign a file to a user in GS using Swagger UI</title><link>https://community.rws.com/developers-more/trados-portfolio/groupshare-developers/w/groupshare-api/3533/how-to-assign-a-file-to-a-user-in-gs-using-swagger-ui/revision/1</link><pubDate>Thu, 17 Jan 2019 09:00:33 GMT</pubDate><guid isPermaLink="false">10acfa76-f078-475b-a7ef-fc5b3e8d2934:4fe7f506-6101-4258-885f-1ad332f3872d</guid><dc:creator>Andrea-Melinda Ghisa</dc:creator><comments>https://community.rws.com/developers-more/trados-portfolio/groupshare-developers/w/groupshare-api/3533/how-to-assign-a-file-to-a-user-in-gs-using-swagger-ui#comments</comments><description>Revision 1 posted to GroupShare API by Andrea-Melinda Ghisa on 1/17/2019 9:00:33 AM&lt;br /&gt;
&lt;p&gt;What we want to achieve:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Before&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1547715648065v1.jpeg"&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1547715648065v1.jpeg" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;After&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1547715648066v2.jpeg"&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1547715648066v2.jpeg" alt=" " /&gt;&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;In order to change the user assignment a POST call should be made to&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;&lt;span class="path"&gt;&lt;a class="toggleOperation " href="http://gs2017dev.sdl.com:41234/documentation/api/index#!/PhasesV2/PhasesV2_ChangeProjectAssignments"&gt;/api/projectserver/v2/projects/{projectId}/changeassignment&lt;/a&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;p&gt;&lt;span class="path"&gt;In the body of the call&amp;nbsp;we need to send&amp;nbsp;additional information about the LanguageFileId, PhaseId, Assigned Users.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="path"&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1547715648066v3.jpeg"&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1547715648066v3.jpeg" alt=" " /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h3&gt;&lt;span class="path"&gt;How to get the PhaseId and Assigned Users&amp;nbsp;parameters&lt;/span&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span class="path"&gt;&lt;span class="path"&gt;PhaseId can be retrieved by making a call to&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h3&gt;&lt;span class="path"&gt;&lt;a class="toggleOperation " href="http://gs2017dev.sdl.com:41234/documentation/api/index#!/PhasesV2/PhasesV2_GetProjectPhases"&gt;/api/projectserver/v2/phases/{projectId}&lt;/a&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span class="path"&gt;&lt;span class="path"&gt;In order to get the&amp;nbsp;name of the user you want to assign the file&amp;nbsp;you need to make a call to the following endpoint&amp;nbsp;&lt;/span&gt;&lt;/span&gt;
&lt;h3&gt;&lt;span class="path"&gt;&lt;a class="toggleOperation " href="http://gs2017dev.sdl.com:41234/documentation/api/index#!/UsersV2/UsersV2_Get"&gt;/api/management/v2/users&lt;/a&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span class="path"&gt;From the response &amp;quot;&lt;em&gt;UserName&lt;/em&gt;&amp;quot; parameter must be used. You can assign the file to multiple users.&lt;/span&gt;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: GroupShareApisDocumentation&lt;/div&gt;
</description></item></channel></rss>