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-12-30T18:22:03.8386109+00:00",
"SubmitDate": "2025-12-30T18:22:03.8386109+00:00",
"ReportPeriodStart": "2025-12-30T18:22:03.8386109+00:00",
"ReportPeriodEnd": "2025-12-30T18:22:03.8386109+00:00",
"State": 0,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Tables": [
{
"TableId": "5983436a-a591-46b3-9219-7d40df31c6e4",
"Rows": [
{
"ItemId": "fda1f413-b05d-430e-9e98-4856ce53553b",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
},
{
"ItemId": "fda1f413-b05d-430e-9e98-4856ce53553b",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
}
]
},
{
"TableId": "5983436a-a591-46b3-9219-7d40df31c6e4",
"Rows": [
{
"ItemId": "fda1f413-b05d-430e-9e98-4856ce53553b",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
},
{
"ItemId": "fda1f413-b05d-430e-9e98-4856ce53553b",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
}
]
}
],
"Owners": [
"26babcdf-8d34-4d26-9c3f-80a021017beb",
"56854d50-aa81-4a7a-be30-47d32ce30cb2"
],
"Approvers": [
"311d126e-3812-4bfc-bd17-c57e948515c3",
"278d457f-89e4-481c-8a7e-9b7119b3f22b"
],
"ApprovedBy": "d805946b-4e77-48a1-b9da-a2fba8943492",
"ApprovalDate": "2025-12-30T18:22:03.8386109+00:00",
"ApprovalComments": "sample string 7",
"WorkPlanId": "bd2ecbcc-9ada-410f-923a-9223c73a6140",
"id": "628fa4b1-0fec-436c-8704-359e6200701f",
"ConfigId": "c142df45-39ac-4cf9-a673-d62f7de2b152"
}