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-08T19:30:40.641092+00:00", "SubmitDate": "2025-07-08T19:30:40.641092+00:00", "ReportPeriodStart": "2025-07-08T19:30:40.641092+00:00", "ReportPeriodEnd": "2025-07-08T19:30:40.641092+00:00", "State": 0, "Fields": { "sample string 1": {}, "sample string 3": {} }, "Tables": [ { "TableId": "f589c228-3019-4bb9-b5b5-a8fa197fdffd", "Rows": [ { "ItemId": "31fc9947-d40c-4c6e-8c4e-ca62b4dfe265", "Fields": { "sample string 1": {}, "sample string 3": {} } }, { "ItemId": "31fc9947-d40c-4c6e-8c4e-ca62b4dfe265", "Fields": { "sample string 1": {}, "sample string 3": {} } } ] }, { "TableId": "f589c228-3019-4bb9-b5b5-a8fa197fdffd", "Rows": [ { "ItemId": "31fc9947-d40c-4c6e-8c4e-ca62b4dfe265", "Fields": { "sample string 1": {}, "sample string 3": {} } }, { "ItemId": "31fc9947-d40c-4c6e-8c4e-ca62b4dfe265", "Fields": { "sample string 1": {}, "sample string 3": {} } } ] } ], "Owners": [ "9c47d6ba-d379-47d7-94ad-c0e002f5e330", "5a5bc11f-551e-46d9-8e29-b925918f9173" ], "Approvers": [ "b6a7db5a-337d-4aec-89ad-636cde2b8c4c", "46bd4513-c786-407c-ae5a-33087599b607" ], "ApprovedBy": "b473d8b0-a024-4371-8b53-c70a3ddaab60", "ApprovalDate": "2025-07-08T19:30:40.641092+00:00", "ApprovalComments": "sample string 7", "WorkPlanId": "c41ecf31-3b3e-433b-b74f-cdf135c6f473", "id": "79e47a20-b195-4a7a-b41e-3eef4a53a2d7", "ConfigId": "56d80718-6f51-4cc3-b18c-8abd7b24f0cc" }