Timelines: POST New Timelines for Jobs / Quotes

Posts about the simPRO API. Help/support/how-to etc.
Forum rules
  • Check the documentation first. Before posting questions, please check the documentation to ensure it doesn't already cover what you need.
  • No spam. All automated messages, advertisements, and links to competitor websites will be deleted immediately.
  • Post in relevant sub-forums only. Messages posted in the wrong topic area will be removed and placed in the correct sub-forum by moderators.
  • Respect other users. No flaming or abusing fellow forum members. Users who continue to post inflammatory, abusive comments will be deleted from the forum after two warnings are issued by moderators.
  • Harassment. No threats or harassment of other users will be tolerated. Any instance of threatening or harassing behavior is grounds for deletion from the forums.
  • Adult content. No profanity or pornography is allowed. Posts containing adult material will be deleted.
  • Bandwidth. All images and signatures must be 500 x 500 pixels or smaller. Posts containing over-sized images and signatures will be removed.
  • Illegal content. No re-posting of copyrighted materials or other illegal content is allowed. Any posts containing illegal content or copyrighted materials will be deleted.
Post Reply
Mike_Roberts
Posts: 8
Joined: Thu Feb 16, 2023 10:55 pm

Timelines: POST New Timelines for Jobs / Quotes

Post by Mike_Roberts » Thu Feb 16, 2023 10:59 pm

Hey friends,

1. Is it possible to connect Quotes with Jobs via the API?
2. Is there an API available, perhaps not documented, to create Timeline events.

We are in the process of migrated a lot of data into a new simPRO setup.

One of the quirks from our perspective is that a Quote can't be associated with a Job or vice versa via the API. When workflowing a Quote via the UI this shows up in the 'Timeline'. Reviewing the docs it doesn't appear possible to POST or PATCH, you can only GET Timeline.

Is this the case? Has anyone else done a large import of data via the simPRO api from one platform to simPRO and come across this issue? How did you get around it? Cheers!

Mike@HTHA.
Sindre
Posts: 493
Joined: Wed Apr 20, 2022 4:51 am
Location: Brisbane

Re: Timelines: POST New Timelines for Jobs / Quotes

Post by Sindre » Fri Feb 17, 2023 12:40 am

Hi Mike_Roberts,
You can convert a quote to a job in the API. They will then be linked with the field "ConvertedFrom" in the job endpoint.

Code: Select all

/api/v1.0/companies/{companyID}/quotes/{quoteID}/convert/
If you can't convert the quotes to jobs in simPRO you might be able to use a custom field to store information you need but they won't be physically linked in simPRO.

Regarding Timelines it's not possible to create new entries manually as it's a collection of important system events shown for that job/quote. You can create notes on a job or quote which will also be displayed in the timeline endpoint.

Regards
Sindre
API Developer | Simpro Software Group
Mike_Roberts
Posts: 8
Joined: Thu Feb 16, 2023 10:55 pm

Re: Timelines: POST New Timelines for Jobs / Quotes

Post by Mike_Roberts » Fri Feb 17, 2023 2:55 am

Sindre, that's great feedback, thank you. I'll take back a customfield as a possibility and let the team know we are unable to associate a quote with a job via the API, unless you use the convert endpoint.
Post Reply