customization

Stock Schema Fragments Get Post

POST
Gets a stock schema fragment.

Request

This endpoint expects an object.
id
stringOptional
The ID of the stock schema fragment.
leaf_type
stringOptional
The leaf type this fragment applies to.

Response

This endpoint returns an object
fragment
object
POST
1curl -X POST https://api.devrev.ai/schemas.stock.get \
2 -H "Authorization: <apiKey>" \
3 -H "Content-Type: application/json" \
4 -d '{}'
200
Successful
1{
2 "fragment": {
3 "fields": [],
4 "id": "id",
5 "created_date": "2023-01-01T12:00:00Z",
6 "description": "description",
7 "display_id": "display_id",
8 "leaf_type": "leaf_type",
9 "modified_date": "2023-01-01T12:00:00Z",
10 "title": "title"
11 }
12}