Skip to content
Snippets Groups Projects
uwmil_t2_FDM_validation.json 3.55 KiB
Newer Older
SAJIDA SIDDIQUI's avatar
SAJIDA SIDDIQUI 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" : {
    "/validateFdm" : {
      "post" : {
        "tags" : [ "uwmil_t2_FDM_validation" ],
        "summary" : null,
        "description" : null,
        "operationId" : "uwmil_t2_FDM_validation",
        "produces" : [ "application/vnd.api+json" ],
        "consumes" : [ "application/vnd.api+json" ],
        "parameters" : [ {
          "name" : "body",
          "in" : "body",
          "description" : null,
          "required" : false,
          "schema" : {
            "$ref" : "#/definitions/uwmil_t2_FDM_validation_Request##body"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/uwmil_t2_FDM_validation"
            }
          }
        }
      }
    }
  },
  "definitions" : {
    "uwmil_t2_FDM_validation##data##attributes" : {
      "properties" : {
        "errors" : {
          "type" : "array",
          "properties" : {
        "errorCode" : {
          "type" : "string"
        },
        "errorMessage" : {
          "type" : "string"
        }
      }
        },
        "valid" : {
          "type" : "boolean"
        }
      }
    },
    "uwmil_t2_FDM_validation##data" : {
      "properties" : {
        "attributes" : {
          "$ref" : "#/definitions/uwmil_t2_FDM_validation##data##attributes"
        },
        "id" : {
          "type" : "string"
        },
        "type" : {
          "type" : "string"
        }
      }
    },
    "uwmil_t2_FDM_validation" : {
      "properties" : {
        "data" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/uwmil_t2_FDM_validation##data"
          }
        }
      }
    },
    "uwmil_t2_FDM_validation_Request##body##data##attributes" : {
      "properties" : {
        "company" : {
          "type" : "string"
        },
        "activity" : {
          "type" : "string"
        },
        "costCenter" : {
          "type" : "string"
        },
        "fund" : {
          "type" : "string"
        },
        "function" : {
          "type" : "string"
        },
        "gift" : {
          "type" : "string"
        },
        "grant" : {
          "type" : "string"
        },
        "ledgerAccount" : {
          "type" : "string"
        },
        "program" : {
          "type" : "string"
        },
        "project" : {
          "type" : "string"
        },
        "revenueCategory" : {
          "type" : "string"
        },
        "spendCategory" : {
          "type" : "string"
        }
      }
    },
    "uwmil_t2_FDM_validation_Request##body##data" : {
      "properties" : {
        "type" : {
          "type" : "string"
        },
        "id" : {
          "type" : "string"
        },
        "attributes" : {
          "$ref" : "#/definitions/uwmil_t2_FDM_validation_Request##body##data##attributes"
        }
      }
    },
    "uwmil_t2_FDM_validation_Request##body" : {
      "properties" : {
        "data" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/uwmil_t2_FDM_validation_Request##body##data"
          }
        }
      }
    },
    "uwmil_t2_FDM_validation_Request" : {
      "properties" : {
        "body" : {
          "$ref" : "#/definitions/uwmil_t2_FDM_validation_Request##body"
        }
      }
    }
  }
}