BSL - How to get the ODataV4 metadata?

Francis Harvey

Hi,

How can I download the BSL ODataV4 metadata?

Despite having 'odata4' in the metadata URL: http://server:port/odata4/$metadata

The definition returned is ODataV3...

You can compare with:

https://services.odata.org/V4/OData/OData.svc/$metadata

https://services.odata.org/V3/OData/OData.svc/$metadata

 

Thanks a lot,

Francis Harvey

Comments

1 comment

  • Comment author
    Francis Harvey

    Moreover,

    Using a ODatav3 class generator, I'm getting a lot of these errors (these are the first ones):

    Schema specified is not valid. Errors: 
    (0,0) : error 0019: Each property name in a type must be unique. Property name 'IVersionId' was already defined.
    (0,0) : error 0019: Each property name in a type must be unique. Property name 'LineType' was already defined.

    And after fixing them manually in the metadata document:

    Schema specified is not valid. Errors: 
    (0,0) : error 0159: EntityType 'bsl.WareHouse' has no key defined. Define the key for this EntityType.
    (0,0) : error 0159: EntityType 'bsl.Item' has no key defined. Define the key for this EntityType.

    What can be done for this?

    Thanks,

    Francis Harvey

    0

Please sign in to leave a comment.