Search found 9 matches
- Sun Apr 30, 2023 9:44 pm
- Forum: General Discussion
- Topic: Report
- Replies: 3
- Views: 4167
Re: Report
Is there a way to get most of the data without doing many requests?
- Mon Apr 24, 2023 2:57 am
- Forum: General Discussion
- Topic: Report
- Replies: 3
- Views: 4167
Report
Hello, How can i get an array of all the sections, with costcentres broken down with the report api? api/v1.0/companies/0/reports/jobs/costToComplete/operations/?jobID=1234&costCentre=123 at the moment i am doing that for all of the costCentres, but that is around 40 calls, and not every job has...
- Wed Apr 05, 2023 4:59 am
- Forum: General Discussion
- Topic: POST new job
- Replies: 8
- Views: 7686
Re: POST new job
To set a custom field in the same payload, you can include it as a key-value pair in the payload data. For example, if the custom field is named "custom_field", you can include it like this: { "title": "Job Title", "description": "Job Description", &...
- Tue Apr 04, 2023 11:55 pm
- Forum: General Discussion
- Topic: POST new job
- Replies: 8
- Views: 7686
Re: POST new job
Hi Sindre, What I mean is, I cannot find in the "job" (api /api/v1.0/companies/{companyID}/jobs/) where anything mentions cost_center, just wondering if its hidden elsewhere in the API documentation. Im also trying to add attachments, can this just be done like the following? { "title...
- Mon Apr 03, 2023 10:17 pm
- Forum: General Discussion
- Topic: POST new job
- Replies: 8
- Views: 7686
Re: POST new job
Thank you. Do you know where the cost centre is in the API? Want to know if its cost_center, cost_centre, costCentre.
With the custom field, is it purely based on the name of the custom field? I can see they have IDs
With the custom field, is it purely based on the name of the custom field? I can see they have IDs
- Mon Apr 03, 2023 10:12 am
- Forum: General Discussion
- Topic: POST new job
- Replies: 8
- Views: 7686
POST new job
Hello, I have a few questions for when I post a new job; POST /api/v1.0/companies/{companyID}/jobs/ The api doc states that "technicians" should be an integer, should it be an array of integers? Also, how do I set a custom field in the same payload? Last question is, how do I link a cost c...
- Mon Apr 03, 2023 12:21 am
- Forum: General Discussion
- Topic: Employee by profile type
- Replies: 5
- Views: 8125
Re: Employee by profile type
Great thank you, was almost there. Another one Im trying to do is get all sites related to a customer. Is this possible?
- Sun Apr 02, 2023 11:44 pm
- Forum: General Discussion
- Topic: Employee by profile type
- Replies: 5
- Views: 8125
Re: Employee by profile type
Im trying to get employees by profile type, whether its IsSalesperson=true or is IsProjectManager=true, I dont want to have to retrieve each employee then create my lists if there is a way to do it already with API
- Sun Apr 02, 2023 9:30 pm
- Forum: General Discussion
- Topic: Employee by profile type
- Replies: 5
- Views: 8125
Employee by profile type
Hello, I have looked over the api and all I can find is how to retrieve employees, /api/v1.0/companies/{companyID}/employees/?IsSalesperson=True
Any ideas?
Any ideas?
DEVELOPER CENTER