---
updatedAt: 2025-06-16T23:22:54.000Z
agentTools:
  projectIndex: https://developers.directscale.com/llms.txt
---

# /api/extension/services/PartyService/v1/GetParties

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Extension Services",
    "version": "extensionServices"
  },
  "servers": [
    {
      "url": "https://{clientId}.corpadmin.directscalestage.com",
      "variables": {
        "clientId": {
          "default": "clientId"
        }
      }
    }
  ],
  "paths": {
    "/api/extension/services/PartyService/v1/GetParties": {
      "post": {
        "tags": [
          "PartyService"
        ],
        "operationId": "PartyService_GetParties_v1",
        "parameters": [
          {
            "name": "X-DirectScale-User",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DiscoMVC.Controllers.Extension.GeneratedControllers.PartyServiceController.GetParties_v1_Request"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DirectScale.Disco.Extension.Party"
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "Extension_Token": []
          }
        ],
        "x-codegen-request-body-name": "request"
      }
    }
  },
  "components": {
    "schemas": {
      "DirectScale.Disco.Extension.Address": {
        "type": "object",
        "properties": {
          "Id": {
            "type": "integer",
            "format": "int32"
          },
          "AddressLine1": {
            "type": "string"
          },
          "AddressLine2": {
            "type": "string"
          },
          "AddressLine3": {
            "type": "string"
          },
          "City": {
            "type": "string"
          },
          "State": {
            "type": "string"
          },
          "PostalCode": {
            "type": "string"
          },
          "CountryCode": {
            "type": "string"
          }
        }
      },
      "DirectScale.Disco.Extension.Party": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "integer",
            "format": "int32"
          },
          "AssociateID": {
            "type": "integer",
            "format": "int32"
          },
          "Description": {
            "type": "string"
          },
          "HostID": {
            "type": "integer",
            "format": "int32"
          },
          "ParentPartyID": {
            "type": "integer",
            "format": "int32"
          },
          "HostEmail": {
            "type": "string"
          },
          "AwardedDate": {
            "type": "string",
            "format": "date-time"
          },
          "BeginDate": {
            "type": "string",
            "format": "date-time"
          },
          "EndDate": {
            "type": "string",
            "format": "date-time"
          },
          "ClosedDate": {
            "type": "string",
            "format": "date-time"
          },
          "PartyDate": {
            "type": "string",
            "format": "date-time"
          },
          "StartTime": {
            "type": "string"
          },
          "EndTime": {
            "type": "string"
          },
          "Address": {
            "$ref": "#/components/schemas/DirectScale.Disco.Extension.Address"
          },
          "Directions": {
            "type": "string"
          },
          "OrderDeliveryType": {
            "type": "integer",
            "format": "int32"
          },
          "Status": {
            "type": "string",
            "enum": [
              "Open",
              "Closed",
              "Awarded"
            ]
          },
          "CanCloseParty": {
            "type": "boolean"
          },
          "BookingsCount": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "DiscoMVC.Controllers.Extension.GeneratedControllers.PartyServiceController.GetParties_v1_Request": {
        "type": "object",
        "properties": {
          "AssociateId": {
            "type": "integer",
            "format": "int32"
          },
          "Status": {
            "type": "string",
            "enum": [
              "Open",
              "Closed",
              "Awarded"
            ]
          }
        }
      }
    },
    "securitySchemes": {
      "Extension_Token": {
        "type": "apiKey",
        "description": "Bearer Token For Extension",
        "name": "Authorization",
        "in": "header"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```