GET api/Bag/GetBagsByDeviceNumberToday?deviceNumber={deviceNumber}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| deviceNumber | string |
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": "312c6c1e-27e2-4475-8aeb-09aeea2f587e",
"DeviceId": "b065d6a1-e3bf-49c5-ae49-4e7e16cbaa6c",
"DeviceNumber": "sample string 3",
"BagNumber": "sample string 4",
"SealNumber": "sample string 5",
"Status": "sample string 6",
"TransactionDate": "2025-12-14T16:46:15.7949117+00:00",
"TransactionReference": "sample string 8",
"TotalPaid": 9.0,
"TotalReceived": 10.0,
"TotalEOD": 11.0,
"Contents": {
"Id": "a2c58490-da8e-4cb5-9e38-3ec9f86658fd",
"PaymentItemId": "5a3fd76e-d46d-4319-9f23-381b33a420cd",
"OrderChangeModelId": "aed2ab8c-382d-4aa8-bc66-e095a557a9ee",
"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": "312c6c1e-27e2-4475-8aeb-09aeea2f587e",
"DeviceId": "b065d6a1-e3bf-49c5-ae49-4e7e16cbaa6c",
"DeviceNumber": "sample string 3",
"BagNumber": "sample string 4",
"SealNumber": "sample string 5",
"Status": "sample string 6",
"TransactionDate": "2025-12-14T16:46:15.7949117+00:00",
"TransactionReference": "sample string 8",
"TotalPaid": 9.0,
"TotalReceived": 10.0,
"TotalEOD": 11.0,
"Contents": {
"Id": "a2c58490-da8e-4cb5-9e38-3ec9f86658fd",
"PaymentItemId": "5a3fd76e-d46d-4319-9f23-381b33a420cd",
"OrderChangeModelId": "aed2ab8c-382d-4aa8-bc66-e095a557a9ee",
"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>a2c58490-da8e-4cb5-9e38-3ec9f86658fd</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>aed2ab8c-382d-4aa8-bc66-e095a557a9ee</d3p1:OrderChangeModelId>
<d3p1:PaymentItemId>5a3fd76e-d46d-4319-9f23-381b33a420cd</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>b065d6a1-e3bf-49c5-ae49-4e7e16cbaa6c</DeviceId>
<DeviceNumber>sample string 3</DeviceNumber>
<Id>312c6c1e-27e2-4475-8aeb-09aeea2f587e</Id>
<SealNumber>sample string 5</SealNumber>
<Status>sample string 6</Status>
<TotalEOD>11</TotalEOD>
<TotalPaid>9</TotalPaid>
<TotalReceived>10</TotalReceived>
<TransactionDate>2025-12-14T16:46:15.7949117+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>a2c58490-da8e-4cb5-9e38-3ec9f86658fd</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>aed2ab8c-382d-4aa8-bc66-e095a557a9ee</d3p1:OrderChangeModelId>
<d3p1:PaymentItemId>5a3fd76e-d46d-4319-9f23-381b33a420cd</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>b065d6a1-e3bf-49c5-ae49-4e7e16cbaa6c</DeviceId>
<DeviceNumber>sample string 3</DeviceNumber>
<Id>312c6c1e-27e2-4475-8aeb-09aeea2f587e</Id>
<SealNumber>sample string 5</SealNumber>
<Status>sample string 6</Status>
<TotalEOD>11</TotalEOD>
<TotalPaid>9</TotalPaid>
<TotalReceived>10</TotalReceived>
<TransactionDate>2025-12-14T16:46:15.7949117+00:00</TransactionDate>
<TransactionReference>sample string 8</TransactionReference>
</Bag>
</ArrayOfBag>