How can I pass job ID information into my addon using the URL structure. Any help very apreciated!

Originally posted by Martin Sud

Hello all!,

Im trying to get the job id information from a loaded job card and pass it directly into my add-on. When I look at the url we are using it doesn’t transfer the information instead I get this returned…

https://sudell-quote-wizzard-martinsudell.replit.app/auth_external?jobUUID=%25jobUUID%25&companyUUID

My manifest file uses this which I’ve no idea if its correct or not.

“actionURL”: "https://sudell-quote-wizzard-martinsudell.replit.app/quote?job_uuid=%jobUUID%"




My full manifest is this.


{
“name”: “Sudell Quote Wizard”,
“version”: “7.3”,
“iconURL”: "https://sudell.co.uk/wp-content/uploads/2019/04/[Logo@3x.png](mailto:Logo@3x.png)",
“supportURL”: "https://sudell-quote-wizzard-martinsudell.replit.app/support",
“supportEmail”: “team@sudell.co.uk”,
“callbackURL”: "https://sudell-quote-wizzard-martinsudell.replit.app/api/servicem8/callback",
“activationURL”: "https://sudell-quote-wizzard-martinsudell.replit.app/auth_external",
“oauth”: {
“scope”: “staff_locations staff_activity publish_sms publish_email vendor vendor_logo vendor_email read_locations manage_locations read_staff manage_staff read_customers manage_customers read_customer_contacts manage_customer_contacts read_jobs manage_jobs create_jobs read_job_contacts manage_job_contacts read_job_materials manage_job_materials read_job_categories manage_job_categories read_job_queues manage_job_queues read_tasks manage_tasks read_schedule manage_schedule read_inventory manage_inventory read_job_notes publish_job_notes read_job_photos publish_job_photos read_job_attachments publish_job_attachments read_inbox read_messages manage_notifications manage_templates manage_badges read_assets manage_assets”,
“redirectURI”: "https://sudell-quote-wizzard-martinsudell.replit.app/auth/servicem8/callback"
},
“actions”: [
{
“name”: “Smart Quote”,
“type”: “online”,
“entity”: “job”,
“iconURL”: “https://sudell.co.uk/wp-content/uploads/2019/04/Logo@3x.png”,
“actionURL”: “https://sudell-quote-wizzard-martinsudell.replit.app/quote?job_uuid=%jobUUID%
},
{
“name”: “Smart Quote”,
“type”: “app”,
“entity”: “job”,
“iconURL”: “https://sudell.co.uk/wp-content/uploads/2019/04/Logo@3x.png”,
“actionURL”: “https://sudell-quote-wizzard-martinsudell.replit.app/quote?job_uuid=%jobUUID%
}
],
“jsActions”: [
{
“name”: “Smart Quote”,
“entity”: “job”,
“iconURL”: “https://sudell.co.uk/wp-content/uploads/2019/04/Logo@3x.png”,
“actionURL”: “https://sudell-quote-wizzard-martinsudell.replit.app/quote?job_uuid=%jobUUID%
}
]
}