Performs an import of a flow package, which also applies any specified import rules.
Version: v3
Request Type: POST
Endpoint:
/v3/flows/package/ |
Request URI - Example:
/v3/flows/package |
Request Body:
The request body must include the following key and value combination submitted as form data. This path is the location of the ZIP package that you are importing.
key | value |
---|---|
data | "@path-to-file" |
Example request - curl:
curl -X POST \ http://example.com:3005/v3/flows/package \ -H 'authorization: Basic c29sc29uQHRyaWZhY3RhLmNvbTphZG1pbg==' \ -H 'cache-control: no-cache' \ -H 'content-type: multipart/form-data' \ -F data=@response.zip |
Response Status Code - Success: 201 - Created
Response Body Example:
{ "importRuleChanges": { "object": [], "value": [] }, "flowName": "[267f4340] 2013 POS" } |
None.