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": "2020-03-20T22:15:43.8952402+00:00",
  "End": "2020-03-20T22:15:43.8952402+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>2020-03-20T22:15:43.8952402+00:00</End>
  <LoginId>3</LoginId>
  <RecordId>1</RecordId>
  <Start>2020-03-20T22:15:43.8952402+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": "2020-03-20T22:15:43.9108722+00:00",
  "End": "2020-03-20T22:15:43.9108722+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>2020-03-20T22:15:43.9108722+00:00</End>
  <LoginId>3</LoginId>
  <RecordId>1</RecordId>
  <Start>2020-03-20T22:15:43.9108722+00:00</Start>
  <UtilityId>5</UtilityId>
</ImpersonationLog>