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-29T13:10:17.790991+00:00",
"SubmitDate": "2025-12-29T13:10:17.790991+00:00",
"ReportPeriodStart": "2025-12-29T13:10:17.790991+00:00",
"ReportPeriodEnd": "2025-12-29T13:10:17.790991+00:00",
"State": 0,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Tables": [
{
"TableId": "762e4da4-627e-4ee3-90aa-c566120e2048",
"Rows": [
{
"ItemId": "cf429c8e-26b3-496a-bff1-a8b910569034",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
},
{
"ItemId": "cf429c8e-26b3-496a-bff1-a8b910569034",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
}
]
},
{
"TableId": "762e4da4-627e-4ee3-90aa-c566120e2048",
"Rows": [
{
"ItemId": "cf429c8e-26b3-496a-bff1-a8b910569034",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
},
{
"ItemId": "cf429c8e-26b3-496a-bff1-a8b910569034",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
}
]
}
],
"Owners": [
"39250849-8f76-42c3-969f-183c61ec1b62",
"1016f51c-7052-45e0-9b38-c63743c83c7a"
],
"Approvers": [
"afd2e9d2-d8ad-47d2-8002-29cfc59007a3",
"cac51cfb-2cd4-4310-8275-b2d21ac94c69"
],
"ApprovedBy": "87db86ca-7e2f-4ed0-93e8-5758365e3369",
"ApprovalDate": "2025-12-29T13:10:17.790991+00:00",
"ApprovalComments": "sample string 7",
"WorkPlanId": "546ee30a-6a06-4011-a62f-4294c99ecd37",
"id": "3d548b1d-3e51-4af6-be90-63d3d44d0367",
"ConfigId": "48e28830-6498-4ede-adcc-4e1136429c9d"
}