TeamCity REST API Reference 2026.2 Help

RelatedEntities

Represents a list of RelatedEntity entities.

Properties

count

The current number of RelatedEntity objects in this list.

entity

The list of RelatedEntity objects owned by this collection.

Schema

Below, you can find a full schema of this object, in XML and JSON formats. You can choose what fields to submit depending on your current needs. Different methods might expect different fields: the best approach is to request this entity via GET and use the response as a base for the following POST request.

A link to another object implies that you can substitute it with the schema of the linked object, if it is required for your call.

<relatedEntities count="3"> <entity>[[[relatedEntity...|relatedentity.html]]]</entity> </relatedEntities>
{ "count" : 3, "entity" : [ { "agent" : "[[[agent...|agent.html]]]", "vcsRoot" : "[[[vcs-root...|vcsroot.html]]]", "test" : "[[[test...|test.html]]]", "change" : "[[[change...|change.html]]]", "project" : "[[[project...|project.html]]]", "type" : "Build", "unknown" : false, "internalId" : "22011", "problem" : "[[[problem...|problem.html]]]", "build" : "[[[build...|build.html]]]", "buildType" : "[[[buildType...|buildtype.html]]]", "text" : "Build #750 of GhAppMaven_Build", "agentPool" : "[[[agentPool...|agentpool.html]]]", "user" : "[[[user...|user.html]]]", "group" : "[[[group...|group.html]]]" } ] }
Last modified: 18 August 2026