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-10T04:11:32.6152563+00:00",
"SubmitDate": "2025-12-10T04:11:32.6152563+00:00",
"ReportPeriodStart": "2025-12-10T04:11:32.6152563+00:00",
"ReportPeriodEnd": "2025-12-10T04:11:32.6152563+00:00",
"State": 0,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Tables": [
{
"TableId": "8adae4a0-9774-4c0d-b285-1da2d4c99aed",
"Rows": [
{
"ItemId": "10f6f751-a4b3-4e69-b6b7-c3bd42abe9f4",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
},
{
"ItemId": "10f6f751-a4b3-4e69-b6b7-c3bd42abe9f4",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
}
]
},
{
"TableId": "8adae4a0-9774-4c0d-b285-1da2d4c99aed",
"Rows": [
{
"ItemId": "10f6f751-a4b3-4e69-b6b7-c3bd42abe9f4",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
},
{
"ItemId": "10f6f751-a4b3-4e69-b6b7-c3bd42abe9f4",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
}
]
}
],
"Owners": [
"6d22ec80-df66-41bf-9cf2-77dab8486133",
"5e38789f-12a1-456e-8e69-9a7ee26d8611"
],
"Approvers": [
"e92726c3-1ac7-4c7e-a5ef-872f9b9a90ac",
"34826e8c-2918-46d5-a326-afb2cce141e6"
],
"ApprovedBy": "164cba11-22b6-4d91-857a-1b0129ac8eca",
"ApprovalDate": "2025-12-10T04:11:32.6152563+00:00",
"ApprovalComments": "sample string 7",
"WorkPlanId": "c5db1cfa-21e1-41af-bb12-9cfc831e5be3",
"id": "525237a5-568d-417e-9a17-12b008c86d9d",
"ConfigId": "a58eea71-0bfe-44d9-8be3-de3547cabb91"
}