Skip to content
Snippets Groups Projects
putfdmvalidate.json 2.95 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",
Patrick Roe's avatar
Patrick Roe committed
  "schemes" : [ "https" ],
  "paths" : {
    "/validateFdm" : {
Patrick Roe's avatar
Patrick Roe committed
      "post" : {
        "tags" : [ "putfdmvalidate" ],
        "summary" : null,
        "description" : null,
        "operationId" : "putfdmvalidate",
        "produces" : [ "application/vnd.api+json" ],
        "consumes" : [ "application/vnd.api+json" ],
Patrick Roe's avatar
Patrick Roe committed
        "parameters" : [ {
          "name" : "body",
          "in" : "body",
          "description" : null,
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/putfdmvalidate_Request##body"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/putfdmvalidate"
            }
          }
        }
      }
    }
  },
  "definitions" : {
    "putfdmvalidate##data##attributes" : {
      "properties" : {
        "errors" : {
          "type" : "array",
          "items" : {
            "type" : "string"
Patrick Roe's avatar
Patrick Roe committed
        },
        "valid" : {
          "type" : "boolean"
        }
      }
    },
    "putfdmvalidate##data" : {
      "properties" : {
        "attributes" : {
          "$ref" : "#/definitions/putfdmvalidate##data##attributes"
        },
        "id" : {
          "type" : "string"
        },
        "type" : {
          "type" : "string"
        }
      }
    },
    "putfdmvalidate" : {
      "properties" : {
        "data" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/putfdmvalidate##data"
          }
        }
      }
    },
    "putfdmvalidate_Request##body##data##attributes" : {
      "properties" : {
        "company" : {
          "type" : "string"
        },
        "fund" : {
          "type" : "string"
        },
        "costCenter" : {
          "type" : "string"
        },
        "function" : {
Patrick Roe's avatar
Patrick Roe committed
          "type" : "string"
        },
        "ledgerAccount" : {
Patrick Roe's avatar
Patrick Roe committed
          "type" : "string"
        },
        "program" : {
          "type" : "string"
        }
      }
    },
    "putfdmvalidate_Request##body##data" : {
      "properties" : {
        "type" : {
          "type" : "string"
        },
        "id" : {
          "type" : "string"
        },
        "attributes" : {
          "$ref" : "#/definitions/putfdmvalidate_Request##body##data##attributes"
        }
      }
    },
    "putfdmvalidate_Request##body" : {
      "properties" : {
        "data" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/putfdmvalidate_Request##body##data"
          }
        }
      }
    },
    "putfdmvalidate_Request" : {
      "properties" : {
        "body" : {
          "$ref" : "#/definitions/putfdmvalidate_Request##body"
        }
      }
    }
  }