I can’t see a mention of an id returned when listing the estimates from the
API so I am assuming that I just replace the url from the above with the
url propery for the estimate, e.g.:
And should I be able to do this by sending the following PUT:
{“estimate”: {“status”: “Draft”}}
To the estimate url?
On Thursday, 13 February 2014 12:55:14 UTC+1, Darren wrote:
Hi,
I’m Chris’ colleague, at the moment we’ve got a number of estimates that
are ‘marked as sent’ but have not been approved or invoiced and need
deleting.
From what you’re saying do we need to change the status from ‘marked as
sent’ to ‘draft’ before deleting them?
If so, change we change the status using the API?
Thanks,
Darren
On Thursday, February 13, 2014 11:08:48 AM UTC, chrisb wrote:
I am trying to delete an estimate via a Google Apps Script. The Docs say:
I can’t see a mention of an id returned when listing the estimates from
the API so I am assuming that I just replace the url from the above with
the url propery for the estimate, e.g.:
And should I be able to do this by sending the following PUT:
{“estimate”: {“status”: “Draft”}}
To the estimate url?On Thursday, 13 February 2014 12:55:14 UTC+1, Darren wrote:
Hi,
I’m Chris’ colleague, at the moment we’ve got a number of estimates that
are ‘marked as sent’ but have not been approved or invoiced and need
deleting.
From what you’re saying do we need to change the status from ‘marked as
sent’ to ‘draft’ before deleting them?
If so, change we change the status using the API?
Thanks,
Darren
On Thursday, February 13, 2014 11:08:48 AM UTC, chrisb wrote:
I am trying to delete an estimate via a Google Apps Script. The Docs say:
I can’t see a mention of an id returned when listing the estimates from
the API so I am assuming that I just replace the url from the above with
the url propery for the estimate, e.g.:
And should I be able to do this by sending the following PUT:
{“estimate”: {“status”: “Draft”}}
To the estimate url?
On Thursday, 13 February 2014 12:55:14 UTC+1, Darren wrote:
Hi,
I’m Chris’ colleague, at the moment we’ve got a number of estimates that
are ‘marked as sent’ but have not been approved or invoiced and need
deleting.
From what you’re saying do we need to change the status from ‘marked as
sent’ to ‘draft’ before deleting them?
If so, change we change the status using the API?
Thanks,
Darren
On Thursday, February 13, 2014 11:08:48 AM UTC, chrisb wrote:
I am trying to delete an estimate via a Google Apps Script. The Docs
say:
I can’t see a mention of an id returned when listing the estimates from
the API so I am assuming that I just replace the url from the above with
the url propery for the estimate, e.g.:
And send a http DELETE to this URL. However, I am just getting a http
409 error and I am not sure why.
Is the above correct and do you have any ideas? Listing and creating
estimates is working fine so I am confident the authentication is working
OK.
–
You received this message because you are subscribed to the Google Groups
“FreeAgent API” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to freeagent_api+unsubscribe@googlegroups.com.
I can’t see a mention of an id returned when listing the estimates from
the API so I am assuming that I just replace the url from the above with
the url propery for the estimate, e.g.:
I can’t see a mention of an id returned when listing the estimates from
the API so I am assuming that I just replace the url from the above with
the url propery for the estimate, e.g.:
Hi,
I’m Chris’ colleague, at the moment we’ve got a number of estimates that
are ‘marked as sent’ but have not been approved or invoiced and need
deleting.
From what you’re saying do we need to change the status from ‘marked as
sent’ to ‘draft’ before deleting them?
If so, change we change the status using the API?
Thanks,
DarrenOn Thursday, February 13, 2014 11:08:48 AM UTC, chrisb wrote:
I am trying to delete an estimate via a Google Apps Script. The Docs say:
I can’t see a mention of an id returned when listing the estimates from
the API so I am assuming that I just replace the url from the above with
the url propery for the estimate, e.g.: