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
StatusReportName | 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-07-15T20:00:43.8924403+00:00", "SubmitDate": "2025-07-15T20:00:43.8924403+00:00", "ReportPeriodStart": "2025-07-15T20:00:43.8924403+00:00", "ReportPeriodEnd": "2025-07-15T20:00:43.8924403+00:00", "State": 0, "Fields": { "sample string 1": {}, "sample string 3": {} }, "Tables": [ { "TableId": "f6533203-bf5a-4e71-a8a9-db54568f7b35", "Rows": [ { "ItemId": "0f27aaf6-78f8-4022-b106-7b57632d1492", "Fields": { "sample string 1": {}, "sample string 3": {} } }, { "ItemId": "0f27aaf6-78f8-4022-b106-7b57632d1492", "Fields": { "sample string 1": {}, "sample string 3": {} } } ] }, { "TableId": "f6533203-bf5a-4e71-a8a9-db54568f7b35", "Rows": [ { "ItemId": "0f27aaf6-78f8-4022-b106-7b57632d1492", "Fields": { "sample string 1": {}, "sample string 3": {} } }, { "ItemId": "0f27aaf6-78f8-4022-b106-7b57632d1492", "Fields": { "sample string 1": {}, "sample string 3": {} } } ] } ], "Owners": [ "28583d64-baf8-4cde-b16c-613eec39d709", "57afa4a4-1734-4f87-ad21-a8bdbeb36223" ], "Approvers": [ "d562b084-3fa5-4a93-aef4-f332b1a7fe07", "e9427aa9-71a0-4027-87d0-27989af8c7d1" ], "ApprovedBy": "8679816c-88b2-40c6-8874-5139c5c94071", "ApprovalDate": "2025-07-15T20:00:43.8924403+00:00", "ApprovalComments": "sample string 7", "WorkPlanId": "8db83c37-936c-4483-a82d-3bb2dfca83f6", "id": "4096598b-bf23-4973-83b4-5c8716ded92f", "ConfigId": "800e534b-3047-4c95-9818-7d6e5452b6a0" }