POST api/Tests/RetrieveTests

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Test
NameDescriptionTypeAdditional information
id

integer

None.

name

string

None.

created_date

date

None.

modified_date

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "name": "sample string 2",
    "created_date": "2017-09-25T16:20:39.8295374+01:00",
    "modified_date": "2017-09-25T16:20:39.8295374+01:00"
  },
  {
    "id": 1,
    "name": "sample string 2",
    "created_date": "2017-09-25T16:20:39.8295374+01:00",
    "modified_date": "2017-09-25T16:20:39.8295374+01:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfTest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Totara.WEBAPI">
  <Test>
    <created_date>2017-09-25T16:20:39.8295374+01:00</created_date>
    <id>1</id>
    <modified_date>2017-09-25T16:20:39.8295374+01:00</modified_date>
    <name>sample string 2</name>
  </Test>
  <Test>
    <created_date>2017-09-25T16:20:39.8295374+01:00</created_date>
    <id>1</id>
    <modified_date>2017-09-25T16:20:39.8295374+01:00</modified_date>
    <name>sample string 2</name>
  </Test>
</ArrayOfTest>