Search found 13 matches

by gavynj
Mon Jul 01, 2024 9:08 pm
Forum: General Discussion
Topic: Getting internal errors - status 500
Replies: 4
Views: 4423

Re: Getting internal errors - status 500

Same here, just since yesterday. In my particular case, hitting the /companies/{ID}/customers/ endpoint with Archived=in(true,false) is now failing, but only for a couple of Simpro instances. Others are fine, or haven't had updates rolled out to them yet? If I ask for Archived=true or Archived=false...
by gavynj
Wed Jan 11, 2023 12:38 am
Forum: General Discussion
Topic: Cost center totals per invoice/jobs
Replies: 5
Views: 7114

Cost center totals per invoice/jobs

We use the deprecated endpoint /api/v1.0/companies/{companyID}/jobs/{jobID}/invoices/{invoiceID} in order to export each cost center's current amount per job per invoice. A couple of questions: 1) Some calls to that endpoint return an error: "Job cost center labor item was not found in this cos...
by gavynj
Tue May 11, 2021 8:52 pm
Forum: General Discussion
Topic: [Intermittent] REST Api - 500 - Internal Server Error
Replies: 8
Views: 7742

Re: [Resolved] REST Api - 500 - Internal Server Error

I've been getting a lot of 500 errors overnight too. The API requests will sometimes come back ok, but not consistently. Seems to be getting more unstable lately.
by gavynj
Tue Apr 06, 2021 1:37 am
Forum: General Discussion
Topic: [Released] Employee timesheets with incorrect href
Replies: 2
Views: 2399

[Released] Employee timesheets with incorrect href

Hi there, I am fetching employee timesheets, and then following the _href value to that particular schedule. During testing, I've noticed that Quotes are returning invalid paths. E.g. { "ScheduleType": "Quote", "Reference": "-", "_href": "/api/v...
by gavynj
Mon Dec 07, 2020 6:52 am
Forum: General Discussion
Topic: [Patched] Error with job / customer invoices endpoint
Replies: 8
Views: 13161

Re: Error with job / customer invoices endpoint

Thanks, the query no longer returns an error, but all the retention values still seem to be $0.

Let me know if you want an examples.
by gavynj
Mon Dec 07, 2020 12:33 am
Forum: General Discussion
Topic: [Released] Filter Customer Invoices by Stage
Replies: 3
Views: 3613

Re: [API-922] Filter Customer Invoices by Stage

+1 for this please!
by gavynj
Sun Dec 06, 2020 10:12 pm
Forum: General Discussion
Topic: [Patched] Error with job / customer invoices endpoint
Replies: 8
Views: 13161

Re: Error with job / customer invoices endpoint

Further to this, it looks like all Retention data is currently showing as 0 via the API, even though the website shows the correct value: "Retention": { "ExTax": 0, "IncTax": 0 } Previously imported data for the invoice I'm testing with: "Retention": { "E...
by gavynj
Sun Dec 06, 2020 8:05 pm
Forum: General Discussion
Topic: [Patched] Error with job / customer invoices endpoint
Replies: 8
Views: 13161

[Patched] Error with job / customer invoices endpoint

Hi there, This query has been working fine up until around 2am (NZDT) this morning: /api/v1.0/companies/{companyID}/jobs/{jobID}/invoices/{invoiceID}?columns=ID,Type,IsCredit,IsVoided,Retention If I remove Retention from the columns parameter it works, but obviously doesn't return the Retention obje...
by gavynj
Wed Oct 21, 2020 12:48 am
Forum: General Discussion
Topic: Link to original invoice on credit note
Replies: 2
Views: 2219

Re: Link to original invoice on credit note

Thanks for the reply. I've created a workaround by parsing the timelines endpoint to fetch the relevant invoice ID.
by gavynj
Tue Oct 20, 2020 9:51 pm
Forum: General Discussion
Topic: Link to original invoice on credit note
Replies: 2
Views: 2219

Link to original invoice on credit note

Hi there, When handling a credit note via the API, how can I fetch the voided invoice ID linked to this credit? I do have a method in place for regular invoices via the /api/v1.0/companies/{companyID}/jobs/{jobID}/invoices/ endpoint, but no such luck for recurring invoices. So I was hoping there was...