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-12T19:30:26.7999592+00:00",
"SubmitDate": "2025-11-12T19:30:26.7999592+00:00",
"ReportPeriodStart": "2025-11-12T19:30:26.7999592+00:00",
"ReportPeriodEnd": "2025-11-12T19:30:26.7999592+00:00",
"State": 0,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Tables": [
{
"TableId": "fd8f18d1-83b9-4f51-9464-1ad5f726fc5e",
"Rows": [
{
"ItemId": "63a32c7e-8d7c-452a-b731-f91ad6575a51",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
},
{
"ItemId": "63a32c7e-8d7c-452a-b731-f91ad6575a51",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
}
]
},
{
"TableId": "fd8f18d1-83b9-4f51-9464-1ad5f726fc5e",
"Rows": [
{
"ItemId": "63a32c7e-8d7c-452a-b731-f91ad6575a51",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
},
{
"ItemId": "63a32c7e-8d7c-452a-b731-f91ad6575a51",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
}
]
}
],
"Owners": [
"01ecea90-41cf-4a30-8435-d90a317b2bc7",
"48a2af4c-4bf7-4211-a1f3-352bcef424fc"
],
"Approvers": [
"96d69bae-03e8-42c8-9225-86845ee0e162",
"acf80462-d8a9-4e2c-97aa-3019edb4b84e"
],
"ApprovedBy": "ec20d2b7-6635-43f8-af7c-385fe373735d",
"ApprovalDate": "2025-11-12T19:30:26.8155843+00:00",
"ApprovalComments": "sample string 7",
"WorkPlanId": "118ad194-1f26-44d5-a61e-6a1feaea965d",
"id": "d39ad12a-1927-4122-9909-69e30a5796fb",
"ConfigId": "890a1240-fa8d-4771-87ab-e346d2a840f0"
}