PUT
/
organisations
/
{organisationId}
/
data-mappings
/
{mappingId}
/
entries
/
{entryId}
curl --request PUT \
  --url https://api.switchboard.svc.versori.io/v1alpha1/organisations/{organisationId}/data-mappings/{mappingId}/entries/{entryId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "sourceValue": "<string>",
  "targetValue": "<string>"
}'
{
  "createdAt": "2023-11-07T05:31:56Z",
  "deletedAt": "2023-11-07T05:31:56Z",
  "id": "<string>",
  "mapping": {
    "createdAt": "2023-11-07T05:31:56Z",
    "definition": [
      {
        "sourceField": "<string>",
        "targetField": "<string>"
      }
    ],
    "deletedAt": "2023-11-07T05:31:56Z",
    "id": "<string>",
    "orgId": "<string>",
    "sourceApp": {
      "createdAt": "2023-11-07T05:31:56Z",
      "deletedAt": "2023-11-07T05:31:56Z",
      "id": "<string>",
      "imageUrl": "<string>",
      "name": "<string>",
      "orgId": "<string>",
      "public": true,
      "schema": {
        "createdAt": "2023-11-07T05:31:56Z",
        "deletedAt": "2023-11-07T05:31:56Z",
        "id": "<string>",
        "sourceUrl": "<string>",
        "type": "<string>",
        "updatedAt": "2023-11-07T05:31:56Z",
        "version": "<string>"
      },
      "schemaId": "<string>",
      "schemaMetadata": {
        "type": "<string>",
        "url": "<string>",
        "version": "<string>"
      },
      "server": {
        "name": "<string>",
        "url": "<string>"
      },
      "supportedAuthConfigs": [
        {
          "data": {
            "clientId": "<string>",
            "clientSecret": "<string>",
            "discoveryUrl": "<string>",
            "scopes": {}
          },
          "isValid": true,
          "type": "<string>"
        }
      ],
      "updatedAt": "2023-11-07T05:31:56Z"
    },
    "sourceSchemaId": "<string>",
    "targetApp": {
      "createdAt": "2023-11-07T05:31:56Z",
      "deletedAt": "2023-11-07T05:31:56Z",
      "id": "<string>",
      "imageUrl": "<string>",
      "name": "<string>",
      "orgId": "<string>",
      "public": true,
      "schema": {
        "createdAt": "2023-11-07T05:31:56Z",
        "deletedAt": "2023-11-07T05:31:56Z",
        "id": "<string>",
        "sourceUrl": "<string>",
        "type": "<string>",
        "updatedAt": "2023-11-07T05:31:56Z",
        "version": "<string>"
      },
      "schemaId": "<string>",
      "schemaMetadata": {
        "type": "<string>",
        "url": "<string>",
        "version": "<string>"
      },
      "server": {
        "name": "<string>",
        "url": "<string>"
      },
      "supportedAuthConfigs": [
        {
          "data": {
            "clientId": "<string>",
            "clientSecret": "<string>",
            "discoveryUrl": "<string>",
            "scopes": {}
          },
          "isValid": true,
          "type": "<string>"
        }
      ],
      "updatedAt": "2023-11-07T05:31:56Z"
    },
    "targetSchemaId": "<string>",
    "updatedAt": "2023-11-07T05:31:56Z"
  },
  "sourceValue": "<string>",
  "targetValue": "<string>",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

organisationId
string
required
mappingId
string
required
entryId
string
required

Body

application/json
sourceValue
required

The source value of the mapping entry.

targetValue
required

The target value of the mapping entry.

Response

200 - application/json
createdAt
string
deletedAt
string
id
string
required
mapping
object
sourceValue
required
targetValue
required
updatedAt
string