To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/EventPerson HTTP/1.1
Host: data.oriem.cz
Content-Type: application/xml
Content-Length: length
<EventPerson xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebSite.Gemini.WS.ServiceS">
<EventId>0</EventId>
<MaxRecords>0</MaxRecords>
<Page>0</Page>
<Search>String</Search>
<Token>String</Token>
<UserId>0</UserId>
<WithHeadphones>false</WithHeadphones>
<WithVoter>false</WithVoter>
</EventPerson>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<EventPersonReturn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebSite.Gemini.WS.ServiceS">
<Data>
<EventPersonData>
<Arrival>false</Arrival>
<ArrivalTime>0001-01-01T00:00:00</ArrivalTime>
<CLKID>String</CLKID>
<City>String</City>
<Country>String</Country>
<EventId>0</EventId>
<ExternalDoctorId>0</ExternalDoctorId>
<FirstName>String</FirstName>
<Headphones>0</Headphones>
<HouseNr>String</HouseNr>
<InvoiceType>Company</InvoiceType>
<Mail>String</Mail>
<MobilePhone>String</MobilePhone>
<Note>String</Note>
<Paid>0</Paid>
<Participant>String</Participant>
<Payer>false</Payer>
<PaymentInfoSent>false</PaymentInfoSent>
<PaymentInfoSentTime>0001-01-01T00:00:00</PaymentInfoSentTime>
<PersonId>0</PersonId>
<Phone>String</Phone>
<PostCode>String</PostCode>
<Price>0</Price>
<RegistrationDIC>String</RegistrationDIC>
<RegistrationEventTitle>String</RegistrationEventTitle>
<RegistrationEventTitle1>String</RegistrationEventTitle1>
<RegistrationFirstName>String</RegistrationFirstName>
<RegistrationICO>String</RegistrationICO>
<RegistrationMail>String</RegistrationMail>
<RegistrationMobilePhone>String</RegistrationMobilePhone>
<RegistrationName>String</RegistrationName>
<RegistrationPhone>String</RegistrationPhone>
<RegistrationRecId>00000000-0000-0000-0000-000000000000</RegistrationRecId>
<RegistrationSalutation>String</RegistrationSalutation>
<RegistrationSurName>String</RegistrationSurName>
<RegistrationType>Passive</RegistrationType>
<RegistrationVariableCode>String</RegistrationVariableCode>
<Salutation>String</Salutation>
<Street>String</Street>
<SurName>String</SurName>
<Title>String</Title>
<Title1>String</Title1>
<Voter>0</Voter>
</EventPersonData>
</Data>
<Error>false</Error>
<ErrorMessage>String</ErrorMessage>
<TotalRecords>0</TotalRecords>
</EventPersonReturn>