Measure package attachment

A measure package attachment.

Create a measure package attachment

Create a new attachment or update an existing attachment for a measure package.

For a new attachment the request will return the 201 response. For updating an existing attachment the request will return a 200 response.

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
required
string or integer

The measure package of the attachment.

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

Responses
200

Successful operation

201

Successful operation

404

Not Found

422

Unprocessable Content

post/measurepackageattachment
Request samples
Response samples
application/json
{
  • "success": true,
  • "hash": "2f33f85a6993dc4f7023cb47afa2be0c0ed28f1e",
  • "data": {
    },
  • "timestamp": 1668611383434
}

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.

page
integer
Default: 1

The page number of the response.

Responses
200

Successful operation

422

Unprocessable Content

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