Skip to content

Update Mappings Request

Request

Update the mapping of the uploaded file to match that of the header within it. You can add or remove the required number of mapping points in the Request Body.

Security
bearerToken
Path
idstringrequired
Bodyapplication/jsonrequired
mappingsArray of objects(JobMappingDto)required
Example:
[ { "mapping": "name", "value": "0" } ]
curl -i -X PUT \
  'https://connect.sandbox.creditsafe.com/v1/dataCleaning/jobs/{id}/mappings' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "mappings": [
      {
        "mapping": "name",
        "value": "0"
      }
    ]
  }'

Responses

200 response

Bodyapplication/json
Array [
mappingstring
valuestring
]
Response
[ { "mapping": "name", "value": "0" } ]