Create Record Set with Unlinked records

Create Record Set with unlinked records.

POST /api/.../recordsets?generateNoLinks=true

Create record set of unlinked records.

Request Information

Parameters
Name Type Required Description
generateNoLinks Boolean Yes Define this parameter in the request query string. If set to true, creates record set with unlinked records. If not supplied or set to false creates an empty record set
recordSet DtoRecordSet Yes Define this parameter in the request body.
DtoRecordSet
Property Type Nullable Description
Name String No Required. Name for the newly created record set. May not exceed 65 characters.
ObjectTypeID Int No Required. 1 Authority Record, 2 Bibliographic Record
CreatorID Int Yes If not supplied, the logged in user ID will be used.
CreatorName String Yes
ModifierID Int Yes
ModifierName String Yes
OrganizationOwnerID Int Yes Supply a valid organization ID (not null and not 0) to set the owner of the record set at the organization level. If null or 0 is supplied, the record set will be owned by the creator id.
Example Body containing list of record Ids
application/json, text/json
    
    {
        "Name": "My record set",
        "ObjectTypeID": 2,
        "CreatorID": 1,
        "ModifierID": 1,
        "OrganizationOwnerID": 3,       
    }

Response Information

Example Response
application/json, text/json
{
    "RecordSetId":37837,
    "NumberOfRecordsAdded":0,
    "NumberOfRecordsRemoved":0,
    "NumberOfRecords":0,
    "Warnings":[]
}

HTTP Response Codes

Code Description
200 Success
400 Bad request
403 Permission(s) not granted.