Skip to main content
PUT
/
mdm
/
v1
/
collections
/
{collectionKey}
Create a collection in the MDM
curl --request PUT \
  --url https://{workspaceId}.clinia.cloud/mdm/v1/collections/{collectionKey} \
  --header 'Content-Type: application/json' \
  --data '{
  "profile": {
    "sourceProfiles": [
      {
        "source": "<string>",
        "type": "<string>"
      }
    ]
  },
  "resolutionRule": {
    "resolvers": {},
    "matchers": {},
    "properties": {},
    "mappings": [
      {
        "source": "<string>",
        "type": "<string>",
        "paths": {}
      }
    ]
  }
}'
{
  "key": "<string>",
  "profile": {
    "sourceProfiles": [
      {
        "source": "<string>",
        "type": "<string>"
      }
    ]
  },
  "resolutionRule": {
    "resolvers": {},
    "matchers": {},
    "properties": {},
    "mappings": [
      {
        "source": "<string>",
        "type": "<string>",
        "paths": {}
      }
    ]
  }
}

Path Parameters

collectionKey
string
required

Key of the collection it must follow pattern: ^[a-zA-Z0-9-][\w-]{0,61}$.

Body

application/json
profile
object
required
resolutionRule
object

Response

A successful response when the collection was created.

profile
object
required
key
string
resolutionRule
object
I