Bulk operations API
Upload csv file with identifiers list (barcodes, UUIDs, HRIDs, etc.) or csv-file with already updated entities
entityType required | string (EntityType) Enum: "USER" "ITEM" "HOLDINGS_RECORD" "INSTANCE" "INSTANCE_MARC" Entity type (USER, ITEM, HOLDINGS_RECORD) |
identifierType required | string (IdentifierType) Enum: "ID" "BARCODE" "HRID" "FORMER_IDS" "ACCESSION_NUMBER" "HOLDINGS_RECORD_ID" "USER_NAME" "EXTERNAL_SYSTEM_ID" "INSTANCE_HRID" "ITEM_BARCODE" "ISBN" "ISSN" Identifier type (ID, BARCODE, etc.) |
manual | boolean Default: false Key if manual approach is used |
operationId | string <uuid> (UUID) UUID of the Bulk Operation (applicable for (manual = true) case) |
X-Okapi-User-Id | string <uuid> |
file | string <binary> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "hrId": 0,
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "operationType": "UPDATE",
- "entityType": "USER",
- "entityCustomIdentifierType": "ID",
- "status": "NEW",
- "approach": "MANUAL",
- "dataExportJobId": "4cbb210a-627d-41df-b45f-8bd3d5bddab3",
- "linkToTriggeringCsvFile": "string",
- "linkToMatchedRecordsJsonFile": "string",
- "linkToMatchedRecordsCsvFile": "string",
- "linkToMatchedRecordsMarcFile": "string",
- "linkToMatchedRecordsErrorsCsvFile": "string",
- "linkToModifiedRecordsJsonFile": "string",
- "linkToModifiedRecordsCsvFile": "string",
- "linkToModifiedRecordsMarcFile": "string",
- "linkToCommittedRecordsJsonFile": "string",
- "linkToCommittedRecordsCsvFile": "string",
- "linkToCommittedRecordsMarcFile": "string",
- "linkToCommittedRecordsErrorsCsvFile": "string",
- "totalNumOfRecords": 0,
- "processedNumOfRecords": 0,
- "matchedNumOfRecords": 0,
- "committedNumOfRecords": 0,
- "matchedNumOfErrors": 0,
- "matchedNumOfWarnings": 0,
- "committedNumOfErrors": 0,
- "committedNumOfWarnings": 0,
- "executionChunkSize": 0,
- "startTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "errorMessage": "string",
- "expired": false,
- "fqlQueryId": "7f1204d5-80c4-4422-be7a-46cd9ffe5640",
- "fqlQuery": "string",
- "userFriendlyQuery": "string",
- "tenantNotePairs": [
- {
- "tenantId": "string",
- "noteTypeName": "string",
- "noteTypeId": "string"
}
], - "usedTenants": [
- "string"
]
}
Trigger bulk edit by query
X-Okapi-User-Id | string <uuid> |
queryId required | string <uuid> FQL query identifier |
fqlQuery | string FQL string |
userFriendlyQuery | string User-friendly representation of FQL query |
entityTypeId required | string <uuid> Entity type identifier |
{- "queryId": "10210520-b895-40ca-bce5-474f9643bf53",
- "fqlQuery": "string",
- "userFriendlyQuery": "string",
- "entityTypeId": "29842682-4fc1-4a12-b775-fa06e71c91e2"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "hrId": 0,
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "operationType": "UPDATE",
- "entityType": "USER",
- "entityCustomIdentifierType": "ID",
- "status": "NEW",
- "approach": "MANUAL",
- "dataExportJobId": "4cbb210a-627d-41df-b45f-8bd3d5bddab3",
- "linkToTriggeringCsvFile": "string",
- "linkToMatchedRecordsJsonFile": "string",
- "linkToMatchedRecordsCsvFile": "string",
- "linkToMatchedRecordsMarcFile": "string",
- "linkToMatchedRecordsErrorsCsvFile": "string",
- "linkToModifiedRecordsJsonFile": "string",
- "linkToModifiedRecordsCsvFile": "string",
- "linkToModifiedRecordsMarcFile": "string",
- "linkToCommittedRecordsJsonFile": "string",
- "linkToCommittedRecordsCsvFile": "string",
- "linkToCommittedRecordsMarcFile": "string",
- "linkToCommittedRecordsErrorsCsvFile": "string",
- "totalNumOfRecords": 0,
- "processedNumOfRecords": 0,
- "matchedNumOfRecords": 0,
- "committedNumOfRecords": 0,
- "matchedNumOfErrors": 0,
- "matchedNumOfWarnings": 0,
- "committedNumOfErrors": 0,
- "committedNumOfWarnings": 0,
- "executionChunkSize": 0,
- "startTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "errorMessage": "string",
- "expired": false,
- "fqlQueryId": "7f1204d5-80c4-4422-be7a-46cd9ffe5640",
- "fqlQuery": "string",
- "userFriendlyQuery": "string",
- "tenantNotePairs": [
- {
- "tenantId": "string",
- "noteTypeName": "string",
- "noteTypeId": "string"
}
], - "usedTenants": [
- "string"
]
}
Upload content updates
operationId required | string <uuid> (UUID) UUID of the Bulk Operation |
required | Array of objects (BulkOperationRule) List of bulk operation rules | ||||||
Array
| |||||||
totalRecords required | integer |
{- "bulkOperationRules": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "bulkOperationId": "6b3f29e8-b5ae-457b-aedb-2b0e4d8fe306",
- "rule_details": {
- "option": "PATRON_GROUP",
- "tenants": [
- "string"
], - "actions": [
- {
- "type": "ADD_TO_EXISTING",
- "initial": "string",
- "updated": "string",
- "parameters": [
- {
- "key": "string",
- "value": "string"
}
], - "tenants": [
- "string"
], - "updated_tenants": [
- "string"
]
}
]
}
}
], - "totalRecords": 0
}
{- "bulkOperationRules": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "bulkOperationId": "6b3f29e8-b5ae-457b-aedb-2b0e4d8fe306",
- "rule_details": {
- "option": "PATRON_GROUP",
- "tenants": [
- "string"
], - "actions": [
- {
- "type": "ADD_TO_EXISTING",
- "initial": "string",
- "updated": "string",
- "parameters": [
- {
- "key": "string",
- "value": "string"
}
], - "tenants": [
- "string"
], - "updated_tenants": [
- "string"
]
}
]
}
}
], - "totalRecords": 0
}
Upload MARC content updates
operationId required | string <uuid> (UUID) UUID of the Bulk Operation |
required | Array of objects (BulkOperationMarcRule) List of bulk operation MARC rules | ||||||||||||||||
Array
| |||||||||||||||||
totalRecords required | integer |
{- "bulkOperationMarcRules": [
- {
- "tag": "string",
- "ind1": "string",
- "ind2": "string",
- "subfield": "string",
- "actions": [
- {
- "name": "ADD_TO_EXISTING",
- "data": [
- {
- "key": "VALUE",
- "value": "string"
}
]
}
], - "parameters": [
- {
- "key": "OVERRIDE_PROTECTED",
- "value": "string"
}
], - "subfields": [
- {
- "subfield": "string",
- "actions": [
- {
- "name": "ADD_TO_EXISTING",
- "data": [
- {
- "key": "VALUE",
- "value": "string"
}
]
}
]
}
], - "bulkOperationId": "6b3f29e8-b5ae-457b-aedb-2b0e4d8fe306"
}
], - "totalRecords": 0
}
{- "bulkOperationMarcRules": [
- {
- "tag": "string",
- "ind1": "string",
- "ind2": "string",
- "subfield": "string",
- "actions": [
- {
- "name": "ADD_TO_EXISTING",
- "data": [
- {
- "key": "VALUE",
- "value": "string"
}
]
}
], - "parameters": [
- {
- "key": "OVERRIDE_PROTECTED",
- "value": "string"
}
], - "subfields": [
- {
- "subfield": "string",
- "actions": [
- {
- "name": "ADD_TO_EXISTING",
- "data": [
- {
- "key": "VALUE",
- "value": "string"
}
]
}
]
}
], - "bulkOperationId": "6b3f29e8-b5ae-457b-aedb-2b0e4d8fe306"
}
], - "totalRecords": 0
}
Get preview
operationId required | string <uuid> (UUID) UUID of the Bulk Operation |
step required | string (BulkOperationStep) Enum: "UPLOAD" "EDIT" "COMMIT" Key if manual approach is used |
limit required | integer The numbers of records to return |
offset | integer Default: 0 Query offset |
{- "header": [
- {
- "value": "string",
- "dataType": "NUMERIC",
- "visible": "true",
- "forceVisible": "false",
- "ignoreTranslation": "false"
}
], - "rows": [
- {
- "row": [
- "string"
]
}
]
}
Start Bulk Operation
operationId required | string <uuid> (UUID) UUID of the Bulk Operation |
X-Okapi-User-Id | string <uuid> |
step | string (BulkOperationStep) Enum: "UPLOAD" "EDIT" "COMMIT" |
approach | string (ApproachType) Enum: "MANUAL" "IN_APP" "QUERY" |
entityType | string (EntityType) Enum: "USER" "ITEM" "HOLDINGS_RECORD" "INSTANCE" "INSTANCE_MARC" |
entityCustomIdentifierType | string (IdentifierType) Enum: "ID" "BARCODE" "HRID" "FORMER_IDS" "ACCESSION_NUMBER" "HOLDINGS_RECORD_ID" "USER_NAME" "EXTERNAL_SYSTEM_ID" "INSTANCE_HRID" "ITEM_BARCODE" "ISBN" "ISSN" |
query | string CQL query for |
{- "step": "UPLOAD",
- "approach": "MANUAL",
- "entityType": "USER",
- "entityCustomIdentifierType": "ID",
- "query": "string"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "hrId": 0,
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "operationType": "UPDATE",
- "entityType": "USER",
- "entityCustomIdentifierType": "ID",
- "status": "NEW",
- "approach": "MANUAL",
- "dataExportJobId": "4cbb210a-627d-41df-b45f-8bd3d5bddab3",
- "linkToTriggeringCsvFile": "string",
- "linkToMatchedRecordsJsonFile": "string",
- "linkToMatchedRecordsCsvFile": "string",
- "linkToMatchedRecordsMarcFile": "string",
- "linkToMatchedRecordsErrorsCsvFile": "string",
- "linkToModifiedRecordsJsonFile": "string",
- "linkToModifiedRecordsCsvFile": "string",
- "linkToModifiedRecordsMarcFile": "string",
- "linkToCommittedRecordsJsonFile": "string",
- "linkToCommittedRecordsCsvFile": "string",
- "linkToCommittedRecordsMarcFile": "string",
- "linkToCommittedRecordsErrorsCsvFile": "string",
- "totalNumOfRecords": 0,
- "processedNumOfRecords": 0,
- "matchedNumOfRecords": 0,
- "committedNumOfRecords": 0,
- "matchedNumOfErrors": 0,
- "matchedNumOfWarnings": 0,
- "committedNumOfErrors": 0,
- "committedNumOfWarnings": 0,
- "executionChunkSize": 0,
- "startTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "errorMessage": "string",
- "expired": false,
- "fqlQueryId": "7f1204d5-80c4-4422-be7a-46cd9ffe5640",
- "fqlQuery": "string",
- "userFriendlyQuery": "string",
- "tenantNotePairs": [
- {
- "tenantId": "string",
- "noteTypeName": "string",
- "noteTypeId": "string"
}
], - "usedTenants": [
- "string"
]
}
Get a list of errors for preview
operationId required | string <uuid> (UUID) UUID of the Bulk Operation |
limit required | integer >= 0 Default: 10 The numbers of errors to return |
offset | integer >= 0 Default: 0 Query offset |
errorType | string (ErrorType) Enum: "ERROR" "WARNING" The error type |
{- "errors": [
- {
- "message": "string",
- "type": "ERROR",
- "code": "string",
- "parameters": [
- {
- "key": "string",
- "value": "string"
}
], - "field": "string"
}
], - "totalRecords": 0
}
Get a list of operations
query required | string Request query |
offset | integer Query offset |
limit | integer Query limit |
{- "bulkOperations": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "hrId": 0,
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "operationType": "UPDATE",
- "entityType": "USER",
- "entityCustomIdentifierType": "ID",
- "status": "NEW",
- "approach": "MANUAL",
- "dataExportJobId": "4cbb210a-627d-41df-b45f-8bd3d5bddab3",
- "linkToTriggeringCsvFile": "string",
- "linkToMatchedRecordsJsonFile": "string",
- "linkToMatchedRecordsCsvFile": "string",
- "linkToMatchedRecordsMarcFile": "string",
- "linkToMatchedRecordsErrorsCsvFile": "string",
- "linkToModifiedRecordsJsonFile": "string",
- "linkToModifiedRecordsCsvFile": "string",
- "linkToModifiedRecordsMarcFile": "string",
- "linkToCommittedRecordsJsonFile": "string",
- "linkToCommittedRecordsCsvFile": "string",
- "linkToCommittedRecordsMarcFile": "string",
- "linkToCommittedRecordsErrorsCsvFile": "string",
- "totalNumOfRecords": 0,
- "processedNumOfRecords": 0,
- "matchedNumOfRecords": 0,
- "committedNumOfRecords": 0,
- "matchedNumOfErrors": 0,
- "matchedNumOfWarnings": 0,
- "committedNumOfErrors": 0,
- "committedNumOfWarnings": 0,
- "executionChunkSize": 0,
- "startTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "errorMessage": "string",
- "expired": false,
- "fqlQueryId": "7f1204d5-80c4-4422-be7a-46cd9ffe5640",
- "fqlQuery": "string",
- "userFriendlyQuery": "string",
- "tenantNotePairs": [
- {
- "tenantId": "string",
- "noteTypeName": "string",
- "noteTypeId": "string"
}
], - "usedTenants": [
- "string"
]
}
], - "totalRecords": 0
}
Download file by operation id
operationId required | string <uuid> (UUID) UUID of the Bulk Operation |
fileContentType required | string (FileContentType) Enum: "TRIGGERING_FILE" "MATCHED_RECORDS_FILE" "RECORD_MATCHING_ERROR_FILE" "PROPOSED_CHANGES_FILE" "PROPOSED_CHANGES_MARC_FILE" "COMMITTED_RECORDS_FILE" "COMMITTED_RECORDS_MARC_FILE" "COMMITTING_CHANGES_ERROR_FILE" The file content type |
{- "errors": [
- {
- "message": "string",
- "type": "ERROR",
- "code": "string",
- "parameters": [
- {
- "key": "string",
- "value": "string"
}
], - "field": "string"
}
], - "totalRecords": 0
}
Get bulk operation by id
operationId required | string <uuid> (UUID) UUID of the Bulk Operation |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "hrId": 0,
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "operationType": "UPDATE",
- "entityType": "USER",
- "entityCustomIdentifierType": "ID",
- "status": "NEW",
- "approach": "MANUAL",
- "dataExportJobId": "4cbb210a-627d-41df-b45f-8bd3d5bddab3",
- "linkToTriggeringCsvFile": "string",
- "linkToMatchedRecordsJsonFile": "string",
- "linkToMatchedRecordsCsvFile": "string",
- "linkToMatchedRecordsMarcFile": "string",
- "linkToMatchedRecordsErrorsCsvFile": "string",
- "linkToModifiedRecordsJsonFile": "string",
- "linkToModifiedRecordsCsvFile": "string",
- "linkToModifiedRecordsMarcFile": "string",
- "linkToCommittedRecordsJsonFile": "string",
- "linkToCommittedRecordsCsvFile": "string",
- "linkToCommittedRecordsMarcFile": "string",
- "linkToCommittedRecordsErrorsCsvFile": "string",
- "totalNumOfRecords": 0,
- "processedNumOfRecords": 0,
- "matchedNumOfRecords": 0,
- "committedNumOfRecords": 0,
- "matchedNumOfErrors": 0,
- "matchedNumOfWarnings": 0,
- "committedNumOfErrors": 0,
- "committedNumOfWarnings": 0,
- "executionChunkSize": 0,
- "startTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "errorMessage": "string",
- "expired": false,
- "fqlQueryId": "7f1204d5-80c4-4422-be7a-46cd9ffe5640",
- "fqlQuery": "string",
- "userFriendlyQuery": "string",
- "tenantNotePairs": [
- {
- "tenantId": "string",
- "noteTypeName": "string",
- "noteTypeId": "string"
}
], - "usedTenants": [
- "string"
]
}
Get a list of users
query required | string Request query |
offset | integer Query offset |
limit | integer Query limit |
{- "users": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "firstName": "string",
- "lastName": "string",
- "preferredFirstName": "string",
- "middleName": "string"
}
], - "total_records": 0
}
Cancel bulk operation by id
operationId required | string <uuid> (UUID) UUID of the Bulk Operation |
{- "errors": [
- {
- "message": "string",
- "type": "ERROR",
- "code": "string",
- "parameters": [
- {
- "key": "string",
- "value": "string"
}
], - "field": "string"
}
], - "totalRecords": 0
}
Get a list of Profiles
query | string Request query |
offset | integer Query offset |
limit | integer Query limit |
{- "content": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "locked": true,
- "entityType": "USER",
- "ruleDetails": [
- {
- "option": "PATRON_GROUP",
- "tenants": [
- "string"
], - "actions": [
- {
- "type": "ADD_TO_EXISTING",
- "initial": "string",
- "updated": "string",
- "parameters": [
- {
- "key": "string",
- "value": "string"
}
], - "tenants": [
- "string"
], - "updated_tenants": [
- "string"
]
}
]
}
], - "marcRuleDetails": [
- {
- "tag": "string",
- "ind1": "string",
- "ind2": "string",
- "subfield": "string",
- "actions": [
- {
- "name": "ADD_TO_EXISTING",
- "data": [
- {
- "key": "VALUE",
- "value": "string"
}
]
}
], - "parameters": [
- {
- "key": "OVERRIDE_PROTECTED",
- "value": "string"
}
], - "subfields": [
- {
- "subfield": "string",
- "actions": [
- {
- "name": "ADD_TO_EXISTING",
- "data": [
- { }
]
}
]
}
]
}
], - "createdDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "updatedDate": "2019-08-24T14:15:22Z",
- "updatedBy": "string"
}
], - "totalRecords": 0
}
Create a new Profile
name required | string The name of the profile, used for identification and display. | ||||||||||||||
description | string Indicates description of the profile. | ||||||||||||||
locked required | boolean Indicates whether the profile is locked and cannot be modified. | ||||||||||||||
entityType required | string (EntityType) Enum: "USER" "ITEM" "HOLDINGS_RECORD" "INSTANCE" "INSTANCE_MARC" | ||||||||||||||
Array of objects (RuleDetails) Rule Collection | |||||||||||||||
Array
| |||||||||||||||
Array of objects (MarcRuleDetails) Bulk Operation Marc Rule Collection | |||||||||||||||
Array
|
{- "name": "string",
- "description": "string",
- "locked": true,
- "entityType": "USER",
- "ruleDetails": [
- {
- "option": "PATRON_GROUP",
- "tenants": [
- "string"
], - "actions": [
- {
- "type": "ADD_TO_EXISTING",
- "initial": "string",
- "updated": "string",
- "parameters": [
- {
- "key": "string",
- "value": "string"
}
], - "tenants": [
- "string"
], - "updated_tenants": [
- "string"
]
}
]
}
], - "marcRuleDetails": [
- {
- "tag": "string",
- "ind1": "string",
- "ind2": "string",
- "subfield": "string",
- "actions": [
- {
- "name": "ADD_TO_EXISTING",
- "data": [
- {
- "key": "VALUE",
- "value": "string"
}
]
}
], - "parameters": [
- {
- "key": "OVERRIDE_PROTECTED",
- "value": "string"
}
], - "subfields": [
- {
- "subfield": "string",
- "actions": [
- {
- "name": "ADD_TO_EXISTING",
- "data": [
- {
- "key": "VALUE",
- "value": "string"
}
]
}
]
}
]
}
]
}
{- "id": "string",
- "name": "string",
- "description": "string",
- "locked": true,
- "entityType": "USER",
- "ruleDetails": [
- {
- "option": "PATRON_GROUP",
- "tenants": [
- "string"
], - "actions": [
- {
- "type": "ADD_TO_EXISTING",
- "initial": "string",
- "updated": "string",
- "parameters": [
- {
- "key": "string",
- "value": "string"
}
], - "tenants": [
- "string"
], - "updated_tenants": [
- "string"
]
}
]
}
], - "marcRuleDetails": [
- {
- "tag": "string",
- "ind1": "string",
- "ind2": "string",
- "subfield": "string",
- "actions": [
- {
- "name": "ADD_TO_EXISTING",
- "data": [
- {
- "key": "VALUE",
- "value": "string"
}
]
}
], - "parameters": [
- {
- "key": "OVERRIDE_PROTECTED",
- "value": "string"
}
], - "subfields": [
- {
- "subfield": "string",
- "actions": [
- {
- "name": "ADD_TO_EXISTING",
- "data": [
- {
- "key": "VALUE",
- "value": "string"
}
]
}
]
}
]
}
], - "createdDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "updatedDate": "2019-08-24T14:15:22Z",
- "updatedBy": "string"
}
{- "errors": [
- {
- "message": "string",
- "type": "ERROR",
- "code": "string",
- "parameters": [
- {
- "key": "string",
- "value": "string"
}
], - "field": "string"
}
], - "totalRecords": 0
}
id required | string <uuid> (UUID) |
Profile object
name required | string The name of the profile, used for identification and display. | ||||||||||||||
description | string Indicates description of the profile. | ||||||||||||||
locked required | boolean Indicates whether the profile is locked and cannot be modified. | ||||||||||||||
entityType required | string (EntityType) Enum: "USER" "ITEM" "HOLDINGS_RECORD" "INSTANCE" "INSTANCE_MARC" | ||||||||||||||
Array of objects (RuleDetails) Rule Collection | |||||||||||||||
Array
| |||||||||||||||
Array of objects (MarcRuleDetails) Bulk Operation Marc Rule Collection | |||||||||||||||
Array
|
{- "name": "string",
- "description": "string",
- "locked": true,
- "entityType": "USER",
- "ruleDetails": [
- {
- "option": "PATRON_GROUP",
- "tenants": [
- "string"
], - "actions": [
- {
- "type": "ADD_TO_EXISTING",
- "initial": "string",
- "updated": "string",
- "parameters": [
- {
- "key": "string",
- "value": "string"
}
], - "tenants": [
- "string"
], - "updated_tenants": [
- "string"
]
}
]
}
], - "marcRuleDetails": [
- {
- "tag": "string",
- "ind1": "string",
- "ind2": "string",
- "subfield": "string",
- "actions": [
- {
- "name": "ADD_TO_EXISTING",
- "data": [
- {
- "key": "VALUE",
- "value": "string"
}
]
}
], - "parameters": [
- {
- "key": "OVERRIDE_PROTECTED",
- "value": "string"
}
], - "subfields": [
- {
- "subfield": "string",
- "actions": [
- {
- "name": "ADD_TO_EXISTING",
- "data": [
- {
- "key": "VALUE",
- "value": "string"
}
]
}
]
}
]
}
]
}
{- "id": "string",
- "name": "string",
- "description": "string",
- "locked": true,
- "entityType": "USER",
- "ruleDetails": [
- {
- "option": "PATRON_GROUP",
- "tenants": [
- "string"
], - "actions": [
- {
- "type": "ADD_TO_EXISTING",
- "initial": "string",
- "updated": "string",
- "parameters": [
- {
- "key": "string",
- "value": "string"
}
], - "tenants": [
- "string"
], - "updated_tenants": [
- "string"
]
}
]
}
], - "marcRuleDetails": [
- {
- "tag": "string",
- "ind1": "string",
- "ind2": "string",
- "subfield": "string",
- "actions": [
- {
- "name": "ADD_TO_EXISTING",
- "data": [
- {
- "key": "VALUE",
- "value": "string"
}
]
}
], - "parameters": [
- {
- "key": "OVERRIDE_PROTECTED",
- "value": "string"
}
], - "subfields": [
- {
- "subfield": "string",
- "actions": [
- {
- "name": "ADD_TO_EXISTING",
- "data": [
- {
- "key": "VALUE",
- "value": "string"
}
]
}
]
}
]
}
], - "createdDate": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "updatedDate": "2019-08-24T14:15:22Z",
- "updatedBy": "string"
}