Update Object

The 'update object' API is used to update one object using a TeamTracks Edit view. This is a PUT request where the object values are passed in JSON in the request body. The API returns '200 OK' when successful.

Update Object [EP-2]

The following PUT endpoint updates an object based on a specific edit view:

https://api.team-tracks.com/object/{viewId}/{objectId}

This endpoint requires the id of an edit view in the system and the id of the object to be updated. Like creating an object, the field values are passed in the request body as JSON as below.

{
    "objectValues": {
        "DMR Number": "DD1213",
        "DMR Issued?": true,
    }
}

 The call should include the below headers.

Authorization: "Bearer <token>"
tenant: <your_tenent_ID>
Ocp-Apim-Subscription-Key: <your_subscription_key>

Field Value formats

The expected format of the field values depends on the type of the field and is as below:

Field TypeJSON Format

Text

String

Int

Number (without decimals)

Float

Number

Bool

Boolean

Choice

String (valid choice defined on field)

Date

Number in Unix epoch time format (in milliseconds)

DateTime

Number in Unix epoch time format (in milliseconds)

Multichoice

Array of strings (strings must be valid choices defined on the field)