GET wp/program/{programcode}/{portalId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
programcode | string |
Required |
|
portalId | string |
None. |
Body Parameters
None.
Response Information
Resource Description
CMSProgramName | Description | Type | Additional information |
---|---|---|---|
Id | string |
None. |
|
ProgramId | string |
None. |
|
DisplayName | string |
None. |
|
EventCode | string |
None. |
|
EventType | OptionSetValue |
None. |
|
Description | string |
None. |
|
LongDescription | string |
None. |
|
RegistrationUrl | string |
None. |
|
Prices | Collection of Price |
None. |
|
AlreadyRegistered | boolean |
None. |
|
Status | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": "sample string 1", "ProgramId": "sample string 2", "DisplayName": "sample string 3", "EventCode": "sample string 4", "EventType": { "Id": "sample string 1", "Name": "sample string 2" }, "Description": "sample string 5", "LongDescription": "sample string 6", "RegistrationUrl": "sample string 7", "Prices": [ { "Amount": 1.0, "PriceList": "sample string 2" }, { "Amount": 1.0, "PriceList": "sample string 2" } ], "AlreadyRegistered": true, "Status": "sample string 9" }
application/xml, text/xml
Sample:
<CMSProgram xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoodExport.Web.Services.Models"> <AlreadyRegistered>true</AlreadyRegistered> <Description>sample string 5</Description> <DisplayName>sample string 3</DisplayName> <EventCode>sample string 4</EventCode> <EventType> <Id>sample string 1</Id> <Name>sample string 2</Name> </EventType> <Id>sample string 1</Id> <LongDescription>sample string 6</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 2</ProgramId> <RegistrationUrl>sample string 7</RegistrationUrl> <Status>sample string 9</Status> </CMSProgram>