---
title: "Publishes a created vehicled to the publish subscribe endpoint"
method: GET
path: "/v1/resourceowner/publishsubscribe/{publishSubscribeId}/testvehiclecreated"
tags: ["ResourceOwnerPublishSubscribe"]
---

# Publishes a created vehicled to the publish subscribe endpoint

`GET /v1/resourceowner/publishsubscribe/{publishSubscribeId}/testvehiclecreated`

## Request

- Base URL: `https://api.automile.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.automile.com/v1/resourceowner/publishsubscribe/{publishSubscribeId}/testvehiclecreated`
- Auth: OAuth 2
  - Implicit: `https://api.automile.com/login/`

## Path parameters

- `publishSubscribeId` integer, required

## Query parameters

- `vehicleId` integer

## Response `200`

The trip end was published to your publish subscribe record endpoint

## Other responses

- `400`: Bad request, could occur for a number of cases, see returned message
- `403`: Request is forbidden, could occur for a number of reasons, see returned message
- `404`: Not found, the publish subscribe record you tried couldn't be found
- `500`: Internal server error

---

[API](https://skmtc.dev/automile/apis/automile-api.md) - [All operations](https://skmtc.dev/automile/apis/automile-api/llms.txt) - [OpenAPI document](https://skmtc.dev/automile/apis/automile-api/revisions/56b5b8d6d733?raw)
