GET wp/event/{eventcode}/{portalId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
eventcode

string

Required

portalId

string

None.

Body Parameters

None.

Response Information

Resource Description

CMSWebProduct
NameDescriptionTypeAdditional information
Id

string

None.

EventId

string

None.

ProgramId

string

None.

DisplayName

string

None.

Location

string

None.

Countries

Collection of OptionSetValue

None.

EventCode

string

None.

EventType

OptionSetValue

None.

Description

string

None.

LongDescription

string

None.

RegistrationUrl

string

None.

Prices

Collection of Price

None.

AlreadyRegistered

boolean

None.

EventBeginDate

date

None.

EventEndDate

date

None.

EventDeadlineDate

date

None.

RemoveFromWeb

date

None.

Status

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "EventId": "sample string 2",
  "ProgramId": "sample string 3",
  "DisplayName": "sample string 4",
  "Location": "sample string 5",
  "Countries": [
    {
      "Id": "sample string 1",
      "Name": "sample string 2"
    },
    {
      "Id": "sample string 1",
      "Name": "sample string 2"
    }
  ],
  "EventCode": "sample string 6",
  "EventType": {
    "Id": "sample string 1",
    "Name": "sample string 2"
  },
  "Description": "sample string 7",
  "LongDescription": "sample string 8",
  "RegistrationUrl": "sample string 9",
  "Prices": [
    {
      "Amount": 1.0,
      "PriceList": "sample string 2"
    },
    {
      "Amount": 1.0,
      "PriceList": "sample string 2"
    }
  ],
  "AlreadyRegistered": true,
  "EventBeginDate": "2024-11-21T08:36:38.1718368+00:00",
  "EventEndDate": "2024-11-21T08:36:38.1718368+00:00",
  "EventDeadlineDate": "2024-11-21T08:36:38.1718368+00:00",
  "RemoveFromWeb": "2024-11-21T08:36:38.1718368+00:00",
  "Status": "sample string 11"
}

application/xml, text/xml

Sample:
<CMSWebProduct xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoodExport.Web.Services.Models">
  <AlreadyRegistered>true</AlreadyRegistered>
  <Countries>
    <OptionSetValue>
      <Id>sample string 1</Id>
      <Name>sample string 2</Name>
    </OptionSetValue>
    <OptionSetValue>
      <Id>sample string 1</Id>
      <Name>sample string 2</Name>
    </OptionSetValue>
  </Countries>
  <Description>sample string 7</Description>
  <DisplayName>sample string 4</DisplayName>
  <EventBeginDate>2024-11-21T08:36:38.1718368+00:00</EventBeginDate>
  <EventCode>sample string 6</EventCode>
  <EventDeadlineDate>2024-11-21T08:36:38.1718368+00:00</EventDeadlineDate>
  <EventEndDate>2024-11-21T08:36:38.1718368+00:00</EventEndDate>
  <EventId>sample string 2</EventId>
  <EventType>
    <Id>sample string 1</Id>
    <Name>sample string 2</Name>
  </EventType>
  <Id>sample string 1</Id>
  <Location>sample string 5</Location>
  <LongDescription>sample string 8</LongDescription>
  <Prices>
    <Price>
      <Amount>1</Amount>
      <PriceList>sample string 2</PriceList>
    </Price>
    <Price>
      <Amount>1</Amount>
      <PriceList>sample string 2</PriceList>
    </Price>
  </Prices>
  <ProgramId>sample string 3</ProgramId>
  <RegistrationUrl>sample string 9</RegistrationUrl>
  <RemoveFromWeb>2024-11-21T08:36:38.1718368+00:00</RemoveFromWeb>
  <Status>sample string 11</Status>
</CMSWebProduct>