POST api/Dialer/SaleEnquiryRequest

Request Information

URI Parameters

None.

Body Parameters

DialerCall
NameDescriptionTypeAdditional information
CustomerId

string

None.

ProductId

integer

None.

ContactNo

string

None.

URL

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerId": "sample string 1",
  "ProductId": 2,
  "ContactNo": "sample string 3",
  "URL": "sample string 4"
}

application/xml, text/xml

Sample:
<DialerCall xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <ContactNo>sample string 3</ContactNo>
  <CustomerId>sample string 1</CustomerId>
  <ProductId>2</ProductId>
  <URL>sample string 4</URL>
</DialerCall>

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

Response Information

Resource Description

APIResult
NameDescriptionTypeAdditional information
status_cd

string

None.

message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status_cd": "sample string 1",
  "message": "sample string 2"
}

application/xml, text/xml

Sample:
<APIResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataLibrary">
  <message>sample string 2</message>
  <status_cd>sample string 1</status_cd>
</APIResult>