Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagexml
titleSample Request for retrieving resolved bugs for a particular product,updating the related FreshDesk ticket ID status to 'RESOLVED' and creating time entries and an invoice in the Zohobooks API
{
	"bugzillaApiUrl":"http://172.22.217.15/bugiya/rest.cgi",
	"bugzillaApiKey":"jgvuN3V9aWqMLWFo4gs2UkezswIUCn9qezgOmibG",
	"bugzillaLastInvoicedDate":"2015-05-11",
	"bugzillaProduct":"Tour Management",
	"zohoBookProjectId":"148716000000041001",
	"tsheetsApiUrl":"https://bugiya.tsheets.com",
	"tsheetsAccessToken":"S.1__abb193c1d6144f9dbdb94c39d4d163d957f10550",
	"zohoBooksAuthToken":"c11a87210138ff2e0bf6d049abd3c27e",
	"zohoBooksOrganizationId":"52064035",
	"timeEntryMap":
	{
		"Book Hotels":"148716000000039027"
	},
	"freshdeskApiUrl":"https://yasasi.freshdesk.com",
	"freshdeskApiKey":"ElSv9dEcOIC1XsfYZOVE"
}

 

Invoice is created for a component, which can have multiple bugs and the sum of the time entries for a particular bug is shown as a single entry in the invoice.