POST Report/Accounting
Request Information
URI Parameters
None.
Body Parameters
AccountingRequestName | Description | Type | Additional information |
---|---|---|---|
user | integer |
None. |
|
start | string |
None. |
|
end | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "user": 1, "start": "sample string 2", "end": "sample string 3" }
application/xml, text/xml
Sample:
<AccountingRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RestAPI.Models"> <end>sample string 3</end> <start>sample string 2</start> <user>1</user> </AccountingRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
PaymentAccountingDataName | Description | Type | Additional information |
---|---|---|---|
Restaurants | Collection of PaymentRestaurantData |
None. |
|
PackageCount | integer |
None. |
|
Cash | decimal number |
None. |
|
Card | decimal number |
None. |
|
Online | decimal number |
None. |
|
FoodCard | decimal number |
None. |
|
OnlineFoodCard | decimal number |
None. |
|
Other | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{ "Restaurants": [ { "ID": 1, "Name": "sample string 2", "PackageCount": 3, "Cash": 4.0, "Card": 5.0, "Online": 6.0, "FoodCard": 7.0, "OnlineFoodCard": 8.0, "Other": 9.0, "OwnCash": true, "OwnCard": true }, { "ID": 1, "Name": "sample string 2", "PackageCount": 3, "Cash": 4.0, "Card": 5.0, "Online": 6.0, "FoodCard": 7.0, "OnlineFoodCard": 8.0, "Other": 9.0, "OwnCash": true, "OwnCard": true } ], "PackageCount": 1, "Cash": 2.0, "Card": 3.0, "Online": 4.0, "FoodCard": 5.0, "OnlineFoodCard": 6.0, "Other": 7.0 }
application/xml, text/xml
Sample:
<PaymentAccountingData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RestAPI.Models"> <Card>3</Card> <Cash>2</Cash> <FoodCard>5</FoodCard> <Online>4</Online> <OnlineFoodCard>6</OnlineFoodCard> <Other>7</Other> <PackageCount>1</PackageCount> <Restaurants> <PaymentRestaurantData> <Card>5</Card> <Cash>4</Cash> <FoodCard>7</FoodCard> <ID>1</ID> <Name>sample string 2</Name> <Online>6</Online> <OnlineFoodCard>8</OnlineFoodCard> <Other>9</Other> <OwnCard>true</OwnCard> <OwnCash>true</OwnCash> <PackageCount>3</PackageCount> </PaymentRestaurantData> <PaymentRestaurantData> <Card>5</Card> <Cash>4</Cash> <FoodCard>7</FoodCard> <ID>1</ID> <Name>sample string 2</Name> <Online>6</Online> <OnlineFoodCard>8</OnlineFoodCard> <Other>9</Other> <OwnCard>true</OwnCard> <OwnCash>true</OwnCash> <PackageCount>3</PackageCount> </PaymentRestaurantData> </Restaurants> </PaymentAccountingData>