openTdataCH / ojp-sdk

Meta OJP SDK repo
MIT License
4 stars 0 forks source link

SKI-1501 Erklärende Echtzeit StopEventRequest #45

Open TO-mdv opened 1 month ago

TO-mdv commented 2 weeks ago

auf TEST umgesetzt. Beispiel Fahrtausfall:

Image

Fahrt erscheint im SER entsprechend gekennzeichnet true

<StopEventResult>
    <Id>00000000-0000-0000-0000-000000000000</Id>
    <StopEvent>
        <ThisCall>
            <CallAtStop>
                <siri:StopPointRef>8014558</siri:StopPointRef>
                <StopPointName>
                    <Text xml:lang="de">Singen (Hohentwiel)</Text>
                </StopPointName>
                <ServiceDeparture>
                    <TimetabledTime>2024-06-26T13:32:00Z</TimetabledTime>
                </ServiceDeparture>
                <Order>1</Order>
                <NotServicedStop>true</NotServicedStop>
            </CallAtStop>
        </ThisCall>
        <Service>
            <Mode>
                <PtMode>rail</PtMode>
                <siri:RailSubmode>interregionalRail</siri:RailSubmode>
                <Name>
                    <Text xml:lang="de">Zug</Text>
                </Name>
                <ShortName>
                    <Text xml:lang="de">IC</Text>
                </ShortName>
            </Mode>
            <ConventionalModeOfOperation>scheduled</ConventionalModeOfOperation>
            <TrainNumber>487</TrainNumber>
            <siri:LineRef>ojp:91019:Y</siri:LineRef>
            <siri:OperatorRef>11</siri:OperatorRef>
            <PublicCode>InterCity</PublicCode>
            <PublishedServiceName>
                <Text xml:lang="de">IC</Text>
            </PublishedServiceName>
            <ProductCategory>
                <Name>
                    <Text xml:lang="de">Zug</Text>
                </Name>
                <ShortName>
                    <Text xml:lang="de">IC</Text>
                </ShortName>
                <ProductCategoryRef>23</ProductCategoryRef>
            </ProductCategory>
            <siri:DirectionRef>H</siri:DirectionRef>
            <JourneyRef>ch:1:sjyid:100001:487-001</JourneyRef>
            <OperatingDayRef>2024-06-26</OperatingDayRef>
            <Cancelled>true</Cancelled>
            <Unplanned>false</Unplanned>
            <Deviation>false</Deviation>
            <OriginStopPointRef>8029034</OriginStopPointRef>
            <DestinationStopPointRef>ch:1:sloid:3000:10:18</DestinationStopPointRef>
            <OriginText>
                <Text xml:lang="de">Stuttgart Hbf</Text>
            </OriginText>
            <DestinationText>
                <Text xml:lang="de">Zürich HB</Text>
            </DestinationText>
        </Service>
        <OperatingDays>
            <From>2024-05-31</From>
            <To>2024-12-13</To>
        </OperatingDays>
    </StopEvent>
</StopEventResult>
TO-mdv commented 2 weeks ago

Release PROD geplant am 27.6.2024