CustomerGetOne

Z Net47 2.0
Skocz do: nawigacji, wyszukiwania

customers_getall

Zapytanie:

//BEGIN//
<?xml version="1.0" encoding="UTF-8"?>
<Net47>
	<SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID>
	<Priority>0</Priority>
	<Request>
		<Type>CustomerGetOne</Type>
		<CustomerGetOne>
			<CustomerID>50</CustomerID>
		</CustomerGetOne>
	</Request>
</Net47>
//BEGINEND//

Odpowiedź:

//BEGIN//
<?xml version="1.0" encoding="UTF-8"?>
<Net47>
	<Request>
		<Type>CustomerGetOne</Type>
		<CustomerGetOne>
			<ID>4</ID>
			<Name>Jan</Name>
			<LastName>Kowalski</LastName>
			<Company>SuperFirma</Company>
			<IsCompany>true</IsCompany>
			<Name1>Anna</Name1>
			<LastName1>Kowalska</LastName1>
			<Status>1</Status>
			<CustomerName>Jan Kowalski</CustomerName>
			<NumerTeczki>TECZKA/00001</NumerTeczki>
			<Address>
				<Street>Słowackiego</Street>
				<Numer>4</Numer>
				<Mieszkanie>1a</Mieszkanie>
				<Zip>10-200</Zip>
				<City>Rybnik</City>
				<Poczta>Rybnik</Poczta>
				<SYM>825723</SYM>
				<SYM_UL>25547</SYM_UL>
				<CreateDate>2012-03-01 14:20:13</CreateDate>
			</Address>
			<AddressInstallation>
				<Street>Słowackiego</Street>
				<Numer>4</Numer>
				<Mieszkanie>1a</Mieszkanie>
				<Zip>10-200</Zip>
				<City>Rybnik</City>
				<Poczta>Rybnik</Poczta>
				<SYM>825723</SYM>
				<SYM_UL>25547</SYM_UL>
				<CreateDate>2012-03-01 14:20:13</CreateDate>
			</AddressInstallation>
			<ForwardingAddress>
				<Street>Słowackiego</Street>
				<Numer>4</Numer>
				<Mieszkanie>1a</Mieszkanie>
				<Zip>10-200</Zip>
				<City>Rybnik</City>
				<Poczta>Rybnik</Poczta>
				<SYM>825723</SYM>
				<SYM_UL>25547</SYM_UL>
				<CreateDate>2012-03-01 14:20:13</CreateDate>
			</ForwardingAddress>
		</CustomerGetOne>
	</Request>
</Net47>
//BEGINEND//

Błędy:

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