{
  "opencollection": "1.0.0",
  "info": {
    "name": "Client API v1.8 authenticated workorders API",
    "version": "1.8.45"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "x-api-key",
      "value": "{{x-api-key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "workorders",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Workorder by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://client-api.staging.roadsync.com/{basePath}/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID number of the object being returned"
              }
            ]
          },
          "docs": "Retrieve the information of the workorder with the matching workorder ID."
        },
        {
          "info": {
            "name": "Delete workorders by ID",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://client-api.staging.roadsync.com/{basePath}/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID number of the object being returned"
              }
            ]
          },
          "docs": "Deletes the workorder with a specific ID."
        },
        {
          "info": {
            "name": "Get All Recent Workorders",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://client-api.staging.roadsync.com/{basePath}/"
          },
          "docs": "Retrieve 20 Most Recent Workorders."
        },
        {
          "info": {
            "name": "Create New Workorder",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://client-api.staging.roadsync.com/{basePath}/",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new workorder."
        },
        {
          "info": {
            "name": "Send workorder",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://client-api.staging.roadsync.com/{basePath}/:id/send",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Send a workorder to a recipient via email or text."
        },
        {
          "info": {
            "name": "Approve Workorders",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://client-api.staging.roadsync.com/{basePath}/:id/approve",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Approve Workorders"
        }
      ]
    }
  ],
  "bundled": true
}