Get an agricultural service listing by ID
Retrieve one existing agricultural service listing using its PurpleGrain service ID. Returns its name, description, status, advertised cost and currency, tags, service radius and image URLs. Use include to expand the owner, category or place and location details. This lookup does not book a service, contact its provider or change the listing.
Request
- Base URL: https://api.purplegrain.com/api/v1
- URL: https://api.purplegrain.com/api/v1/services/{id}
- Auth: none declared
Path parameters
Id of the record
Query parameters
Comma-separated snake_case relationship paths to embed (JSON:API included array, or inlined for application/json). Never embedded by default; unknown paths ignored; dot notation selects children; max 10 paths. Allowed paths: owner, category, city, city.location, place, place.location, location.
Response
Successful. When the include query parameter is used, the response may contain an included array (JSON:API) or inlined related resources (application/json).
Example response
{
"data": {
"type": "service"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.