GET api/prescheduledclasses
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of PrescheduledClass| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Alias | string |
None. |
|
| Description | string |
None. |
|
| GroupId | integer |
None. |
|
| Discontinued | boolean |
None. |
|
| StandAlone | boolean |
None. |
|
| JoinPackages | boolean |
None. |
|
| DefaultMaxPositions | integer |
None. |
|
| DefaultDuration | integer |
None. |
|
| ChargeMethod | ProductChargeMethod |
None. |
|
| PrimaryVAT | decimal number |
None. |
|
| SecondaryVAT | decimal number |
None. |
|
| PrimaryVAT2 | decimal number |
None. |
|
| PrimaryVATPercent | decimal number |
None. |
|
| PrimaryVAT2Percent | decimal number |
None. |
|
| ExtReference | string |
None. |
|
| Commission | integer |
None. |
|
| DefaultPLId | integer |
None. |
|
| DefaultPrice | decimal number |
None. |
|
| ProdType | ProductTypes |
None. |
|
| RevenueCenterId1 | integer |
None. |
|
| RevenueCenterId2 | integer |
None. |
|
| RevenueCenterId3 | integer |
None. |
|
| RGId1 | integer |
None. |
|
| RGId2 | integer |
None. |
|
| RGId3 | integer |
None. |
|
| SaleFromWeb | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Alias": "sample string 2",
"Description": "sample string 3",
"GroupId": 4,
"Discontinued": true,
"StandAlone": true,
"JoinPackages": true,
"DefaultMaxPositions": 8,
"DefaultDuration": 9,
"ChargeMethod": 0,
"PrimaryVAT": 10.1,
"SecondaryVAT": 11.1,
"PrimaryVAT2": 12.1,
"PrimaryVATPercent": 13.1,
"PrimaryVAT2Percent": 14.1,
"ExtReference": "sample string 15",
"Commission": 16,
"DefaultPLId": 17,
"DefaultPrice": 18.1,
"ProdType": 0,
"RevenueCenterId1": 19,
"RevenueCenterId2": 20,
"RevenueCenterId3": 21,
"RGId1": 22,
"RGId2": 23,
"RGId3": 24,
"SaleFromWeb": true
},
{
"Id": 1,
"Alias": "sample string 2",
"Description": "sample string 3",
"GroupId": 4,
"Discontinued": true,
"StandAlone": true,
"JoinPackages": true,
"DefaultMaxPositions": 8,
"DefaultDuration": 9,
"ChargeMethod": 0,
"PrimaryVAT": 10.1,
"SecondaryVAT": 11.1,
"PrimaryVAT2": 12.1,
"PrimaryVATPercent": 13.1,
"PrimaryVAT2Percent": 14.1,
"ExtReference": "sample string 15",
"Commission": 16,
"DefaultPLId": 17,
"DefaultPrice": 18.1,
"ProdType": 0,
"RevenueCenterId1": 19,
"RevenueCenterId2": 20,
"RevenueCenterId3": 21,
"RGId1": 22,
"RGId2": 23,
"RGId3": 24,
"SaleFromWeb": true
}
]
application/xml, text/xml
Sample:
<ArrayOfPrescheduledClass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Atlantis.Library.SharedModels.WebModels">
<PrescheduledClass>
<Alias>sample string 2</Alias>
<ChargeMethod>PCM_NOTSPECIFIED</ChargeMethod>
<Commission>16</Commission>
<DefaultDuration>9</DefaultDuration>
<DefaultMaxPositions>8</DefaultMaxPositions>
<DefaultPLId>17</DefaultPLId>
<DefaultPrice>18.1</DefaultPrice>
<Description>sample string 3</Description>
<Discontinued>true</Discontinued>
<ExtReference>sample string 15</ExtReference>
<GroupId>4</GroupId>
<Id>1</Id>
<JoinPackages>true</JoinPackages>
<PrimaryVAT>10.1</PrimaryVAT>
<PrimaryVAT2>12.1</PrimaryVAT2>
<PrimaryVAT2Percent>14.1</PrimaryVAT2Percent>
<PrimaryVATPercent>13.1</PrimaryVATPercent>
<ProdType>PT_THERAPY</ProdType>
<RGId1>22</RGId1>
<RGId2>23</RGId2>
<RGId3>24</RGId3>
<RevenueCenterId1>19</RevenueCenterId1>
<RevenueCenterId2>20</RevenueCenterId2>
<RevenueCenterId3>21</RevenueCenterId3>
<SaleFromWeb>true</SaleFromWeb>
<SecondaryVAT>11.1</SecondaryVAT>
<StandAlone>true</StandAlone>
</PrescheduledClass>
<PrescheduledClass>
<Alias>sample string 2</Alias>
<ChargeMethod>PCM_NOTSPECIFIED</ChargeMethod>
<Commission>16</Commission>
<DefaultDuration>9</DefaultDuration>
<DefaultMaxPositions>8</DefaultMaxPositions>
<DefaultPLId>17</DefaultPLId>
<DefaultPrice>18.1</DefaultPrice>
<Description>sample string 3</Description>
<Discontinued>true</Discontinued>
<ExtReference>sample string 15</ExtReference>
<GroupId>4</GroupId>
<Id>1</Id>
<JoinPackages>true</JoinPackages>
<PrimaryVAT>10.1</PrimaryVAT>
<PrimaryVAT2>12.1</PrimaryVAT2>
<PrimaryVAT2Percent>14.1</PrimaryVAT2Percent>
<PrimaryVATPercent>13.1</PrimaryVATPercent>
<ProdType>PT_THERAPY</ProdType>
<RGId1>22</RGId1>
<RGId2>23</RGId2>
<RGId3>24</RGId3>
<RevenueCenterId1>19</RevenueCenterId1>
<RevenueCenterId2>20</RevenueCenterId2>
<RevenueCenterId3>21</RevenueCenterId3>
<SaleFromWeb>true</SaleFromWeb>
<SecondaryVAT>11.1</SecondaryVAT>
<StandAlone>true</StandAlone>
</PrescheduledClass>
</ArrayOfPrescheduledClass>