Document Types Formation
Get All Documents Types
HTTP Method: GET
HTTP URL:
https://api.live.welkincloud.io/welkonnect/commcenter/formations/current/document-typesHTTP Response Codes: 200
Get Document Type By Name
HTTP Method: GET
HTTP URL:
https://api.live.welkincloud.io/welkonnect/commcenter/formations/current/document-types/doc-type-assessmentHTTP Response Codes: 200
Bearer token obtained from POST /{tenantName}/admin/api_clients/{clientName}. Valid for 60 minutes.
Your organization (tenant) name, e.g. acme-health
acme-healthYour environment name: live, sandbox, or a custom name
livex-ray Feb 4 202110List of document type CDT formations
^[a-z0-9\-_]+$truetrueBad request — the request could not be understood or was missing required parameters.
Unauthorized — the Bearer token is missing, expired, or invalid.
Forbidden — the API client role does not have permission for this resource. Check the role and security policy in Admin.
Not found — the requested resource does not exist.
Too many requests — rate limit exceeded. Implement exponential backoff.
Internal server error.
GET /{tenantName}/{instanceName}/formations/current/document-types HTTP/1.1
Host: api.live.welkincloud.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 36
{
"name": "x-ray Feb 4 2021",
"int": 10
}[
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"title": "text",
"label": "text",
"version": 1,
"internal": true,
"readable": true,
"updatable": true,
"type": "SINGLE_RECORD",
"relation": "COMMON",
"fields": [
{
"name": "text",
"type": "TEXT",
"formula": "text",
"dictionary": {
"name": "text",
"field": "text"
},
"profileDataType": {
"name": "text",
"fields": [
"text"
]
},
"customDataType": {
"name": "text",
"fields": [
"text"
]
},
"customFieldType": "text",
"editable": true,
"searchable": true,
"bulkEdit": true,
"phi": true,
"disable": true,
"injectedSource": true,
"displayType": "CHECKBOX",
"valueType": "STRING",
"meta": {
"label": "text",
"minLength": 1,
"maxLength": 1,
"minValue": "text",
"maxValue": "text",
"fileTypes": [
"text"
],
"maxFiles": 1,
"maxTotalFileSize": 1,
"required": true,
"options": [
{
"label": "text",
"value": null,
"refCdtName": "text"
}
],
"multiple": true,
"patterns": [
"NUMBERS_ONLY"
]
},
"mask": {
"symbol": "*",
"startPosition": 1,
"endPosition": 1
},
"richTextEnabled": true
}
]
}
]Get All Documents Types
HTTP Method: GET
HTTP URL:
https://api.live.welkincloud.io/welkonnect/commcenter/formations/current/document-typesHTTP Response Codes: 200
Get Document Type By Name
HTTP Method: GET
HTTP URL:
https://api.live.welkincloud.io/welkonnect/commcenter/formations/current/document-types/doc-type-assessmentHTTP Response Codes: 200
Bearer token obtained from POST /{tenantName}/admin/api_clients/{clientName}. Valid for 60 minutes.
Your organization (tenant) name, e.g. acme-health
acme-healthYour environment name: live, sandbox, or a custom name
livedocumentTypeName path parameter
x-ray Feb 4 202110Document type CDT formation
^[a-z0-9\-_]+$truetrueBad request — the request could not be understood or was missing required parameters.
Unauthorized — the Bearer token is missing, expired, or invalid.
Forbidden — the API client role does not have permission for this resource. Check the role and security policy in Admin.
Not found — the requested resource does not exist.
Too many requests — rate limit exceeded. Implement exponential backoff.
Internal server error.
GET /{tenantName}/{instanceName}/formations/current/document-types/{documentTypeName} HTTP/1.1
Host: api.live.welkincloud.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 36
{
"name": "x-ray Feb 4 2021",
"int": 10
}{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"title": "text",
"label": "text",
"version": 1,
"internal": true,
"readable": true,
"updatable": true,
"type": "SINGLE_RECORD",
"relation": "COMMON",
"fields": [
{
"name": "text",
"type": "TEXT",
"formula": "text",
"dictionary": {
"name": "text",
"field": "text"
},
"profileDataType": {
"name": "text",
"fields": [
"text"
]
},
"customDataType": {
"name": "text",
"fields": [
"text"
]
},
"customFieldType": "text",
"editable": true,
"searchable": true,
"bulkEdit": true,
"phi": true,
"disable": true,
"injectedSource": true,
"displayType": "CHECKBOX",
"valueType": "STRING",
"meta": {
"label": "text",
"minLength": 1,
"maxLength": 1,
"minValue": "text",
"maxValue": "text",
"fileTypes": [
"text"
],
"maxFiles": 1,
"maxTotalFileSize": 1,
"required": true,
"options": [
{
"label": "text",
"value": null,
"refCdtName": "text"
}
],
"multiple": true,
"patterns": [
"NUMBERS_ONLY"
]
},
"mask": {
"symbol": "*",
"startPosition": 1,
"endPosition": 1
},
"richTextEnabled": true
}
]
}Last updated
Was this helpful?