{
  "opencollection": "1.0.0",
  "info": {
    "name": "Leaf Agriculture Leaf API Reference > Alerts API Reference > Beta > Prescription > John Deere API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "API Reference > Beta > Prescription > John Deere",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Leaf Agriculture Download prescription from John Deere",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/services/beta/prescription/api/users/:leaf_user_id/johnDeere",
            "headers": [
              {
                "name": "Content-Type",
                "value": "application/json"
              },
              {
                "name": "Authorization",
                "value": "Bearer {{leaf_token}}"
              }
            ],
            "params": [
              {
                "name": "organizationId",
                "value": "{{jd_organization_id}}",
                "type": "query",
                "description": "The id of the organization at JohnDeere"
              },
              {
                "name": "leaf_user_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Leaf Agriculture Download prescription from John Deere"
        },
        {
          "info": {
            "name": "Leaf Agriculture Upload John Deere prescription files",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/services/beta/prescription/api/users/:leaf_user_id/johnDeere",
            "headers": [
              {
                "name": "Content-Type",
                "value": "multipart/form-data"
              },
              {
                "name": "Authorization",
                "value": "Bearer {{leaf_token}}"
              }
            ],
            "params": [
              {
                "name": "organizationId",
                "value": "{{jd_organization_id}}",
                "type": "query",
                "description": "The id of the organization at JohnDeere"
              },
              {
                "name": "leaf_user_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "multipart-form",
              "data": [
                {
                  "name": "file",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          },
          "docs": "Leaf Agriculture Upload John Deere prescription files"
        }
      ]
    }
  ],
  "bundled": true
}