Skip to content

Latest commit

 

History

History
223 lines (157 loc) · 7.6 KB

ValidationApi.md

File metadata and controls

223 lines (157 loc) · 7.6 KB

swagger_client.ValidationApi

All URIs are relative to https://sprod1.lilacfdm.com/api

Method HTTP request Description
v1_validation_status_data_data_type_get GET /v1/ValidationStatus/Data/{DataType}
v1_validation_status_data_field_data_type_get GET /v1/ValidationStatus/DataField/{DataType}
v1_validation_status_data_field_value_data_type_field_name_get GET /v1/ValidationStatus/DataFieldValue/{DataType}/{FieldName}
v1_validation_status_data_types_get GET /v1/ValidationStatus/DataTypes

v1_validation_status_data_data_type_get

FDMAPIDTOV1TabularDataTabularData v1_validation_status_data_data_type_get(data_type, fields=fields, max_rows=max_rows, filter=filter, order_by=order_by)

Example

from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: apikey-v1
configuration = swagger_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.ValidationApi(swagger_client.ApiClient(configuration))
data_type = 'data_type_example' # str | 
fields = 'fields_example' # str |  (optional)
max_rows = 56 # int |  (optional)
filter = '' # str |  (optional)
order_by = '' # str |  (optional)

try:
    api_response = api_instance.v1_validation_status_data_data_type_get(data_type, fields=fields, max_rows=max_rows, filter=filter, order_by=order_by)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ValidationApi->v1_validation_status_data_data_type_get: %s\n" % e)

Parameters

Name Type Description Notes
data_type str
fields str [optional]
max_rows int [optional]
filter str [optional]
order_by str [optional]

Return type

FDMAPIDTOV1TabularDataTabularData

Authorization

apikey-v1

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json, application/xml, text/xml, text/csv

[Back to top] [Back to API list] [Back to Model list] [Back to README]

v1_validation_status_data_field_data_type_get

list[FDMAPIDTOV1TabularDataDataTypeField] v1_validation_status_data_field_data_type_get(data_type)

Example

from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: apikey-v1
configuration = swagger_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.ValidationApi(swagger_client.ApiClient(configuration))
data_type = 'data_type_example' # str | 

try:
    api_response = api_instance.v1_validation_status_data_field_data_type_get(data_type)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ValidationApi->v1_validation_status_data_field_data_type_get: %s\n" % e)

Parameters

Name Type Description Notes
data_type str

Return type

list[FDMAPIDTOV1TabularDataDataTypeField]

Authorization

apikey-v1

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json, application/xml, text/xml, text/csv

[Back to top] [Back to API list] [Back to Model list] [Back to README]

v1_validation_status_data_field_value_data_type_field_name_get

list[str] v1_validation_status_data_field_value_data_type_field_name_get(data_type, field_name, filter=filter)

Example

from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: apikey-v1
configuration = swagger_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.ValidationApi(swagger_client.ApiClient(configuration))
data_type = 'data_type_example' # str | 
field_name = 'field_name_example' # str | 
filter = '' # str |  (optional)

try:
    api_response = api_instance.v1_validation_status_data_field_value_data_type_field_name_get(data_type, field_name, filter=filter)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ValidationApi->v1_validation_status_data_field_value_data_type_field_name_get: %s\n" % e)

Parameters

Name Type Description Notes
data_type str
field_name str
filter str [optional]

Return type

list[str]

Authorization

apikey-v1

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json, application/xml, text/xml, text/csv

[Back to top] [Back to API list] [Back to Model list] [Back to README]

v1_validation_status_data_types_get

list[str] v1_validation_status_data_types_get()

Example

from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: apikey-v1
configuration = swagger_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.ValidationApi(swagger_client.ApiClient(configuration))

try:
    api_response = api_instance.v1_validation_status_data_types_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ValidationApi->v1_validation_status_data_types_get: %s\n" % e)

Parameters

This endpoint does not need any parameter.

Return type

list[str]

Authorization

apikey-v1

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json, application/xml, text/xml, text/csv

[Back to top] [Back to API list] [Back to Model list] [Back to README]