These seems to be no method with the APIs to ascertain to which employee or contractor a Storage Device is allocated to.
Will be deligthed if this is not the case as need this to better automate our stock replenishment process.
Only way I have found to list these is using the BI reporting employee/contractor records.
Can the storage device not be added as a item to at least the GET for
/api/v1.0/companies/{companyID}/employees/{employeeID}
/api/v1.0/companies/{companyID}/contractors/{contractorID}
or even better be included in the GET for /api/v1.0/companies/{companyID}/storageDevices/{storageDeviceID}
Thanx
Allocation of Storage Devices to Engineers
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.
-
glenn.kyte
- Posts: 4
- Joined: Thu Nov 14, 2024 5:42 pm
-
SimproAPITeam
- Posts: 831
- Joined: Wed May 01, 2024 2:31 am
Re: Allocation of Storage Devices to Engineers
Hi, wouldn't these be what your looking for ?
from part of the response from the GET Contractor / Employees, under the "UserProfile"
For Contractors,
https://developer.simprogroup.com/apido ... 1bb6fe1065
For Employees:
https://developer.simprogroup.com/apido ... 468acc2867
Could this be what your looking for ?
from part of the response from the GET Contractor / Employees, under the "UserProfile"
Code: Select all
"UserProfile": {
"IsSalesperson": true,
"IsProjectManager": true,
"StorageDevice": {
"ID": 0,
"Name": "string"
},
"PreferredLanguage": "en_US"
},https://developer.simprogroup.com/apido ... 1bb6fe1065
For Employees:
https://developer.simprogroup.com/apido ... 468acc2867
Could this be what your looking for ?
Simpro API Team | Simpro Software Group
DEVELOPER CENTER