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": "a6f90b2c-a18d-4d0e-9b5d-52cf22bf7282",
"LoyaltyAccountDescription": "sample string 2",
"LoyaltyAccountBalance": 3.0,
"IsVehicle": true,
"SubscriberId": "560f8ba2-4321-434a-9723-9fcdab939dae",
"SubscriberCode": "sample string 6",
"SubscriberName": "sample string 7",
"CompanyId": "954ae8f1-27b3-481a-bdfd-9313e64014b8",
"CompanyCode": "sample string 9",
"CompanyName": "sample string 10",
"LoyaltyProgramId": "4e16f719-20cf-444b-9f1e-593a4b222a05",
"LoyaltyProgramCode": "sample string 12",
"LoyaltyProgramDescription": "sample string 13",
"DriverId": "67c99184-bc2c-4da2-a2b1-e698569fbb8a",
"DriverCode": "sample string 14",
"DriverCompleteName": "sample string 15",
"VehicleId": "ebb00bc0-b6a3-42d2-8409-8562513fb05e",
"VehicleCode": "sample string 16",
"VehiclePlate": "sample string 17",
"LoyaltyUnitId": "c74e6f9d-4c6a-4d5f-8c2a-ae6b881e2b25",
"LoyaltyUnitCode": "sample string 19",
"LoyaltyUnitName": "sample string 20"
},
{
"LoyaltyAccountId": "a6f90b2c-a18d-4d0e-9b5d-52cf22bf7282",
"LoyaltyAccountDescription": "sample string 2",
"LoyaltyAccountBalance": 3.0,
"IsVehicle": true,
"SubscriberId": "560f8ba2-4321-434a-9723-9fcdab939dae",
"SubscriberCode": "sample string 6",
"SubscriberName": "sample string 7",
"CompanyId": "954ae8f1-27b3-481a-bdfd-9313e64014b8",
"CompanyCode": "sample string 9",
"CompanyName": "sample string 10",
"LoyaltyProgramId": "4e16f719-20cf-444b-9f1e-593a4b222a05",
"LoyaltyProgramCode": "sample string 12",
"LoyaltyProgramDescription": "sample string 13",
"DriverId": "67c99184-bc2c-4da2-a2b1-e698569fbb8a",
"DriverCode": "sample string 14",
"DriverCompleteName": "sample string 15",
"VehicleId": "ebb00bc0-b6a3-42d2-8409-8562513fb05e",
"VehicleCode": "sample string 16",
"VehiclePlate": "sample string 17",
"LoyaltyUnitId": "c74e6f9d-4c6a-4d5f-8c2a-ae6b881e2b25",
"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>954ae8f1-27b3-481a-bdfd-9313e64014b8</CompanyId>
<CompanyName>sample string 10</CompanyName>
<DriverCode>sample string 14</DriverCode>
<DriverCompleteName>sample string 15</DriverCompleteName>
<DriverId>67c99184-bc2c-4da2-a2b1-e698569fbb8a</DriverId>
<IsVehicle>true</IsVehicle>
<LoyaltyAccountBalance>3</LoyaltyAccountBalance>
<LoyaltyAccountDescription>sample string 2</LoyaltyAccountDescription>
<LoyaltyAccountId>a6f90b2c-a18d-4d0e-9b5d-52cf22bf7282</LoyaltyAccountId>
<LoyaltyProgramCode>sample string 12</LoyaltyProgramCode>
<LoyaltyProgramDescription>sample string 13</LoyaltyProgramDescription>
<LoyaltyProgramId>4e16f719-20cf-444b-9f1e-593a4b222a05</LoyaltyProgramId>
<LoyaltyUnitCode>sample string 19</LoyaltyUnitCode>
<LoyaltyUnitId>c74e6f9d-4c6a-4d5f-8c2a-ae6b881e2b25</LoyaltyUnitId>
<LoyaltyUnitName>sample string 20</LoyaltyUnitName>
<SubscriberCode>sample string 6</SubscriberCode>
<SubscriberId>560f8ba2-4321-434a-9723-9fcdab939dae</SubscriberId>
<SubscriberName>sample string 7</SubscriberName>
<VehicleCode>sample string 16</VehicleCode>
<VehicleId>ebb00bc0-b6a3-42d2-8409-8562513fb05e</VehicleId>
<VehiclePlate>sample string 17</VehiclePlate>
</LoyaltyAccountBalanceDto>
<LoyaltyAccountBalanceDto>
<CompanyCode>sample string 9</CompanyCode>
<CompanyId>954ae8f1-27b3-481a-bdfd-9313e64014b8</CompanyId>
<CompanyName>sample string 10</CompanyName>
<DriverCode>sample string 14</DriverCode>
<DriverCompleteName>sample string 15</DriverCompleteName>
<DriverId>67c99184-bc2c-4da2-a2b1-e698569fbb8a</DriverId>
<IsVehicle>true</IsVehicle>
<LoyaltyAccountBalance>3</LoyaltyAccountBalance>
<LoyaltyAccountDescription>sample string 2</LoyaltyAccountDescription>
<LoyaltyAccountId>a6f90b2c-a18d-4d0e-9b5d-52cf22bf7282</LoyaltyAccountId>
<LoyaltyProgramCode>sample string 12</LoyaltyProgramCode>
<LoyaltyProgramDescription>sample string 13</LoyaltyProgramDescription>
<LoyaltyProgramId>4e16f719-20cf-444b-9f1e-593a4b222a05</LoyaltyProgramId>
<LoyaltyUnitCode>sample string 19</LoyaltyUnitCode>
<LoyaltyUnitId>c74e6f9d-4c6a-4d5f-8c2a-ae6b881e2b25</LoyaltyUnitId>
<LoyaltyUnitName>sample string 20</LoyaltyUnitName>
<SubscriberCode>sample string 6</SubscriberCode>
<SubscriberId>560f8ba2-4321-434a-9723-9fcdab939dae</SubscriberId>
<SubscriberName>sample string 7</SubscriberName>
<VehicleCode>sample string 16</VehicleCode>
<VehicleId>ebb00bc0-b6a3-42d2-8409-8562513fb05e</VehicleId>
<VehiclePlate>sample string 17</VehiclePlate>
</LoyaltyAccountBalanceDto>
</ArrayOfLoyaltyAccountBalanceDto>