POST api/profile/createprofile?userName={userName}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userName

string

Required

Body Parameters

CustomerProfileData
NameDescriptionTypeAdditional information
AddressLine1

string

None.

Street

string

None.

PinCode

string

None.

City

string

None.

StateId

integer

None.

Country

string

None.

DateOfBirth

date

None.

HouseNumber

string

None.

GenderId

integer

None.

UserName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AddressLine1": "sample string 1",
  "Street": "sample string 2",
  "PinCode": "sample string 3",
  "City": "sample string 4",
  "StateId": 5,
  "Country": "sample string 6",
  "DateOfBirth": "2021-06-20T20:36:13.1603651+05:30",
  "HouseNumber": "sample string 8",
  "GenderId": 9,
  "UserName": "sample string 10"
}

application/xml, text/xml

Sample:
<CustomerProfileData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ESoochna.Data.Domain">
  <AddressLine1>sample string 1</AddressLine1>
  <City>sample string 4</City>
  <Country>sample string 6</Country>
  <DateOfBirth>2021-06-20T20:36:13.1603651+05:30</DateOfBirth>
  <GenderId>9</GenderId>
  <HouseNumber>sample string 8</HouseNumber>
  <PinCode>sample string 3</PinCode>
  <StateId>5</StateId>
  <Street>sample string 2</Street>
  <UserName>sample string 10</UserName>
</CustomerProfileData>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.