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-23T13:53:39.2937838+00:00",
"SubmitDate": "2025-11-23T13:53:39.2937838+00:00",
"ReportPeriodStart": "2025-11-23T13:53:39.2937838+00:00",
"ReportPeriodEnd": "2025-11-23T13:53:39.2937838+00:00",
"State": 0,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Tables": [
{
"TableId": "8ef33913-8de5-416c-a606-2b0aa24dbb4d",
"Rows": [
{
"ItemId": "35a4e8ea-627d-4bdc-a525-43d8b2e439dc",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
},
{
"ItemId": "35a4e8ea-627d-4bdc-a525-43d8b2e439dc",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
}
]
},
{
"TableId": "8ef33913-8de5-416c-a606-2b0aa24dbb4d",
"Rows": [
{
"ItemId": "35a4e8ea-627d-4bdc-a525-43d8b2e439dc",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
},
{
"ItemId": "35a4e8ea-627d-4bdc-a525-43d8b2e439dc",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
}
]
}
],
"Owners": [
"4153225e-7af8-4fed-b008-d57e0bc9de57",
"5d2aae3a-dd09-4460-a1c4-c9b53169a377"
],
"Approvers": [
"5e61a554-60df-4d05-bd6d-097d80953de7",
"b249a1f7-27cb-48f0-94f9-3b2ba5b10bb3"
],
"ApprovedBy": "21db6991-d36a-4672-8110-ad9fdac93edd",
"ApprovalDate": "2025-11-23T13:53:39.2937838+00:00",
"ApprovalComments": "sample string 7",
"WorkPlanId": "51100eb3-8379-4b15-ae48-690fdb36bb8d",
"id": "a1e8e4d7-b5d7-4e91-ac78-eaae3ac9a762",
"ConfigId": "9bff1db5-17c2-4610-852d-5f0d70759c5b"
}