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-19T00:07:13.555308+00:00",
"SubmitDate": "2025-12-19T00:07:13.555308+00:00",
"ReportPeriodStart": "2025-12-19T00:07:13.555308+00:00",
"ReportPeriodEnd": "2025-12-19T00:07:13.555308+00:00",
"State": 0,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Tables": [
{
"TableId": "c6598a14-1d0d-4ba1-a00f-f17fbe89c7c1",
"Rows": [
{
"ItemId": "ac1093c0-6a26-41e2-8aca-34c3d5533f44",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
},
{
"ItemId": "ac1093c0-6a26-41e2-8aca-34c3d5533f44",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
}
]
},
{
"TableId": "c6598a14-1d0d-4ba1-a00f-f17fbe89c7c1",
"Rows": [
{
"ItemId": "ac1093c0-6a26-41e2-8aca-34c3d5533f44",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
},
{
"ItemId": "ac1093c0-6a26-41e2-8aca-34c3d5533f44",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
}
]
}
],
"Owners": [
"dc29bc5a-8c03-428b-8027-258c091cdf57",
"eadce314-2452-4763-a89c-73184d94db39"
],
"Approvers": [
"4aa9f8a0-f179-4c59-9e78-131a0e91787b",
"9dc1948d-8ded-48db-92c8-c3fb408c5363"
],
"ApprovedBy": "a1f9b73f-1a06-4936-91c3-fd043131674f",
"ApprovalDate": "2025-12-19T00:07:13.555308+00:00",
"ApprovalComments": "sample string 7",
"WorkPlanId": "abfc334f-89cd-4eaf-897e-964d2c665dcb",
"id": "0ff1f2bb-8a05-47c5-9afa-c2701b446fd8",
"ConfigId": "8a6f8ba6-07e0-4a3c-8a41-49f4271b4483"
}