TeamCity REST API Reference 2026.1 Help

TestOccurrences

Represents a paginated list of TestOccurrence entities.

Properties

count

href

nextHref

prevHref

testOccurrence

testCounters

ignored

failed

passed

newFailed

muted

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.

<testOccurrences count="123" failed="123" href="string" ignored="123" muted="123" newFailed="123" nextHref="string" passed="123" prevHref="string"> <testOccurrence>[[[testOccurrence...|testoccurrence.html]]]</testOccurrence> <testCounters all="123" duration="123456789" failed="123" ignored="123" muted="123" newFailed="123" success="123"/> </testOccurrences>
{ "ignored" : 8, "newFailed" : 4, "count" : 3, "testOccurrence" : [ "[[[testOccurrence...|testoccurrence.html]]]" ], "prevHref" : "prevHref", "href" : "href", "failed" : 2, "passed" : 9, "muted" : 8, "testCounters" : "[[[testCounters...|testcounters.html]]]", "nextHref" : "nextHref" }
Last modified: 04 April 2026