TeamCity REST API Reference 2026.2 Help

OperationResult

The result of a single operation within a bulk request. Contains the affected entity and an optional error message if the operation failed.

Properties

message

The error message if this operation failed; absent if the operation succeeded.

The entity that this operation was performed on.

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="Build configuration not found by locator 'id:NonExistent'"> <related internalId="22011" text="Build #750 of GhAppMaven_Build" type="Build" unknown="false"> <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" : "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]]]" }, "message" : "Build configuration not found by locator 'id:NonExistent'" }
Last modified: 18 August 2026