Для внешней продажи (=код заказа) в ответе каждый билет помещается в тэг Ticket.
Пример запроса для кода билета
AccessPointID=5&QueryCode=GetCodeInfo&RequestDir=3&AccessCode=100000583743&Encoding=Windows-1251&Version=3&CodeRecognize=2
Пример ответа
<?xml version='1.0' encoding='Windows-1251' standalone='yes'?>
<XML>
<Result>Ok</Result><Error></Error><Remark></Remark>
<Data>
<Tickets>
<Ticket ID='1' CheckCode='True'>
<ResultDir>1</ResultDir>
<CodeType>1</CodeType>
<Code>100000583743</Code>
<Status>0</Status>
<PassEnabled>1</PassEnabled>
<LastPassDate>30.12.1899</LastPassDate>
<LastPassTime>00:00</LastPassTime>
<OutPassCount>0</OutPassCount>
<InPassCount>0</InPassCount>
<MessageCode>12</MessageCode>
<MessageText>Ряд 1, Место 1</MessageText>
<Session_ID Type='0'>50399</Session_ID>
<TicketName>Полный</TicketName>
<TicketID>1</TicketID>
<TicketMain>1</TicketMain>
<Film_Name>Хоббит: Пустошь Смауга</Film_Name>
<Operation_Film_Name>Хоббит: Пустошь Смауга</Film_Name>
<Start_Time>14:35</Start_Time>
<End_Time>16:10</End_Time>
<Flags>0</Flags>
<Flag_Value>0</Flag_Value>
<Work_Day_Time>00:00</Work_Day_Time>
<Operation_Detail_Link>583739</Operation_Detail_Link>
<Operation_Type>29</Operation_Type>
<Operation_Row>1</Operation_Row>
<Operation_Place>1</Operation_Place>
<Operation_DateTime>20.02.2014</Operation_DateTime>
<Operation_Level_ID>1446</Operation_Level_ID>
<Operation_Session_ID Type='0'>50399</Operation_Session_ID>
<Operation_Session_Format ID='1' Name='2D'/>
<Operation_Level_Name>VIP зал ОГ (copy)</Operation_Level_Name>
<Operation_Hall_ID>46</Operation_Hall_ID>
<Operation_Hall_Name>VIP зал (copy)</Operation_Hall_Name>
<Operation_Session_Date>20.02.2014</Operation_Session_Date>
<Operation_Time_Begin>14:35</Operation_Time_Begin>
<Operation_Detail_Type>1</Operation_Detail_Type>
<Operation_Season_Id>0</Operation_Season_Id>
<Oper_Detail_Id>583743</Oper_Detail_Id>
<Operation_Time_Duration>105</Operation_Time_Duration>
<Operation_Time_Reklama>0</Operation_Time_Reklama>
<GoodsCaption>Очки 3D</GoodsCaption>
<Text_To_Send>Ряд 1, Место 1</Text_To_Send>
</Ticket>
</Tickets>
<Return>TRUE</Return>
</Data>
</XML>
Пример запроса для кода внешней продажи
AccessPointID=5&QueryCode=GetCodeInfo&RequestDir=3&AccessCode=EXT_04&Encoding=Windows-1251&Version=3&CodeRecognize=2
Пример ответа
<?xml version='1.0' encoding='Windows-1251' standalone='yes'?>
<XML>
<Result>Ok</Result><Error></Error><Remark></Remark>
<Data>
<Tickets>
<Ticket ID='1' CheckCode='True'>
<ResultDir>1</ResultDir>
<CodeType>1</CodeType>
<Code>100000583743</Code>
<Status>0</Status>
<PassEnabled>1</PassEnabled>
<LastPassDate>30.12.1899</LastPassDate>
<LastPassTime>00:00</LastPassTime>
<OutPassCount>0</OutPassCount>
<InPassCount>0</InPassCount>
<MessageCode>12</MessageCode>
<MessageText>Ряд 1, Место 1</MessageText>
<Session_ID Type='0'>50399</Session_ID>
<TicketName>Полный</TicketName>
<TicketID>1</TicketID>
<TicketMain>1</TicketMain>
<Film_Name>Хоббит: Пустошь Смауга</Film_Name>
<Operation_Film_Name>Хоббит: Пустошь Смауга</Film_Name>
<Start_Time>14:35</Start_Time>
<End_Time>16:10</End_Time>
<Flags>0</Flags>
<Flag_Value>0</Flag_Value>
<Work_Day_Time>00:00</Work_Day_Time>
<Operation_Detail_Link>583739</Operation_Detail_Link>
<Operation_Type>29</Operation_Type>
<Operation_Row>1</Operation_Row>
<Operation_Place>1</Operation_Place>
<Operation_DateTime>20.02.2014</Operation_DateTime>
<Operation_Level_ID>1446</Operation_Level_ID>
<Operation_Session_ID Type='0'>50399</Operation_Session_ID>
<Operation_Session_Format ID='1' Name='2D'/>
<Operation_Level_Name>VIP зал ОГ (copy)</Operation_Level_Name>
<Operation_Hall_ID>46</Operation_Hall_ID>
<Operation_Hall_Name>VIP зал (copy)</Operation_Hall_Name>
<Operation_Session_Date>20.02.2014</Operation_Session_Date>
<Operation_Time_Begin>14:35</Operation_Time_Begin>
<Operation_Detail_Type>1</Operation_Detail_Type>
<Operation_Season_Id>0</Operation_Season_Id>
<Oper_Detail_Id>583743</Oper_Detail_Id>
<Operation_Time_Duration>105</Operation_Time_Duration>
<Operation_Time_Reklama>0</Operation_Time_Reklama>
<GoodsCaption>Очки 3D</GoodsCaption>
<Text_To_Send>Ряд 1, Место 1</Text_To_Send>
</Ticket>
<Ticket ID='2'>
<ResultDir>1</ResultDir>
<CodeType>1</CodeType>
<Code>120058374500</Code>
<Status>0</Status>
<PassEnabled>1</PassEnabled>
<LastPassDate>30.12.1899</LastPassDate>
<LastPassTime>00:00</LastPassTime>
<OutPassCount>0</OutPassCount>
<InPassCount>0</InPassCount>
<MessageText>Ряд 1, Место 2</MessageText>
<Session_ID>50399</Session_ID>
<TicketName>Полный</TicketName>
<TicketID>1</TicketID>
<TicketMain>1</TicketMain>
<Film_Name>Хоббит: Пустошь Смауга</Film_Name>
<Operation_Film_Name>Хоббит: Пустошь Смауга</Film_Name>
<Start_Time>14:35</Start_Time>
<End_Time>16:10</End_Time>
<Flags>0</Flags>
<Flag_Value>0</Flag_Value>
<Work_Day_Time>00:00</Work_Day_Time>
<Operation_Detail_Link>583741</Operation_Detail_Link>
<Operation_Type>29</Operation_Type>
<Operation_Row>1</Operation_Row>
<Operation_Place>2</Operation_Place>
<Operation_DateTime>20.02.2014</Operation_DateTime>
<Operation_Level_ID>1446</Operation_Level_ID>
<Operation_Session_ID Type='0'>50399</Operation_Session_ID>
<Operation_Session_Format ID='1' Name='2D'/>
<Operation_Level_Name>VIP зал ОГ (copy)</Operation_Level_Name>
<Operation_Hall_ID>46</Operation_Hall_ID>
<Operation_Hall_Name>VIP зал (copy)</Operation_Hall_Name>
<Operation_Session_Date>20.02.2014</Operation_Session_Date>
<Operation_Time_Begin>14:35</Operation_Time_Begin>
<Operation_Detail_Type>1</Operation_Detail_Type>
<Operation_Season_Id>0</Operation_Season_Id>
<Oper_Detail_Id>583745</Oper_Detail_Id>
<Operation_Time_Duration>105</Operation_Time_Duration>
<Operation_Time_Reklama>0</Operation_Time_Reklama>
<GoodsCaption>Очки 3D</GoodsCaption>
<Text_To_Send>Ряд 1, Место 2</Text_To_Send>
</Ticket>
</Tickets>
<Return>TRUE</Return>
</Data>
</XML>
[4.0.R5] [+] В ответе появился тег «TicketID»
[3.22.R8.22] [+] В ответе появился тег «Operation_Session_Format»
3.22.R8 [+] добавлена информация о доп.услуге, купленной вместе с билетом.