Create a data point
Changed onCreate a custom data point.
Request
- Base URLhttps://api.affinda.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"organization": "mEFayXdO",
"extractor": "resume",
"parent": "DdCbJhhx",
"mappingDataSource": "mEFayXdO"
}Response
Successfully created a data point.
Example response
{
"identifier": "XprEvgai",
"organization": {
"identifier": "mEFayXdO",
"name": "Grove Street King",
"userRole": "admin",
"avatar": "https://affinda-api.s3.amazonaws.com/media/org-avatar.png?AWSAccessKeyId=KEY&Signature=SIG",
"resthookSignatureKey": "465c6598bd34c0558f0ce256c43209d49fa85b0ff3e4c18b24e408b7563143ad"
},
"extractor": "resume",
"parent": "DdCbJhhx",
"availableDataSources": [
{
"identifier": "mEFayXdO",
"name": "My supplier list",
"keyProperty": "value",
"displayProperty": "value",
"organization": "mewlkWEKL",
"workspace": "mewlkWEKL",
"schema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"label"
],
"properties": {
"label": {
"type": "string"
},
"description": {
"type": "string"
}
}
}
}
],
"mappingDataSource": "mEFayXdO"
}Changes
- info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
added the required property
/to the response with the status
- info
- info
api tag
Deprecated End Pointsadded - info
api tag
Document API - Data Pointremoved - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info