Tenant Server V1

<back to all web services

post_pm_newticket

The following routes are available for this service:
All Verbs/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 .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/post_pm_newticket HTTP/1.1 
Host: sdk.lovettcommercial.com 
Content-Type: application/xml
Content-Length: length

<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>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

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