POST api/Business/DeleteBusiness

Request Information

URI Parameters

None.

Body Parameters

BusinessItem
NameDescriptionTypeAdditional information
ItemID

integer

None.

BusinessID

integer

None.

PersonID

integer

None.

ItemName

string

None.

ItemDesc

string

None.

ItemCost

decimal number

None.

ItemType

string

None.

PhotoID1

integer

None.

PhotoID2

integer

None.

PhotoID3

integer

None.

PhotoID4

integer

None.

VideoID1

integer

None.

VideoID2

integer

None.

DateCreated

date

None.

PhotoType

string

None.

LocalPath

string

None.

DateModified

date

None.

Request Formats

application/json, text/json

Sample:
{
  "ItemID": 1,
  "BusinessID": 2,
  "PersonID": 3,
  "ItemName": "sample string 4",
  "ItemDesc": "sample string 5",
  "ItemCost": 6.0,
  "ItemType": "sample string 7",
  "PhotoID1": 8,
  "PhotoID2": 9,
  "PhotoID3": 10,
  "PhotoID4": 11,
  "VideoID1": 12,
  "VideoID2": 13,
  "DateCreated": "2025-07-28T13:46:39.449317-07:00",
  "PhotoType": "sample string 14",
  "LocalPath": "sample string 15",
  "DateModified": "2025-07-28T13:46:39.449317-07:00"
}

application/xml, text/xml

Sample:
<BusinessItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Equestrian.Entities">
  <BusinessID>2</BusinessID>
  <DateCreated>2025-07-28T13:46:39.449317-07:00</DateCreated>
  <DateModified>2025-07-28T13:46:39.449317-07:00</DateModified>
  <ItemCost>6</ItemCost>
  <ItemDesc>sample string 5</ItemDesc>
  <ItemID>1</ItemID>
  <ItemName>sample string 4</ItemName>
  <ItemType>sample string 7</ItemType>
  <LocalPath>sample string 15</LocalPath>
  <PersonID>3</PersonID>
  <PhotoID1>8</PhotoID1>
  <PhotoID2>9</PhotoID2>
  <PhotoID3>10</PhotoID3>
  <PhotoID4>11</PhotoID4>
  <PhotoType>sample string 14</PhotoType>
  <VideoID1>12</VideoID1>
  <VideoID2>13</VideoID2>
</BusinessItem>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>