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-29T20:56:44.3121576+00:00",
"SubmitDate": "2025-11-29T20:56:44.3121576+00:00",
"ReportPeriodStart": "2025-11-29T20:56:44.3121576+00:00",
"ReportPeriodEnd": "2025-11-29T20:56:44.3121576+00:00",
"State": 0,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Tables": [
{
"TableId": "4dcda867-af17-4a68-a22a-7fe9361b4610",
"Rows": [
{
"ItemId": "fc516f6c-b167-40b8-99f0-12609c2c8477",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
},
{
"ItemId": "fc516f6c-b167-40b8-99f0-12609c2c8477",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
}
]
},
{
"TableId": "4dcda867-af17-4a68-a22a-7fe9361b4610",
"Rows": [
{
"ItemId": "fc516f6c-b167-40b8-99f0-12609c2c8477",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
},
{
"ItemId": "fc516f6c-b167-40b8-99f0-12609c2c8477",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
}
]
}
],
"Owners": [
"5eccb398-cca2-441e-8d9f-bbfb4b82e91a",
"a460fc7b-1a99-49dd-8558-50a53a3b8431"
],
"Approvers": [
"e5e92a04-2a8c-4fff-a4b6-0c4e410aeeea",
"970cf8bb-6001-4a33-80b6-1413017d65ee"
],
"ApprovedBy": "5a10189a-f61e-4e43-b231-0947a91a9c1c",
"ApprovalDate": "2025-11-29T20:56:44.3121576+00:00",
"ApprovalComments": "sample string 7",
"WorkPlanId": "bfc95b6c-0960-4bef-bbc4-f244e614bee5",
"id": "0e3c9306-35b1-4ef3-ac22-34764e255b9e",
"ConfigId": "2945c4e2-9e9d-4c6d-95ed-2f84dbd9e087"
}