Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
EmailAddress | form | string | No | |
SuppliedUsername | form | string | No | |
Subject | form | string | No | |
Enquiry | form | string | No | |
CategoryID | form | int | No | |
SiteCountryID | form | int | No | |
UserAgent | form | string | No | |
IPAddress | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
SupportTicketID | form | int | No | |
EmailAddress | form | string | No | |
Title | form | string | No | |
Status | form | short | No | |
CategoryID | form | int | No | |
Message | form | string | No | |
LastResponseID | form | int | No | |
MemberID | form | long | No | |
AdditionalInfo | form | string | No | |
Priority | form | short | No | |
DateCreated | form | DateTime | No | |
Reference | form | string | No | |
CountryID | form | int | No | |
IsRequiredResponse | form | bool | No | |
IsPrivate | form | bool | No | |
SuppliedHandle | form | string | No | |
AdministratorID | form | int | No | |
DateLastChecked | form | DateTime | No | |
UseStoredEmail | form | bool | No | |
ParentType | form | TicketParentType | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .soap11 suffix or ?format=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: CreateSupportTicket
<?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>
<CreateSupportTicket 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>
</CreateSupportTicket>
</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> <SupportTicket xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RHP.Model"> <AdditionalInfo>String</AdditionalInfo> <AdministratorID>0</AdministratorID> <CategoryID>0</CategoryID> <CountryID>0</CountryID> <DateCreated>0001-01-01T00:00:00</DateCreated> <DateLastChecked>0001-01-01T00:00:00</DateLastChecked> <EmailAddress>String</EmailAddress> <IsPrivate>false</IsPrivate> <IsRequiredResponse>false</IsRequiredResponse> <LastResponseID>0</LastResponseID> <MemberID>0</MemberID> <Message>String</Message> <ParentType>Member</ParentType> <Priority>0</Priority> <Reference>String</Reference> <Status>0</Status> <SuppliedHandle>String</SuppliedHandle> <SupportTicketID>0</SupportTicketID> <Title>String</Title> <UseStoredEmail>false</UseStoredEmail> </SupportTicket> </soap:Body> </soap:Envelope>