IPWorks 2020 JavaScript Edition

Questions / Feedback?

GetSchema Method

Retrieves the schema for a service.

Syntax

async odata.getSchema(): Promise<void>

Remarks

This method will retrieve the schema (metadata document) of the service specified by ServiceRootURI.

Upon successful retrieval of the schema, you can set SchemaEntityIndex to retrieve the names of the entities contained within the schema along with their keys, properties, and navigation properties.

If you wish to retrieve additional details about the schema, they can be retrieved via XPath.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 JavaScript Edition - Version 20.0 [Build 8292]