{
  "openapi": "3.0.1",
  "info": {
    "title": "VendorAPICore",
    "version": "1.0"
  },
  "paths": {
    "/api/Vendor/GetProjectStatus": {
      "get": {
        "tags": [
          "Vendor"
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/API_GetProjectStatus_Result"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/API_GetProjectStatus_Result"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/API_GetProjectStatus_Result"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/Vendor/GetSampleStatus": {
      "get": {
        "tags": [
          "Vendor"
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/API_GetSampleStatus_Result"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/API_GetSampleStatus_Result"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/API_GetSampleStatus_Result"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/Vendor/GetSurveyTopic": {
      "get": {
        "tags": [
          "Vendor"
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/API_GetSurveyTopic_Result"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/API_GetSurveyTopic_Result"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/API_GetSurveyTopic_Result"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/Vendor/GetProjectdetails": {
      "get": {
        "tags": [
          "Vendor"
        ],
        "parameters": [
          {
            "name": "Projectstatus",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/API_GetProjectDetails_Result"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/API_GetProjectDetails_Result"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/API_GetProjectDetails_Result"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/Vendor/GetLiveProjectdetails": {
      "get": {
        "tags": [
          "Vendor"
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/API_GetLiveProjectDetails_Result"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/API_GetLiveProjectDetails_Result"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/API_GetLiveProjectDetails_Result"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/Vendor/GetVendorQuestionAnswer": {
      "get": {
        "tags": [
          "Vendor"
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/API_GetVendorQuestionAnswer_Result"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/API_GetVendorQuestionAnswer_Result"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/API_GetVendorQuestionAnswer_Result"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/Vendor/GetProjectSampleQuota": {
      "get": {
        "tags": [
          "Vendor"
        ],
        "parameters": [
          {
            "name": "projectID",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "sampleID",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/API_GetProjectSampleQuota_Result"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/API_GetProjectSampleQuota_Result"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/API_GetProjectSampleQuota_Result"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/Vendor/GetSurveyStatus": {
      "get": {
        "tags": [
          "Vendor"
        ],
        "parameters": [
          {
            "name": "PanelistId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ProjectId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/API_GetSurveyStatus_Result"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/API_GetSurveyStatus_Result"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/API_GetSurveyStatus_Result"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/Vendor/GetProjectWiseIpAddress/{projectID}": {
      "get": {
        "tags": [
          "Vendor"
        ],
        "parameters": [
          {
            "name": "projectID",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/API_GetBlockedIpAddress_Result"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/API_GetBlockedIpAddress_Result"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/API_GetBlockedIpAddress_Result"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "API_GetBlockedIpAddress_Result": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "ipAddress": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "API_GetLiveProjectDetails_Result": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "projectGroupID": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "projectStatus": {
            "type": "string",
            "nullable": true
          },
          "surveyTopic": {
            "type": "string",
            "nullable": true
          },
          "costPerInterview": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "incidenceRateB2B": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "surveyLength": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "responseNeeded": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "marketId": {
            "type": "integer",
            "format": "int32"
          },
          "sampleID": {
            "type": "integer",
            "format": "int32"
          },
          "surveyLink": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "API_GetProjectDetails_Result": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "projectGroupID": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "projectStatus": {
            "type": "string",
            "nullable": true
          },
          "surveyTopic": {
            "type": "string",
            "nullable": true
          },
          "costPerInterview": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "incidenceRateB2B": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "surveyLength": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "responseNeeded": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "marketId": {
            "type": "integer",
            "format": "int32"
          },
          "sampleID": {
            "type": "integer",
            "format": "int32"
          },
          "surveyLink": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "API_GetProjectSampleQuota_Result": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "projectGroupID": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "sampleID": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "sampleStatus": {
            "type": "string",
            "nullable": true
          },
          "questionId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "answerChoiceId": {
            "type": "string",
            "nullable": true
          },
          "answerChoiceText": {
            "type": "string",
            "nullable": true
          },
          "quotaPercentage": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "API_GetProjectStatus_Result": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "statusName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "API_GetSampleStatus_Result": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "statusName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "API_GetSurveyStatus_Result": {
        "type": "object",
        "properties": {
          "panelistID": {
            "type": "string",
            "nullable": true
          },
          "panelistSurveyStatus": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "API_GetSurveyTopic_Result": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "surveyTopic": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "API_GetVendorQuestionAnswer_Result": {
        "type": "object",
        "properties": {
          "questionID": {
            "type": "integer",
            "format": "int32"
          },
          "questionText": {
            "type": "string",
            "nullable": true
          },
          "answerID": {
            "type": "integer",
            "format": "int32"
          },
          "answerChoiceText": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      }
    }
  }
}