GRESB / api-docs

http://gresb.github.io/api-docs/
3 stars 0 forks source link

Asset ownership is now mandatory field for asset creation and api-doc (examples) should be updated #129

Closed GokceBaykan closed 1 year ago

GokceBaykan commented 1 year ago

Sending an API request to create an asset fails in our Postman collection because asset ownership became a mandatory field and since our request body is missing it, validation error is raised. When asset has validation error on some mandatory fields it cannot be created. 422 unprocessed entity is returned as status code, and response does not include an assigned gresb_asset_id.

Therefore we need to update our docs and examples to reflect this change and send successful requests.

Screenshot 2023-02-16 at 16 55 22 Screenshot 2023-02-16 at 16 56 27