Navigating Vuforia Studio > Projects and Experiences > Template-based Experiences > IRS Mappings > POST /id-resolution/mappings
  
POST /id-resolution/mappings
Request Headers
Name
Required?
Value
Content-Type
Yes
application/json
X-Requested-With
Yes
Any value accepted
Request Body
The body of the request is a JSON object that conforms to the Mapping JSON Schema and defines the mapping that should be created.
Response Status Codes
Code
Description
201
The mapping was successfully created.
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 create 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 -H "Content-Type: application/json" -H "X-Requested-With: XMLHttpRequest“ \
-d '{"key": “urn:vuforia:vumark:2:101","value": “urm:thingworx:thing:M100-101"}’ \
https://es.example.com/ExperienceService/id-resolution/mappings