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-26T07:49:39.1576146+00:00",
"SubmitDate": "2025-12-26T07:49:39.1576146+00:00",
"ReportPeriodStart": "2025-12-26T07:49:39.1576146+00:00",
"ReportPeriodEnd": "2025-12-26T07:49:39.1576146+00:00",
"State": 0,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Tables": [
{
"TableId": "5fe74e50-7fc0-4c1a-b61d-2927aa529e93",
"Rows": [
{
"ItemId": "273e6d85-2d2e-40db-9730-d0e2933c4871",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
},
{
"ItemId": "273e6d85-2d2e-40db-9730-d0e2933c4871",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
}
]
},
{
"TableId": "5fe74e50-7fc0-4c1a-b61d-2927aa529e93",
"Rows": [
{
"ItemId": "273e6d85-2d2e-40db-9730-d0e2933c4871",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
},
{
"ItemId": "273e6d85-2d2e-40db-9730-d0e2933c4871",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
}
]
}
],
"Owners": [
"863fec9a-52f8-4fed-a40b-e400fec5033b",
"9d6e4eed-527f-4cfc-a249-9147945d4930"
],
"Approvers": [
"998ee23a-de12-4dd8-b9fe-4b85ef5bd3c4",
"b3ae3aba-276d-4a63-87a8-5dedbaa26003"
],
"ApprovedBy": "2c16d915-9582-4fb7-9440-895ee54f0a0f",
"ApprovalDate": "2025-12-26T07:49:39.1576146+00:00",
"ApprovalComments": "sample string 7",
"WorkPlanId": "cfa1a846-13ae-43f7-b871-a74d87170a3d",
"id": "6a6a6736-22db-40c8-a964-c95a62f1aad8",
"ConfigId": "d0457c5e-5d92-4316-8e1b-11381b4c8572"
}