|
Name
|
Required?
|
Value
|
|---|---|---|
|
Content-Type
|
Yes
|
application/json
|
|
X-Requested-With
|
Yes
|
Any value accepted
|
|
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.
|
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