POST api/AgentRegistration/AgentRegistration

Request Information

URI Parameters

None.

Body Parameters

AgentRegistrationRequest
NameDescriptionTypeAdditional information
AgentDOB

string

None.

AgentFirstName

string

None.

AgentMiddleName

string

None.

AgentLastName

string

None.

AgentCompanyName

string

None.

AgentAddress

string

None.

AgentState

string

None.

AgentCity

string

None.

AgentDistrict

string

None.

AgentSubDistrict

string

None.

AgentPincode

string

None.

AgentMobileNumber

string

None.

AgentAlternateMobileNumber

string

None.

AgentEmailId

string

None.

AgentShopAddress

string

None.

AgentShopCity

string

None.

AgentShopState

string

None.

AgentShopDistrict

string

None.

AgentShopSubDistrict

string

None.

AgentShopPincode

string

None.

AgentPancard

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AgentDOB": "sample string 1",
  "AgentFirstName": "sample string 2",
  "AgentMiddleName": "sample string 3",
  "AgentLastName": "sample string 4",
  "AgentCompanyName": "sample string 5",
  "AgentAddress": "sample string 6",
  "AgentState": "sample string 7",
  "AgentCity": "sample string 8",
  "AgentDistrict": "sample string 9",
  "AgentSubDistrict": "sample string 10",
  "AgentPincode": "sample string 11",
  "AgentMobileNumber": "sample string 12",
  "AgentAlternateMobileNumber": "sample string 13",
  "AgentEmailId": "sample string 14",
  "AgentShopAddress": "sample string 15",
  "AgentShopCity": "sample string 16",
  "AgentShopState": "sample string 17",
  "AgentShopDistrict": "sample string 18",
  "AgentShopSubDistrict": "sample string 19",
  "AgentShopPincode": "sample string 20",
  "AgentPancard": "sample string 21"
}

application/xml, text/xml

Sample:
<AgentRegistrationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MosDmt.Models">
  <AgentAddress>sample string 6</AgentAddress>
  <AgentAlternateMobileNumber>sample string 13</AgentAlternateMobileNumber>
  <AgentCity>sample string 8</AgentCity>
  <AgentCompanyName>sample string 5</AgentCompanyName>
  <AgentDOB>sample string 1</AgentDOB>
  <AgentDistrict>sample string 9</AgentDistrict>
  <AgentEmailId>sample string 14</AgentEmailId>
  <AgentFirstName>sample string 2</AgentFirstName>
  <AgentLastName>sample string 4</AgentLastName>
  <AgentMiddleName>sample string 3</AgentMiddleName>
  <AgentMobileNumber>sample string 12</AgentMobileNumber>
  <AgentPancard>sample string 21</AgentPancard>
  <AgentPincode>sample string 11</AgentPincode>
  <AgentShopAddress>sample string 15</AgentShopAddress>
  <AgentShopCity>sample string 16</AgentShopCity>
  <AgentShopDistrict>sample string 18</AgentShopDistrict>
  <AgentShopPincode>sample string 20</AgentShopPincode>
  <AgentShopState>sample string 17</AgentShopState>
  <AgentShopSubDistrict>sample string 19</AgentShopSubDistrict>
  <AgentState>sample string 7</AgentState>
  <AgentSubDistrict>sample string 10</AgentSubDistrict>
</AgentRegistrationRequest>

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

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>