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-30T21:49:15.8231451+00:00",
"SubmitDate": "2025-11-30T21:49:15.8231451+00:00",
"ReportPeriodStart": "2025-11-30T21:49:15.8231451+00:00",
"ReportPeriodEnd": "2025-11-30T21:49:15.8231451+00:00",
"State": 0,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Tables": [
{
"TableId": "90116f27-f7dd-4485-b7a0-fe1ca2805386",
"Rows": [
{
"ItemId": "6dd23302-f3bb-4902-abd7-e2dae6f98c32",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
},
{
"ItemId": "6dd23302-f3bb-4902-abd7-e2dae6f98c32",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
}
]
},
{
"TableId": "90116f27-f7dd-4485-b7a0-fe1ca2805386",
"Rows": [
{
"ItemId": "6dd23302-f3bb-4902-abd7-e2dae6f98c32",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
},
{
"ItemId": "6dd23302-f3bb-4902-abd7-e2dae6f98c32",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
}
]
}
],
"Owners": [
"b6e71f23-34f3-4157-ba6e-5530e1cafce3",
"3b343761-85c5-4bad-933c-c4a31e8e1aa8"
],
"Approvers": [
"22e9f723-0443-48e9-af81-8a52a62ee262",
"068397f8-3c43-429e-8aee-4fcaf56b3150"
],
"ApprovedBy": "9358afb1-6865-4738-be2f-5e4ef8d02331",
"ApprovalDate": "2025-11-30T21:49:15.8231451+00:00",
"ApprovalComments": "sample string 7",
"WorkPlanId": "d0cbfec7-c6f0-44c0-bf4f-42f6d02b7c05",
"id": "8ab8edd0-789a-4159-b618-87fca08ecfdf",
"ConfigId": "94b9bba9-b26e-4f28-9f2b-91c567473f8a"
}