POST api/TillMenu/Areas
Returns a list of Charge Areas and the Charges underneath.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of EskimoClassLibraries.clsChargeAreaName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
Description | string |
None. |
|
Charges | Collection of EskimoClassLibraries.clsChargeNumber |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ID": 1, "Description": "sample string 2", "Charges": [ { "ScopeNumber": 1, "Name": "sample string 2" }, { "ScopeNumber": 1, "Name": "sample string 2" } ] }, { "ID": 1, "Description": "sample string 2", "Charges": [ { "ScopeNumber": 1, "Name": "sample string 2" }, { "ScopeNumber": 1, "Name": "sample string 2" } ] } ]
application/xml, text/xml
Sample:
<ArrayOfclsChargeArea xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EskimoClassLibraries"> <clsChargeArea> <Charges> <clsChargeNumber> <Name>sample string 2</Name> <ScopeNumber>1</ScopeNumber> </clsChargeNumber> <clsChargeNumber> <Name>sample string 2</Name> <ScopeNumber>1</ScopeNumber> </clsChargeNumber> </Charges> <Description>sample string 2</Description> <ID>1</ID> </clsChargeArea> <clsChargeArea> <Charges> <clsChargeNumber> <Name>sample string 2</Name> <ScopeNumber>1</ScopeNumber> </clsChargeNumber> <clsChargeNumber> <Name>sample string 2</Name> <ScopeNumber>1</ScopeNumber> </clsChargeNumber> </Charges> <Description>sample string 2</Description> <ID>1</ID> </clsChargeArea> </ArrayOfclsChargeArea>