BAwarranty Server V1

<back to all web services

post_ticketList

The following routes are available for this service:
All Verbs/post_ticketList
post_ticketList Parameters:
NameParameterData TypeRequiredDescription
tokenquerystringYes
tokensecretquerystringYes
emailquerystringYes
idtenantquerystringYes
post_ticketListResponse Parameters:
NameParameterData TypeRequiredDescription
resultformintNo
messageformstringNo
listformList<TicketInfo>No
TicketInfo Parameters:
NameParameterData TypeRequiredDescription
idticketformstringNo
idwebcare1formstringNo
tenantnameformstringNo
usernameformstringNo
locationformstringNo
priorityformstringNo
descriptionformstringNo
idciaformstringNo
idprojectformstringNo
idtenantformstringNo
statusformstringNo
addressformstringNo
creadateformDateTimeNo
acknowledgedateformDateTimeNo
archivedateformDateTimeNo
followupformstringNo
assignpmformstringNo
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_ticketList HTTP/1.1 
Host: ssl.buildersaccess.com 
Content-Type: text/jsv
Content-Length: length

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

{
	result: 0,
	message: String,
	list: 
	[
		{
			idticket: String,
			idwebcare1: String,
			tenantname: String,
			username: String,
			location: String,
			priority: String,
			description: String,
			idcia: String,
			idproject: String,
			idtenant: String,
			status: String,
			address: String,
			creadate: 0001-01-01,
			acknowledgedate: 0001-01-01,
			archivedate: 0001-01-01,
			followup: String,
			assignpm: String,
			list: 
			[
				{
					fileName: String,
					base64: String,
					base64Thumbnail: String
				}
			],
			category: 
			{
				idnumber: String,
				description: String,
				category: String
			}
		}
	]
}