Share a compliance export by email or text
Changed onHands a ready export to someone with a link (/s/<token> on the web app) that offers the zip without an account for seven days, and never past the export's own expiry.
- email: sends the link, the file name, the properties and dates, and an optional note.
- sms: sends exactly "{first name} from PurpleGrain shared a compliance export for {properties}: {link} (expires D/M/YY)". (Outside production the text is logged, not sent.)
Needs edit rights on every exported property (owner, admin or manager; a viewer is refused) and only the person who made the export may share it. First-party web and mobile only, because this sends records off the platform. The recipient is returned masked.
If the email or text fails, the share is stored as failed (its link then answers 404) and the response is a 502 with errors[0].code email_bounced or text_not_delivered.
Request
- Base URL: https://api.purplegrain.com/api/v1
- URL: https://api.purplegrain.com/api/v1/compliance-exports/{compliance_export_id}/shares
- Auth: HTTP bearer
Path parameters
The export to share.
Request body
Response
Shared.
Example response
{
"share": {
"recipient": "04•• ••• 318"
}
}Changes
- warning
added the new
map_boundariesenum value to the///response property for the response status (media type: application/json) - warning
added the new
map_boundariesenum value to the///response property for the response status (media type: application/vnd.api+json) - warning
added the new
map_boundariesenum value to the///response property for the response status (media type: application/json) - warning
added the new
map_boundariesenum value to the///response property for the response status (media type: application/vnd.api+json) - warning
added the new
map_boundariesenum value to the///response property for the response status (media type: application/json) - warning
added the new
map_boundariesenum value to the///response property for the response status (media type: application/vnd.api+json) - warning
added the new
map_boundariesenum value to the//response property for the response status (media type: application/json) - warning
added the new
map_boundariesenum value to the//response property for the response status (media type: application/vnd.api+json) - warning
added the new
map_boundariesenum value to the//response property for the response status (media type: application/json) - warning
added the new
map_boundariesenum value to the//response property for the response status (media type: application/vnd.api+json) - warning
added the new
map_boundariesenum value to the//response property for the response status (media type: application/json) - warning
added the new
map_boundariesenum value to the//response property for the response status (media type: application/vnd.api+json) - warning
added the new
map_boundariesenum value to the////response property for the response status (media type: application/json) - warning
added the new
map_boundariesenum value to the////response property for the response status (media type: application/vnd.api+json) - warning
added the new
map_boundariesenum value to the////response property for the response status (media type: application/json) - warning
added the new
map_boundariesenum value to the////response property for the response status (media type: application/vnd.api+json) - warning
added the new
map_boundariesenum value to the////response property for the response status (media type: application/json) - warning
added the new
map_boundariesenum value to the////response property for the response status (media type: application/vnd.api+json) - warning
added the new
map_boundariesenum value to the///response property for the response status (media type: application/json) - warning
added the new
map_boundariesenum value to the///response property for the response status (media type: application/vnd.api+json) - warning
added the new
map_boundariesenum value to the///response property for the response status (media type: application/json) - warning
added the new
map_boundariesenum value to the///response property for the response status (media type: application/vnd.api+json) - warning
added the new
map_boundariesenum value to the///response property for the response status (media type: application/json) - warning
added the new
map_boundariesenum value to the///response property for the response status (media type: application/vnd.api+json) - warning
added the new
map_boundariesenum value to the///response property for the response status (media type: application/json) - warning
added the new
map_boundariesenum value to the///response property for the response status (media type: application/vnd.api+json) - warning
added the new
map_boundariesenum value to the///response property for the response status (media type: application/json) - warning
added the new
map_boundariesenum value to the///response property for the response status (media type: application/vnd.api+json) - warning
added the new
map_boundariesenum value to the///response property for the response status (media type: application/json) - warning
added the new
map_boundariesenum value to the///response property for the response status (media type: application/vnd.api+json) - warning
added the new
map_boundariesenum value to the//response property for the response status (media type: application/json) - warning
added the new
map_boundariesenum value to the//response property for the response status (media type: application/vnd.api+json) - warning
added the new
map_boundariesenum value to the//response property for the response status (media type: application/json) - warning
added the new
map_boundariesenum value to the//response property for the response status (media type: application/vnd.api+json) - warning
added the new
map_boundariesenum value to the//response property for the response status (media type: application/json) - warning
added the new
map_boundariesenum value to the//response property for the response status (media type: application/vnd.api+json)
- warning
- 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) - 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)
- info