Attach searched parcels to a property
Changed onStores parcels the farmer picked. external_ids must come from a recent searchParcels result for this property's state. Geometry in the body is ignored. The server copies the geometry it fetched. Sending the same external_id again updates that parcel and does not create a second row. An id that is not in a recent search is 409 parcel_not_in_search. An empty list is 422 parcel_ids_required.
An assistant sends confirm true. Needs edit access to the property. The response is the property's parcels after the write, as plain JSON.
Request
- Base URLhttps://api.purplegrain.com/api/v1
- URLhttps://api.purplegrain.com/api/v1/properties/{property_id}/parcels
- AuthHTTP bearer
Path parameters
Request body
Response
The property's parcels, including the ones just attached.
Example response
{
"_meta": {
"onboarding": {
"skill": "pg-onboarding@1"
}
}
}Changes
- info
added the non-success response with the status
- info
- warning
removed the optional property
from the response with the status (media type: application/json) - warning
removed the optional property
from the response with the status (media type: application/vnd.api+json) - warning
removed the optional property
from the response with the status (media type: application/json) - warning
removed the optional property
from the response with the status (media type: application/vnd.api+json) - warning
removed the optional property
//from the response with the status (media type: application/json) - warning
removed the optional property
//from the response with the status (media type: application/vnd.api+json) - warning
removed the optional property
//from the response with the status (media type: application/json) - warning
removed the optional property
//from the response with the status (media type: application/vnd.api+json) - warning
removed the optional property
from the response with the status (media type: application/json) - warning
removed the optional property
from the response with the status (media type: application/vnd.api+json) - warning
removed the optional property
from the response with the status (media type: application/json) - warning
removed the optional property
from the response with the status (media type: application/vnd.api+json) - info
added the optional property
//to the response with the status (media type: application/json) - info
added the optional property
//to the response with the status (media type: application/vnd.api+json) - info
added the optional property
//to the response with the status (media type: application/json) - info
added the optional property
//to the response with the status (media type: application/vnd.api+json) - info
added the optional property
///to the response with the status (media type: application/json) - info
added the optional property
///to the response with the status (media type: application/vnd.api+json) - info
added the optional property
///to the response with the status (media type: application/json) - info
added the optional property
///to the response with the status (media type: application/vnd.api+json) - info
added the optional property
///to the response with the status (media type: application/json) - info
added the optional property
///to the response with the status (media type: application/vnd.api+json) - info
added the optional property
///to the response with the status (media type: application/json) - info
added the optional property
///to the response with the status (media type: application/vnd.api+json)
- warning