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-18T12:40:04.5721818+00:00",
"SubmitDate": "2025-11-18T12:40:04.5721818+00:00",
"ReportPeriodStart": "2025-11-18T12:40:04.5721818+00:00",
"ReportPeriodEnd": "2025-11-18T12:40:04.5721818+00:00",
"State": 0,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Tables": [
{
"TableId": "5dce83c7-eb76-4f5e-8c1a-66a78ea984f7",
"Rows": [
{
"ItemId": "65759946-48e1-49b0-b205-758aaa1a4f9c",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
},
{
"ItemId": "65759946-48e1-49b0-b205-758aaa1a4f9c",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
}
]
},
{
"TableId": "5dce83c7-eb76-4f5e-8c1a-66a78ea984f7",
"Rows": [
{
"ItemId": "65759946-48e1-49b0-b205-758aaa1a4f9c",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
},
{
"ItemId": "65759946-48e1-49b0-b205-758aaa1a4f9c",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
}
]
}
],
"Owners": [
"8772f27c-c220-42cd-9195-3745384e40d9",
"ea05b952-e7be-4be6-a605-edfefb18ec77"
],
"Approvers": [
"d35b38ce-7568-4658-b99f-0983b01b8ee6",
"383dd3cd-ef8c-45db-9ad6-826ae5105f83"
],
"ApprovedBy": "8972b84d-c98a-4b36-9b3e-6751605b3d4e",
"ApprovalDate": "2025-11-18T12:40:04.5721818+00:00",
"ApprovalComments": "sample string 7",
"WorkPlanId": "4b54b502-8578-4693-bc52-9be04f194f3e",
"id": "c624ff16-5a2b-4bb9-9eb4-ea10d1b15afa",
"ConfigId": "e99783d8-5d1d-41b3-9785-55609633f58d"
}