POST api/Affiliate/CreateAffiliateViaAdmin

Request Information

URI Parameters

None.

Body Parameters

CreateAffiliatetViaAdminRequestVM
NameDescriptionTypeAdditional information
AccountName

string

None.

AdminUserId

string

None.

FirstName

string

None.

LastName

string

None.

Email

string

Required

Password

string

Required

MobileNumber

string

Required

Address1

string

None.

Address2

string

None.

City

string

None.

StateId

string

None.

CountryId

string

Required

CountryCode

string

None.

ZipCode

string

None.

TimeZoneId

string

Required

IsUseDayLightSavings

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "AccountName": "sample string 1",
  "AdminUserId": "sample string 2",
  "FirstName": "sample string 3",
  "LastName": "sample string 4",
  "Email": "sample string 5",
  "Password": "sample string 6",
  "MobileNumber": "sample string 7",
  "Address1": "sample string 8",
  "Address2": "sample string 9",
  "City": "sample string 10",
  "StateId": "sample string 11",
  "CountryId": "sample string 12",
  "CountryCode": "sample string 13",
  "ZipCode": "sample string 14",
  "TimeZoneId": "sample string 15",
  "IsUseDayLightSavings": true
}

application/xml, text/xml

Sample:
<CreateAffiliatetViaAdminRequestVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Business.Service.Services.RequestViewModels.SignUp">
  <AccountName>sample string 1</AccountName>
  <Address1>sample string 8</Address1>
  <Address2>sample string 9</Address2>
  <AdminUserId>sample string 2</AdminUserId>
  <City>sample string 10</City>
  <CountryCode>sample string 13</CountryCode>
  <CountryId>sample string 12</CountryId>
  <Email>sample string 5</Email>
  <FirstName>sample string 3</FirstName>
  <IsUseDayLightSavings>true</IsUseDayLightSavings>
  <LastName>sample string 4</LastName>
  <MobileNumber>sample string 7</MobileNumber>
  <Password>sample string 6</Password>
  <StateId>sample string 11</StateId>
  <TimeZoneId>sample string 15</TimeZoneId>
  <ZipCode>sample string 14</ZipCode>
</CreateAffiliatetViaAdminRequestVM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.