GET LoyaltyAccountBalances
Gets all the loyalty accounts balances, represented as LoyaltyAccountBalanceDto.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
A collection of loyalty account balances.
Collection of LoyaltyAccountBalanceDto| Name | Description | Type | Additional information |
|---|---|---|---|
| LoyaltyAccountId | globally unique identifier |
None. |
|
| LoyaltyAccountDescription | string |
None. |
|
| LoyaltyAccountBalance | decimal number |
None. |
|
| IsVehicle | boolean |
None. |
|
| SubscriberId | globally unique identifier |
None. |
|
| SubscriberCode | string |
None. |
|
| SubscriberName | string |
None. |
|
| CompanyId | globally unique identifier |
None. |
|
| CompanyCode | string |
None. |
|
| CompanyName | string |
None. |
|
| LoyaltyProgramId | globally unique identifier |
None. |
|
| LoyaltyProgramCode | string |
None. |
|
| LoyaltyProgramDescription | string |
None. |
|
| DriverId | globally unique identifier |
None. |
|
| DriverCode | string |
None. |
|
| DriverCompleteName | string |
None. |
|
| VehicleId | globally unique identifier |
None. |
|
| VehicleCode | string |
None. |
|
| VehiclePlate | string |
None. |
|
| LoyaltyUnitId | globally unique identifier |
None. |
|
| LoyaltyUnitCode | string |
None. |
|
| LoyaltyUnitName | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"LoyaltyAccountId": "feed02e4-fe53-4b58-afdd-20ec0639803d",
"LoyaltyAccountDescription": "sample string 2",
"LoyaltyAccountBalance": 3.0,
"IsVehicle": true,
"SubscriberId": "fdf92e87-3dc5-436b-b264-6b3759c05a34",
"SubscriberCode": "sample string 6",
"SubscriberName": "sample string 7",
"CompanyId": "e7bc5637-c85d-41ea-8a75-cac51766b7d8",
"CompanyCode": "sample string 9",
"CompanyName": "sample string 10",
"LoyaltyProgramId": "ae55a9a7-4331-4521-b7af-12c3e44d7aee",
"LoyaltyProgramCode": "sample string 12",
"LoyaltyProgramDescription": "sample string 13",
"DriverId": "40f9bc54-d3c3-4668-90f3-dd462695cb3c",
"DriverCode": "sample string 14",
"DriverCompleteName": "sample string 15",
"VehicleId": "c66df847-6dc6-4972-ad54-13adf6cf2ab3",
"VehicleCode": "sample string 16",
"VehiclePlate": "sample string 17",
"LoyaltyUnitId": "ea764e5d-e9b4-4c47-9e0d-6807075b40e1",
"LoyaltyUnitCode": "sample string 19",
"LoyaltyUnitName": "sample string 20"
},
{
"LoyaltyAccountId": "feed02e4-fe53-4b58-afdd-20ec0639803d",
"LoyaltyAccountDescription": "sample string 2",
"LoyaltyAccountBalance": 3.0,
"IsVehicle": true,
"SubscriberId": "fdf92e87-3dc5-436b-b264-6b3759c05a34",
"SubscriberCode": "sample string 6",
"SubscriberName": "sample string 7",
"CompanyId": "e7bc5637-c85d-41ea-8a75-cac51766b7d8",
"CompanyCode": "sample string 9",
"CompanyName": "sample string 10",
"LoyaltyProgramId": "ae55a9a7-4331-4521-b7af-12c3e44d7aee",
"LoyaltyProgramCode": "sample string 12",
"LoyaltyProgramDescription": "sample string 13",
"DriverId": "40f9bc54-d3c3-4668-90f3-dd462695cb3c",
"DriverCode": "sample string 14",
"DriverCompleteName": "sample string 15",
"VehicleId": "c66df847-6dc6-4972-ad54-13adf6cf2ab3",
"VehicleCode": "sample string 16",
"VehiclePlate": "sample string 17",
"LoyaltyUnitId": "ea764e5d-e9b4-4c47-9e0d-6807075b40e1",
"LoyaltyUnitCode": "sample string 19",
"LoyaltyUnitName": "sample string 20"
}
]
application/xml, text/xml
Sample:
<ArrayOfLoyaltyAccountBalanceDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model">
<LoyaltyAccountBalanceDto>
<CompanyCode>sample string 9</CompanyCode>
<CompanyId>e7bc5637-c85d-41ea-8a75-cac51766b7d8</CompanyId>
<CompanyName>sample string 10</CompanyName>
<DriverCode>sample string 14</DriverCode>
<DriverCompleteName>sample string 15</DriverCompleteName>
<DriverId>40f9bc54-d3c3-4668-90f3-dd462695cb3c</DriverId>
<IsVehicle>true</IsVehicle>
<LoyaltyAccountBalance>3</LoyaltyAccountBalance>
<LoyaltyAccountDescription>sample string 2</LoyaltyAccountDescription>
<LoyaltyAccountId>feed02e4-fe53-4b58-afdd-20ec0639803d</LoyaltyAccountId>
<LoyaltyProgramCode>sample string 12</LoyaltyProgramCode>
<LoyaltyProgramDescription>sample string 13</LoyaltyProgramDescription>
<LoyaltyProgramId>ae55a9a7-4331-4521-b7af-12c3e44d7aee</LoyaltyProgramId>
<LoyaltyUnitCode>sample string 19</LoyaltyUnitCode>
<LoyaltyUnitId>ea764e5d-e9b4-4c47-9e0d-6807075b40e1</LoyaltyUnitId>
<LoyaltyUnitName>sample string 20</LoyaltyUnitName>
<SubscriberCode>sample string 6</SubscriberCode>
<SubscriberId>fdf92e87-3dc5-436b-b264-6b3759c05a34</SubscriberId>
<SubscriberName>sample string 7</SubscriberName>
<VehicleCode>sample string 16</VehicleCode>
<VehicleId>c66df847-6dc6-4972-ad54-13adf6cf2ab3</VehicleId>
<VehiclePlate>sample string 17</VehiclePlate>
</LoyaltyAccountBalanceDto>
<LoyaltyAccountBalanceDto>
<CompanyCode>sample string 9</CompanyCode>
<CompanyId>e7bc5637-c85d-41ea-8a75-cac51766b7d8</CompanyId>
<CompanyName>sample string 10</CompanyName>
<DriverCode>sample string 14</DriverCode>
<DriverCompleteName>sample string 15</DriverCompleteName>
<DriverId>40f9bc54-d3c3-4668-90f3-dd462695cb3c</DriverId>
<IsVehicle>true</IsVehicle>
<LoyaltyAccountBalance>3</LoyaltyAccountBalance>
<LoyaltyAccountDescription>sample string 2</LoyaltyAccountDescription>
<LoyaltyAccountId>feed02e4-fe53-4b58-afdd-20ec0639803d</LoyaltyAccountId>
<LoyaltyProgramCode>sample string 12</LoyaltyProgramCode>
<LoyaltyProgramDescription>sample string 13</LoyaltyProgramDescription>
<LoyaltyProgramId>ae55a9a7-4331-4521-b7af-12c3e44d7aee</LoyaltyProgramId>
<LoyaltyUnitCode>sample string 19</LoyaltyUnitCode>
<LoyaltyUnitId>ea764e5d-e9b4-4c47-9e0d-6807075b40e1</LoyaltyUnitId>
<LoyaltyUnitName>sample string 20</LoyaltyUnitName>
<SubscriberCode>sample string 6</SubscriberCode>
<SubscriberId>fdf92e87-3dc5-436b-b264-6b3759c05a34</SubscriberId>
<SubscriberName>sample string 7</SubscriberName>
<VehicleCode>sample string 16</VehicleCode>
<VehicleId>c66df847-6dc6-4972-ad54-13adf6cf2ab3</VehicleId>
<VehiclePlate>sample string 17</VehiclePlate>
</LoyaltyAccountBalanceDto>
</ArrayOfLoyaltyAccountBalanceDto>