Measure status report

A measure status report.

Create a measure status report

Create a new measure status report for a given measure.

SecurityJWT
Request
Request Body schema: application/json

A JSON object containing measure status report information.

comment
required
string <= 35000 characters

The comment of the new measure status report.

risks
string <= 35000 characters

The risks of the new measure status report.

decisions
string <= 35000 characters

The decisions of the new measure status report.

flagged
boolean
Default: true

The flagged flag of the new measure status report.

measure_hash
required
string

The measure for the new measure status report.

Responses
201

Successful operation

401

Unauthorized

404

Not Found

422

Unprocessable Content

post/measurestatusreport
Request samples
application/json
{
  • "measure_hash": "264a21089e5720c8dddc67986d5bab827a75b58e",
  • "comment": "The re-tendering of aluminium and the volume of fittings has taken place. Answers are largely outstanding."
}
Response samples
application/json
{
  • "value": {
    }
}

Get all measure status reports

Get all measure status reports for the hub.

SecurityJWT
Request
query Parameters
measure_hash
string

Filter the measure status report list for a measure.

measure_package_hash
string

Filter the measure status report list for a measure package.

project_hash
string

Filter the measure status report list for a project.

program_hash
string

Filter the measure status report list for a program.

flagged
boolean

Filter the measure status report list for flagged measure status reports.

status
integer

Filter the measure status report list for measure status report status.

  • 0 - Open
  • 1 - Solved
Enum: 0 1 2
umask
integer

Filter the measure status report list for an umask.

  • 3 - Write
  • 4 - Admin
  • 5 - Owner
Enum: 0 1 2
Responses
200

Successful operation

401

Unauthorized

get/measurestatusreport
Request samples
curl -i -X GET \
  'https://api.nordan.tech/v1/measurestatusreport?measure_hash=string&measure_package_hash=string&project_hash=string&program_hash=string&flagged=true&status=0&umask=0' \
  -H 'Authorization: Bearer <YOUR_Bearer <TOKEN>_HERE>'
Response samples
application/json
{
  • "value": {
    }
}

Get a measure status report

Get a measure status report.

SecurityJWT
Request
path Parameters
measurestatusreport
required
string

The id/hash of the current measure status report.

Responses
200

Successful operation

401

Unauthorized

403

Forbidden

404

Not Found

get/measurestatusreport/{measurestatusreport}
Request samples
curl -i -X GET \
  'https://api.nordan.tech/v1/measurestatusreport/{measurestatusreport}' \
  -H 'Authorization: Bearer <YOUR_Bearer <TOKEN>_HERE>'
Response samples
application/json
{
  • "value": {
    }
}

Update a measure status report

Update a measure status report

SecurityJWT
Request
path Parameters
measurestatusreport
required
string

The id/hash of the current measure status report.

Request Body schema: application/json

A JSON object containing measure status report information

comment
string <= 35000 characters

The measure status report comment.

risks
string <= 35000 characters

The measure status report risks.

decisions
string <= 35000 characters

The measure status report decisions.

flagged
boolean

The measure status report flagged flag.

solved
boolean

The measure status report solved flag.

Responses
200

Successful operation

401

Unauthorized

403

Forbidden

404

Not Found

422

Unprocessable Content

put/measurestatusreport/{measurestatusreport}
Request samples
application/json
{
  • "risks": "Always keep going!",
  • "flagged": true
}
Response samples
application/json
{
  • "value": {
    }
}

Delete a measure status report

Delete a measure status report

SecurityJWT
Request
path Parameters
measurestatusreport
required
string

The id/hash of the current measure status report.

Responses
200

Successful operation

401

Unauthorized

403

Forbidden

404

Not Found

delete/measurestatusreport/{measurestatusreport}
Request samples
curl -i -X DELETE \
  'https://api.nordan.tech/v1/measurestatusreport/{measurestatusreport}' \
  -H 'Authorization: Bearer <YOUR_Bearer <TOKEN>_HERE>'
Response samples
application/json
{
  • "success": true,
  • "hash": "string",
  • "data": [ ],
  • "timestamp": 0
}

Restore a measure status report

Restore a measure status report.

SecurityJWT
Request
path Parameters
measurestatusreport
required
string

The id/hash of the current measure status report.

Responses
200

Successful operation

401

Unauthorized

403

Forbidden

404

Not Found

put/measurestatusreport/{measurestatusreport}/restore
Request samples
curl -i -X PUT \
  'https://api.nordan.tech/v1/measurestatusreport/{measurestatusreport}/restore' \
  -H 'Authorization: Bearer <YOUR_Bearer <TOKEN>_HERE>'
Response samples
application/json
{
  • "success": true,
  • "hash": "string",
  • "data": [ ],
  • "timestamp": 0
}