POST api/audit/resources/{planId}

Gets a list of Resource Plan Audits based on the passed filter values.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
planId

string

None.

Body Parameters

If PlanId is an empty Guid - will return audits based on the global resource plan.

Audit_ResourcePlansQuery
NameDescriptionTypeAdditional 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": "9dd9b4bc-bc04-4c28-9fe4-6abdacbb27ba",
  "ResourceId": "00feaaf2-4dc8-46fd-91b7-7e6bf6038000",
  "Columns": [
    "sample string 1",
    "sample string 2"
  ],
  "DateBetweenStart": "2024-10-18T08:35:31.6854235+00:00",
  "DateBetweenEnd": "2024-10-18T08:35:31.6854235+00:00",
  "HourOffset": 2,
  "PlanId": "ad21e418-d7e8-4952-8970-68784e2e0fad"
}

Response Information

Resource Description

Collection of Audit_ResourcePlans
NameDescriptionTypeAdditional 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": "bbeb5b6d-8ea5-4dbe-90e4-ade5025526c2",
    "CostTypeId": "ea974279-bc06-44a9-b8f3-5e05b37a775e",
    "ResourceId": "48fa53e6-8b6c-4792-b562-83b8fa8bec2f",
    "RowId": "dd61c1d1-957f-4e82-a630-65d7498c67cc",
    "UserId": "714244da-aafc-45ce-abd9-31b3fc01805d",
    "AuthKey": "sample string 6",
    "Timestamp": "2024-10-18T08:35:31.6854235+00:00",
    "Action": "sample string 8",
    "UpdatedColumnValues": {
      "2024-10-18T08:35:31.6854235+00:00": 2.0
    },
    "MonthRange_Start": "2024-10-18T08:35:31.6854235+00:00",
    "MonthRange_End": "2024-10-18T08:35:31.6854235+00:00",
    "id": "0cdd3796-6283-402b-bde0-a5c4e1f93772",
    "ConfigId": "926a1d42-f591-44ff-8909-7d607af7fb9e"
  },
  {
    "PlanId": "bbeb5b6d-8ea5-4dbe-90e4-ade5025526c2",
    "CostTypeId": "ea974279-bc06-44a9-b8f3-5e05b37a775e",
    "ResourceId": "48fa53e6-8b6c-4792-b562-83b8fa8bec2f",
    "RowId": "dd61c1d1-957f-4e82-a630-65d7498c67cc",
    "UserId": "714244da-aafc-45ce-abd9-31b3fc01805d",
    "AuthKey": "sample string 6",
    "Timestamp": "2024-10-18T08:35:31.6854235+00:00",
    "Action": "sample string 8",
    "UpdatedColumnValues": {
      "2024-10-18T08:35:31.6854235+00:00": 2.0
    },
    "MonthRange_Start": "2024-10-18T08:35:31.6854235+00:00",
    "MonthRange_End": "2024-10-18T08:35:31.6854235+00:00",
    "id": "0cdd3796-6283-402b-bde0-a5c4e1f93772",
    "ConfigId": "926a1d42-f591-44ff-8909-7d607af7fb9e"
  }
]