请求网址: https://fw.xxx.cn:88/api/trackedEntityInstances
请求方法:POST
状态代码:409 Conflict
found this:
===Value exceeds the character limit of 1200 characters:====
{
“httpStatus”: “Conflict”,
“httpStatusCode”: 409,
“status”: “ERROR”,
“message”: “An error occurred, please check import summary.”,
“response”: {
“responseType”: “ImportSummaries”,
“status”: “ERROR”,
“imported”: 0,
“updated”: 0,
“deleted”: 0,
“ignored”: 1,
“importOptions”: {
“idSchemes”: {},
“dryRun”: false,
“async”: false,
“importStrategy”: “CREATE_AND_UPDATE”,
“mergeMode”: “REPLACE”,
“reportMode”: “FULL”,
“skipExistingCheck”: false,
“sharing”: false,
“skipNotifications”: false,
“skipAudit”: false,
“datasetAllowsPeriods”: false,
“strictPeriods”: false,
“strictDataElements”: false,
“strictCategoryOptionCombos”: false,
“strictAttributeOptionCombos”: false,
“strictOrganisationUnits”: false,
“strictDataSetApproval”: false,
“strictDataSetLocking”: false,
“strictDataSetInputPeriods”: false,
“requireCategoryOptionCombo”: false,
“requireAttributeOptionCombo”: false,
“skipPatternValidation”: false,
“ignoreEmptyCollection”: false,
“force”: false,
“firstRowIsHeader”: true,
“skipLastUpdated”: true,
“mergeDataValues”: false,
“skipCache”: false
},
“importSummaries”: [
{
“responseType”: “ImportSummary”,
“status”: “ERROR”,
“importOptions”: {
“idSchemes”: {},
“dryRun”: false,
“async”: false,
“importStrategy”: “CREATE_AND_UPDATE”,
“mergeMode”: “REPLACE”,
“reportMode”: “FULL”,
“skipExistingCheck”: false,
“sharing”: false,
“skipNotifications”: false,
“skipAudit”: false,
“datasetAllowsPeriods”: false,
“strictPeriods”: false,
“strictDataElements”: false,
“strictCategoryOptionCombos”: false,
“strictAttributeOptionCombos”: false,
“strictOrganisationUnits”: false,
“strictDataSetApproval”: false,
“strictDataSetLocking”: false,
“strictDataSetInputPeriods”: false,
“requireCategoryOptionCombo”: false,
“requireAttributeOptionCombo”: false,
“skipPatternValidation”: false,
“ignoreEmptyCollection”: false,
“force”: false,
“firstRowIsHeader”: true,
“skipLastUpdated”: true,
“mergeDataValues”: false,
“skipCache”: false
},
“importCount”: {
“imported”: 0,
“updated”: 0,
“ignored”: 1,
“deleted”: 0
},
“conflicts”: [
{
“object”: “Attribute.value”,
“value”: “Value exceeds the character limit of 1200 characters: ‘跳转到主要内容\n工具栏项目编辑\n管理\n管理菜单(下…’”
},
{
“object”: “Attribute.value”,
“value”: “Value exceeds the character limit of 1200 characters: ‘跳转到主要内容 工具栏项目编辑 管理 管理菜单(下…’”
}
],
“rejectedIndexes”: ,
“enrollments”: {
“responseType”: “ImportSummaries”,
“status”: “SUCCESS”,
“imported”: 0,
“updated”: 0,
“deleted”: 0,
“ignored”: 0,
“importSummaries”: ,
“total”: 0
}
}
],
“total”: 1
}
}