Fictional API example. This page demonstrates documentation features; its operations do not describe a live service.
This reference is generated from the OpenAPI description. It shows the operation contract; follow any related guides below for task steps and context.
OpenAPI for this operation: Download JSON.
GET /parcels/{parcelId}
Get a parcel
This lookup route does not use the API's default authentication.
Servers
https://lookup.api.cedar-parcel.example/v1 — Public lookup host
Authentication
No authentication required.
Parameters
parcelId (path)
Required
string
Responses
200: OK
application/json
Parcel found.
5 properties
-
parcelIdstringalways present ⓘ -
statusenum<string>always present ⓘ -
declaredValuenumberalways present ⓘminimum: 0; multipleOf: 0.01
Value in currency units, to the nearest cent.
-
recipientobjectalways present ⓘ2 properties
-
citystringalways present ⓘ -
postalCodestringalways present ⓘ
-
-
eventslist of objectmay be absent ⓘTracking history in chronological order.
Array items:
object
3 properties
-
kindenum<string>always present ⓘ -
atstringalways present ⓘformat: date-time
-
detailsstringmay be absent nullable ⓘ
-
404: Not Found
application/problem+json
No parcel has that identifier.
4 properties
-
typestringalways present ⓘformat: uri
-
titlestringalways present ⓘ -
statusintegeralways present ⓘ -
detailstringmay be absent ⓘ