- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.
08-22-2024 12:16 AM
We are trying to update vendors start/enddate through the api but seem to be unable to perform any calls towards the modify vendor endpoint. No matter what we send in the body the api always return error 500.
According to Swagger UI (alero.eu) it should be possible to only send start and end date as no attribute is required.
Is anyone getting PUT /v2-edge/vendors/{vendorId} to work?
See below for example bodies.
{
"accessStartDate": 1714694400000,
"accessEndDate": 1724386777000
}
{
"accessStartDate": 1714694400000,
"accessEndDate": 1724386777000,
"canInvite": false,
"invitedVendorsInitialStatus" : "Activated",
"maxNumOfInvitedVendors": 0,
"provisioningType": "ProvisionedByAlero",
"username": "VendorUser123",
"groups": ["[group id]"],
"comments":"test",
"applications": [
{
"siteId": "[site id]",
"applicationId": "[app id]"
}
],
"pvwaApplications":false
}
08-22-2024 09:42 AM
Hello,
You found the answer yourself, but the reason is because this is an HTTP PUT operation, which replaces an entire resource. If there were a PATCH endpoint, you could push only the updates required.
08-22-2024 03:33 AM
Update:
The following seemed to work but why are all attributes mandatory?
{
"accessStartDate": 1724198400000,
"accessEndDate": 1724371199001,
"canInvite": false,
"invitedVendorsInitialStatus": "Activated",
"maxNumInvitedVendors": 0,
"provisioningType": "ProvisionedByAlero",
"username": "",
"groups": [
""
],
"comments": "test",
"applications": [
{
"siteId": "",
"applicationId": ""
}
],
"pvwaApplications": true
}
08-22-2024 09:42 AM
Hello,
You found the answer yourself, but the reason is because this is an HTTP PUT operation, which replaces an entire resource. If there were a PATCH endpoint, you could push only the updates required.
08-25-2024 11:47 PM
Hi,
Makes sense. I may have overlooked that part during my troubleshoot.
Thanks
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!

