Navigating Vuforia Studio > Projects and Experiences > Template-based Experiences > IRS Mappings > PUT /id-resolution/mappings
  
PUT /id-resolution/mappings
Request Headers
Name
Required?
Value
Content-Type
Yes
application/json
X-Requested-With
Yes
Any value accepted
Request Parameters
Name
Required?
Data Type
Parameter Type
Description
id
Yes
Integer
Path
The ID of the mapping to be updated.
Request Body
The body of the request is a JSON object that conforms to theMapping JSON Schema and defines the mapping that should be created.
Response Status Codes
Code
Description
204
The mapping was successfully updated.
400
The JSON body is missing, malformed, or the X-Requested-With header is missing.
401
The required credentials are missing or incorrect.
403
The user does not have permission to update the mapping.
409
A mapping for the specified key-value pair already exists.
415
The Content-Type header is missing or is not equal to application/json.
500
An internal server error occurred.
Example
curl -u user:password -X PUT -H "Content-Type: application/json" -H "X-Requested-With: XMLHttpRequest“ \
-d '{"key": “urn:vuforia:vumark:2:100","value": “urm:thingworx:thing:M100-100"}’ \
https://es.example.com/ExperienceService/id-resolution/mappings/139