CustomerNoteGetAll

Z Net47 2.0
Skocz do: nawigacji, wyszukiwania

Zapytanie:

//BEGIN//
<?xml version="1.0" encoding="UTF-8"?>
<Net47>
	<SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID>
	<Priority>0</Priority>
	<Request>
		<Type>CustomerNoteGetAll</Type>
		<CustomerNoteGetAll>
			<CustomerID>3</CustomerID>
			<Limit>10</Limit> <!-- limit = 0 oznacza brak limitu -->
			<Offset>1</Offset> <!-- w przypadku limit = 0, pole to nie moze istnieć --> <!-- opcjonalne -->
			<SortName>createdate</SortName>
			<SortType>ASC</SortType>
		</CustomerNoteGetAll>
	</Request>
</Net47>
//BEGINEND//

Odpowiedź:

//BEGIN//
<?xml version="1.0" encoding="UTF-8"?>
<Net47>
	<Request>
		<Type>CustomerNoteGetAll</Type>
		<CustomerNoteGetAll>
			<Note>
				<ID>6</ID>
				<UserID>8</UserID>
				<Text>Klient jest niezdecydowany</Text>
				<CreateDate>2012-04-02 10:00:21</CreateDate>
			</Note>
			<Note>
				<ID>3</ID>
				<UserID>8</UserID>
				<Text>jakis text</Text>
				<CreateDate>2012-04-02 10:00:21</CreateDate>
			</Note>
		</CustomerNoteGetAll>
	</Request>
</Net47>
//BEGINEND//

Błędy:

//BEGIN//
<?xml version="1.0" encoding="UTF-8"?>
<Net47>
	<Request>
		<Type>Error</Type>
		<Error>Nie ma takiego użytkownika lub brak uprawnień</Error>
	</Request>
</Net47>
//BEGINEND//
Osobiste
Przestrzenie nazw
Warianty
Działania
Nawigacja
Konfiguracja Systemu
Szablony
API
PostgreSQL
Narzędzia
MENU