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-04T01:40:46.9011807+00:00",
"SubmitDate": "2025-12-04T01:40:46.9011807+00:00",
"ReportPeriodStart": "2025-12-04T01:40:46.9011807+00:00",
"ReportPeriodEnd": "2025-12-04T01:40:46.9011807+00:00",
"State": 0,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Tables": [
{
"TableId": "11195301-bd0f-4cdd-8a8e-ca9d75b0b36c",
"Rows": [
{
"ItemId": "ddb75e9f-ab89-47f4-ae3f-7b401fcf493e",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
},
{
"ItemId": "ddb75e9f-ab89-47f4-ae3f-7b401fcf493e",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
}
]
},
{
"TableId": "11195301-bd0f-4cdd-8a8e-ca9d75b0b36c",
"Rows": [
{
"ItemId": "ddb75e9f-ab89-47f4-ae3f-7b401fcf493e",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
},
{
"ItemId": "ddb75e9f-ab89-47f4-ae3f-7b401fcf493e",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
}
]
}
],
"Owners": [
"5a744d37-e3ee-458c-aee1-315309ada94b",
"c727b19e-8f37-41ce-8285-8fa05b384707"
],
"Approvers": [
"dda2f939-f67c-4248-b3d3-938644096040",
"62279dcb-9d01-44ee-afd7-023e3bfe33ab"
],
"ApprovedBy": "6ab68ceb-4b27-42de-bfef-2299efdc3402",
"ApprovalDate": "2025-12-04T01:40:46.9011807+00:00",
"ApprovalComments": "sample string 7",
"WorkPlanId": "76628975-efa9-4492-955a-71bfa36fcddc",
"id": "d8226c6c-0366-41b3-a142-fc9f81f3d219",
"ConfigId": "cffcf5f1-3fe1-436f-ad36-69e8575c599a"
}