PUT api/RegisterAccount

Request Information

URI Parameters

None.

Body Parameters

CustomerRegistration
NameDescriptionTypeAdditional information
RecordId

integer

None.

RegistrationDate

date

None.

Status

string

Max length: 20

RegistrationGuid

string

Max length: 50

UtilityId

integer

None.

AccountNum

integer

None.

ContactId

integer

None.

IDNum

integer

None.

FirstName

string

Max length: 50

LastName

string

Max length: 50

Email

string

Max length: 200

Address1

string

Max length: 80

Address2

string

Max length: 80

City

string

Max length: 50

State

string

Max length: 2

ZIP

string

Max length: 10

HashedPassword

string

None.

Request Formats

application/json, text/json

Sample:
{
  "RecordId": 1,
  "RegistrationDate": "2020-01-17T18:19:39.5738768+00:00",
  "Status": "sample string 3",
  "RegistrationGuid": "sample string 4",
  "UtilityId": 5,
  "AccountNum": 6,
  "ContactId": 7,
  "IDNum": 8,
  "FirstName": "sample string 9",
  "LastName": "sample string 10",
  "Email": "sample string 11",
  "Address1": "sample string 12",
  "Address2": "sample string 13",
  "City": "sample string 14",
  "State": "sample string 15",
  "ZIP": "sample string 16",
  "HashedPassword": "sample string 17"
}

application/xml, text/xml

Sample:
<CustomerRegistration xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APL.Models">
  <AccountNum>6</AccountNum>
  <Address1>sample string 12</Address1>
  <Address2>sample string 13</Address2>
  <City>sample string 14</City>
  <ContactId>7</ContactId>
  <Email>sample string 11</Email>
  <FirstName>sample string 9</FirstName>
  <HashedPassword>sample string 17</HashedPassword>
  <IDNum>8</IDNum>
  <LastName>sample string 10</LastName>
  <RecordId>1</RecordId>
  <RegistrationDate>2020-01-17T18:19:39.5738768+00:00</RegistrationDate>
  <RegistrationGuid>sample string 4</RegistrationGuid>
  <State>sample string 15</State>
  <Status>sample string 3</Status>
  <UtilityId>5</UtilityId>
  <ZIP>sample string 16</ZIP>
</CustomerRegistration>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.