Documentation Center

Updating attribute values

To update the value of certain attributes, you need to include the type of object to which they apply (the ID of the resource) in the JSON request body. You also need to specify new values for the properties that you want to change. For example, you might make a task attribute required or configure WorldServer to include that attribute in translation kits.

About this task

A diagram that highlights the process of updating attribute values.

Procedure

  1. Log in to the WorldServer API.
    A response similar to the following is returned. In the response, identify the value of the sessionId parameter. You will need this value in all the calls you make.A screen shot that highlights the sessionId in the response to the login call.
  2. Get the ID of the resource whose attributes you want to modify.
    Available resource types are: VENDOR, PROJECT, TASK, USER, TM_TRANSLATION, TD_ENTRY, TD_TERM, WORKFLOW_ROLE, WORKGROUP_TM, TM_GROUP, TD_GROUP, WORKFLOW, ISSUE, COST_MODEL, CLIENT, RFQ, REVIEW_MODEL, and TD_LANGUAGE.
  3. Get attribute definition details.
  4. Update the attribute values.
    Use the ID of the resource and the attribute definition model. Make sure that the value you added is valid for the attribute type of your choice.