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-22T12:47:48.4628668+00:00",
"SubmitDate": "2025-11-22T12:47:48.4628668+00:00",
"ReportPeriodStart": "2025-11-22T12:47:48.4628668+00:00",
"ReportPeriodEnd": "2025-11-22T12:47:48.4628668+00:00",
"State": 0,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Tables": [
{
"TableId": "e43a7b14-c126-4c7e-84aa-a830892f07c7",
"Rows": [
{
"ItemId": "90c474ef-7f2e-451b-aa14-14c0fae8bee2",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
},
{
"ItemId": "90c474ef-7f2e-451b-aa14-14c0fae8bee2",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
}
]
},
{
"TableId": "e43a7b14-c126-4c7e-84aa-a830892f07c7",
"Rows": [
{
"ItemId": "90c474ef-7f2e-451b-aa14-14c0fae8bee2",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
},
{
"ItemId": "90c474ef-7f2e-451b-aa14-14c0fae8bee2",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
}
]
}
],
"Owners": [
"b9934ee3-75eb-4549-8906-23ca035efdfa",
"b40ca270-e78d-4d35-b797-fe1b676d609f"
],
"Approvers": [
"2c22f33e-e33e-441f-be71-1223de98d951",
"824d2c23-88c3-41cb-94b8-7e1a4e499a4f"
],
"ApprovedBy": "78ed8921-3357-4746-8acf-1dec21f7b9cb",
"ApprovalDate": "2025-11-22T12:47:48.4628668+00:00",
"ApprovalComments": "sample string 7",
"WorkPlanId": "8dae2f0c-3e8d-4c70-9e11-ce68f311b2f1",
"id": "bed9f713-4072-4d23-a60f-ba3c1746bb30",
"ConfigId": "db5b6606-702d-46a1-9d04-22ab59619537"
}