Mapping
Creates a new mapping for a specific flow step.
API key passed in the Authorization header. Format: <api-key>
Successful response
Unauthenticated
Unauthorized
Validation Error
Too Many Requests. The rate limit for this user has been reached.
POST /api/v1/mapping HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 104
{
"flow_version_id": 1,
"flow_step_id": 1,
"mapping": "example_mapping",
"mapping_file": "example_mapping_file"
}{
"data": {
"id": 1,
"flow_version_id": 1,
"flow_step_id": 1,
"mapping": "example_mapping",
"mapping_file": "example_mapping_file",
"created_at": "2025-01-15T10:30:00.000000Z",
"updated_at": "2025-01-15T10:30:00.000000Z"
}
}Auto-generates a mapping between a specific source endpoint and a specific destination endpoint using field tag matching.
API key passed in the Authorization header. Format: <api-key>
The sourceEndpoint identifier.
The destinationEndpoint identifier.
Successful response
Unauthenticated
Unauthorized
Not Found. The record does not exist.
Too Many Requests. The rate limit for this user has been reached.
GET /api/v1/mapping/generate/{sourceEndpoint}/{destinationEndpoint} HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Accept: */*
{}Retrieves the details of a specific mapping.
API key passed in the Authorization header. Format: <api-key>
The mapping identifier.
Successful response
Unauthenticated
Unauthorized
Not Found. The record does not exist.
Too Many Requests. The rate limit for this user has been reached.
GET /api/v1/mapping/{mapping} HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Accept: */*
{
"data": {
"id": 1,
"flow_version_id": 1,
"flow_step_id": 1,
"mapping": "example_mapping",
"mapping_file": "example_mapping_file",
"created_at": "2025-01-15T10:30:00.000000Z",
"updated_at": "2025-01-15T10:30:00.000000Z"
}
}Exports the configuration of a specific mapping as a JSON file.
API key passed in the Authorization header. Format: <api-key>
The mapping identifier.
Successful response
Unauthenticated
Unauthorized
Not Found. The record does not exist.
Too Many Requests. The rate limit for this user has been reached.
GET /api/v1/mapping/{mapping}/export HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Accept: */*
{}Last updated
Was this helpful?