POST api/users/customer/CreateRepInstead
Allows for creation of a new rep instead of customer for a given representative.
Request Information
URI Parameters
None.
Body Parameters
CustomerRepInsteadCreationViewModelName | Description | Type | Additional information |
---|---|---|---|
FirstName |
The First Name of the Customer |
string |
Max length: 50 |
LastName |
THe Last Name of the Customer |
string |
Max length: 50 |
The email of the customer |
string |
Max length: 100 |
|
Password |
The password of the customer |
string |
None. |
RepDID |
The RepDID who referred this customer |
string |
None. |
Company |
The Company of the Customer |
string |
None. |
Phone1 |
The Phone1 of the Customer |
string |
None. |
Phone2 |
The Phone2 of the Customer |
string |
None. |
Phone3 |
The Phone3 of the Customer |
string |
None. |
Phone4 |
The Phone4 of the Customer |
string |
None. |
ShippingStreet1 |
The Shipping Street1 of the Customer |
string |
None. |
ShippingStreet2 |
The Shipping Street2 of the Customer |
string |
None. |
ShippingCountry |
The Shipping Country of the Customer |
string |
None. |
ShippingPostalCode |
The Shipping Postal Code of the Customer |
string |
None. |
ShippingCity |
The Shipping City of the Customer |
string |
None. |
ShippingState |
The Shipping State of the Customer |
string |
None. |
ShippingCounty |
The Shipping County of the Customer |
string |
None. |
BillingStreet1 |
The Billing Street1 of the Customer |
string |
None. |
BillingStreet2 |
The Billing Street2 of the Customer |
string |
None. |
BillingCountry |
The Billing Country of the Customer |
string |
None. |
BillingPostalCode |
The Billing Postal Code of the Customer |
string |
None. |
BillingCity |
The Billing City of the Customer |
string |
None. |
BillingState |
The Billing State of the Customer |
string |
None. |
BillingCounty |
The Billing County of the Customer |
string |
None. |
AgreedToTerms |
The Customer agreed to terms |
boolean |
None. |
ReferralMarketType |
The Referral Market Type of the Customer |
integer |
None. |
ReferralMarketTypeInput |
Additional Referral Market Type Input for the Customer |
string |
None. |
TaxID |
The TaxID of the Customer |
string |
None. |
TaxID2 |
The TaxID2 of the Customer |
string |
None. |
ReplicatedSiteUrl |
The ReplicatedSiteUrl of the Customer |
string |
None. |
SendAutoresponders |
Indicates whether or not to send the AR related to customer signups. Optional. Default is true. |
boolean |
None. |
DateOfBirth |
The Customer's Date of Birth |
date |
None. |
PreferredCulture |
Prefered locale for the Customer. |
integer |
None. |
Request Formats
application/xml, text/xml
<CustomerRepInsteadCreationViewModel> <FirstName>sample string 1</FirstName> <LastName>sample string 2</LastName> <Email>sample string 3</Email> <Password>sample string 4</Password> <RepDID>sample string 5</RepDID> <Company>sample string 6</Company> <Phone1>sample string 7</Phone1> <Phone2>sample string 8</Phone2> <Phone3>sample string 9</Phone3> <Phone4>sample string 10</Phone4> <ShippingStreet1>sample string 11</ShippingStreet1> <ShippingStreet2>sample string 12</ShippingStreet2> <ShippingCountry>sample string 13</ShippingCountry> <ShippingPostalCode>sample string 14</ShippingPostalCode> <ShippingCity>sample string 15</ShippingCity> <ShippingState>sample string 16</ShippingState> <ShippingCounty>sample string 17</ShippingCounty> <BillingStreet1>sample string 18</BillingStreet1> <BillingStreet2>sample string 19</BillingStreet2> <BillingCountry>sample string 20</BillingCountry> <BillingPostalCode>sample string 21</BillingPostalCode> <BillingCity>sample string 22</BillingCity> <BillingState>sample string 23</BillingState> <BillingCounty>sample string 24</BillingCounty> <AgreedToTerms>True</AgreedToTerms> <ReferralMarketType>1</ReferralMarketType> <ReferralMarketTypeInput>sample string 26</ReferralMarketTypeInput> <TaxID>sample string 27</TaxID> <TaxID2>sample string 28</TaxID2> <ReplicatedSiteUrl>sample string 29</ReplicatedSiteUrl> <SendAutoresponders>True</SendAutoresponders> <DateOfBirth>01/09/2025 01:33:34</DateOfBirth> <PreferredCulture>31</PreferredCulture> </CustomerRepInsteadCreationViewModel>
application/json, text/json
{ "FirstName": "sample string 1", "LastName": "sample string 2", "Email": "sample string 3", "Password": "sample string 4", "RepDID": "sample string 5", "Company": "sample string 6", "Phone1": "sample string 7", "Phone2": "sample string 8", "Phone3": "sample string 9", "Phone4": "sample string 10", "ShippingStreet1": "sample string 11", "ShippingStreet2": "sample string 12", "ShippingCountry": "sample string 13", "ShippingPostalCode": "sample string 14", "ShippingCity": "sample string 15", "ShippingState": "sample string 16", "ShippingCounty": "sample string 17", "BillingStreet1": "sample string 18", "BillingStreet2": "sample string 19", "BillingCountry": "sample string 20", "BillingPostalCode": "sample string 21", "BillingCity": "sample string 22", "BillingState": "sample string 23", "BillingCounty": "sample string 24", "AgreedToTerms": true, "ReferralMarketType": 1, "ReferralMarketTypeInput": "sample string 26", "TaxID": "sample string 27", "TaxID2": "sample string 28", "ReplicatedSiteUrl": "sample string 29", "SendAutoresponders": true, "DateOfBirth": "2025-01-09T01:33:34.6076318-05:00", "PreferredCulture": 31 }
application/x-www-form-urlencoded
Response Information
Resource Description
ObjectNone.
Response Formats
application/xml, text/xml
<Object />
application/json, text/json
{}