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-25T08:55:23.2528017+00:00",
"SubmitDate": "2025-11-25T08:55:23.2528017+00:00",
"ReportPeriodStart": "2025-11-25T08:55:23.2528017+00:00",
"ReportPeriodEnd": "2025-11-25T08:55:23.2528017+00:00",
"State": 0,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Tables": [
{
"TableId": "b8afeb40-94ca-4148-b3c1-8d531331d940",
"Rows": [
{
"ItemId": "bd2eb513-e923-4843-a301-e4685a7b6464",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
},
{
"ItemId": "bd2eb513-e923-4843-a301-e4685a7b6464",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
}
]
},
{
"TableId": "b8afeb40-94ca-4148-b3c1-8d531331d940",
"Rows": [
{
"ItemId": "bd2eb513-e923-4843-a301-e4685a7b6464",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
},
{
"ItemId": "bd2eb513-e923-4843-a301-e4685a7b6464",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
}
]
}
],
"Owners": [
"b19a07b9-47a1-4eb3-9cd0-2d6649c1a1ef",
"30694089-c42d-4425-8a4d-e14f1a65fc95"
],
"Approvers": [
"1f83a46d-7465-48af-9b97-7079508db27f",
"87d0124e-2211-4a1c-8d1e-a48e85cba341"
],
"ApprovedBy": "31ae8e98-25d2-43ae-86d6-20b469810769",
"ApprovalDate": "2025-11-25T08:55:23.2528017+00:00",
"ApprovalComments": "sample string 7",
"WorkPlanId": "3dad5e4e-e164-4cd3-b8d2-cc5c06a436f4",
"id": "4e222779-8041-4cfb-a5de-9b6538867bb5",
"ConfigId": "0d45e7cc-25bc-4602-a3f8-4b627c5d9c1e"
}