GET api/Class/{id}
Looks up a specific class
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The ID of the class |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Tools_RequestClasses| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| SiteID | integer |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| Price | decimal number |
None. |
|
| Points | integer |
None. |
|
| PointValue | integer |
None. |
|
| CategoryID | integer |
None. |
|
| SortOrder | integer |
None. |
|
| Active | boolean |
None. |
|
| School | boolean |
None. |
|
| Studio | boolean |
None. |
|
| Internal | boolean |
None. |
|
| FocusRequired | boolean |
None. |
|
| Retired | boolean |
None. |
|
| ApprovalRequired | boolean |
None. |
|
| AllowMultipleDayRates | boolean |
None. |
|
| Unpaid | boolean |
None. |
|
| AbbvName | string |
None. |
|
| ShortDescription | string |
None. |
|
| LongDescription | string |
None. |
|
| Tools | string |
None. |
|
| Agenda | string |
None. |
|
| MoreInfo | string |
None. |
|
| Field | boolean |
None. |
|
| Custom | boolean |
None. |
|
| TailorMade | boolean |
None. |
|
| GuestAttendeesAllowed | boolean |
None. |
|
| FTEActivity | boolean |
None. |
|
| Planning | boolean |
None. |
|
| GrantCertificate | integer |
None. |
|
| GrantCreditInSalon | integer |
None. |
|
| GrantAchievement | integer |
None. |
|
| AchievementID | integer |
None. |
|
| ClassImgArrayID | integer |
None. |
|
| TailorMadeBasePrice | decimal number |
None. |
|
| TailorMadeBasePricePoints | decimal number |
None. |
|
| TicketBasePrice | decimal number |
None. |
|
| TicketBasePricePoints | integer |
None. |
|
| DefaultClassSize | integer |
None. |
|
| ClassCountryCd | integer |
None. |
|
| FeaturedOnPageID | integer |
None. |
|
| ClassFamilyID | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"ID": 1,
"SiteID": 2,
"Name": "sample string 3",
"Description": "sample string 4",
"Price": 5.0,
"Points": 6,
"PointValue": 7,
"CategoryID": 8,
"SortOrder": 9,
"Active": true,
"School": true,
"Studio": true,
"Internal": true,
"FocusRequired": true,
"Retired": true,
"ApprovalRequired": true,
"AllowMultipleDayRates": true,
"Unpaid": true,
"AbbvName": "sample string 19",
"ShortDescription": "sample string 20",
"LongDescription": "sample string 21",
"Tools": "sample string 22",
"Agenda": "sample string 23",
"MoreInfo": "sample string 24",
"Field": true,
"Custom": true,
"TailorMade": true,
"GuestAttendeesAllowed": true,
"FTEActivity": true,
"Planning": true,
"GrantCertificate": 31,
"GrantCreditInSalon": 32,
"GrantAchievement": 33,
"AchievementID": 34,
"ClassImgArrayID": 35,
"TailorMadeBasePrice": 36.0,
"TailorMadeBasePricePoints": 37.0,
"TicketBasePrice": 38.0,
"TicketBasePricePoints": 39,
"DefaultClassSize": 40,
"ClassCountryCd": 41,
"FeaturedOnPageID": 42,
"ClassFamilyID": 43
}
application/xml, text/xml
Sample:
<Tools_RequestClasses xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ElabDataAccess"> <AbbvName>sample string 19</AbbvName> <AchievementID>34</AchievementID> <Active>true</Active> <Agenda>sample string 23</Agenda> <AllowMultipleDayRates>true</AllowMultipleDayRates> <ApprovalRequired>true</ApprovalRequired> <CategoryID>8</CategoryID> <ClassCountryCd>41</ClassCountryCd> <ClassFamilyID>43</ClassFamilyID> <ClassImgArrayID>35</ClassImgArrayID> <Custom>true</Custom> <DefaultClassSize>40</DefaultClassSize> <Description>sample string 4</Description> <FTEActivity>true</FTEActivity> <FeaturedOnPageID>42</FeaturedOnPageID> <Field>true</Field> <FocusRequired>true</FocusRequired> <GrantAchievement>33</GrantAchievement> <GrantCertificate>31</GrantCertificate> <GrantCreditInSalon>32</GrantCreditInSalon> <GuestAttendeesAllowed>true</GuestAttendeesAllowed> <ID>1</ID> <Internal>true</Internal> <LongDescription>sample string 21</LongDescription> <MoreInfo>sample string 24</MoreInfo> <Name>sample string 3</Name> <Planning>true</Planning> <PointValue>7</PointValue> <Points>6</Points> <Price>5</Price> <Retired>true</Retired> <School>true</School> <ShortDescription>sample string 20</ShortDescription> <SiteID>2</SiteID> <SortOrder>9</SortOrder> <Studio>true</Studio> <TailorMade>true</TailorMade> <TailorMadeBasePrice>36</TailorMadeBasePrice> <TailorMadeBasePricePoints>37</TailorMadeBasePricePoints> <TicketBasePrice>38</TicketBasePrice> <TicketBasePricePoints>39</TicketBasePricePoints> <Tools>sample string 22</Tools> <Unpaid>true</Unpaid> </Tools_RequestClasses>