Tenant Server V1

<back to all web services

post_pm_ticketView

The following routes are available for this service:
All Verbs/post_pm_ticketView
post_pm_ticketView Parameters:
NameParameterData TypeRequiredDescription
tokenquerystringYes
tokensecretquerystringYes
emailquerystringYes
namequerystringNo
idwebcare1querystringYes
post_pm_ticketViewResponse Parameters:
NameParameterData TypeRequiredDescription
resultformintNo
messageformstringNo
ticketformTicketInfoNo
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

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

HTTP + JSV

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

POST /jsv/reply/post_pm_ticketView HTTP/1.1 
Host: sdk.lovettcommercial.com 
Content-Type: text/jsv
Content-Length: length

{
	token: String,
	tokensecret: String,
	email: String,
	name: String,
	idwebcare1: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	result: 0,
	message: String,
	ticket: 
	{
		idwebcare1: String,
		tenantname: String,
		premiseaddress: String,
		tenantphone: String,
		tenantemail: String,
		vendorschedule: String,
		username: String,
		firstname: String,
		lastname: String,
		location: String,
		priority: String,
		description: String,
		idcia: String,
		idproject: String,
		idtenant: String,
		status: String,
		address: String,
		creaby: String,
		creadate: 0001-01-01,
		acknowledgedate: 0001-01-01,
		archivedate: 0001-01-01,
		followup: String,
		assignpm: String,
		assignto: String,
		assignemail: String,
		projectname: String,
		city: String,
		zipcode: String,
		latitude: String,
		longitude: String,
		tenantdba: String,
		list: 
		[
			{
				fileName: String,
				base64: String,
				base64Thumbnail: String
			}
		],
		category: 
		{
			idnumber: String,
			description: String,
			category: String
		}
	}
}