POST API/CustomerAPI/PostCustomerAMC

Request Information

URI Parameters

None.

Body Parameters

CustomerAMCRequestModel
NameDescriptionTypeAdditional information
CustomerId

integer

None.

ProductModelId

string

None.

ProductModelName

string

None.

Tenure

string

None.

Amount

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerId": 1,
  "ProductModelId": "sample string 2",
  "ProductModelName": "sample string 3",
  "Tenure": "sample string 4",
  "Amount": "sample string 5"
}

application/xml, text/xml

Sample:
<CustomerAMCRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UpceraAppAPIModels">
  <Amount>sample string 5</Amount>
  <CustomerId>1</CustomerId>
  <ProductModelId>sample string 2</ProductModelId>
  <ProductModelName>sample string 3</ProductModelName>
  <Tenure>sample string 4</Tenure>
</CustomerAMCRequestModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.