Business RecordsFetch a record schemaget

Fetch a record schema

Fetches a business record schema.

curl -X GET "https://api.textmine.com/v3/record-schemas/123" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN (`tm_<key>`)"
{
  "id": 3001,
  "teamId": 123,
  "vaultId": 123,
  "name": "John Doe",
  "description": "example_string",
  "status": "active",
  "scopeType": "example_string",
  "scopeId": "example_string",
  "activeVersionId": 123,
  "created": "2024-12-25T10:00:00Z",
  "updated": "2024-12-25T10:00:00Z",
  "versions": [
    {
      "id": 4001,
      "schemaId": 3001,
      "versionNumber": 1,
      "status": "active",
      "recordTypes": [
        {
          "id": 5001,
          "recordTypeKey": "supplier",
          "label": "Supplier"
        }
      ],
      "relationshipTypes": []
    }
  ]
}
GET
/v3/record-schemas/{schemaId}
GET
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token (`tm_<key>`)
Bearer Tokenstring
Required

Use Authorization: Bearer tm_<key> for API-key access to /v3/** endpoints. V3 also accepts Auth0 JWT and HTTP Basic for user-session contexts.

Use Authorization: Bearer tm_<key> for API-key access to /v3/** endpoints. V3 also accepts Auth0 JWT and HTTP Basic for user-session contexts.
path
schemaIdinteger
Required

Schema ID.

Format: int64
Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token (tm_<key>). Use Authorization: Bearer tm_<key> for API-key access to /v3/** endpoints. V3 also accepts Auth0 JWT and HTTP Basic for user-session contexts.

Path Parameters

Responses

idinteger
teamIdinteger
vaultIdinteger
namestring
descriptionstring
statusstring
scopeTypestring
scopeIdstring
activeVersionIdinteger
createdstring
updatedstring
versionsarray