POST API/CustomerAPI/PostProfile

Request Information

URI Parameters

None.

Body Parameters

CustomerProfileRequestModel
NameDescriptionTypeAdditional information
CustomerId

integer

None.

FullName

string

None.

Address

string

None.

City

string

None.

StateName

string

None.

Mobile

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerId": 1,
  "FullName": "sample string 2",
  "Address": "sample string 3",
  "City": "sample string 4",
  "StateName": "sample string 5",
  "Mobile": "sample string 6"
}

application/xml, text/xml

Sample:
<CustomerProfileRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UpceraAppAPIModels">
  <Address>sample string 3</Address>
  <City>sample string 4</City>
  <CustomerId>1</CustomerId>
  <FullName>sample string 2</FullName>
  <Mobile>sample string 6</Mobile>
  <StateName>sample string 5</StateName>
</CustomerProfileRequestModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.