putMappingsId
Update a Mapping. A Mapping represents a way to re-map the fields in the API for either input or output, using a set of JSON field mappings. For example, if your system uses a different format for output data that it will send to the API, then you can re-map the input fields for the API using a Mapping.
In: header
Path Parameters
The ID of this resource and The Mapping ID.
Header Parameters
A single-use, limited authentication layer in addition to an API Key or Session Key to authorize sensitive operations. Auth Tokens add security by requiring one-time approval for specific actions.
A custom, one-time identifier for any API request (GET, PUT, POST, or DELETE). Blocks future requests with the same token for 48 hours, ensuring only the first request is processed. Valid values can contain 1-100 alphanumeric and special characters. See Request Tokens for more information.
Request Body
application/json
Update Mapping Request
Update Mapping Request
The Login that owns this resource.
Name of Mappings.
A description of this Mapping.
A JSON document that describes the input fields that should be mapped. This field is stored as a text string and must be between 1 and 5000 characters long.
A JSON document that describes the fields that should appear in the output, after the input fields have been mapped. This field is stored as a text string and must be between 1 and 5000 characters long.
A valid URL that represents the XML namespace of the input and output documents. This field is stored as a text string and must be between 1 and 100 characters long.
Response Body
application/json
application/json
curl -X PUT "https://example.com/mappings/t1_map_63d6a1df609e000f10b00d0" \ -H "Content-Type: application/json" \ -d '{ "login": "t1_log_63d25f51ea7ddb271d78304", "name": "Test1", "description": "Test1", "input": "{\\\\\\"mappingsCreate\\\\\\":{\\\\\\"requests\\\\\\":[{\\\\\\"name\\\\\\":{\\\\\\"__path__\\\\\\":\\\\\\"mappings2Create;mappings2Request;name\\\\\\"}}]}}", "output": "{\\\\\\"mappings2CreateResponse\\\\\\":{\\\\\\"mappings2Responses\\\\\\":[{\\\\\\"name\\\\\\":{\\\\\\"__path__\\\\\\":\\\\\\"mappingsCreateResponse;requests;[];name\\\\\\"}}]}}", "namespace": "XML namespace of input and output" }'{ "response": { "data": [ { "id": "t1_map_63d6a1df609e000f10b00d0", "created": "2023-01-29 11:42:07.3959", "modified": "2023-01-29 11:42:07.3959", "creator": "t1_log_63d25f51ea7ddb271d78304", "modifier": "t1_log_63d25f51ea7ddb271d78304", "login": "t1_log_63d25f51ea7ddb271d78304", "name": "Test1", "description": "Test1", "input": "{\"mappingsCreate\":{\"requests\":[{\"name\":{\"__path__\":\"mappings2Create;mappings2Request;name\"}}]}}", "output": "{\"mappings2CreateResponse\":{\"mappings2Responses\":[{\"name\":{\"__path__\":\"mappingsCreateResponse;requests;[];name\"}}]}}", "namespace": "XML namespace of input and output" } ], "details": { "requestId": 1, "totals": [], "page": { "current": 1, "last": 1, "hasMore": false } }, "errors": [] }}deleteMappingsId DELETE
Delete a Mapping. A Mapping represents a way to re-map the fields in the API for either input or output, using a set of JSON field mappings.
getMappings GET
Query a Mapping resource. A Mapping resource represents a way to re-map the fields in the API for either input or output, using a set of JSON field mappings. For example, if your system uses a different format for output data that it will send to the API, then you can re-map the input fields for the API using a Mapping resource.
