GET apioauth/matrixv2/services

Get all services

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

A collection of ServiceResponses

Collection of V2ServiceResponse
NameDescriptionTypeAdditional information
ServiceId

The id of the service

integer

None.

VehicleRegistration

The vehicle registration

string

None.

Links

Any links to other entities

Collection of Link

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ServiceId": 1,
    "VehicleRegistration": "sample string 2",
    "Links": [
      {
        "Href": "sample string 1",
        "Rel": "sample string 2"
      },
      {
        "Href": "sample string 1",
        "Rel": "sample string 2"
      }
    ]
  },
  {
    "ServiceId": 1,
    "VehicleRegistration": "sample string 2",
    "Links": [
      {
        "Href": "sample string 1",
        "Rel": "sample string 2"
      },
      {
        "Href": "sample string 1",
        "Rel": "sample string 2"
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfServiceResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ServiceResponse>
    <ServiceId>1</ServiceId>
    <VehicleRegistration>sample string 2</VehicleRegistration>
    <Links>
      <Link>
        <Href>sample string 1</Href>
        <Rel>sample string 2</Rel>
      </Link>
      <Link>
        <Href>sample string 1</Href>
        <Rel>sample string 2</Rel>
      </Link>
    </Links>
  </ServiceResponse>
  <ServiceResponse>
    <ServiceId>1</ServiceId>
    <VehicleRegistration>sample string 2</VehicleRegistration>
    <Links>
      <Link>
        <Href>sample string 1</Href>
        <Rel>sample string 2</Rel>
      </Link>
      <Link>
        <Href>sample string 1</Href>
        <Rel>sample string 2</Rel>
      </Link>
    </Links>
  </ServiceResponse>
</ArrayOfServiceResponse>