Calling _portal.CreateMarketplace fails with error unless Region is specified
adoprog opened this issue · 2 comments
adoprog commented
Using latest 'develop' and standard seed template. Calling /seed endpoint fails when creating a new Marketplace:
"Data": "Call failed with status code 400 (Bad Request): PUT https://portal.ordercloud.io/api/v1/organizations/200422f7-8adf-4fdc-bccc-08d3cfffd158"
However, if I add the code below to the "new Marketplace()" initializer:
Region = new Region()
{
AzureRegion = "westus",
Name = "Azure Us-West",
Id = "usw"
}
All works as expected. Is Region a required property now?
crhistianramirez commented
Yes, I believe it is
ajsuth commented
@crhistianramirez, it appears the Region has been added to the Marketplace class and I believe we can now close this issue.