Measure package attachment

A measure package attachment.

Create a measure package attachment

Create a new attachment for a measure package.

SecurityJWT
Request
Request Body schema: multipart/form-data

A JSON object containing measure package attachment information

file
required
string <binary>

The upload file.

The file name is used to identify the attachment in Falcon. If an attachment with the name of the uploaded file already exists (on the measure package) the attachment will be replaced without further notice.

measure_package_hash
required
string

The measure package of the new attachment.

Without a measure package hash the request will always return a 403 Forbidden response.

Responses
200

Successful operation

404

Not Found

422

Unprocessable Content

post/measurepackageattachment
Request samples
Response samples
application/json
{
  • "success": true,
  • "hash": "ad2e6a3c65932416e13187a658499d53c01b7946",
  • "data": {
    },
  • "timestamp": 1660563317257
}

Get all measure package attachments

Get all attachments for a measure package.

SecurityJWT
Request
query Parameters
measure_package
string or integer

Filter the measure package attachments for a measure package.

project
string or integer

Filter the measure package attachments for a project.

program
string or integer

Filter the measure package attachments for a program.

created_user
string or integer

Filter the measure package attachments for a created user.

modified_user
string or integer

Filter the measure package attachments for a modified user.

Responses
200

Successful operation

422

Unprocessable Content

get/measurepackageattachment
Request samples
Response samples
application/json
{
  • "success": true,
  • "hash": "88fac7a7628414acde5ac3baeadf54adad0ed798",
  • "data": [
    ],
  • "timestamp": 1660563632838
}