POST api/CreateAdhocUser

Request Information

URI Parameters

None.

Body Parameters

AdhocUser
NameDescriptionTypeAdditional information
Name

string

Required

Email

string

Required

ContactNumber

string

None.

DOB

string

None.

GenderId

integer

None.

PAN

string

None.

Organization

string

None.

IdentificationNumber

string

Required

AlternativeEmail

string

None.

CountryCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "Email": "sample string 2",
  "ContactNumber": "sample string 3",
  "DOB": "sample string 4",
  "GenderId": 5,
  "PAN": "sample string 6",
  "Organization": "sample string 7",
  "IdentificationNumber": "sample string 8",
  "AlternativeEmail": "sample string 9",
  "CountryCode": "sample string 10"
}

application/xml, text/xml

Sample:
<AdhocUser xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Name>sample string 1</Name>
  <Email>sample string 2</Email>
  <ContactNumber>sample string 3</ContactNumber>
  <DOB>sample string 4</DOB>
  <GenderId>5</GenderId>
  <PAN>sample string 6</PAN>
  <Organization>sample string 7</Organization>
  <IdentificationNumber>sample string 8</IdentificationNumber>
  <AlternativeEmail>sample string 9</AlternativeEmail>
  <CountryCode>sample string 10</CountryCode>
</AdhocUser>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ReturnObjectOfInt64
NameDescriptionTypeAdditional information
IsSuccess

boolean

None.

Messages

Collection of string

None.

ErrorCode

integer

None.

Response

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccess": true,
  "Messages": [
    "sample string 1",
    "sample string 2"
  ],
  "ErrorCode": 2,
  "Response": 3
}

application/xml, text/xml

Sample:
<ReturnObjectOfInt64 xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <IsSuccess>true</IsSuccess>
  <Messages>
    <string>sample string 1</string>
    <string>sample string 2</string>
  </Messages>
  <ErrorCode>2</ErrorCode>
  <Response>3</Response>
</ReturnObjectOfInt64>