POST api/lead/pos/createlead

Request Information

URI Parameters

None.

Body Parameters

POSRegistrationDetail
NameDescriptionTypeAdditional information
FirstName

string

Required

LastName

string

Required

MobileNumber

string

Required

EmailAddress

string

Required

Gender

string

Required

PanCard

string

Required

AadharNumber

string

None.

DateOfBirth

date

Required

Address1

string

None.

Address2

string

None.

Address3

string

None.

Pincode

string

None.

State

string

None.

City

string

None.

RMName

string

None.

RegionName

string

None.

UserId

string

None.

ParentUserId

string

None.

Status

string

Required

Request Formats

application/json, text/json

Sample:
{
  "FirstName": "sample string 1",
  "LastName": "sample string 2",
  "MobileNumber": "sample string 3",
  "EmailAddress": "sample string 4",
  "Gender": "sample string 5",
  "PanCard": "sample string 6",
  "AadharNumber": "sample string 7",
  "DateOfBirth": "2025-01-10T19:06:13.4671+05:30",
  "Address1": "sample string 9",
  "Address2": "sample string 10",
  "Address3": "sample string 11",
  "Pincode": "sample string 12",
  "State": "sample string 13",
  "City": "sample string 14",
  "RMName": "sample string 15",
  "RegionName": "sample string 16",
  "UserId": "sample string 17",
  "ParentUserId": "sample string 18",
  "Status": "sample string 19"
}

application/xml, text/xml

Sample:
<POSRegistrationDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProbusCRMLSQWebEnggage.API.Models">
  <AadharNumber>sample string 7</AadharNumber>
  <Address1>sample string 9</Address1>
  <Address2>sample string 10</Address2>
  <Address3>sample string 11</Address3>
  <City>sample string 14</City>
  <DateOfBirth>2025-01-10T19:06:13.4671+05:30</DateOfBirth>
  <EmailAddress>sample string 4</EmailAddress>
  <FirstName>sample string 1</FirstName>
  <Gender>sample string 5</Gender>
  <LastName>sample string 2</LastName>
  <MobileNumber>sample string 3</MobileNumber>
  <PanCard>sample string 6</PanCard>
  <ParentUserId>sample string 18</ParentUserId>
  <Pincode>sample string 12</Pincode>
  <RMName>sample string 15</RMName>
  <RegionName>sample string 16</RegionName>
  <State>sample string 13</State>
  <Status>sample string 19</Status>
  <UserId>sample string 17</UserId>
</POSRegistrationDetail>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CustomResponse
NameDescriptionTypeAdditional information
Error

string

None.

IsAuthenticated

boolean

None.

Message

string

None.

Response

Object

None.

StatusCode

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Error": "sample string 1",
  "IsAuthenticated": true,
  "Message": "sample string 3",
  "Response": {},
  "StatusCode": 5
}

application/xml, text/xml

Sample:
<CustomResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProbusCRMLSQWebEnggage.CommonUtilities.Model">
  <Error>sample string 1</Error>
  <IsAuthenticated>true</IsAuthenticated>
  <Message>sample string 3</Message>
  <Response />
  <StatusCode>5</StatusCode>
</CustomResponse>