EventCalendarGetOne

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>EventCalendarGetOne</Type>
		<EventCalendarGetOne>
			<CalendarID>4</CalendarID>
		</EventCalendarGetOne>
	</Request>
</Net47>
//BEGINEND//

Odpowiedź:

//BEGIN//
<?xml version="1.0" encoding="UTF-8"?>
<Net47>
	<Request>
		<Type>EventCalendarGetOne</Type>
		<EventCalendarGetOne>
			<CalendarID>4</CalendarID>
			<CustomerName>Firma nowaFirma</CustomerName>
			<City>Racibórz</City>
			<Street>ul. Kościuszki</Street>
			<Number>4/1</Number>
			<CustomerID>84</CustomerID>
			<ActionTypeName>Pomoc telefoniczna</ActionTypeName> <!-- EventCalendarActionTypeGetAll -->
			<ActionTypeID>4</ActionTypeID> <!-- EventCalendarActionTypeGetAll -->
			<Priority>2</Priority> <!-- 1 = niski, 2 = normalny, 3 = wysoki -->
			<Print>true</Print> <!-- czy wystepuje przy wydruku -->
			<Private>false</Private>
			<Periodical>false</Periodical> <!-- czy notka jest cykliczna -->
			<CloseUserID>1</CloseUserID> <!-- jeżeli brak - notka jest otwarta, definiuje id uzytkownika ktory zamknal notke -->
			<ActionCloseDescription>klient specjalnej troski</ActionCloseDescription> <!-- unikalny wpis tworzony podczas zamykania notki -->
			<DocumentID>8</DocumentID> <!-- id faktury -->
			<DocumentCash>48.90</DocumentCash> <!-- kwota wystawionej faktury -->
			<Counter>18</Counter> <!-- licznik przeniesienia notki -->
			<CreateDate>2012-04-01 22:10:00</CreateDate>
			<CloseDate>2012-06-01 10:00:12</CloseDate> <!-- czas zamkniecia notki, jesli brak - notka otwarta -->
			<HelpdeskZgloszenieID>12</HelpdeskZgloszenieID> <!-- id zgloszenia w Helpdesku -->
			<Telefony>777123123, 123456</Telefony>
			<TelefonyGSM>777123123, 123456</TelefonyGSM>
			<DiffrentAddressSym>767</DiffrentAddressSym>
			<DiffrentAddressUlic>7567</DiffrentAddressUlic> 
			<DiffrentAddressNumer>gfhgf78</DiffrentAddressNumer> 
			<DiffrentAddressMiasto>Racibórz</DiffrentAddressMiasto>
			<DiffrentAddressUlica>Opolska</DiffrentAddressUlica>
			<Locked>true</Locked>
			<PrzeniesAutomat>true</PrzeniesAutomat>
			<UsersAssigned> <!-- uzytkownicy przypisani do notki -->
				<User>
					<ID>4</ID> <!-- id uzytkownika przypisanego do tej notki -->
				</User>
				<User>
					<ID>23</ID>
				</User>
			</UsersAssigned>
			<History> <!-- akcje jakie wystapily z ta notka, jej czasy przeniesienia -->
				<Action>
					<StartDate>2012-04-02 00:01:00</StartDate>
					<StopDate>2012-04-04 15:01:00</StopDate>
					<UserID>4</UserID> <!-- id uzytkownika dokonującego zmiane -->
					<CreateDate>2012-04-01 12:34:11</CreateDate>
					<MoveReason>powód</MoveReason>
				</Action>
				<Action>
					<StartDate>2012-04-03 00:01:00</StartDate>
					<StopDate>2012-04-05 15:01:00</StopDate>
					<UserID>4</UserID>
					<CreateDate>2012-04-03 12:34:11</CreateDate>
					<MoveReason>powód</MoveReason>
				</Action>
			</History>
			<Notes> <!-- EventCalendarNoteGetAll -->
				<CalendarNote>
					<ID>4</ID>
					<Note>zadzwonic do niego</Note>
					<UserID>4</UserID>
					<CreateDate>2012-01-01 00:01:00</CreateDate>
				</CalendarNote>
				<CalendarNote>
					<ID>4</ID>
					<Note>zadzwonic do niego</Note>
					<UserID>4</UserID>
					<CreateDate>2012-01-01 00:01:00</CreateDate>
				</CalendarNote>
				<CalendarNote>
					<ID>4</ID>
					<Note>zadzwonic do niego</Note>
					<UserID>4</UserID>
					<CreateDate>2012-01-01 00:01:00</CreateDate>
				</CalendarNote>
			</Notes>
			<CloseDescription> <!-- EventCalendarActionCloseGetAll -->
				<ActionClose>
					<ID>4</ID>
					<Name>Instalacja</Name>
					<ClientFailure>true</ClientFailure> <!-- definiuje czy usterka nastapila z winy klienta -->
					<CreateDate>2012-07-05 00:00:00</Name>
				</ActionClose>
				<ActionClose>
					<ID>5</ID>
					<Name>Instalacja</Name>
					<ClientFailure>true</ClientFailure>
					<CreateDate>2012-07-05 00:00:00</Name>
				</ActionClose>
				<ActionClose>
					<ID>6</ID>
					<Name>Instalacja</Name>
					<ClientFailure>true</ClientFailure>
					<CreateDate>2012-07-05 00:00:00</Name>
				</ActionClose>
			</CloseDescription>
		</EventCalendarGetOne>
	</Request>
</Net47>
//BEGINEND//

Błędy:

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