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-11T18:22:40.0458151+00:00",
"SubmitDate": "2025-11-11T18:22:40.0458151+00:00",
"ReportPeriodStart": "2025-11-11T18:22:40.0458151+00:00",
"ReportPeriodEnd": "2025-11-11T18:22:40.0458151+00:00",
"State": 0,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Tables": [
{
"TableId": "93ba2614-937a-4251-b216-1bdde5637cbe",
"Rows": [
{
"ItemId": "10cd900b-ff4e-422c-9093-d81e02cb98e0",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
},
{
"ItemId": "10cd900b-ff4e-422c-9093-d81e02cb98e0",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
}
]
},
{
"TableId": "93ba2614-937a-4251-b216-1bdde5637cbe",
"Rows": [
{
"ItemId": "10cd900b-ff4e-422c-9093-d81e02cb98e0",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
},
{
"ItemId": "10cd900b-ff4e-422c-9093-d81e02cb98e0",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
}
]
}
],
"Owners": [
"3f6afda7-6a85-43e3-9dbd-3b681bf367aa",
"7e561b85-aa59-4386-b0f9-e7b6866b15a9"
],
"Approvers": [
"5670d49e-ab5a-4689-b09c-fc0f4e64af3f",
"6b9a90a0-7315-49d8-837f-029facde93ac"
],
"ApprovedBy": "35b4ac8c-b7cb-4395-8a10-3c1224ee09f1",
"ApprovalDate": "2025-11-11T18:22:40.0458151+00:00",
"ApprovalComments": "sample string 7",
"WorkPlanId": "0c49a98d-0ce7-4a6b-8553-450d344d6b55",
"id": "9c8f36e8-a984-4acd-902e-5d1a663d635b",
"ConfigId": "83f1f7a0-d711-4d49-a4e5-cc5c1182aa04"
}