• Customers & Partners
      • Customer Groups
        • Philips
        • SDL Access Customer Portal
        • SDL Professional Services
        • Style Guides
      • Partner Groups
        • Language Technology Partner Group
        • SDL Academic Partners
        • SDL Enterprise Technology Partners
      • User Groups
        • XyUser Group
        • ETUG (European Trados User Group) Public Information
        • Machine Translation User Group
        • Nordic SDL Tridion Docs User Group
        • SDL Tridion DX User Group
        • SDL Tridion UK Meetup
        • SDL Tridion User Group New England
        • SDL Tridion West Coast User Group
        • SDL WorldServer User Group
        • Tridion Docs Europe & APAC User Group
    • Developers & More
      • Developers
        • Language Developers
        • Tridion Developers
        • Tridion Docs Developers
        • Xopus Developers
      • Feedback Groups
        • Community Help
        • SDL User Experience
      • SDL Internal Groups
        • Language Products - GCS Internal Community
        • SDL Community Internal Group
    • Events & Resources
      • Events & Webinars
      • Resources
        • Documentation
        • SDL Training
        • Support
      • Training
    • Ideas
      • Contenta Publishing Suite Ideas
        • SDL LiveContent S1000D Ideas
        • SDL Contenta S1000D
        • SDL XPP Ideas
      • Machine Translation Ideas
        • SDL BeGlobal Ideas
        • SDL Enterprise Translation Server (ETS) Ideas
      • SDL Connector Ideas
      • SDL Language Cloud Ideas
        • SDL Online Translation Editor Ideas
        • SDL Translation Toolkit Ideas
      • Translation Management Ideas
        • SDL Managed Translation - Enterprise Ideas
        • SDL TMS Ideas
        • SDL WorldServer Ideas
      • Translation Productivity Ideas
        • SDL MultiTerm Ideas
        • SDL Passolo Ideas
        • SDL Trados GroupShare Ideas
        • SDL Trados Studio Ideas
      • SDL Community Ideas
      • SDL Tridion DX Ideas
        • SDL Tridion Docs Ideas
        • SDL Tridion Sites Ideas
    • Product Groups
      • SDL Contenta Publishing Suite
        • SDL LiveContent S1000D
        • SDL Contenta S1000D
        • SDL XPP
      • SDL Language Cloud
      • SDL Machine Translation
        • SDL Content Assistant
        • SDL Machine Translation Cloud
        • SDL Machine Translation Edge
      • SDL Tridion DX
        • SDL Tridion Docs
        • SDL Tridion Sites
      • Translation Management
        • SDL Managed Translation - Enterprise
        • SDL MultiTrans
        • SDL TMS
        • SDL WorldServer
        • Translation Management Connectors
      • Translation Productivity
        • SDL Passolo
        • SDL Trados Business Manager
        • SDL Trados GroupShare
        • SDL Trados Speech to text
        • smartQuery - SDL Query Management
        • Translation Productivity 各フォーラムへのガイド
        • SDL Trados Studio
        • SDL MultiTerm
Go to Home
SDL Community
  • User
  •  
  • Site
  • Search
  • User
Language Developers
  • Developers & More
  • Developers
  • Language Developers
  • More
  • Cancel
Language Developers
Language Developers - Wiki How to assign a file to a user in GS using Swagger UI
  • Blogs
  • Forums
  • Resources
  • Wiki
  • More
  • Cancel
  • New
Language Developers requires membership for participation - click to join
  • +SDL AppStore Developers - Wiki
  • -API Tips & Tricks
    • +All about Batch Tasks plugins
    • +All about Translation Memory API
    • -GroupShare Api endpoints step by step
      • How authenticate to GroupShare using Swagger UI
      • How to assign a file to a user in GS using Swagger UI
      • How to change a phase of the file using Swagger UI
      • How to CheckIn a file
      • +How to create a GroupShare project using Swagger UI
      • How to search in a termbase using Swagger UI.
      • How to upload files to an existing GS Project
      • How to use developer console
      • Project Endpoints
    • GroupShare WebHooks Service
    • How to create a project using public api
    • How to create a View plugin in Studio using WPF
    • How to download Studio Templates SDK
    • How to push notifications in Studio 2019
    • How to set up development environment to build plugins
    • How to update plugins to Studio 2019
    • How to use Tell Me API
    • Plugin manifest file convention
    • Studio Ribbon Tabs
    • Studio Useful Tips service
    • Update required to older versions of Studio plugins
    • What is Fiddler and how to use it

How to assign a file to a user in GS using Swagger UI

What we want to achieve: 

Before

After

In order to change the user assignment a POST call should be made to 

/api/projectserver/v2/projects/{projectId}/changeassignment

In the body of the call we need to send additional information about the LanguageFileId, PhaseId, Assigned Users.

How to get the PhaseId and Assigned Users parameters

  • PhaseId can be retrieved by making a call to

    /api/projectserver/v2/phases/{projectId}

  • In order to get the name of the user you want to assign the file you need to make a call to the following endpoint 

    /api/management/v2/users

From the response "UserName" parameter must be used. You can assign the file to multiple users.

How assign body looks like

If the call was completed successfully you'll the the changes in GroupShare UI. 

  • GroupShareApisDocumentation
  • Share
  • History
  • More
  • Cancel
Related
Recommended
Cookie Preferences