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-11-17T11:59:08.4349176+00:00",
"SubmitDate": "2025-11-17T11:59:08.4349176+00:00",
"ReportPeriodStart": "2025-11-17T11:59:08.4349176+00:00",
"ReportPeriodEnd": "2025-11-17T11:59:08.4349176+00:00",
"State": 0,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Tables": [
{
"TableId": "d89f264a-81b1-449a-9b8c-f400f3415434",
"Rows": [
{
"ItemId": "dbda7eab-d866-4305-b95b-83c93737b027",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
},
{
"ItemId": "dbda7eab-d866-4305-b95b-83c93737b027",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
}
]
},
{
"TableId": "d89f264a-81b1-449a-9b8c-f400f3415434",
"Rows": [
{
"ItemId": "dbda7eab-d866-4305-b95b-83c93737b027",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
},
{
"ItemId": "dbda7eab-d866-4305-b95b-83c93737b027",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
}
]
}
],
"Owners": [
"ae6d250a-a1f5-41b0-b1b4-899537243c00",
"0528b634-1512-4d4c-8aef-76f871273361"
],
"Approvers": [
"b3a6a088-de3f-40a1-af35-d8775957decd",
"8ff96c9f-49a4-434d-a9fc-445378587b70"
],
"ApprovedBy": "62ffbd9a-da3a-4b6f-9c74-435a67f60d46",
"ApprovalDate": "2025-11-17T11:59:08.4349176+00:00",
"ApprovalComments": "sample string 7",
"WorkPlanId": "64a9914e-db47-4426-9a28-65362a53741f",
"id": "6a3b327b-ccf9-4da8-ae72-1b7402036486",
"ConfigId": "33d4d7ba-f44f-487e-8e01-1c139887d720"
}