POST api/UserDeal/GetDeals

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
model
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "userId": "sample string 1",
  "language": "sample string 2",
  "projectId": "sample string 3",
  "typeOfLikeId": 1,
  "exProjectId": 1,
  "itemId": 1
}

text/html

Sample:
{"userId":"sample string 1","language":"sample string 2","projectId":"sample string 3","typeOfLikeId":1,"exProjectId":1,"itemId":1}

application/xml, text/xml

Sample:
<UserIdBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FairCatalogue.WebApi.Models">
  <ExProjectId>1</ExProjectId>
  <ItemId>1</ItemId>
  <Language>sample string 2</Language>
  <ProjectId>sample string 3</ProjectId>
  <TypeOfLikeId>1</TypeOfLikeId>
  <UserId>sample string 1</UserId>
</UserIdBindingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
[
  {
    "dealId": 1,
    "title": "sample string 2",
    "description": "sample string 3",
    "price": 4.0,
    "regularPrice": 5.0,
    "availableDeals": 6,
    "exhibitorName": "sample string 7",
    "standNo": "sample string 8",
    "projectId": "sample string 9",
    "exhibitorId": 10,
    "exProjectId": 11,
    "dealCategoryName": "sample string 12",
    "validityDay": "2022-01-17T18:03:51.9566401+01:00",
    "validityDays": "sample string 14"
  },
  {
    "dealId": 1,
    "title": "sample string 2",
    "description": "sample string 3",
    "price": 4.0,
    "regularPrice": 5.0,
    "availableDeals": 6,
    "exhibitorName": "sample string 7",
    "standNo": "sample string 8",
    "projectId": "sample string 9",
    "exhibitorId": 10,
    "exProjectId": 11,
    "dealCategoryName": "sample string 12",
    "validityDay": "2022-01-17T18:03:51.9566401+01:00",
    "validityDays": "sample string 14"
  },
  {
    "dealId": 1,
    "title": "sample string 2",
    "description": "sample string 3",
    "price": 4.0,
    "regularPrice": 5.0,
    "availableDeals": 6,
    "exhibitorName": "sample string 7",
    "standNo": "sample string 8",
    "projectId": "sample string 9",
    "exhibitorId": 10,
    "exProjectId": 11,
    "dealCategoryName": "sample string 12",
    "validityDay": "2022-01-17T18:03:51.9566401+01:00",
    "validityDays": "sample string 14"
  }
]

text/html

Sample:
[{"dealId":1,"title":"sample string 2","description":"sample string 3","price":4.0,"regularPrice":5.0,"availableDeals":6,"exhibitorName":"sample string 7","standNo":"sample string 8","projectId":"sample string 9","exhibitorId":10,"exProjectId":11,"dealCategoryName":"sample string 12","validityDay":"2022-01-17T18:03:51.9566401+01:00","validityDays":"sample string 14"},{"dealId":1,"title":"sample string 2","description":"sample string 3","price":4.0,"regularPrice":5.0,"availableDeals":6,"exhibitorName":"sample string 7","standNo":"sample string 8","projectId":"sample string 9","exhibitorId":10,"exProjectId":11,"dealCategoryName":"sample string 12","validityDay":"2022-01-17T18:03:51.9566401+01:00","validityDays":"sample string 14"},{"dealId":1,"title":"sample string 2","description":"sample string 3","price":4.0,"regularPrice":5.0,"availableDeals":6,"exhibitorName":"sample string 7","standNo":"sample string 8","projectId":"sample string 9","exhibitorId":10,"exProjectId":11,"dealCategoryName":"sample string 12","validityDay":"2022-01-17T18:03:51.9566401+01:00","validityDays":"sample string 14"}]

application/xml, text/xml

Sample:
<ArrayOfDeal xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FairCatalogue.CrossCutting.Entities">
  <Deal>
    <AvailableDeals>6</AvailableDeals>
    <DealCategoryName>sample string 12</DealCategoryName>
    <DealId>1</DealId>
    <Description>sample string 3</Description>
    <ExProjectId>11</ExProjectId>
    <ExhibitorId>10</ExhibitorId>
    <ExhibitorName>sample string 7</ExhibitorName>
    <Price>4</Price>
    <ProjectId>sample string 9</ProjectId>
    <RegularPrice>5</RegularPrice>
    <StandNo>sample string 8</StandNo>
    <Title>sample string 2</Title>
    <ValidityDay>2022-01-17T18:03:51.9566401+01:00</ValidityDay>
    <ValidityDays>sample string 14</ValidityDays>
  </Deal>
  <Deal>
    <AvailableDeals>6</AvailableDeals>
    <DealCategoryName>sample string 12</DealCategoryName>
    <DealId>1</DealId>
    <Description>sample string 3</Description>
    <ExProjectId>11</ExProjectId>
    <ExhibitorId>10</ExhibitorId>
    <ExhibitorName>sample string 7</ExhibitorName>
    <Price>4</Price>
    <ProjectId>sample string 9</ProjectId>
    <RegularPrice>5</RegularPrice>
    <StandNo>sample string 8</StandNo>
    <Title>sample string 2</Title>
    <ValidityDay>2022-01-17T18:03:51.9566401+01:00</ValidityDay>
    <ValidityDays>sample string 14</ValidityDays>
  </Deal>
  <Deal>
    <AvailableDeals>6</AvailableDeals>
    <DealCategoryName>sample string 12</DealCategoryName>
    <DealId>1</DealId>
    <Description>sample string 3</Description>
    <ExProjectId>11</ExProjectId>
    <ExhibitorId>10</ExhibitorId>
    <ExhibitorName>sample string 7</ExhibitorName>
    <Price>4</Price>
    <ProjectId>sample string 9</ProjectId>
    <RegularPrice>5</RegularPrice>
    <StandNo>sample string 8</StandNo>
    <Title>sample string 2</Title>
    <ValidityDay>2022-01-17T18:03:51.9566401+01:00</ValidityDay>
    <ValidityDays>sample string 14</ValidityDays>
  </Deal>
</ArrayOfDeal>