Service Item

Service Item Object

Service Part Item is a type of Item.   Item is a primary record type in Order Time.  

End Point

/serviceitem

GET, POST, PUT, DELETE

GET and DELETE requests expect parameter id of type Int32.

Properties

PropertyCaptionData TypeRequired
NameNameString (50)True
ParentSub ofString (50)False
DescriptionDescriptionString (4000)False
NoteNoteString (4000)False
PurchaseDescPurchase DescriptionString (4000)False
IdIdInt32False
ClassRefClassEntityRefFalse
ExpenseAccountRefCOGS AccountEntityRefTrue
IncomeAccountRefIncome AccountEntityRefTrue
ItemGroupRefGroupEntityRefTrue
ProxyRefProxyEntityRefFalse
SalesTaxCodeRefTax CodeEntityRefFalse
UomRefUOMEntityRefTrue
UomSetRefUOM SetEntityRefTrue
PricePriceDecimalFalse
StdCostStd. CostDecimalFalse
IsActiveActiveBooleanTrue
CustomFieldsCustom FieldsArray of CustomFieldDataFalse

The account Refs and UomRefs are not required is the ItemGroupRef is included. 


Depending on whether you use multiple units of measure,  UomRef OR UomSetRef is required. 

Json Sample

{
    "Id": 1947,
    "Name": "LABOR",
    "IsActive": true,
    "ItemGroupRef": {
        "Id": 54,
        "Name": "Service Group"
    },   
    "Description": "Shop service",
    "PurchaseDesc": "Shop service",
    "Price": 60,
    "StdCost": 20
}