GET api/item
Returns all Items
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of ItemName | Description | Type | Additional information |
---|---|---|---|
ItemId |
Sedona internal autonumber for the Payment Item record |
integer |
None. |
ItemCode |
Abbreviated Item Code |
string |
String length: inclusive between 0 and 25 |
Description |
Full description of Payment Item |
string |
String length: inclusive between 0 and 50 |
Taxable | string |
None. |
|
DefaultRate | decimal number |
None. |
|
CategoryCode | integer |
None. |
|
NonDeferredIncome | boolean |
None. |
|
SalesItem | boolean |
None. |
|
DefaultCost | decimal number |
None. |
|
ServiceItem | boolean |
None. |
|
Inactive | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ItemId": 1, "ItemCode": "sample string 2", "Description": "sample string 3", "Taxable": "sample string 4", "DefaultRate": 5.0, "CategoryCode": 6, "NonDeferredIncome": true, "SalesItem": true, "DefaultCost": 9.0, "ServiceItem": true, "Inactive": true }, { "ItemId": 1, "ItemCode": "sample string 2", "Description": "sample string 3", "Taxable": "sample string 4", "DefaultRate": 5.0, "CategoryCode": 6, "NonDeferredIncome": true, "SalesItem": true, "DefaultCost": 9.0, "ServiceItem": true, "Inactive": true } ]
application/xml, text/xml
Sample:
<ArrayOfItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SedonaServices.Models"> <Item> <CategoryCode>6</CategoryCode> <DefaultCost>9</DefaultCost> <DefaultRate>5</DefaultRate> <Description>sample string 3</Description> <Inactive>true</Inactive> <ItemCode>sample string 2</ItemCode> <ItemId>1</ItemId> <NonDeferredIncome>true</NonDeferredIncome> <SalesItem>true</SalesItem> <ServiceItem>true</ServiceItem> <Taxable>sample string 4</Taxable> </Item> <Item> <CategoryCode>6</CategoryCode> <DefaultCost>9</DefaultCost> <DefaultRate>5</DefaultRate> <Description>sample string 3</Description> <Inactive>true</Inactive> <ItemCode>sample string 2</ItemCode> <ItemId>1</ItemId> <NonDeferredIncome>true</NonDeferredIncome> <SalesItem>true</SalesItem> <ServiceItem>true</ServiceItem> <Taxable>sample string 4</Taxable> </Item> </ArrayOfItem>