Skip to content
Snippets Groups Projects
getcatalogitem_zrex2.json 3.44 KiB
Newer Older
Patrick Roe's avatar
Patrick Roe committed
{
  "swagger" : "2.0",
  "info" : {
    "description" : null,
    "version" : "1.0.0",
    "title" : null,
    "termsOfService" : null,
    "contact" : null,
    "license" : null
  },
  "host" : "api.wisc.edu",
  "basePath" : "/finance",
  "schemes" : [ "https" ],
  "paths" : {
    "/catalogItems?filter[itemName]={var1}" : {
Patrick Roe's avatar
Patrick Roe committed
      "get" : {
        "tags" : [ "getcatalogitem_zrex" ],
        "summary" : null,
        "description" : null,
        "operationId" : "getcatalogitem_zrex",
        "produces" : [ "application/json" ],
        "consumes" : [ "application/json" ],
        "parameters" : [ {
          "name" : "var1",
          "in" : "path",
          "description" : null,
          "required" : false,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/getcatalogitem_zrex"
            }
          }
        }
      }
    }
  },
  "definitions" : {
    "getcatalogitem_zrex##data##attributes" : {
      "properties" : {
        "catalogItem" : {
          "type" : "string"
        },
        "itemDescription" : {
          "type" : "string"
        },
        "itemName" : {
          "type" : "string"
        },
        "name" : {
          "type" : "string"
        },
        "refId" : {
          "type" : "string"
        },
        "resourceProvider" : {
          "type" : "string"
        },
        "unitOfMeasure" : {
          "type" : "string"
        },
        "uomEdiCodeId" : {
          "type" : "string"
        }
      }
    },
    "getcatalogitem_zrex##data##links" : {
      "properties" : {
        "self" : {
          "type" : "string"
        }
      }
    },
    "getcatalogitem_zrex##data" : {
      "properties" : {
        "attributes" : {
          "$ref" : "#/definitions/getcatalogitem_zrex##data##attributes"
        },
        "id" : {
          "type" : "string"
        },
        "links" : {
          "$ref" : "#/definitions/getcatalogitem_zrex##data##links"
        },
        "type" : {
          "type" : "string"
        }
      }
    },
    "getcatalogitem_zrex##links" : {
      "properties" : {
        "first" : {
          "type" : "string"
        },
        "last" : {
          "type" : "string"
        },
        "next" : {
          "type" : "string"
        },
        "prev" : {
          "type" : "string"
        },
        "self" : {
          "type" : "string"
        }
      }
    },
    "getcatalogitem_zrex##meta" : {
      "properties" : {
        "pageNumber" : {
          "type" : "number",
          "format" : "int32"
        },
        "pageSize" : {
          "type" : "number",
          "format" : "int32"
        },
        "totalCount" : {
          "type" : "number",
          "format" : "int32"
        },
        "totalPages" : {
          "type" : "number",
          "format" : "int32"
        }
      }
    },
    "getcatalogitem_zrex" : {
      "properties" : {
        "data" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/getcatalogitem_zrex##data"
          }
        },
        "links" : {
          "$ref" : "#/definitions/getcatalogitem_zrex##links"
        },
        "meta" : {
          "$ref" : "#/definitions/getcatalogitem_zrex##meta"
        }
      }
    }
  }
}