RHP_API

<back to all web services

AddSupportTicket

AddNewSupportTicket Parameters:
NameParameterData TypeRequiredDescription
AttachmentsformList<int>No
CreateNewSupportTicket Parameters:
NameParameterData TypeRequiredDescription
EmailAddressformstringNo
SuppliedUsernameformstringNo
SubjectformstringNo
EnquiryformstringNo
CategoryIDformintNo
SiteCountryIDformintNo
UserAgentformstringNo
IPAddressformstringNo
SupportTicketListItem Parameters:
NameParameterData TypeRequiredDescription
TicketRefformstringNo
StatusformstringNo
CategoryformstringNo
MessageformstringNo
DateformDateTimeNo
NewCountformintNo
IsAdminformboolNo
TitleformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .soap11 suffix or ?format=soap11

HTTP + SOAP11

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /soap11 HTTP/1.1 
Host: tstsrvs.redhotpie.com.au 
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: AddSupportTicket

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>

<AddSupportTicket xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RHP_API.ServiceModel">
  <CategoryID xmlns="http://schemas.datacontract.org/2004/07/RHP.ServiceHelper.Model">0</CategoryID>
  <EmailAddress xmlns="http://schemas.datacontract.org/2004/07/RHP.ServiceHelper.Model">String</EmailAddress>
  <Enquiry xmlns="http://schemas.datacontract.org/2004/07/RHP.ServiceHelper.Model">String</Enquiry>
  <IPAddress xmlns="http://schemas.datacontract.org/2004/07/RHP.ServiceHelper.Model">String</IPAddress>
  <SiteCountryID xmlns="http://schemas.datacontract.org/2004/07/RHP.ServiceHelper.Model">0</SiteCountryID>
  <Subject xmlns="http://schemas.datacontract.org/2004/07/RHP.ServiceHelper.Model">String</Subject>
  <SuppliedUsername xmlns="http://schemas.datacontract.org/2004/07/RHP.ServiceHelper.Model">String</SuppliedUsername>
  <UserAgent xmlns="http://schemas.datacontract.org/2004/07/RHP.ServiceHelper.Model">String</UserAgent>
  <Attachments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/RHP.ServiceHelper.Model">
    <d2p1:int>0</d2p1:int>
  </Attachments>
</AddSupportTicket>

    </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>

<SupportTicketListItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RHP.ServiceHelper.Model">
  <Category>String</Category>
  <Date>0001-01-01T00:00:00</Date>
  <IsAdmin>false</IsAdmin>
  <Message>String</Message>
  <NewCount>0</NewCount>
  <Status>String</Status>
  <TicketRef>String</TicketRef>
  <Title>String</Title>
</SupportTicketListItem>

    </soap:Body>
</soap:Envelope>