Save job

PUT /V1/import/job

Save job

Body

Responses

PUT /V1/import/job
curl \
 -X PUT https://magento2.winkelstraat.mac/rest/all/V1/import/job \
 -d '{"job":{"import_source":"string","mapping":"string","price_rules":"string","xslt":"string","position":42,"translate_from":"string","translate_to":"string","map":"string","id":42,"title":"string","is_active":42,"cron":"string","frequency":"string","entity":"string","behavior_data":"string","source_data":"string","file_updated_at":"string"}}'
Request examples
{
  "job": {
    "import_source": "string",
    "mapping": "string",
    "price_rules": "string",
    "xslt": "string",
    "position": 42,
    "translate_from": "string",
    "translate_to": "string",
    "map": "string",
    "id": 42,
    "title": "string",
    "is_active": 42,
    "cron": "string",
    "frequency": "string",
    "entity": "string",
    "behavior_data": "string",
    "source_data": "string",
    "file_updated_at": "string"
  }
}
Response examples (200)
{
  "import_source": "string",
  "mapping": "string",
  "price_rules": "string",
  "xslt": "string",
  "position": 42,
  "translate_from": "string",
  "translate_to": "string",
  "map": "string",
  "id": 42,
  "title": "string",
  "is_active": 42,
  "cron": "string",
  "frequency": "string",
  "entity": "string",
  "behavior_data": "string",
  "source_data": "string",
  "file_updated_at": "string"
}
Response examples (401)
{
  "message": "string",
  "errors": [
    {
      "message": "string",
      "parameters": [
        {
          "resources": "string",
          "fieldName": "string",
          "fieldValue": "string"
        }
      ]
    }
  ],
  "code": 42,
  "parameters": [
    {
      "resources": "string",
      "fieldName": "string",
      "fieldValue": "string"
    }
  ],
  "trace": "string"
}
Response examples (500)
{
  "message": "string",
  "errors": [
    {
      "message": "string",
      "parameters": [
        {
          "resources": "string",
          "fieldName": "string",
          "fieldValue": "string"
        }
      ]
    }
  ],
  "code": 42,
  "parameters": [
    {
      "resources": "string",
      "fieldName": "string",
      "fieldValue": "string"
    }
  ],
  "trace": "string"
}
Response examples (default)
{
  "message": "string",
  "errors": [
    {
      "message": "string",
      "parameters": [
        {
          "resources": "string",
          "fieldName": "string",
          "fieldValue": "string"
        }
      ]
    }
  ],
  "code": 42,
  "parameters": [
    {
      "resources": "string",
      "fieldName": "string",
      "fieldValue": "string"
    }
  ],
  "trace": "string"
}