CustomerAttributeGetAll

(Różnice między wersjami)
Skocz do: nawigacji, wyszukiwania
Linia 11: Linia 11:
 
<CustomerAttributeGetAll>
 
<CustomerAttributeGetAll>
 
<CustomerID>3</CustomerID>
 
<CustomerID>3</CustomerID>
<SortName>value</SortName> <!-- ZMIANA!! -->
+
<SortName>id</SortName> <!-- id, customer_id, typ, wartosc, oznacz -->
 
<SortType>ASC</SortType> <!-- ASC lub DESC -->
 
<SortType>ASC</SortType> <!-- ASC lub DESC -->
 
</CustomerAttributeGetAll>
 
</CustomerAttributeGetAll>

Wersja z 11:28, 12 lip 2012

Zapytanie:

//BEGIN//
<?xml version="1.0" encoding="UTF-8"?>
<Net47>
	<SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID>
	<Priority>3</Priority>
	<Term>Short</Term>
	<Request>
		<Type>CustomerAttributeGetAll</Type>
		<CustomerAttributeGetAll>
			<CustomerID>3</CustomerID>
			<SortName>id</SortName> <!-- id, customer_id, typ, wartosc, oznacz -->
			<SortType>ASC</SortType> <!-- ASC lub DESC -->
		</CustomerAttributeGetAll>
	</Request>
</Net47>
//BEGINEND//

Odpowiedź:

//BEGIN//
<?xml version="1.0" encoding="UTF-8"?>
<Net47>
	<Request>
		<Type>CustomerAttributeGetAll</Type>
		<CustomerAttributeGetAll>
			<Attribute>
				<ID>2</ID>
				<CustomerID>2</CustomerID>
				<MapName>Pesel</MapName> <!-- CustomerAttributeMapGetAll -->
				<Value>56498484684681968</Value>
				<Default>false</Default>
			</Attribute>
			<Attribute>
				<ID>3</ID>
				<CustomerID>2</CustomerID>
				<MapName>Telefon GSM</MapName> <!-- CustomerAttributeMapGetAll -->
				<Value>123456789</Value>
				<Default>true</Default> <!-- Wystepuje tylko w przypadku email, sms: oznacza domyślna wysyłke komunikatów na ten adres -->
			</Attribute>
		</CustomerAttributeGetAll>
	</Request>
</Net47>
//BEGINEND//

Błędy:

//BEGIN//
<?xml version="1.0" encoding="UTF-8"?>
<Net47>
	<Request>
		<Type>Error</Type>
		<Error>Brak uprawnień do grupy</Error>
	</Request>
</Net47>
//BEGINEND//
Osobiste
Przestrzenie nazw
Warianty
Działania
Nawigacja
Konfiguracja Systemu
Szablony
API
PostgreSQL
Narzędzia
MENU