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-08T17:06:24.7184129+00:00",
"SubmitDate": "2025-11-08T17:06:24.7184129+00:00",
"ReportPeriodStart": "2025-11-08T17:06:24.7184129+00:00",
"ReportPeriodEnd": "2025-11-08T17:06:24.7184129+00:00",
"State": 0,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Tables": [
{
"TableId": "fbeec6d3-2fb3-4863-8f4b-b7dce8ec034d",
"Rows": [
{
"ItemId": "fa672a19-525b-4b8f-b9d9-36ebbc8f4d34",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
},
{
"ItemId": "fa672a19-525b-4b8f-b9d9-36ebbc8f4d34",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
}
]
},
{
"TableId": "fbeec6d3-2fb3-4863-8f4b-b7dce8ec034d",
"Rows": [
{
"ItemId": "fa672a19-525b-4b8f-b9d9-36ebbc8f4d34",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
},
{
"ItemId": "fa672a19-525b-4b8f-b9d9-36ebbc8f4d34",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
}
]
}
],
"Owners": [
"4d0aebdf-264d-434d-91bf-c8cdad280c65",
"48e4eb18-3939-4bc5-a1a8-6c886a1d119f"
],
"Approvers": [
"de230539-ec27-4a29-9148-f43ef097022a",
"37cee64c-a2fa-43d7-b58f-78cc90008349"
],
"ApprovedBy": "9377be5b-edcf-4cb1-8a3d-68092d23f516",
"ApprovalDate": "2025-11-08T17:06:24.7184129+00:00",
"ApprovalComments": "sample string 7",
"WorkPlanId": "9c474320-06a3-4bf6-80a5-96378a0d4fbe",
"id": "f43a6ce0-0664-443e-a53e-cf53a80b8e7e",
"ConfigId": "0d4f61ca-a897-4a7e-94ce-7a5442150879"
}