GET api/bag/GetBagsByDeviceIdToday?id={id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Bag| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| DeviceId | globally unique identifier |
None. |
|
| DeviceNumber | string |
None. |
|
| BagNumber | string |
None. |
|
| SealNumber | string |
None. |
|
| Status | string |
None. |
|
| TransactionDate | date |
None. |
|
| TransactionReference | string |
None. |
|
| TotalPaid | decimal number |
None. |
|
| TotalReceived | decimal number |
None. |
|
| TotalEOD | decimal number |
None. |
|
| Contents | MoneyCounter |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": "cdfee4fe-a326-4540-91dd-83bdce6f0e5b",
"DeviceId": "ed39bf45-1e9c-4d5a-b3db-6469ecbbf25f",
"DeviceNumber": "sample string 3",
"BagNumber": "sample string 4",
"SealNumber": "sample string 5",
"Status": "sample string 6",
"TransactionDate": "2026-07-20T00:36:22.044438+00:00",
"TransactionReference": "sample string 8",
"TotalPaid": 9.0,
"TotalReceived": 10.0,
"TotalEOD": 11.0,
"Contents": {
"Id": "4d92d843-43f5-4ca0-952f-0591ef583ae2",
"PaymentItemId": "e03d7d95-70a7-476c-8afe-c59043e70390",
"OrderChangeModelId": "8ea5efcd-f35c-4c89-b711-b0686a85ba49",
"MachineOneRand": 2,
"MachineTwoRand": 3,
"MachineFiveRand": 4,
"MachineTenRand": 5,
"MachineTwentyRand": 6,
"MachineFiftyRand": 7,
"MachineOneHundredRand": 8,
"MachineTwoHundredRand": 9,
"OneCents": 10,
"TwoCents": 11,
"FiveCents": 12,
"TenCents": 13,
"TwentyCents": 14,
"FiftyCents": 15,
"OneRand": 16,
"TwoRand": 17,
"FiveRand": 18,
"TenRand": 19,
"TwentyRand": 20,
"FiftyRand": 21,
"OneHundredRand": 22,
"TwoHundredRand": 23
}
},
{
"Id": "cdfee4fe-a326-4540-91dd-83bdce6f0e5b",
"DeviceId": "ed39bf45-1e9c-4d5a-b3db-6469ecbbf25f",
"DeviceNumber": "sample string 3",
"BagNumber": "sample string 4",
"SealNumber": "sample string 5",
"Status": "sample string 6",
"TransactionDate": "2026-07-20T00:36:22.044438+00:00",
"TransactionReference": "sample string 8",
"TotalPaid": 9.0,
"TotalReceived": 10.0,
"TotalEOD": 11.0,
"Contents": {
"Id": "4d92d843-43f5-4ca0-952f-0591ef583ae2",
"PaymentItemId": "e03d7d95-70a7-476c-8afe-c59043e70390",
"OrderChangeModelId": "8ea5efcd-f35c-4c89-b711-b0686a85ba49",
"MachineOneRand": 2,
"MachineTwoRand": 3,
"MachineFiveRand": 4,
"MachineTenRand": 5,
"MachineTwentyRand": 6,
"MachineFiftyRand": 7,
"MachineOneHundredRand": 8,
"MachineTwoHundredRand": 9,
"OneCents": 10,
"TwoCents": 11,
"FiveCents": 12,
"TenCents": 13,
"TwentyCents": 14,
"FiftyCents": 15,
"OneRand": 16,
"TwoRand": 17,
"FiveRand": 18,
"TenRand": 19,
"TwentyRand": 20,
"FiftyRand": 21,
"OneHundredRand": 22,
"TwoHundredRand": 23
}
}
]
application/xml, text/xml
Sample:
<ArrayOfBag xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CashAutomation.Entities.ApiModels">
<Bag>
<BagNumber>sample string 4</BagNumber>
<Contents xmlns:d3p1="http://schemas.datacontract.org/2004/07/CashAutomation.Entities">
<d3p1:FiftyCents>15</d3p1:FiftyCents>
<d3p1:FiftyRand>21</d3p1:FiftyRand>
<d3p1:FiveCents>12</d3p1:FiveCents>
<d3p1:FiveRand>18</d3p1:FiveRand>
<d3p1:Id>4d92d843-43f5-4ca0-952f-0591ef583ae2</d3p1:Id>
<d3p1:MachineFiftyRand>7</d3p1:MachineFiftyRand>
<d3p1:MachineFiveRand>4</d3p1:MachineFiveRand>
<d3p1:MachineOneHundredRand>8</d3p1:MachineOneHundredRand>
<d3p1:MachineOneRand>2</d3p1:MachineOneRand>
<d3p1:MachineTenRand>5</d3p1:MachineTenRand>
<d3p1:MachineTwentyRand>6</d3p1:MachineTwentyRand>
<d3p1:MachineTwoHundredRand>9</d3p1:MachineTwoHundredRand>
<d3p1:MachineTwoRand>3</d3p1:MachineTwoRand>
<d3p1:OneCents>10</d3p1:OneCents>
<d3p1:OneHundredRand>22</d3p1:OneHundredRand>
<d3p1:OneRand>16</d3p1:OneRand>
<d3p1:OrderChangeModelId>8ea5efcd-f35c-4c89-b711-b0686a85ba49</d3p1:OrderChangeModelId>
<d3p1:PaymentItemId>e03d7d95-70a7-476c-8afe-c59043e70390</d3p1:PaymentItemId>
<d3p1:TenCents>13</d3p1:TenCents>
<d3p1:TenRand>19</d3p1:TenRand>
<d3p1:TwentyCents>14</d3p1:TwentyCents>
<d3p1:TwentyRand>20</d3p1:TwentyRand>
<d3p1:TwoCents>11</d3p1:TwoCents>
<d3p1:TwoHundredRand>23</d3p1:TwoHundredRand>
<d3p1:TwoRand>17</d3p1:TwoRand>
</Contents>
<DeviceId>ed39bf45-1e9c-4d5a-b3db-6469ecbbf25f</DeviceId>
<DeviceNumber>sample string 3</DeviceNumber>
<Id>cdfee4fe-a326-4540-91dd-83bdce6f0e5b</Id>
<SealNumber>sample string 5</SealNumber>
<Status>sample string 6</Status>
<TotalEOD>11</TotalEOD>
<TotalPaid>9</TotalPaid>
<TotalReceived>10</TotalReceived>
<TransactionDate>2026-07-20T00:36:22.044438+00:00</TransactionDate>
<TransactionReference>sample string 8</TransactionReference>
</Bag>
<Bag>
<BagNumber>sample string 4</BagNumber>
<Contents xmlns:d3p1="http://schemas.datacontract.org/2004/07/CashAutomation.Entities">
<d3p1:FiftyCents>15</d3p1:FiftyCents>
<d3p1:FiftyRand>21</d3p1:FiftyRand>
<d3p1:FiveCents>12</d3p1:FiveCents>
<d3p1:FiveRand>18</d3p1:FiveRand>
<d3p1:Id>4d92d843-43f5-4ca0-952f-0591ef583ae2</d3p1:Id>
<d3p1:MachineFiftyRand>7</d3p1:MachineFiftyRand>
<d3p1:MachineFiveRand>4</d3p1:MachineFiveRand>
<d3p1:MachineOneHundredRand>8</d3p1:MachineOneHundredRand>
<d3p1:MachineOneRand>2</d3p1:MachineOneRand>
<d3p1:MachineTenRand>5</d3p1:MachineTenRand>
<d3p1:MachineTwentyRand>6</d3p1:MachineTwentyRand>
<d3p1:MachineTwoHundredRand>9</d3p1:MachineTwoHundredRand>
<d3p1:MachineTwoRand>3</d3p1:MachineTwoRand>
<d3p1:OneCents>10</d3p1:OneCents>
<d3p1:OneHundredRand>22</d3p1:OneHundredRand>
<d3p1:OneRand>16</d3p1:OneRand>
<d3p1:OrderChangeModelId>8ea5efcd-f35c-4c89-b711-b0686a85ba49</d3p1:OrderChangeModelId>
<d3p1:PaymentItemId>e03d7d95-70a7-476c-8afe-c59043e70390</d3p1:PaymentItemId>
<d3p1:TenCents>13</d3p1:TenCents>
<d3p1:TenRand>19</d3p1:TenRand>
<d3p1:TwentyCents>14</d3p1:TwentyCents>
<d3p1:TwentyRand>20</d3p1:TwentyRand>
<d3p1:TwoCents>11</d3p1:TwoCents>
<d3p1:TwoHundredRand>23</d3p1:TwoHundredRand>
<d3p1:TwoRand>17</d3p1:TwoRand>
</Contents>
<DeviceId>ed39bf45-1e9c-4d5a-b3db-6469ecbbf25f</DeviceId>
<DeviceNumber>sample string 3</DeviceNumber>
<Id>cdfee4fe-a326-4540-91dd-83bdce6f0e5b</Id>
<SealNumber>sample string 5</SealNumber>
<Status>sample string 6</Status>
<TotalEOD>11</TotalEOD>
<TotalPaid>9</TotalPaid>
<TotalReceived>10</TotalReceived>
<TransactionDate>2026-07-20T00:36:22.044438+00:00</TransactionDate>
<TransactionReference>sample string 8</TransactionReference>
</Bag>
</ArrayOfBag>