GRESB / api-docs

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

asset_ownership is stored as a text where it should be a numerical value #79

Closed joeyhorst closed 1 year ago

joeyhorst commented 3 years ago

image

naincygoyal commented 2 years ago

@joeyhorst Below scenarios to test :

Integer value ![image](https://user-images.githubusercontent.com/97026424/156592892-a6074277-1f4c-4c4d-8cdc-b875a1839d51.png)

image

It seems it has not fixed yet besides not getting an error when value is String.

joeyhorst commented 2 years ago

@jjpai we can open a ticket for the devs to tackle data types in general. It would have a low priority though as it doesn't affect the functionality of the GRESB Asset Portal.

joeyhorst commented 2 years ago

Let's keep it as is as it doesn't affect the integrity of the api requests (just the datatype).

joeyhorst commented 2 years ago

Same happens for asset_size in the request. api indicates it's a string, but when creating a new asset it requires a number.

Relates to https://github.com/GRESB/api-docs/issues/68.