GET api/servicelevel
Returns all Service Levels
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of ServiceLevelName | Description | Type | Additional information |
---|---|---|---|
ServiceLevelId |
Sedona internal autonumber for the Service Level record |
integer |
None. |
ServiceLevelCode |
Abbreviated Service Level Code |
string |
String length: inclusive between 0 and 25 |
Description |
Full description of Service Level |
string |
String length: inclusive between 0 and 50 |
Parts | boolean |
None. |
|
Labor | boolean |
None. |
|
Other | boolean |
None. |
|
Inactive | boolean |
None. |
|
LaborItemId | integer |
None. |
|
RegularRate | decimal number |
None. |
|
OvertimeRate | decimal number |
None. |
|
HolidayRate | decimal number |
None. |
|
BillingIncrements | integer |
None. |
|
BillingMinutes | integer |
None. |
|
TripChargeItemId | integer |
None. |
|
TripCharge | decimal number |
None. |
|
TripAsLabor | boolean |
None. |
|
OtherItemId | integer |
None. |
|
OtherItemCharge | decimal number |
None. |
|
ResidentialPriceModifier | decimal number |
None. |
|
CommercialPriceModifier | decimal number |
None. |
|
COGSId | integer |
None. |
|
PartItemId | integer |
None. |
|
UseServicePrice | string |
String length: inclusive between 0 and 1 |
|
LaborFrom | string |
String length: inclusive between 0 and 1 |
|
RMRLinkRequired | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ServiceLevelId": 1, "ServiceLevelCode": "sample string 2", "Description": "sample string 3", "Parts": true, "Labor": true, "Other": true, "Inactive": true, "LaborItemId": 8, "RegularRate": 9.0, "OvertimeRate": 10.0, "HolidayRate": 11.0, "BillingIncrements": 12, "BillingMinutes": 13, "TripChargeItemId": 14, "TripCharge": 15.0, "TripAsLabor": true, "OtherItemId": 17, "OtherItemCharge": 18.0, "ResidentialPriceModifier": 19.0, "CommercialPriceModifier": 20.0, "COGSId": 21, "PartItemId": 22, "UseServicePrice": "sample string 23", "LaborFrom": "sample string 24", "RMRLinkRequired": "sample string 25" }, { "ServiceLevelId": 1, "ServiceLevelCode": "sample string 2", "Description": "sample string 3", "Parts": true, "Labor": true, "Other": true, "Inactive": true, "LaborItemId": 8, "RegularRate": 9.0, "OvertimeRate": 10.0, "HolidayRate": 11.0, "BillingIncrements": 12, "BillingMinutes": 13, "TripChargeItemId": 14, "TripCharge": 15.0, "TripAsLabor": true, "OtherItemId": 17, "OtherItemCharge": 18.0, "ResidentialPriceModifier": 19.0, "CommercialPriceModifier": 20.0, "COGSId": 21, "PartItemId": 22, "UseServicePrice": "sample string 23", "LaborFrom": "sample string 24", "RMRLinkRequired": "sample string 25" } ]
application/xml, text/xml
Sample:
<ArrayOfServiceLevel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SedonaServices.Models"> <ServiceLevel> <BillingIncrements>12</BillingIncrements> <BillingMinutes>13</BillingMinutes> <COGSId>21</COGSId> <CommercialPriceModifier>20</CommercialPriceModifier> <Description>sample string 3</Description> <HolidayRate>11</HolidayRate> <Inactive>true</Inactive> <Labor>true</Labor> <LaborFrom>sample string 24</LaborFrom> <LaborItemId>8</LaborItemId> <Other>true</Other> <OtherItemCharge>18</OtherItemCharge> <OtherItemId>17</OtherItemId> <OvertimeRate>10</OvertimeRate> <PartItemId>22</PartItemId> <Parts>true</Parts> <RMRLinkRequired>sample string 25</RMRLinkRequired> <RegularRate>9</RegularRate> <ResidentialPriceModifier>19</ResidentialPriceModifier> <ServiceLevelCode>sample string 2</ServiceLevelCode> <ServiceLevelId>1</ServiceLevelId> <TripAsLabor>true</TripAsLabor> <TripCharge>15</TripCharge> <TripChargeItemId>14</TripChargeItemId> <UseServicePrice>sample string 23</UseServicePrice> </ServiceLevel> <ServiceLevel> <BillingIncrements>12</BillingIncrements> <BillingMinutes>13</BillingMinutes> <COGSId>21</COGSId> <CommercialPriceModifier>20</CommercialPriceModifier> <Description>sample string 3</Description> <HolidayRate>11</HolidayRate> <Inactive>true</Inactive> <Labor>true</Labor> <LaborFrom>sample string 24</LaborFrom> <LaborItemId>8</LaborItemId> <Other>true</Other> <OtherItemCharge>18</OtherItemCharge> <OtherItemId>17</OtherItemId> <OvertimeRate>10</OvertimeRate> <PartItemId>22</PartItemId> <Parts>true</Parts> <RMRLinkRequired>sample string 25</RMRLinkRequired> <RegularRate>9</RegularRate> <ResidentialPriceModifier>19</ResidentialPriceModifier> <ServiceLevelCode>sample string 2</ServiceLevelCode> <ServiceLevelId>1</ServiceLevelId> <TripAsLabor>true</TripAsLabor> <TripCharge>15</TripCharge> <TripChargeItemId>14</TripChargeItemId> <UseServicePrice>sample string 23</UseServicePrice> </ServiceLevel> </ArrayOfServiceLevel>