POST api/CustomerAccount/Register

Request Information

URI Parameters

None.

Body Parameters

CustomerAccountModels
NameDescriptionTypeAdditional information
R_Id

integer

None.

R_Name

string

Required

Max length: 50

R_EmailId

string

Required

Max length: 50

R_Mobile

integer

Required

R_Address

string

Required

Max length: 140

R_Pincode

integer

Required

R_Password

string

Required

Data type: Password

String length: inclusive between 6 and 100

R_ConfirmPassword

string

Required

Data type: Password

R_UserId_FK

integer

None.

R_TS

date

None.

R_Inactive

character

None.

R_TS_LastEdited

date

None.

R_TS_Edited_Uid_FK

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "R_Id": 1,
  "R_Name": "sample string 2",
  "R_EmailId": "sample string 3",
  "R_Mobile": 4,
  "R_Address": "sample string 5",
  "R_Pincode": 6,
  "R_Password": "sample string 7",
  "R_ConfirmPassword": "sample string 8",
  "R_UserId_FK": 9,
  "R_TS": "2024-04-24T00:28:29.8634411+05:30",
  "R_Inactive": "A",
  "R_TS_LastEdited": "2024-04-24T00:28:29.8634411+05:30",
  "R_TS_Edited_Uid_FK": 13
}

application/xml, text/xml

Sample:
<CustomerAccountModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models">
  <R_Address>sample string 5</R_Address>
  <R_ConfirmPassword>sample string 8</R_ConfirmPassword>
  <R_EmailId>sample string 3</R_EmailId>
  <R_Id>1</R_Id>
  <R_Inactive>65</R_Inactive>
  <R_Mobile>4</R_Mobile>
  <R_Name>sample string 2</R_Name>
  <R_Password>sample string 7</R_Password>
  <R_Pincode>6</R_Pincode>
  <R_TS>2024-04-24T00:28:29.8634411+05:30</R_TS>
  <R_TS_Edited_Uid_FK>13</R_TS_Edited_Uid_FK>
  <R_TS_LastEdited>2024-04-24T00:28:29.8634411+05:30</R_TS_LastEdited>
  <R_UserId_FK>9</R_UserId_FK>
</CustomerAccountModels>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.