Upload Data
PUT/ext/integrations/sync-sdk/upload-data
Please use this API to upload data into Zluri. You can define the data type you wish to update in dataPointEnum field and send the values in data field.
Contact Zluri's support team to obtain the list of supported dataPointEnum values and the required data upload format.
We strongly recommend keeping the data object size under 1000. Additionally, you can include an index starting from 1 and increase it if the data size exceeds 1000.
Current data enums supported : user_information
, user_app_information
, transaction_information
user_information
supports the following data fields
{
"properties": {
"name": {
"type": "string"
},
"email": {
"type": "string"
},
"department": {
"type": "string"
},
"designation": {
"type": "string"
},
"costcenter": {
"type": "string"
},
"reportingmanager": {
"type": "string"
},
"license": {
"type": "array",
"items": {
"type": "string"
}
},
"role": {
"type": "string"
},
"last_used": {
"type": "string",
"format": "date-time"
},
"date_of_joining": {
"type": "string",
"format": "date-time"
},
"date_of_termination": {
"type": "string",
"format": "date-time"
},
"status": {
"enum": [
"active",
"inactive",
"suspended"
]
}
},
"required": [
"email"
]
}
user_app_information
supports the following data fields
{
"properties": {
"last_used": {
"type": "string",
"format": "date-time"
},
"email": {
"type": "string"
},
"app": {
"type": "string"
}
},
"required": [
"last_used",
"email",
"app"
]
}
}
transaction_information
supports the following data fields
{
"properties": {
"id": {
"type": "string"
},
"transaction_date": {
"type": "string",
"format": "date-time"
},
"transaction_description": {
"type": "string"
},
"transaction_amount": {
"type": "number"
},
"transaction_currency": {
"type": "string"
},
"vendor_name": {
"type": "string"
},
"po_number": {
"type": "string"
},
"account_name": {
"type": "string"
},
"transaction_type": {
"type": "string"
}
},
"required": [
"id",
"transaction_date",
"transaction_description",
"transaction_amount",
"transaction_currency"
]
}
}
Request
- application/json
Body
Array [
]
data
object[]
email string
name string
dataPointEnum string
index number
orgIntegrationId string
syncId string
Responses
- 200
- 400
200
- application/json
- Schema
- Example (from schema)
- 200
Schema
message string
{
"message": "data uploaded successfully"
}
{
"message": "data uploaded successfully"
}
Upload Data
- application/json
- Schema
- Example (from schema)
- Upload Data
Schema
message string
{
"message": "Data point not found or not active"
}
{
"message": "Data point not found or not active"
}
Loading...