TeamCity REST API Reference 2024.07 Help

OperationResult

Represents a relation between a message and a related entity.

Properties

Field

Data type

message

string

related

RelatedEntity

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.

<operationResult message="string"> <related internalId="string" text="string" type="string" unknown="true"> <build>[[[build...|build.html]]]</build> <buildType>[[[buildType...|buildtype.html]]]</buildType> <project>[[[project...|project.html]]]</project> <user>[[[user...|user.html]]]</user> <group>[[[group...|group.html]]]</group> <test>[[[test...|test.html]]]</test> <problem>[[[problem...|problem.html]]]</problem> <agent>[[[agent...|agent.html]]]</agent> <vcsRoot>[[[vcs-root...|vcsroot.html]]]</vcsRoot> <change>[[[change...|change.html]]]</change> <agentPool>[[[agentPool...|agentpool.html]]]</agentPool> </related> </operationResult>
{ "related" : { "agent" : "[[[agent...|agent.html]]]", "vcsRoot" : "[[[vcs-root...|vcsroot.html]]]", "test" : "[[[test...|test.html]]]", "change" : "[[[change...|change.html]]]", "project" : "[[[project...|project.html]]]", "type" : "type", "unknown" : true, "internalId" : "internalId", "problem" : "[[[problem...|problem.html]]]", "build" : "[[[build...|build.html]]]", "buildType" : "[[[buildType...|buildtype.html]]]", "text" : "text", "agentPool" : "[[[agentPool...|agentpool.html]]]", "user" : "[[[user...|user.html]]]", "group" : "[[[group...|group.html]]]" }, "message" : "message" }
Last modified: 04 July 2024