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-28T11:57:09.2255388+00:00",
"SubmitDate": "2025-11-28T11:57:09.2255388+00:00",
"ReportPeriodStart": "2025-11-28T11:57:09.2255388+00:00",
"ReportPeriodEnd": "2025-11-28T11:57:09.2255388+00:00",
"State": 0,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Tables": [
{
"TableId": "4630ede5-2638-4449-9eed-0adbb7292f88",
"Rows": [
{
"ItemId": "2d5fe310-22d7-47c1-a7be-f1b634f94a9d",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
},
{
"ItemId": "2d5fe310-22d7-47c1-a7be-f1b634f94a9d",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
}
]
},
{
"TableId": "4630ede5-2638-4449-9eed-0adbb7292f88",
"Rows": [
{
"ItemId": "2d5fe310-22d7-47c1-a7be-f1b634f94a9d",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
},
{
"ItemId": "2d5fe310-22d7-47c1-a7be-f1b634f94a9d",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
}
]
}
],
"Owners": [
"a286f2d2-c8c5-470b-bc97-170e0d4073f2",
"44363713-67bf-4c21-a4c5-857fc372e20d"
],
"Approvers": [
"f6158839-7190-4e01-a4b7-467b642d0e3d",
"0156ca30-b96e-4db4-83a0-b5aed9ef387b"
],
"ApprovedBy": "f23434c7-5d36-47eb-a335-5e7e5b3ed629",
"ApprovalDate": "2025-11-28T11:57:09.2255388+00:00",
"ApprovalComments": "sample string 7",
"WorkPlanId": "3cd5792c-67e2-43cf-9495-4754867f3bfb",
"id": "507ed2ce-a04d-4247-a2b9-43e8a249ed30",
"ConfigId": "3573c6b3-8bd1-4e16-9692-b17022720931"
}