johnnyq
1df98166bd
Fix issue with Contacts API - Removed contact_auth from Contacts call to the API
2024-10-30 19:35:26 -04:00
wrongecho
c65db3431d
Tidying
2024-09-14 23:43:54 +01:00
wrongecho
f3e9c9c867
API Tidy
...
- Remove old client ID queries, these are now built into the API keys. If a key has access to all clients, a client ID can be provided in the query.
- Small fixes to assets URI lookup
- Add read endpoint for vendors
2024-09-11 18:06:45 +01:00
wrongecho
ec0e1c395c
Tweak credentials read api
2024-08-25 20:29:14 +01:00
wrongecho
24ff6f5c84
WIP: Allow decrypting logins/credentials via the API
2024-08-25 12:45:18 +01:00
wrongecho
9ef3099495
WIP: Allow decrypting logins/credentials via the API
2024-08-25 12:32:21 +01:00
wrongecho
d37bdcdbcb
WIP: Allow decrypting logins/credentials via the API
2024-08-25 12:31:15 +01:00
wrongecho
a6113dc371
WIP: Allow decrypting logins/credentials via the API
2024-08-22 18:22:20 +01:00
wrongecho
0c60ecc329
WIP: Allow decrypting logins/credentials via the API
2024-08-22 17:46:58 +01:00
wrongecho
63feff03d2
Initial WIP: Allow decrypting logins/credentials via the API
2024-08-19 21:23:43 +01:00
johnnyq
b37cfdf677
Fix API Asset interface relationship
2024-06-12 18:06:04 -04:00
johnnyq
836e1a3199
Updated Asset API to include its assets
2024-06-11 23:00:57 -04:00
johnnyq
3e7f57f64a
Add contact primary to the API edit ^Cd create
2024-05-10 14:27:04 -04:00
Marcus Hill
54e015b5a5
Add locations read api endpoint
2024-02-24 11:56:18 +00:00
Marcus Hill
102481d09f
API - Add client create endpoint
2024-02-04 14:51:58 +00:00
Marcus Hill
f45a5e0b51
Contacts API
...
Allow looking up contacts via mobile / phone number
2023-12-24 20:05:04 +00:00
Marcus Hill
573eaf179b
API - Documents
...
- Add create and update methods
2023-11-05 10:42:46 +00:00
o-psi
53c11edc8c
Update constructs to not have parenthesis.
2023-10-20 15:25:52 -05:00
johnnyq
cea210bcea
Added asset_uri field to the API
2023-09-20 16:39:55 -04:00
Marcus Hill
c489a85fc0
API: Tickets
...
Add Create API endpoint for tickets.
Supported fields:
- Client ID
- Client Contact
- Subject
- Details
- Priority
- Agent assignee
- Vendor ID
- Vendor ticket ref
2023-09-09 15:28:18 +01:00
johnnyq
d1876e829c
Added asset description to the API for create and update
2023-06-19 16:34:44 -04:00
johnnyq
427c51b728
Bump phpMailer from 6.7.1 to 6.8.0
2023-03-18 12:44:55 -04:00
johnnyq
3f028e8560
Fix Broken API due to incorrect named function https://forum.itflow.org/d/119-api-broken
2023-03-14 18:59:43 -04:00
johnnyq
a889f7d879
Add back api/v1/assets/read.php somehow got wiped during the big update also added the ability to query asset by MAC address
2023-03-11 17:15:46 -05:00
johnnyq
48fe49cf77
BREAKING CHANGES - MAKE FULL BACKUP BEFORE PROCEEDING - Requires Manual Intervention on files see Forum Post Make sure you run the Database update directly after update. This Removes Multi-Company Functionality. Fixes issues with Reponsive tables and bunch of other UI and small Fixes
2023-03-11 16:16:46 -05:00
johnnyq
5640a22c18
Remove some more log created at and updated at as the DB does this for us
2023-03-04 16:17:29 -05:00
johnnyq
c0af8e8eab
Add '' to the date vars under API assets if not empty so they dont error out when inserted into the DB
2023-03-04 16:13:38 -05:00
johnnyq
e01dea2fd0
Fix Assets API Missing $ on var and use NULL instead of 0000-00-00 when inserting into the DB similar to POST
2023-03-04 15:58:34 -05:00
johnnyq
cdfb61b294
Added a helper if no tags exist when attempting to add them to a client, Added some santizeInput tags to API
2023-02-28 11:58:08 -05:00
Marcus Hill
6374524cfb
Prevent 'Undefined variable: asset_row' errors when adding/updating assets via API
2023-02-26 21:55:24 +00:00
Marcus Hill
6f7f679682
Tidy
2023-02-12 15:56:09 +00:00
Marcus Hill
68005723e6
API
...
- Refactor comments/client id var
- Add basic read endpoint for docs, products, expenses, quotes and invoices
2023-02-12 15:50:45 +00:00
Johnny
ffc28dd2b9
Merge pull request #616 from wrongecho/api-payments
...
Add read api endpoint for payments
2023-02-11 18:54:11 -05:00
Marcus Hill
eef70a0cf1
Add read api endpoint for payments; fix requirement for all clients api key
2023-02-11 15:10:27 +00:00
Marcus Hill
073fe953e9
Add read api endpoint for payments
2023-02-11 15:04:10 +00:00
Marcus Hill
85c28f889b
Allow setting asset status via API
2023-02-11 14:22:35 +00:00
Marcus Hill
b36719eb99
General cleanup/tidying
2023-02-09 11:32:40 +00:00
Marcus Hill
f3456ead67
API
...
- Add PHP logging when API queries fail because of SQL errors
- Add user agent to logging
- Enhance asset update endpoint
2023-02-05 15:07:41 +00:00
Marcus Hill
531bd25f27
Convert custom function names to camelCase
2023-01-26 22:03:31 +00:00
Marcus Hill
10362f86ef
Convert custom function names to camelCase
2023-01-26 21:58:27 +00:00
Marcus Hill
d7085c4790
Touch ups
2023-01-26 14:41:24 +00:00
Marcus Hill
5d269368f6
Update contact API to support contact_import, contact_billing, contact_technical
2023-01-26 13:34:13 +00:00
Marcus Hill
d34c26d176
Tidy
2023-01-21 17:49:10 +00:00
Marcus Hill
447f20c91c
Escape potential HTML characters in the API Key name, as this is used in logs
2023-01-02 14:38:52 +00:00
Marcus Hill
1aa87ccaeb
API Key error wording
2023-01-02 14:37:56 +00:00
Marcus Hill
cf8713fc73
Fix software read API query via key
2023-01-02 14:34:59 +00:00
Marcus Hill
5a35f508c6
Remove unrequired trim & strip tags - only needs sql escape
2023-01-02 14:32:17 +00:00
Marcus Hill
8687f56eb0
Remove unrequired trim & strip tags - only needs sql escape
2023-01-02 14:31:29 +00:00
Marcus Hill
ff741c223e
API code style tidy
2023-01-01 16:00:07 +00:00
Marcus Hill
b23359ff38
Adjust contact API to allow department to be text rather than int due to db schema change
2022-09-11 11:08:48 +01:00