POST api/statusreports/{id}/approve?Comments={Comments}
Approves a Report
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
|
| Comments | string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
StatusReport| Name | Description | Type | Additional information |
|---|---|---|---|
| GenerationDate | date |
None. |
|
| SubmitDate | date |
None. |
|
| ReportPeriodStart | date |
None. |
|
| ReportPeriodEnd | date |
None. |
|
| State | StatusReportState |
None. |
|
| Fields | Dictionary of string [key] and Object [value] |
None. |
|
| Tables | Collection of StatusReportTable |
None. |
|
| Owners | Collection of globally unique identifier |
None. |
|
| Approvers | Collection of globally unique identifier |
None. |
|
| ApprovedBy | globally unique identifier |
None. |
|
| ApprovalDate | date |
None. |
|
| ApprovalComments | string |
None. |
|
| WorkPlanId | globally unique identifier |
None. |
|
| id | globally unique identifier |
None. |
|
| ConfigId | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{
"GenerationDate": "2025-12-28T07:49:35.1141941+00:00",
"SubmitDate": "2025-12-28T07:49:35.1141941+00:00",
"ReportPeriodStart": "2025-12-28T07:49:35.1141941+00:00",
"ReportPeriodEnd": "2025-12-28T07:49:35.1141941+00:00",
"State": 0,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Tables": [
{
"TableId": "64ea4c6c-8e9b-4e42-bd04-f0858af89dbc",
"Rows": [
{
"ItemId": "0c6ae81b-a04c-45b7-9336-cf85dc573f70",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
},
{
"ItemId": "0c6ae81b-a04c-45b7-9336-cf85dc573f70",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
}
]
},
{
"TableId": "64ea4c6c-8e9b-4e42-bd04-f0858af89dbc",
"Rows": [
{
"ItemId": "0c6ae81b-a04c-45b7-9336-cf85dc573f70",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
},
{
"ItemId": "0c6ae81b-a04c-45b7-9336-cf85dc573f70",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
}
]
}
],
"Owners": [
"60b073a7-d6a2-4f62-ad1f-8ed88f8aecc4",
"1660b586-7b8b-4f48-b8ee-614c24267ab4"
],
"Approvers": [
"6af296d6-eacd-4f50-9033-bde4c52bc9c8",
"8f6338cc-ea72-482f-9575-ca1dec0cc7ca"
],
"ApprovedBy": "3f391902-1e97-480c-884d-a6972e4af8da",
"ApprovalDate": "2025-12-28T07:49:35.1141941+00:00",
"ApprovalComments": "sample string 7",
"WorkPlanId": "58ef2f52-4dd1-4009-9739-32cff4eea6fb",
"id": "2a7b302f-6c8b-4cd2-96e7-4c31a5f88445",
"ConfigId": "dddcd6b7-c913-45b4-8521-1cff379dc457"
}