request-attachment

Create a new attachment for Request

When you want to upload an attachment for a Request object, use this endpoint to get the credentials for uploading the attachment to S3. Then you can submit the attachment ID when creating the Request object. After you have uploaded the attachment, PUT to the attachment object to confirm it is uploaded.

post/areas/{area_id}/services/{svc_id}/attachments

Request

  • Base URL: https://api.recollect.net/api
  • URL: https://api.recollect.net/api/areas/{area_id}/services/{svc_id}/attachments
  • Auth: none declared

Path parameters

area_idstring required

Area ID or Area name can be used.

svc_idstring required

Service ID. When used with an Area, a Service name (like "waste") can be used.

Request body

filesizeinteger
filenamestring

Response

Attachment object created. Ready for you to upload it.

s3_regionstring
filesizeinteger
service_idinteger
s3_urlstring
statusstring
s3_pathstring
filenamestring
s3_bucketstring
servicestring
uuidstring
created_atstring

Changes

No recorded changes to this operation across all 1 revision of this API.