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-14T09:52:54.2054034+00:00",
"SubmitDate": "2025-11-14T09:52:54.2054034+00:00",
"ReportPeriodStart": "2025-11-14T09:52:54.2054034+00:00",
"ReportPeriodEnd": "2025-11-14T09:52:54.2054034+00:00",
"State": 0,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Tables": [
{
"TableId": "085843c3-12d1-4cc8-b1e4-914062a5d59b",
"Rows": [
{
"ItemId": "5731c8a2-1b74-4520-9ead-0eb602ccdf01",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
},
{
"ItemId": "5731c8a2-1b74-4520-9ead-0eb602ccdf01",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
}
]
},
{
"TableId": "085843c3-12d1-4cc8-b1e4-914062a5d59b",
"Rows": [
{
"ItemId": "5731c8a2-1b74-4520-9ead-0eb602ccdf01",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
},
{
"ItemId": "5731c8a2-1b74-4520-9ead-0eb602ccdf01",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
}
]
}
],
"Owners": [
"e408838f-4d67-4798-9db8-e4b423e04833",
"31dedf1b-6919-45b4-a8a8-6261b0032c0e"
],
"Approvers": [
"c391ffc9-b417-4600-919f-c59ff020a4a5",
"f96776db-e02e-4902-942c-875e5f5c6b50"
],
"ApprovedBy": "cbcdc2aa-bf23-4235-af9d-a47923556914",
"ApprovalDate": "2025-11-14T09:52:54.2054034+00:00",
"ApprovalComments": "sample string 7",
"WorkPlanId": "f808c3e1-841a-4c0c-a64c-25c628b28494",
"id": "70f2fa93-d676-4b51-96dc-627d485f199d",
"ConfigId": "27d6de8a-bb92-4a66-af2e-92dad8d06779"
}