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": "2024-12-18T20:18:39.1491484+00:00", "SubmitDate": "2024-12-18T20:18:39.1491484+00:00", "ReportPeriodStart": "2024-12-18T20:18:39.1491484+00:00", "ReportPeriodEnd": "2024-12-18T20:18:39.1491484+00:00", "State": 0, "Fields": { "sample string 1": {}, "sample string 3": {} }, "Tables": [ { "TableId": "4b8b2bf6-c335-4cc7-8eee-2c2ad6fd84c7", "Rows": [ { "ItemId": "113ce38e-fda8-4815-8888-dd06c3cc1d0e", "Fields": { "sample string 1": {}, "sample string 3": {} } }, { "ItemId": "113ce38e-fda8-4815-8888-dd06c3cc1d0e", "Fields": { "sample string 1": {}, "sample string 3": {} } } ] }, { "TableId": "4b8b2bf6-c335-4cc7-8eee-2c2ad6fd84c7", "Rows": [ { "ItemId": "113ce38e-fda8-4815-8888-dd06c3cc1d0e", "Fields": { "sample string 1": {}, "sample string 3": {} } }, { "ItemId": "113ce38e-fda8-4815-8888-dd06c3cc1d0e", "Fields": { "sample string 1": {}, "sample string 3": {} } } ] } ], "Owners": [ "1a5dfcdb-5fe1-4c6d-8a4e-aa4908a12324", "d2a30256-1657-4ab3-a750-5c2f500a7cf9" ], "Approvers": [ "872e5b3e-6758-4b39-9cfa-bed9218fcb93", "9e7e9401-43f9-4514-8932-fa4d74553774" ], "ApprovedBy": "98dae97e-19d0-48b9-9e75-761ec7331bf3", "ApprovalDate": "2024-12-18T20:18:39.1491484+00:00", "ApprovalComments": "sample string 7", "WorkPlanId": "55f10937-a89d-4978-85d2-d1de7180931e", "id": "d9fa27f0-d99b-4633-8627-01dda2c22b90", "ConfigId": "cbc097fb-e321-4040-9795-13f47b058819" }