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-13T09:16:13.467845+00:00",
"SubmitDate": "2025-11-13T09:16:13.467845+00:00",
"ReportPeriodStart": "2025-11-13T09:16:13.467845+00:00",
"ReportPeriodEnd": "2025-11-13T09:16:13.467845+00:00",
"State": 0,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Tables": [
{
"TableId": "7b4fe466-fe80-46dc-9368-29717202562e",
"Rows": [
{
"ItemId": "d55bd4d4-9bfa-40bf-ac93-c0b629cb5eef",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
},
{
"ItemId": "d55bd4d4-9bfa-40bf-ac93-c0b629cb5eef",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
}
]
},
{
"TableId": "7b4fe466-fe80-46dc-9368-29717202562e",
"Rows": [
{
"ItemId": "d55bd4d4-9bfa-40bf-ac93-c0b629cb5eef",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
},
{
"ItemId": "d55bd4d4-9bfa-40bf-ac93-c0b629cb5eef",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
}
]
}
],
"Owners": [
"de791f54-6a3c-424a-b182-b55fbe89d7e9",
"fd911b74-efab-4496-a1c2-0644b6bdb8b2"
],
"Approvers": [
"4e1acda5-6c6f-4944-b888-a71314527d1d",
"9c16e82d-97f1-4df4-89f9-1f15e37d7f25"
],
"ApprovedBy": "f7faddf2-de64-4ab8-a5bc-4bfe5a365805",
"ApprovalDate": "2025-11-13T09:16:13.467845+00:00",
"ApprovalComments": "sample string 7",
"WorkPlanId": "7f198dfd-a062-4c8d-84e2-d29ee1ff47d3",
"id": "b7b6d016-876f-48ac-9a56-5a0f491ec8ff",
"ConfigId": "31faa62b-5220-458e-93f5-ca3d31fb5da9"
}