Data Records
Data Records endpoints helps to store the customer information and associated data. The request should be submitted on JSON format from the Deamon application side. There are two types of endpoints which helps to store the Data Records into Fusion
Post Data Record
Http Method : Post
URL : /api/FusionApi/DataRecords
Post Data Record endpoint helps to submit collection of data records. All the requests submitted to this endpoint processed synchronously. Additional data schema which helps to include flexible data payload related to the data record in Json format. You can pass any additional payload through data attribute section. The back-end system processing the data will have to be aware about the JSON Schema to process it. JSON Schema public URI may be passed in the AdditionalSchemaId attribute so the backend process can use it for any specific processing.
Limitation:
1. Endpoint supports 1,000 records with maximum payload size of 500 MB.
Example JSon Payload
{
"orderId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"usageId": 0,
"solutionsId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"subjectHandle": "string",
"numberOfRecords": 0,
"records": [
{
"recordHandle": "string",
"fullName": "string",
"firstName": "string",
"lastName": "string",
"emailAddress": "user@example.com",
"phone": "string",
"addressLine1": "string",
"addressLine2": "string",
"addressLine3": "string",
"addressLine4": "string",
"addressLine5": "string",
"city": "string",
"state": "string",
"postalCode": "string",
"country": "string",
"additionalData": {},
"additionalDataSchemaId": "string"
}
]
}
Request Array Parameters:
Responses
The below tabs show the list of expected response from post data record endpoint.
Response parameter description:
DataRecordCreateResponse
Response parameter description
Response parameter description
Response parameter description
Response parameter description
Response parameter description
Post Data Record (Bulk)
Http Method : PostBulk
URL : /api/FusionApi/DataRecords
Post data record in bulk helps to submit data records through bulk manner. All the requests are processed in asynchronous manner. AdditionalData attribute of the JSON schema support flexible data payload in JSON format. You can pass any valid JSON in the additional data attribute section. Back-end system processing the data will have to be aware about the JSON schema to process it. JSON schema public URI may be passed in the AdditionalSchemaId attribute so the backend process can use it for any specific processing.
The endpoint returns transaction id as the response. Use api/FusionApi/DataRecords/{transactionId}/Status endpoint for transaction status.
Limitation:
Supports up to 10,000 records with max payload size of 500 MB.
Request Array Parameters:
Responses
The below tabs show the list of expected response from post bulk data record endpoint.
Response parameter description
DataRecordBulkCreateResponse
Response parameter description
Response parameter description
Response parameter description
Response parameter description
Response parameter description
Get submission status for DataRecords
Http Method : GetBulk
URL : /api/FusionApi/DataRecords
Use this endpoint to check the status of the DataRecord bulk submission using transaction id provided.
Responses
The below tabs show the list of expected response from get submission status for data record endpoint.
Response parameter descriptions
DataRecordCreateResponse
Response parameter description
Response parameter description
Response parameter description
Response parameter description
Response parameter description
Get DataRecord by Id
Http Method : Get
URL : /api/FusionApi/DataRecords
This endpoint returns the data record.
Responses
The below tabs show the list of expected response from get data record endpoint.
Response parameter descriptions
DataRecordResponse
Response parameter description
Response parameter description
Response parameter description
Response parameter description
Response parameter description
Delete DataRecord
Http Method : Delete
URL : /api/FusionApi/DataRecords
This endpoint used to delete the particular data record by id.
Responses
The below tabs show the list of expected response from delete data record endpoint.
Response parameter descriptions
DataRecordCreateResponse
Response parameter description
Response parameter description
Response parameter description
Response parameter description
Response parameter description