Skip to content
Snippets Groups Projects
getPeopleJobs.json 4.67 KiB
Newer Older
Harsha Gummadavelli's avatar
Harsha Gummadavelli committed
{
  "swagger" : "2.0",
  "info" : {
    "description" : null,
    "version" : "1.0.0",
    "title" : null,
    "termsOfService" : null,
    "contact" : null,
    "license" : null
  },
  "host" : "api.wisc.edu",
  "basePath" : "/people",
  "schemes" : [ "https" ],
  "paths" : {
    "/{id}/jobs?filter[current]=true" : {
Harsha Gummadavelli's avatar
Harsha Gummadavelli committed
      "get" : {
        "tags" : [ "getPeopleJobs" ],
        "summary" : null,
        "description" : null,
        "operationId" : "getPeopleJobs",
        "produces" : [ "application/json" ],
        "consumes" : [ "application/json" ],
        "parameters" : [ {
          "name" : "id",
          "in" : "path",
          "description" : null,
          "required" : false,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/getPeopleJobs"
            }
          }
        }
      }
    }
  },
  "definitions" : {
    "getPeopleJobs##data##attributes" : {
      "properties" : {
        "beginDate" : {
          "type" : "string"
        },
        "businessTitle" : {
          "type" : "string"
        },
        "costCenterId" : {
          "type" : "string"
        },
        "current" : {
          "type" : "boolean"
        },
        "departmentUnit" : {
          "type" : "string"
        },
        "division" : {
          "type" : "string"
        },
        "divisionCode" : {
          "type" : "string"
        },
        "effectiveDate" : {
          "type" : "string"
        },
        "employeeCategory" : {
          "type" : "string"
        },
        "employeeCategoryCode" : {
          "type" : "string"
        },
        "endDate" : {
          "type" : "string"
        },
        "fullTimeEquivalent" : {
          "type" : "string"
        },
        "jobCode" : {
          "type" : "string"
        },
        "payBasis" : {
          "type" : "string"
        },
        "position" : {
          "type" : "string"
        },
        "source" : {
          "type" : "string"
        },
        "supervisoryOrganizationId" : {
          "type" : "string"
        },
        "title" : {
          "type" : "string"
        }
      }
    },
    "getPeopleJobs##data##relationships##person##data" : {
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "type" : {
          "type" : "string"
        }
      }
    },
    "getPeopleJobs##data##relationships##person##links" : {
      "properties" : {
        "related" : {
          "type" : "string"
        }
      }
    },
    "getPeopleJobs##data##relationships##person" : {
      "properties" : {
        "data" : {
          "$ref" : "#/definitions/getPeopleJobs##data##relationships##person##data"
        },
        "links" : {
          "$ref" : "#/definitions/getPeopleJobs##data##relationships##person##links"
        }
      }
    },
    "getPeopleJobs##data##relationships##supervisor##data" : {
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "type" : {
          "type" : "string"
        }
      }
    },
    "getPeopleJobs##data##relationships##supervisor##links" : {
      "properties" : {
        "related" : {
          "type" : "string"
        }
      }
    },
    "getPeopleJobs##data##relationships##supervisor" : {
      "properties" : {
        "data" : {
          "$ref" : "#/definitions/getPeopleJobs##data##relationships##supervisor##data"
        },
        "links" : {
          "$ref" : "#/definitions/getPeopleJobs##data##relationships##supervisor##links"
        }
      }
    },
    "getPeopleJobs##data##relationships" : {
      "properties" : {
        "person" : {
          "$ref" : "#/definitions/getPeopleJobs##data##relationships##person"
        },
        "supervisor" : {
          "$ref" : "#/definitions/getPeopleJobs##data##relationships##supervisor"
        }
      }
    },
    "getPeopleJobs##data" : {
      "properties" : {
        "attributes" : {
          "$ref" : "#/definitions/getPeopleJobs##data##attributes"
        },
        "id" : {
          "type" : "string"
        },
        "relationships" : {
          "$ref" : "#/definitions/getPeopleJobs##data##relationships"
        },
        "type" : {
          "type" : "string"
        }
      }
    },
    "getPeopleJobs##links" : {
      "properties" : {
        "self" : {
          "type" : "string"
        }
      }
    },
    "getPeopleJobs" : {
      "properties" : {
        "data" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/getPeopleJobs##data"
          }
        },
        "links" : {
          "$ref" : "#/definitions/getPeopleJobs##links"
        }
      }
    }
  }