POST api/RecentCustomerViews

Request Information

URI Parameters

None.

Body Parameters

RecentCustomerView
NameDescriptionTypeAdditional information
RecordId

integer

None.

LoginId

integer

None.

UtilityId

integer

None.

AccountNumber

integer

None.

CustomerName

string

Max length: 200

ViewDateAndTime

date

None.

Request Formats

application/json, text/json

Sample:
{
  "RecordId": 1,
  "LoginId": 2,
  "UtilityId": 3,
  "AccountNumber": 4,
  "CustomerName": "sample string 5",
  "ViewDateAndTime": "2020-02-15T20:11:25.0449305+00:00"
}

application/xml, text/xml

Sample:
<RecentCustomerView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APL.Models">
  <AccountNumber>4</AccountNumber>
  <CustomerName>sample string 5</CustomerName>
  <LoginId>2</LoginId>
  <RecordId>1</RecordId>
  <UtilityId>3</UtilityId>
  <ViewDateAndTime>2020-02-15T20:11:25.0449305+00:00</ViewDateAndTime>
</RecentCustomerView>

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 'RecentCustomerView'.

Response Information

Resource Description

RecentCustomerView
NameDescriptionTypeAdditional information
RecordId

integer

None.

LoginId

integer

None.

UtilityId

integer

None.

AccountNumber

integer

None.

CustomerName

string

Max length: 200

ViewDateAndTime

date

None.

Response Formats

application/json, text/json

Sample:
{
  "RecordId": 1,
  "LoginId": 2,
  "UtilityId": 3,
  "AccountNumber": 4,
  "CustomerName": "sample string 5",
  "ViewDateAndTime": "2020-02-15T20:11:25.0449305+00:00"
}

application/xml, text/xml

Sample:
<RecentCustomerView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APL.Models">
  <AccountNumber>4</AccountNumber>
  <CustomerName>sample string 5</CustomerName>
  <LoginId>2</LoginId>
  <RecordId>1</RecordId>
  <UtilityId>3</UtilityId>
  <ViewDateAndTime>2020-02-15T20:11:25.0449305+00:00</ViewDateAndTime>
</RecentCustomerView>