POST api/master/createDealer

Request Information

URI Parameters

None.

Body Parameters

DealerModel
NameDescriptionTypeAdditional information
Dealerid

string

None.

Name

string

Required

State

string

Required

Firm

string

Required

District

string

Required

Mobile

string

Data type: PhoneNumber

Email

string

Required

Pan

string

Required

Adhaar

string

Required

Max length: 12

Gst

string

Max length: 15

Address

string

Required

Pincode

string

Required

Max length: 6

Min length: 6

Request Formats

application/json, text/json

Sample:
{
  "Dealerid": "sample string 1",
  "Name": "sample string 2",
  "State": "sample string 3",
  "Firm": "sample string 4",
  "District": "sample string 5",
  "Mobile": "sample string 6",
  "Email": "sample string 7",
  "Pan": "sample string 8",
  "Adhaar": "sample string 9",
  "Gst": "sample string 10",
  "Address": "sample string 11",
  "Pincode": "sample string 12"
}

application/xml, text/xml

Sample:
<DealerModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WhiteLabelApp.Models">
  <Address>sample string 11</Address>
  <Adhaar>sample string 9</Adhaar>
  <Dealerid>sample string 1</Dealerid>
  <District>sample string 5</District>
  <Email>sample string 7</Email>
  <Firm>sample string 4</Firm>
  <Gst>sample string 10</Gst>
  <Mobile>sample string 6</Mobile>
  <Name>sample string 2</Name>
  <Pan>sample string 8</Pan>
  <Pincode>sample string 12</Pincode>
  <State>sample string 3</State>
</DealerModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.