1. Home
  2. /
  3. MFORMULA ELEKTRONISCHER KATALOG
  4. /
  5. API
  6. /
  7. Kunden
  8. /
  9. URL: http://www.namedoseusiten.com.br/api_customers.php?cid=& such...

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?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>

Schreibe einen Kommentar 0