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-08T02:33:41.1276578+00:00",
"SubmitDate": "2025-12-08T02:33:41.1276578+00:00",
"ReportPeriodStart": "2025-12-08T02:33:41.1276578+00:00",
"ReportPeriodEnd": "2025-12-08T02:33:41.1276578+00:00",
"State": 0,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Tables": [
{
"TableId": "f16041d3-9f26-4bbe-86b3-a32fc40cf2f6",
"Rows": [
{
"ItemId": "33079391-c4bb-439b-89b0-a05fd5945918",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
},
{
"ItemId": "33079391-c4bb-439b-89b0-a05fd5945918",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
}
]
},
{
"TableId": "f16041d3-9f26-4bbe-86b3-a32fc40cf2f6",
"Rows": [
{
"ItemId": "33079391-c4bb-439b-89b0-a05fd5945918",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
},
{
"ItemId": "33079391-c4bb-439b-89b0-a05fd5945918",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
}
]
}
],
"Owners": [
"d5607951-9943-48b8-a57d-b257b1634308",
"5e86b18a-8da1-4062-9843-d577fcee2b13"
],
"Approvers": [
"9e30cb25-a934-4bc9-8439-1d67bdd01024",
"146fe238-7c05-474a-b77c-545b558d139d"
],
"ApprovedBy": "e4416f1d-5ab6-43f9-93c0-618b04d2a937",
"ApprovalDate": "2025-12-08T02:33:41.1276578+00:00",
"ApprovalComments": "sample string 7",
"WorkPlanId": "8304e912-fbd8-432c-9426-4f473968ca98",
"id": "baa359c9-7661-48d0-9551-19272109946c",
"ConfigId": "5902d2e3-01e7-4f30-b8c3-516e2b3bbfd8"
}