Customers

Get Customer by Web Alias

Endpoint: https://api.intranetardyss.com/api/GetCutomerSiteByWebAlias

Method:POST


Request:
{
"User": "user",
"Password": "password",
"WebAlias": "webalias info"
}



Response
{CustomerInfo} /* See GetCustomer By Id Documentation
Get Customer by CustomerId

Endpoint: https://api.intranetardyss.com/api/GetCustomerByCustomerId

Method:POST


Request:
{
"User": "user",
"Password": "password",
"CustomerId": int customerId
}



Response
{
"CustomerInfo": {
"customerID": 78805852,
"firstName": "Rawle",
"lastName": "Edwin Rowley",
"company": "",
"customerType": 4,
"customerTypeName": "Wholesale Distributor",
"customerStatus": "1",
"customerStatusName": "ACTIVE ",
"phone": "346-216 -7713",
"phone1": "868-338-8521",
"mobilePhone": "868-338-8521",
"email": "ronawl2001@aol.com",
"fax": "",
"address1": "5002 Goose Greek Dr",
"address2": "",
"countryCode": "US",
"countryName": "UNITED STATES",
"stateCode": "TX",
"stateName": "TEXAS",
"city": "BAYTOWN",
"zip": "77521",
"enrollerId": 78804927,
"enrollerName": "Deidre Portia Noray",
"sponsorId": 78804927,
"sponsorName": "Deidre Portia Noray",
"birthDate": "2021-04-07T00:00:00",
"currencyCode": "usd",
"currencyName": "DOLLARS(US)",
"customerLanguageForBO": null,
"priceTypeId": 4,
"priceTypeName": "Wholesale",
"defaultWarehouse": 1,
"defaultWarehouseName": "Las Vegas",
"lastOrderDate": "2022-08-15T11:47:34",
"isOptin": true,
"isPrime": false,
"hasMpp": false,
"enrollInterestId": 2,
"enrollInterestName": "2) Distributor / Retailer",
"contactWayId": 1,
"contactWayName": "A. WhatsApp",
"smsValidated": true,
"w9OrW8Verified": true,
"firstLines": 28,
"downLiners": 335,
"bOLogin": "Ronawl2001",
"passwordBO": "Aa@6154229",
"webAlias": "Ronawl2001",
"urlProfilePicture": null,
"Profile": {
"customerId": 78805852,
"url": null,
"docNameOrigen": null,
"docNameStored": null,
"texto": "RawleEdwin"
},
"CustomerSite": {
"customerId": 78805852,
"webAlias": "Ronawl2001",
"firstName": "Rawle",
"lastName": "Edwin",
"company": null,
"email": "Ronawl2001@aol.com",
"phone": "346-216-7713",
"phone2": "346-216-7713",
"address1": "",
"address2": "",
"city": "",
"state": "",
"country": "",
"zip": "",
"notes1": null,
"viewPhoneReplicated": false
},
"BankInformation": {
"payableTypeId": 37,
"payableTypename": "Store Credit",
"payableToname": "Rawle Edwin Rowley",
"bankName": "Chase Bank",
"accountName": "Rawle Edwin ",
"accountNumber": "9282380206",
"abaRoutingNumber": "111000614",
"swiftCode": "",
"accountCountryCode": "US",
"field10": "Gpg Registered"
},
"CustomerCredits": [
{
"customerCreditId": 38564,
"currencyId": 4,
"currencyCode": "usd",
"currencyName": "DOLLARS(US)",
"value": 246.68,
"expireDate": "2022-10-10T10:41:57",
"orderTakenId": 0
}
],
"CreditCards": [
{
"customerCreditCardId": 0,
"ccNumber": "**** **** **** 7866",
"expireMonth": "12",
"expireYear": "2025",
"token": "NDc3Nzc3MDAwMDAwODY0Mw=="
}
],
"PeriodVolumes": [
{
"customerID": 78805852,
"periodID": 186,
"isActualPeriod": false,
"maxRankId": 6,
"maxRankName": "President",
"rankID": 6,
"rankIDName": "President",
"paidRankID": 3,
"paidRankName": "Supervisor",
"powerStart_Rank": 12,
"personalPointsPQP": 300,
"totalGQP_TeamPoints": 5126,
"gQP40_TeamPoints": 2829,
"gQP40Goal_PSG": 50000,
"gQP50_TeamPoints": 3029,
"persEnroll_TeamPoints": 0,
"groupEnrolls_TeamPoints": 1,
"nextBonus_PSG": 2500,
"activeAffiliations_PSG": 5,
"activeAffiliationsGoal_PSG": 12
},
{
"customerID": 78805852,
"periodID": 187,
"isActualPeriod": true,
"maxRankId": 6,
"maxRankName": "President",
"rankID": 6,
"rankIDName": "President",
"paidRankID": 1,
"paidRankName": "Advisor",
"powerStart_Rank": 12,
"personalPointsPQP": 0,
"totalGQP_TeamPoints": 775,
"gQP40_TeamPoints": 445,
"gQP40Goal_PSG": 50000,
"gQP50_TeamPoints": 775,
"persEnroll_TeamPoints": 0,
"groupEnrolls_TeamPoints": 1,
"nextBonus_PSG": 2500,
"activeAffiliations_PSG": 0,
"activeAffiliationsGoal_PSG": 12
}
],
"RegistroCancun": [
{
"periodId": 180,
"periodName": "January 2022",
"tripPoints": 3416.00,
"personalPoints": 250
},
{
"periodId": 181,
"periodName": "February 2022",
"tripPoints": 3359.00,
"personalPoints": 276
},
{
"periodId": 182,
"periodName": "March 2022",
"tripPoints": 3264.00,
"personalPoints": 206
},
{
"periodId": 183,
"periodName": "April 2022",
"tripPoints": 3314.00,
"personalPoints": 300
},
{
"periodId": 184,
"periodName": "May 2022",
"tripPoints": 4039.00,
"personalPoints": 190
},
{
"periodId": 185,
"periodName": "June 2022",
"tripPoints": 3076.00,
"personalPoints": 120
},
{
"periodId": 186,
"periodName": "July 2022",
"tripPoints": 3000.00,
"personalPoints": 300
},
{
"periodId": 187,
"periodName": "August 2022",
"tripPoints": 0.00,
"personalPoints": 0
}
],
"CustomerAddress": [],
"RecurringTemplates": [
{
"templateId": 5555,
"warehouseId": 1,
"customerName": "Rawle Edwin Rowley",
"firstName": "Rawle",
"lastName": "Edwin Rowley",
"currencyId": 4,
"currencyCode": "usd",
"address1": "5002 Goose Greek Dr",
"address2": "ronawl2001@aol.com",
"cityName": "BAYTOWN",
"stateCode": "TX",
"countryCode": "US",
"zipCode": "77521",
"phone": "281-677-8004",
"shipMethodId": 6,
"priceTypeId": 0,
"orderCreated": "2021-04-13T11:38:28",
"nextTimeRun": "2022-08-20T00:00:00",
"subTotal": 104.50,
"shipAmount": 9.99,
"totalTax": 0.00,
"totalTemplate": 114.49,
"Details": [
{
"templateId": 5555,
"itemCode": "VIVE-2",
"itemName": "Le Vive Green",
"quantity": 4.00,
"priceEach": 25.00,
"priceTotal": 100.00,
"taxEach": 0.0,
"taxTotal": 0.00,
"weightEach": 1.95,
"weightTotal": 0.0,
"businessVolumeEach": 25.00,
"businessVolumeTotal": 0.0,
"commissionableVolumeEach": 0.0,
"commissionableVolumeTotal": 19.00
},
{
"templateId": 5555,
"itemCode": "Z23-1",
"itemName": "Handling",
"quantity": 1.00,
"priceEach": 4.50,
"priceTotal": 4.50,
"taxEach": 0.0,
"taxTotal": 0.00,
"weightEach": 0.00,
"weightTotal": 0.0,
"businessVolumeEach": 0.00,
"businessVolumeTotal": 0.0,
"commissionableVolumeEach": 0.0,
"commissionableVolumeTotal": 0.00
}
]
}
]
},
"Message": {}
}
Get Customer by Email

Endpoint: https://api.intranetardyss.com/api/GetCustomersByEmail

Method:POST


Request:

{
"User": "User",
"Password": "password",
"Email":"isaac.arellano@ardysslife.com"
}



Response
{CustomerInfo} /* See GetCustomer By Id Documentation
Customer Password recovery

Endpoint: https://api.intranetardyss.com/api/CustomerPasswordRecovery

Method:POST


Request:
{
"User": "user",
"Password": "password",
"CustomerId": int customerId
}


Response:
{
"Response:": "An email was sent to it.services@ardysslife.com"
}
Create Customer

Endpoint: https://api.intranetardyss.com/api/CreateCustomer

Method:POST


Request:

{
"User":{
"* User": "user",
"* Password": "password"
},
"Customer": [
{
"* FirstName": "TEST API",
"* LastName": "TEST API",
"* Email": "it.testapi.com",
"* Phone": "1231233122",
"Phone1": "1231233122",
"MobilePhone": "1231233122",
"* Address1": "123 Evergreen",
"Address2": "",
"* CityName": "LAS VEGAS",
"* CountryCode": "US",
"* StateCode": "NV",
"* ZipCode": "89011-40420",
"* EnrollerId" : 80010,
"* SponsorId":80010,
"* EnrollInterestId":1, // 1) Consumer, 2) Distributor / Retailer, 3) Network Marketing Business Builder
"* ContactWayId": 1, // 1 A. WhatsApp, 2 B. Text message, 3 C. Phone call, 4 D. Email
"* LanguageId":0 // 0 English, 1 EspaƱol
}
]
}
* Mandatory


Response:

{CustomerInfo} /* See GetCustomer By Id Documentation
Update Customer Site

Endpoint: https://api.intranetardyss.com/api/UpdateCustomerSite

Method:POST


Request:

{
"User":{
"User": "user",
"Password": "password"
},
"CustomerSite": [
{
"CustomerId": 80010,
"WebAlias": "itteam1",
"FirstName": "test",
"LastName": "1231233122",
"Company": "1231233122",
"Email": "1231233122",
"Phone": "",
"Phone2":"",
"Address1":"14314 Greenville St",
"Address2":"",
"City":"Houston",
"StateCode":"TX",
"CountryCode":"US",
"Zip":"77015-4706",
"FacebookUrl":"",
"TwitterUrl":"",
"YoutubeUrl":"",
"PinterestUrl":"",
"InstagramUrl":"",

}
]
}
* Mandatory


Response:

{CustomerInfo} /* See GetCustomer By Id Documentation
Update Customer Profile

Endpoint: https://api.intranetardyss.com/api/UpdateCustomerProfile

Method:POST


Request:

{
"User":{
"* User": "user",
"* Password": "* password"
},
"CustomerProfile": [
{
"* CustomerId":80010,
"* ImageUrl": "itteam1",
"* DocNameOrigen": "test",
"* DocNameStored": "1231233122",
"Texto": "1231233122"
}
]
}
* Mandatory


Response:

{CustomerInfo} /* See GetCustomer By Id Documentation
Update Customer Login and Password

Endpoint: https://api.intranetardyss.com/api/UpdateCustomerLogin

Method:POST



Request:

{
"User":{
"* User": "user",
"* Password": "password"
},
"CustomerLogin": [
{
"* CustomerId": 80010,
"* Login":"NewLogin3",
"* Password":"MTIzNDU3Nw=="

}
]
}


Response:

{CustomerInfo} /* See GetCustomer By Id Documentation
Update Customer Payable Type

Endpoint: https://api.intranetardyss.com/api/UpdateCustomerPayableType

Method:POST


Request:

{
"User":{
"* User": "user",
"* Password": "password"
},
"CustomerPayableType": [
{
"* CustomerId": 80010,
"* PayableTypeId": 37
}
]
}


Response:

{CustomerInfo} /* See GetCustomer By Id Documentation
Update Customer Data Contact

Endpoint: https://api.intranetardyss.com/api/UpdateCustomerDataContact

Method:POST


Request:

{
"User":{
"* User": "user",
"* Password": "password",
"* CustomerId":80010
},
"Fields": [
{
"* field":"phone",
"* value":"702-313-3333"
},
{
"field":"phone1",
"value":"702-313-3333"
},

{
"field":"mobilePhone",
"value":"702-313-3333"
},
{
"field":"email",
"value":"test@test.com"
},
{
"field":"contactWayId",
"value":"1" /*1 A. WhatsApp, 2 B. Text message, 3 C. Phone call, 4 D. Email*/
},
{
"field":"inrollInterestId",
"value":"1" /*1) Consumer, 2) Distributor / Retailer, 3) Network Marketing Business Builder*/
}
]
}


Response:

{CustomerInfo} /* See GetCustomer By Id Documentation
Update Customer Bank Information

Endpoint: https://api.intranetardyss.com/api/UpdateCustomerBankInformation

Method:POST


Request:

{
"User":{
"* User": "user",
"* Password": "password"
},
"BankInfo": [
{
"* CustomerId":80010,
"* PayableToname": "Test bank",
"* BankName": "Bank to test",
"* AccountName": "Account to test",
"* AccountNumber": "1231233122",
"* AbaRoutingNumber": "4535353",
"* SwiftCode":"345345345",
"* AccountCountryCode":"US"

}
]
}


Response:

{CustomerInfo} /* See GetCustomer By Id Documentation
Create W8 W9

Endpoint: https://api.intranetardyss.com/api/CreateW8W9

Method:POST


Request:

{
" * User": "user"
,"* Password": "password"
,"* CustomerId": 80010
,"* (2) UsCiticen": true
,"* (3) IndividualorBusiness: "Individual or Business"
," (3a) BusinessName: (Only if 3 is Business)
," (3b) BusinessTypeId": 6 (Only if 3 is Business)
," (3c) OtherBusinessType":"prueba campo other" (Only if BusinessTypeId = 6)
,"* (4) TaxIdentificator": "SSN"
,"* (4a) TaxNumber": "999-99-4444"
,"* (5) FullName": "Juan Habichuelas"
,"* (8) Address": "123 Evergreen"
,"* (9) City": "Las Vegas"
,"* (10) State": "NV"
,"* (11) ZipCode": "89011-40420"
,"* (11) Country": "US"
,"* (13) ExemptPayee": true
,"* (14) AccountNumbers": "22 33 44"
}


Response:

{
"CustomerInfo": null,
"Message": {
"UrlPdf": "https://api.intranetardyss.com//W8W9/80010/80010_Completed-W9.pdf"
}
}
Confirm W8 W9

Endpoint: https://api.intranetardyss.com/api/CreateW8W9

Method:PUT


Request:

{
"* User": "user"
,"* Password": "password"
,"* CustomerId": 80010
,"* UrlDoc": "https://api.intranetardyss.com//W8W9/80010/80010_Completed-W9.pdf"
}


Response:

{
"CustomerInfo": null,
"Message": {
"UrlPdf": "https://api.intranetardyss.com//W8W9/80010/80010_Completed-W9.pdf"
}
}
Create GPG Account

Endpoint: https://api.intranetardyss.com/api/CreateGpgAccount

Method:PUT


Request:

{
"User":{
"User": "user",
"Password": "password"
},
"CustomerGpg": [
{
"CustomerId": 00000000,
"GpgPassword": "1231233122"
}
]
}


Response:

{
"DataToRedirect": {
"url": "https://www.gpgway.com/?empid=78813429",
"method": "POST",
"inputName": "CorporateID",
"inputValue": "000000"
},
"CustomerInfo": null,
"Message": {
"Description": "Duplicate Payee Data record, "
}
}
Create Customer Address

Endpoint: https://api.intranetardyss.com/api/CreateCustomerAddress

Method:POST


Request:

{
"User":{
"* User": "user",
"* Password": "password"
},
"Address": [
{
"* CustomerId":80010,
"* FirstName": "TEST API",
"* LastName": "TEST API 123",
"* Email": "it.testapi.com",
"* Phone": "1231233122",
"* Address1": "123 Evergreen modificado hoy",
"Address2": "",
"* CityName": "LAS VEGAS",
"* CountryCode": "US",
"* StateCode": "NV",
"* ZipCode": "89011-40420"
}
]
}


Response:

{CustomerInfo} /* See GetCustomer By Id Documentation
Create Customer Credit Card

Endpoint: https://api.intranetardyss.com/api/CreateCustomerCreditCard

Method:POST


Request:

{
"User":{
"User": "user",
"Password": "password"
},
"CreditCard": [
{
"CustomerId":80010,
"creditcardTypeId":1,
"creditCardNumber":"MjI3NiA5MTU3IDkwMjUgODgxMA==", Cripted Base 64
"nameOnCard":"Sandy Calhoun",
"expireMonth":"10",
"expireYear":"2024",
"address": "123 Evergreen Las Vegas NV 89011"
}
]
}


Response:

{CustomerInfo} /* See GetCustomer By Id Documentation
Delete Customer Credit Card

Endpoint: https://api.intranetardyss.com/api/DeleteCustomerCreditCard

Method:POST


Request:

{
"User":{
"User": "user",
"Password": "password"
},
"CreditCard": [
{
"CustomerId":80010,
"creditcardTypeId":1,
"creditCardNumber":"MjI3NiA5MTU3IDkwMjUgODgxMA==", Cripted Base 64
"nameOnCard":"Sandy Calhoun",
"expireMonth":"10",
"expireYear":"2024",
"address": "123 Evergreen Las Vegas NV 89011"
}
]
}


Response:

{CustomerInfo} /* See GetCustomer By Id Documentation
Delete Customer Address

Endpoint: https://api.intranetardyss.com/api/DeleteCustomerAddress

Method:POST



Request:

{
"User":{
"* User": "user",
"* Password": "password"
},
"CustomerAddressInfo": [
{
"* CustomerId": 78805995,
"* AddressId": 14
}
]
}


Response:

{CustomerInfo} /* See GetCustomer By Id Documentation
Update Customer Waiting Room

Endpoint: https://api.intranetardyss.com/api/UpdateWaitingRoom

Method:POST



{
"User":{
"* User": "user",
"* Password": "password"
},
"WaitingRoom": [
{
"* EnrollerId": 80010,
"* NewEnrollerId": 78786458,
"* CustomerIdToChanged": 78815660
}
]
}


Response:

{CustomerInfo} /* See GetCustomer By Id Documentation