POST api/audit/resources/{planId}
Gets a list of Resource Plan Audits based on the passed filter values.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
planId | string |
None. |
Body Parameters
If PlanId is an empty Guid - will return audits based on the global resource plan.
Audit_ResourcePlansQueryName | Description | Type | Additional information |
---|---|---|---|
Action | string |
None. |
|
UserId | globally unique identifier |
None. |
|
ResourceId | globally unique identifier |
None. |
|
Columns | Collection of string |
None. |
|
DateBetweenStart | date |
None. |
|
DateBetweenEnd | date |
None. |
|
HourOffset | integer |
None. |
|
PlanId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "Action": "sample string 1", "UserId": "266980ea-ed2a-4c99-9714-0cedfb5afbb6", "ResourceId": "639d828a-ba9e-4e2c-9d24-5c0ba6776540", "Columns": [ "sample string 1", "sample string 2" ], "DateBetweenStart": "2024-12-18T19:49:34.4135045+00:00", "DateBetweenEnd": "2024-12-18T19:49:34.4135045+00:00", "HourOffset": 2, "PlanId": "57e4fadd-dbba-48e9-9926-4c32c3607a11" }
Response Information
Resource Description
Collection of Audit_ResourcePlansName | Description | Type | Additional information |
---|---|---|---|
PlanId | globally unique identifier |
None. |
|
CostTypeId | globally unique identifier |
None. |
|
ResourceId | globally unique identifier |
None. |
|
RowId | globally unique identifier |
None. |
|
UserId | globally unique identifier |
None. |
|
AuthKey | string |
None. |
|
Timestamp | date |
None. |
|
Action | string |
None. |
|
UpdatedColumnValues | Dictionary of date [key] and decimal number [value] |
None. |
|
MonthRange_Start | date |
None. |
|
MonthRange_End | date |
None. |
|
id | globally unique identifier |
None. |
|
ConfigId | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
[ { "PlanId": "4a89646c-19bd-4f21-a5cc-b77b9eb2a2ac", "CostTypeId": "e182c8bb-bc76-45a1-b944-8c9a10ce8197", "ResourceId": "7a7f6b53-8d86-426d-8130-9c3c58a3eb0e", "RowId": "ff4a59f3-d2e2-4d05-aacf-67b48cedc365", "UserId": "550b54fd-1a84-4301-8b0f-71ced8134d6c", "AuthKey": "sample string 6", "Timestamp": "2024-12-18T19:49:34.4291331+00:00", "Action": "sample string 8", "UpdatedColumnValues": { "2024-12-18T19:49:34.4291331+00:00": 2.0 }, "MonthRange_Start": "2024-12-18T19:49:34.4291331+00:00", "MonthRange_End": "2024-12-18T19:49:34.4291331+00:00", "id": "2a2d583f-a17a-49ef-8570-67743ad8f0ec", "ConfigId": "cb8b24f2-6263-4a7f-bfed-2d2c4617f3ac" }, { "PlanId": "4a89646c-19bd-4f21-a5cc-b77b9eb2a2ac", "CostTypeId": "e182c8bb-bc76-45a1-b944-8c9a10ce8197", "ResourceId": "7a7f6b53-8d86-426d-8130-9c3c58a3eb0e", "RowId": "ff4a59f3-d2e2-4d05-aacf-67b48cedc365", "UserId": "550b54fd-1a84-4301-8b0f-71ced8134d6c", "AuthKey": "sample string 6", "Timestamp": "2024-12-18T19:49:34.4291331+00:00", "Action": "sample string 8", "UpdatedColumnValues": { "2024-12-18T19:49:34.4291331+00:00": 2.0 }, "MonthRange_Start": "2024-12-18T19:49:34.4291331+00:00", "MonthRange_End": "2024-12-18T19:49:34.4291331+00:00", "id": "2a2d583f-a17a-49ef-8570-67743ad8f0ec", "ConfigId": "cb8b24f2-6263-4a7f-bfed-2d2c4617f3ac" } ]