Sorted:

URL: http://www.namedoseusiten.com.br/api_customers.php?cid=& such = & amp; date_from = & amp; date_to = & amp; status = & am; Parameter Format Beschreibung Suche Get

Suche nach Kundenname, Nachname oder E -Mail -Adresse
Es ist nur Text erforderlich < /p> date_from Get Datum von für Filterbestellungen
Beispiel: DD/MM/JJJJ date_to Get Datum für Filterbestellungen
Beispiel: DD/MM/JJJJ Status Get Status für Filterbestellungen
1 = aktiv oder 0 = inaktiv
Nur Zahl ist erforderlich < /td> customer_groups_id Get Kundengruppen für Filterbestellungen
Überprüfen Sie die API, um die Kundengruppen -ID zu erhalten.
Nur Nummer ist erforderlich < /td> customer_language Get Englisch, Spanisch, Japanisch oder Portugiesisch

PHP -Probe:

 // Beispielkundenliste

 $ add_query_order = ' ' ;;
 $ Search = ' ' ;;
 if ($ search! = ' ') {
 $ add_query_order.
 }
 $ date_from = ' ' ;;
 if ($ date_from! = ' ') {
 $ add_query_order.
 }
 $ date_to = ' ' ;;
 if ($ date_to! = ' ') {
 $ add_query_order.
 }
 $ status = ' ' ;;
 if ($ status! = ' ') {
 $ add_query_order. = ' & amp; status = ' $ status;
 }
 $ Customs_Groups_id = ' ' ;;
 if ($ Customs_groups_id! = ' ') {
 $ add_query_order. = ' & amp; Customs_groups_id = '
 }
 $ Customs_Language = ' ' ;;
 if ($ Customs_Language! = ' ') {
 $ add_query_order.
 }
 
 $ Url = $ tabain_url. ' /api_customers.php? Action = Customs ' $ add_query_order;

 $ Ch = curl_init ($ url);
 Curl_setopt ($ ch, curlopt_returntransfer, true);
 curl_setopt ($ ch, curlopt_sl_verifypeer, false);
 Curl_setopt ($ ch, curlopt_httpHeader, Array (Array (
 ' Inhaltstyp: Anwendung/JSON ',,
 "Cache-Control: No-Cache",
 ' Usuario1: ' . Basis64_CODE ($ Usuario1),
 ' Passwort1: ' . Basis64_CODE ($ password1)))
 );
 
 $ result = curl_exec ($ ch);
 Curl_close ($ ch);

 print_r ($ result);

 // Beispielkunden listen eof  auf

return:

Hinweis: Limit von 1000 Kunden pro Konsultation

customer_id
customer_lastname
customer_firstname
DATE_ACCOUNT_Created
Empfehlung
customer_status < /p>

URL: http://www.namedoseusiten.com.br/api_customers.php?action=customers_groups

PHP -Probe:

 // Beispielliste für Zollpräparate
 
 $ Url = $ tabain_url. ' /api_customers.php? Action = customer_groups ' ;;

 $ Ch = curl_init ($ url);
 Curl_setopt ($ ch, curlopt_returntransfer, true);
 curl_setopt ($ ch, curlopt_sl_verifypeer, false);
 Curl_setopt ($ ch, curlopt_httpHeader, Array (Array (
 ' Inhaltstyp: Anwendung/JSON ',,
 "Cache-Control: No-Cache",
 ' Usuario1: ' . Basis64_CODE ($ Usuario1),
 ' Passwort1: ' . Basis64_CODE ($ password1)))
 );
 
 $ result = curl_exec ($ ch);
 Curl_close ($ ch);

 print_r ($ result);

 // Probe Kundengruppenliste EOF 

return:

id
Text

< /p>

URL: http://www.namedoseusiten.com.br/api_customers.php?cid=customernumber& Parameter Format Beschreibung cid Get

Anzahl der Kunden -ID
Die Zahl ist nur erforderlich
Format: int (11)
* Feld erforderlich < /p>

PHP -Probe

 // Beispielliste für Zoll-Zoll-ID

 $ add_query_order = ' ' ;;
 $ cid = ' ' ;;
 if ($ cid! = ' ') {
 $ add_query_order. = ' & amp; cid = ' $ cid;
 }
 
 $ Url = $ tabain_url. ' /api_customers.php? Action = customer_id ' $ add_query_order;

 $ Ch = curl_init ($ url);
 Curl_setopt ($ ch, curlopt_returntransfer, true);
 curl_setopt ($ ch, curlopt_sl_verifypeer, false);
 Curl_setopt ($ ch, curlopt_httpHeader, Array (Array (
 ' Inhaltstyp: Anwendung/JSON ',,
 "Cache-Control: No-Cache",
 ' Usuario1: ' . Basis64_CODE ($ Usuario1),
 ' Passwort1: ' . Basis64_CODE ($ password1)))
 );
 
 $ result = curl_exec ($ ch);
 Curl_close ($ ch);

 print_r ($ result);

 // Beispiele für Zoll -ID -Liste EOF 

return:

Eintragung_Person_kind
customer_gender
customer_firstname
Eintrag_RG

customer_email_address
Eintrag_CNPJ
Eintragung_ie
Eintriebseintrieb
Eintragung_Postcode
/> Eintrag_Street_address
Eintrag_Number
Eintragung_Completion
Vorort
Eintragsstate
customer_telephone
Telefon_Commercial
customer_telephone_telephone_telephone_telephone_telephone_ Mobile_Telephone
mobile_mobile_mobile_fax
mobile_mobile_fax
mobile_mobile_fax
mobile_mobile_fax
mobile_mobile_fax
mobile_fax
mobile_mobile_fax BR /> MSN
COSPAL_NEWSLETTER
COSPALS_GROUPS_ID
Sprache < /p>

Post: http://www.namedoseusiten.com.br/api_customers.php?action=add_customers

Parameter Format Beschreibung customer_firstname json

Kunden FirstName
Es ist nur Text erforderlich
Format: varchar (32)
* Feld erforderlich < /p> customer_lastname json Kunden LastName
Es ist nur Text erforderlich
Format: varchar (32)
* Feld erforderlich < /td> customer_email_address json E -Mail -Adresse
Beispiel: name@sit.com.br
Format: Varchar (96)
* Feld erforderlich < /td> customer_password json Passwort
Minimum: 8 Zeichen
Format: varchar (40)
* Feld erforderlich < /td> customer_telephone json Telefon
Beispiel: (11) 3230-6255
Format: Varchar (32)
* Feld erforderlich < /td> customer_telephone_commercial json kommerzielles Telefon
Beispiel: (11) 3230-6255
Format: Varchar (32) < /td> customer_telephone_mobile json Telefon mobil
Beispiel: (11) 3230-6255
Format: Varchar (32) < /td> Skype json Skype -Name
Format: varchar (32) < /td> msn json msn name
Format: varchar (32) < /td> customer_fax json Fax Telefon
Beispiel: (11) 3230-6255
Format: Varchar (32) < /td> customer_newsletter json Verwenden Sie 1 bis Ja oder 0 bis Nein
Nur Zahl ist erforderlich
Format: int (1)
* Feld erforderlich < /td> customer_groups_id json Überprüfen Sie die API, um die Liste der Kundengruppen zu erhalten customer_language json

Englisch, Spanisch, Japanisch oder Portugiesisch
* Feld erforderlich < /p> customer_gender json m oder f
* Feld erforderlich < /td> customer_dob json dd/mm/jyyy
* Feld erforderlich Eintrag_street_address json Straßenadresse
Format: varchar (64)
* Feld erforderlich < /td> Eintragung_Number json Nummer Straßenadresse
Nur Nummer erforderlich
* Feld erforderlich < /td> Eintrag_completion json Fertigstellung Straßenadresse Eintrag_Suburb json Vorort Eintrag_Postcode json Postcode
Es ist nur Nummer erforderlich
* Feld erforderlich < /td> Eintragung_City json Stadt
Es ist nur Text erforderlich
* Feld erforderlich < /td> Eintragung_State json Überprüfen Sie die API, um die Statusliste zu erhalten.
* Erforderliches Feld < /td> Eintrag_country_id json Überprüfen Sie die API, um die Liste der Landes zu erhalten Eintrag_rg json rg Eintrag_cpf json cpf Eintragung_Company json Firmenname Eintrag_cnpj json cnpj Eintrag_ie json ie person_kind json pj oder pf
Format: varchar (2)
* Feld erforderlich < /td>

PHP -Probe

 // Muster hinzufügen Kunden hinzufügen
 
 $ Url = $ tabain_url. ' /api_customers.php? Action = add_customers ' ;;

 $ data = array ("Customs_firstname" = & gt; "Kunden FirstName", // Kunden FirstName * Feld erforderlich
 "Customs_LastName" = & gt; "Lastname -Kunden", // Kunden LastName * Field erforderlich
 "Customer_email_address" = & gt; "E -Mail@mformula.com.br", // E -Mail -Adresse * Feld erforderlich
 "Customer_password" = & gt; "Test", // Passwort * Feld erforderlich
 "Customer_telephone" = & gt; "(11) 3230-6255", // Telefon Beispiel: (11) 3230-6255 * Feld erforderlich
 "COPPER_TELEPHONE_COMMERCIAL" = & GT; "(11) 3230-6255", // kommerzielles Telefon Beispiel: (11) 3230-6255
 "Customer_telephone_mobile" = & gt; "(11) 3230-6255", // Telefon mobiles Beispiel: (11) 3230-6255
 "Skype" = & gt; "", // Skype Name
 "msn" = & gt; "", // msn
 "Customer_fax" = & gt; Beispiel: (11) 3230-6255 // Fax Telefon.
 "Customer_Newsletter" = & gt; "1", // Verwenden Sie das Feld 1 bis Ja oder 0 bis (Es ist nur eine Zahl erforderlich) * Feld erforderlich
 "Customer_groups_id" = & gt; "", // Überprüfen Sie die API, um die Liste der Kundengruppen zu erhalten
 "Customer_Language" = & gt; "Portugiesisch", // Englisch, Spanisch, Japanisch oder Portugiesisch * Feld erforderlich
 "COPPER_GENDER" = & GT; "m", // m oder f * Feld erforderlich
 "COPPER_DOB" = & GT; "01/02/1980", // dd/mm/yjyy * Feld erforderlich
 "Eintrag_Street_Address" = & gt; "Av Paulista", // Straßenadresse * Feld erforderlich
 "Eintrag_Number" = & gt; "1500", // Nummer Straßenadresse * Feld erforderlich
 "Eintrag_Completion" = & gt; "", // Abschluss Straßenadresse
 "Eintrag_Suburb" = & gt; "Gärten", // Vorort
 "Eintrag_Postcode" = & gt; "04206000", // Postleitzahl
 "Eintrag_City" = & gt; "Sao Paulo", // Stadt * Feld erforderlich
 "Eintrag_State" = & gt; "Sao Paulo", // Überprüfen Sie die API, um die Liste des Zustands * zu erhalten *
 "Eintrag_country_id" = & gt; "30", // Überprüfen Sie die API, um die Liste des Landes zu erhalten
 "Eintrag_Rg" = & gt; "", // rg
 "Eintrag_CPF" = & gt; "28240621856", // CPF
 "Eintrag_company" = & gt; "", // Name der Firma
 "Eintrag_cnpj" = & gt; "", // cnpj
 "Eintrag_ie" = & gt; "", // dh
 "Person_kind" = & gt; "Pf" // PJ oder Pf * Feld erforderlich
 );
 
 $ data_string = json_encode ($ date);

 $ Ch = curl_init ($ url);
 Curl_setopt ($ ch, curlopt_customrequest, "post");
 Curl_setopt ($ ch, curlopt_postfields, $ data_string);
 Curl_setopt ($ ch, curlopt_returntransfer, true);
 curl_setopt ($ ch, curlopt_sl_verifypeer, false);
 Curl_setopt ($ ch, curlopt_httpHeader, Array (Array (
 ' Inhaltstyp: Anwendung/JSON ',,
 "Cache-Control: No-Cache",
 ' Usuario1: ' . Basis64_CODE ($ Usuario1),
 ' Passwort1: ' . Basis64_CODE ($ password1),
 ' Inhaltslänge: ' . Strlen ($ data_string))))
 );
 
 $ result = curl_exec ($ ch);
 Curl_close ($ ch);

 print_r ($ result);
 
 // Beispiel für Kunden hinzufügen eof 

Rückgabefehler:

Code
Nachricht < /p>

Erfolgserfolg:

Code
id
Nachricht < /p>

URL: http://www.namedoseusiten.com.br/api_customers.php?action=customers_country

PHP -Probe:

 // Beispielkunden Länderliste

 $ Url = $ tabain_url. ' /api_customers.php? Action = customer_country ' ;;

 $ Ch = curl_init ($ url);
 Curl_setopt ($ ch, curlopt_returntransfer, true);
 curl_setopt ($ ch, curlopt_sl_verifypeer, false);
 Curl_setopt ($ ch, curlopt_httpHeader, Array (Array (
 ' Inhaltstyp: Anwendung/JSON ',,
 "Cache-Control: No-Cache",
 ' Usuario1: ' . Basis64_CODE ($ Usuario1),
 ' Passwort1: ' . Basis64_CODE ($ password1)))
 );
 
 $ result = curl_exec ($ ch);
 Curl_close ($ ch);

 print_r ($ result);

 // Probe Kunden Länderliste eof 

return:

country_id
Country_Name < /p>

URL: http://www.namedoseusiten.com.br/api_customers.php?country_id=country_id& Parameter Format Beschreibung country_id Get

Anzahl der Land -ID
Überprüfen Sie die API, um die Liste der Landes zu erhalten.

PHP -Probe:

 // Beispielliste für Zollzustand

 $ add_query_order = ' ' ;;
 $ country_id = ' ' ;;
 if ($ country_id! = ' ') {
 $ add_query_order.
 }
 
 $ Url = $ tabain_url. ' /api_customers.php? Action = Customs_State '

 $ Ch = curl_init ($ url);
 Curl_setopt ($ ch, curlopt_returntransfer, true);
 curl_setopt ($ ch, curlopt_sl_verifypeer, false);
 Curl_setopt ($ ch, curlopt_httpHeader, Array (Array (
 ' Inhaltstyp: Anwendung/JSON ',,
 "Cache-Control: No-Cache",
 ' Usuario1: ' . Basis64_CODE ($ Usuario1),
 ' Passwort1: ' . Basis64_CODE ($ password1)))
 );
 
 $ result = curl_exec ($ ch);
 Curl_close ($ ch);

 print_r ($ result);

 // Probe Kunden staatliche Liste eof 

return:

id
text < /p>