Tenant Server V1

<back to all web services

post_pm_newticket

post_pm_newticket Parameters:
NameParameterData TypeRequiredDescription
tokenquerystringYes
tokensecretquerystringYes
emailquerystringYes
ticketqueryTicketInfoNo
TicketInfo Parameters:
NameParameterData TypeRequiredDescription
idwebcare1formstringNo
tenantnameformstringNo
premiseaddressformstringNo
tenantphoneformstringNo
tenantemailformstringNo
vendorscheduleformstringNo
usernameformstringNo
firstnameformstringNo
lastnameformstringNo
locationformstringNo
priorityformstringNo
descriptionformstringNo
idciaformstringNo
idprojectformstringNo
idtenantformstringNo
statusformstringNo
addressformstringNo
creabyformstringNo
creadateformDateTimeNo
acknowledgedateformDateTimeNo
archivedateformDateTimeNo
followupformstringNo
assignpmformstringNo
assigntoformstringNo
assignemailformstringNo
projectnameformstringNo
cityformstringNo
zipcodeformstringNo
latitudeformstringNo
longitudeformstringNo
tenantdbaformstringNo
listformList<attachmentFile>No
categoryformcategoryInfoNo
attachmentFile Parameters:
NameParameterData TypeRequiredDescription
fileNameformstringNo
base64formstringNo
base64ThumbnailformstringNo
categoryInfo Parameters:
NameParameterData TypeRequiredDescription
idnumberformstringNo
descriptionformstringNo
categoryformstringNo
post_pm_newticketResponse Parameters:
NameParameterData TypeRequiredDescription
resultformintNo
messageformstringNo

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: sdk.lovettcommercial.com 
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: post_pm_newticket

<?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>

<post_pm_newticket xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TenantSDK.post.Request">
  <email>String</email>
  <ticket>
    <acknowledgedate>0001-01-01T00:00:00</acknowledgedate>
    <address>String</address>
    <archivedate>0001-01-01T00:00:00</archivedate>
    <assignemail>String</assignemail>
    <assignpm>String</assignpm>
    <assignto>String</assignto>
    <category>
      <category>String</category>
      <description>String</description>
      <idnumber>String</idnumber>
    </category>
    <city>String</city>
    <creaby>String</creaby>
    <creadate>0001-01-01T00:00:00</creadate>
    <description>String</description>
    <firstname>String</firstname>
    <followup>String</followup>
    <idcia>String</idcia>
    <idproject>String</idproject>
    <idtenant>String</idtenant>
    <idwebcare1>String</idwebcare1>
    <lastname>String</lastname>
    <latitude>String</latitude>
    <list>
      <attachmentFile>
        <base64>String</base64>
        <base64Thumbnail>String</base64Thumbnail>
        <fileName>String</fileName>
      </attachmentFile>
    </list>
    <location>String</location>
    <longitude>String</longitude>
    <premiseaddress>String</premiseaddress>
    <priority>String</priority>
    <projectname>String</projectname>
    <status>String</status>
    <tenantdba>String</tenantdba>
    <tenantemail>String</tenantemail>
    <tenantname>String</tenantname>
    <tenantphone>String</tenantphone>
    <username>String</username>
    <vendorschedule>String</vendorschedule>
    <zipcode>String</zipcode>
  </ticket>
  <token>String</token>
  <tokensecret>String</tokensecret>
</post_pm_newticket>

    </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>

<post_pm_newticketResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TenantSDK.post.Request">
  <message>String</message>
  <result>0</result>
</post_pm_newticketResponse>

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