POST api/ImpersonationLogs

Request Information

URI Parameters

None.

Body Parameters

ImpersonationLog
NameDescriptionTypeAdditional information
RecordId

integer

None.

Start

date

None.

End

date

None.

LoginId

integer

None.

AccountNum

integer

None.

UtilityId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "RecordId": 1,
  "Start": "2024-04-05T01:24:12.8519523+00:00",
  "End": "2024-04-05T01:24:12.8519523+00:00",
  "LoginId": 3,
  "AccountNum": 4,
  "UtilityId": 5
}

application/xml, text/xml

Sample:
<ImpersonationLog xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APL.Models">
  <AccountNum>4</AccountNum>
  <End>2024-04-05T01:24:12.8519523+00:00</End>
  <LoginId>3</LoginId>
  <RecordId>1</RecordId>
  <Start>2024-04-05T01:24:12.8519523+00:00</Start>
  <UtilityId>5</UtilityId>
</ImpersonationLog>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ImpersonationLog'.

Response Information

Resource Description

ImpersonationLog
NameDescriptionTypeAdditional information
RecordId

integer

None.

Start

date

None.

End

date

None.

LoginId

integer

None.

AccountNum

integer

None.

UtilityId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "RecordId": 1,
  "Start": "2024-04-05T01:24:12.8519523+00:00",
  "End": "2024-04-05T01:24:12.8519523+00:00",
  "LoginId": 3,
  "AccountNum": 4,
  "UtilityId": 5
}

application/xml, text/xml

Sample:
<ImpersonationLog xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APL.Models">
  <AccountNum>4</AccountNum>
  <End>2024-04-05T01:24:12.8519523+00:00</End>
  <LoginId>3</LoginId>
  <RecordId>1</RecordId>
  <Start>2024-04-05T01:24:12.8519523+00:00</Start>
  <UtilityId>5</UtilityId>
</ImpersonationLog>