GET apioauth/matrixv2/services?serviceId={serviceId}

Get a service

Request Information

URI Parameters

NameDescriptionTypeAdditional information
serviceId

The id of the service to query

unsigned integer

Required

Body Parameters

None.

Response Information

Resource Description

A ServiceResponse

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"
    }
  ]
}

application/xml, text/xml

Sample:
<ServiceResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <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>