POST api/users/customer/ForPaymentRequest
Request Information
URI Parameters
None.
Body Parameters
CustomerForPaymentRequestViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| RepDID | string |
None. |
|
| FirstName | string |
Max length: 50 |
|
| LastName | string |
Max length: 50 |
|
| string |
Max length: 100 |
||
| Phone | string |
None. |
Request Formats
application/xml, text/xml
Sample:
<CustomerForPaymentRequestViewModel> <RepDID>sample string 1</RepDID> <FirstName>sample string 2</FirstName> <LastName>sample string 3</LastName> <Email>sample string 4</Email> <Phone>sample string 5</Phone> </CustomerForPaymentRequestViewModel>
application/json, text/json
Sample:
{
"RepDID": "sample string 1",
"FirstName": "sample string 2",
"LastName": "sample string 3",
"Email": "sample string 4",
"Phone": "sample string 5"
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ICustomer| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerID | integer |
None. |
|
| CustomerDID | string |
None. |
|
| BCKey | integer |
None. |
|
| CustomerTypeID | integer |
None. |
|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| MI | string |
None. |
|
| string |
None. |
||
| Company | string |
None. |
|
| PreferredCulture | integer |
None. |
|
| Password | string |
None. |
|
| BillStreet1 | string |
None. |
|
| BillStreet2 | string |
None. |
|
| BillCity | string |
None. |
|
| BillState | string |
None. |
|
| BillPostalCode | string |
None. |
|
| BillCountry | string |
None. |
|
| BillCounty | string |
None. |
|
| ShipStreet1 | string |
None. |
|
| ShipStreet2 | string |
None. |
|
| ShipCity | string |
None. |
|
| ShipState | string |
None. |
|
| ShipPostalCode | string |
None. |
|
| ShipCountry | string |
None. |
|
| ShipCounty | string |
None. |
|
| Phone1 | string |
None. |
|
| Phone2 | string |
None. |
|
| Phone3 | string |
None. |
|
| Phone4 | string |
None. |
|
| Phone5 | string |
None. |
|
| Phone6 | string |
None. |
|
| TaxExemptCodeID | string |
None. |
|
| TaxExempt | boolean |
None. |
|
| TaxID | string |
None. |
|
| TaxID2 | string |
None. |
|
| ReferralMarketTypeID | integer |
None. |
|
| ReferralMarketTypeInput | string |
None. |
|
| ReferCustomerID | integer |
None. |
|
| CreatedBy | string |
None. |
|
| PasswordResetKey | string |
None. |
|
| PasswordResetExpirationDate | date |
None. |
|
| DateOfBirth | date |
None. |
|
| ApplicationDate | date |
None. |
|
| StatusTypeID | integer |
None. |
|
| ContactStatusID | integer |
None. |
|
| RomanizedName | string |
None. |
|
| ReciprocalRepID | integer |
None. |
|
| LastModifiedBy | string |
None. |
|
| DateLastModified | date |
None. |
|
| TaxExemptReasonTypeID | integer |
None. |
|
| UpgradeRepID | integer |
None. |
|
| PhonesComputed | string |
None. |
|
| CreatedDate | date |
None. |
|
| guid | string |
None. |
|
| AccountNumber | string |
None. |
|
| Gender | string |
None. |
|
| EmailOptOut_Company | boolean |
None. |
|
| EmailOptOut_Upline | boolean |
None. |
Response Formats
application/xml, text/xml
Sample:
<Customer> <CustomerID>0</CustomerID> <CustomerDID /> <BCKey>0</BCKey> <CustomerTypeID>0</CustomerTypeID> <FirstName /> <LastName /> <MI /> <Company /> <Email /> <PreferredCulture>0</PreferredCulture> <Password /> <BillStreet1 /> <BillStreet2 /> <BillCity /> <BillState /> <BillPostalCode /> <BillCountry /> <BillCounty /> <ShipStreet1 /> <ShipStreet2 /> <ShipCity /> <ShipState /> <ShipPostalCode /> <ShipCountry /> <ShipCounty /> <Phone1 /> <Phone2 /> <Phone3 /> <Phone4 /> <Phone5 /> <Phone6 /> <TaxExemptCodeID /> <TaxExempt>False</TaxExempt> <TaxID /> <TaxID2 /> <ReferralMarketTypeID /> <ReferralMarketTypeInput /> <ReferCustomerID /> <CreatedBy /> <PasswordResetKey /> <PasswordResetExpirationDate /> <DateOfBirth /> <ApplicationDate>01/01/0001 00:00:00</ApplicationDate> <StatusTypeID>0</StatusTypeID> <ContactStatusID>0</ContactStatusID> <ReciprocalRepID /> <LastModifiedBy /> <DateLastModified /> <RomanizedName /> <TaxExemptReasonTypeID /> <UpgradeRepID /> <PhonesComputed /> <CreatedDate>01/01/0001 00:00:00</CreatedDate> <guid /> <AccountNumber /> <Gender /> <EmailOptOut_Company>False</EmailOptOut_Company> <EmailOptOut_Upline>False</EmailOptOut_Upline> </Customer>
application/json, text/json
Sample:
{
"CustomerID": 0,
"BCKey": 0,
"CustomerTypeID": 0,
"PreferredCulture": 0,
"TaxExempt": false,
"ApplicationDate": "0001-01-01T00:00:00",
"StatusTypeID": 0,
"ContactStatusID": 0,
"CreatedDate": "0001-01-01T00:00:00",
"EmailOptOut_Company": false,
"EmailOptOut_Upline": false
}