In Adeptia Connect, you can extract the names of the fields in a Layout using an API Endpoint. The extracted list of fields' names is in JSON format.
...
Warning | ||
---|---|---|
| ||
Ensure that you use GET method, and provide Adeptia Connect access token in headers for authorization. |
<Gateway Url>/schemas/<SchemaType>/<schemaID>
Where,
- Gateway Url: URL for accessing Adeptia Connect UI.
- SchemaType: The type of Layout, for example, text, whose field names you want to extract. . The following table lists all the types of layouts and their respective values that you can use.
- SchemaId: Id of the Layout, for example, 1094877832922.
Schema Type | Value |
---|---|
Advanced Database | advancedb |
Advanced Positional | advancepositional |
Advanced Text | advancetext |
Database | db |
Excel | excel |
IDoc | idoc |
JSON | json |
Positional | positional |
Text | text |
XML | xml |
Below is a sample URL:
https://xyz.com/schemas/text/1064770161933119413
The response of the API contains the field names of the requested Layout in the JSON format as shown in the sample response JSON below.
...