GET loyaltyClients?id={id}
Gets a Loyalty Account by it's ID, represented as LoyaltyAccountDto.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
The ID of the LoyaltyAccount. |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
The LoyaltyAccountDto data.
LoyaltyAccountDtoName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
IdCommunity | globally unique identifier |
None. |
|
IdCompany | globally unique identifier |
None. |
|
IdIdentity | globally unique identifier |
None. |
|
IdentityNumber | string |
None. |
|
IdentitiyNumberType | byte |
None. |
|
IdentityName | string |
None. |
|
IdNetwork | globally unique identifier |
None. |
|
CommunityTarget | integer |
None. |
|
IdDriver | globally unique identifier |
None. |
|
DriverLicenseNumber | string |
None. |
|
DriverCode | string |
None. |
|
DriverEmail | string |
None. |
|
DriverFirstName | string |
None. |
|
DriverLastName | string |
None. |
|
IdVehicle | globally unique identifier |
None. |
|
IdFleet | globally unique identifier |
None. |
|
VehiclePlate | string |
None. |
|
VehicleCode | string |
None. |
|
Identities | Collection of IdentityDto |
None. |
|
LoyaltyClientCards | Collection of LoyaltyAccountIdentificationDto |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": "cf8c734c-0dc5-42b2-a5fa-85060089b969", "IdCommunity": "e655b496-f1bd-4f04-b802-2680e72eb3fe", "IdCompany": "06ee43fb-d5e0-476a-b78d-14eaecc8268a", "IdIdentity": "315e1ead-1c77-4df0-b52a-6fcc84b92f16", "IdentityNumber": "sample string 5", "IdentitiyNumberType": 64, "IdentityName": "sample string 7", "IdNetwork": "b51f3250-b478-450b-acd3-132ec6b88afb", "CommunityTarget": 9, "IdDriver": "ac15cd4e-3e6f-4cad-be9d-7bada7c08b64", "DriverLicenseNumber": "sample string 10", "DriverCode": "sample string 11", "DriverEmail": "sample string 12", "DriverFirstName": "sample string 13", "DriverLastName": "sample string 14", "IdVehicle": "22a5b6fa-2caa-4b6e-91f2-5ef47d9f1133", "IdFleet": "48d7453d-63ae-47d3-8f65-63137c0a9f49", "VehiclePlate": "sample string 15", "VehicleCode": "sample string 16", "Identities": [ { "Id": "b26080bc-2f12-4a3e-afa5-829a4e4a279b", "IdNetwork": "f1e23c33-efe7-4d3d-97cc-593fbcf14f6d", "IdentityNumber": "sample string 3", "IdentityNumberType": 64, "Name": "sample string 4", "Alias": "sample string 5", "BirthDate": "2025-06-12T08:48:37.4794642Z", "StreetAddress": "sample string 6", "ZipCode": "sample string 7", "PhoneNumber": "sample string 8", "ProfilePicture": "sample string 9", "ReportedIdentityNumber": "sample string 10", "ReportedCountry": "sample string 11", "ReportedFirstName": "sample string 12", "ReportedLastName": "sample string 13", "ReportedSex": "sample string 14", "ReportedBirthDate": "sample string 15", "ReportedIssueDate": "sample string 16", "ReportedProcedureNumber": "sample string 17", "ReportedCopy": "sample string 18", "UserConsent": true, "CreatedRealDate": "2025-06-12T08:48:37.4794642Z", "CreatedNetworkDate": "2025-06-12T08:48:37.4794642Z", "NetworkTimezoneCode": "sample string 22", "UpdateRealDate": "2025-06-12T08:48:37.4794642Z", "UpdateNetworkDate": "2025-06-12T08:48:37.4794642Z", "LoyaltyIdentifications": [ { "Id": "2d876a47-1605-4d78-9b9b-d6d29ffa0e92", "IdCommunity": "fce216af-1b04-4b3b-b6f2-f4de5a517f02", "IdCompany": "d6d2739b-3eb2-463c-8b2d-24b481ae7681", "IdFleet": "9c459508-1f96-47a2-a969-fd5983f1f131", "CommunityName": "sample string 4", "CommunityTarget": 1, "Label": "sample string 5", "TrackNumber": "sample string 6", "Type": 7, "IdIdentificationModel": "233f8330-0a87-46c1-ab9c-beeaf661f276", "Active": true, "PAN": "sample string 10" }, { "Id": "2d876a47-1605-4d78-9b9b-d6d29ffa0e92", "IdCommunity": "fce216af-1b04-4b3b-b6f2-f4de5a517f02", "IdCompany": "d6d2739b-3eb2-463c-8b2d-24b481ae7681", "IdFleet": "9c459508-1f96-47a2-a969-fd5983f1f131", "CommunityName": "sample string 4", "CommunityTarget": 1, "Label": "sample string 5", "TrackNumber": "sample string 6", "Type": 7, "IdIdentificationModel": "233f8330-0a87-46c1-ab9c-beeaf661f276", "Active": true, "PAN": "sample string 10" } ] }, { "Id": "b26080bc-2f12-4a3e-afa5-829a4e4a279b", "IdNetwork": "f1e23c33-efe7-4d3d-97cc-593fbcf14f6d", "IdentityNumber": "sample string 3", "IdentityNumberType": 64, "Name": "sample string 4", "Alias": "sample string 5", "BirthDate": "2025-06-12T08:48:37.4794642Z", "StreetAddress": "sample string 6", "ZipCode": "sample string 7", "PhoneNumber": "sample string 8", "ProfilePicture": "sample string 9", "ReportedIdentityNumber": "sample string 10", "ReportedCountry": "sample string 11", "ReportedFirstName": "sample string 12", "ReportedLastName": "sample string 13", "ReportedSex": "sample string 14", "ReportedBirthDate": "sample string 15", "ReportedIssueDate": "sample string 16", "ReportedProcedureNumber": "sample string 17", "ReportedCopy": "sample string 18", "UserConsent": true, "CreatedRealDate": "2025-06-12T08:48:37.4794642Z", "CreatedNetworkDate": "2025-06-12T08:48:37.4794642Z", "NetworkTimezoneCode": "sample string 22", "UpdateRealDate": "2025-06-12T08:48:37.4794642Z", "UpdateNetworkDate": "2025-06-12T08:48:37.4794642Z", "LoyaltyIdentifications": [ { "Id": "2d876a47-1605-4d78-9b9b-d6d29ffa0e92", "IdCommunity": "fce216af-1b04-4b3b-b6f2-f4de5a517f02", "IdCompany": "d6d2739b-3eb2-463c-8b2d-24b481ae7681", "IdFleet": "9c459508-1f96-47a2-a969-fd5983f1f131", "CommunityName": "sample string 4", "CommunityTarget": 1, "Label": "sample string 5", "TrackNumber": "sample string 6", "Type": 7, "IdIdentificationModel": "233f8330-0a87-46c1-ab9c-beeaf661f276", "Active": true, "PAN": "sample string 10" }, { "Id": "2d876a47-1605-4d78-9b9b-d6d29ffa0e92", "IdCommunity": "fce216af-1b04-4b3b-b6f2-f4de5a517f02", "IdCompany": "d6d2739b-3eb2-463c-8b2d-24b481ae7681", "IdFleet": "9c459508-1f96-47a2-a969-fd5983f1f131", "CommunityName": "sample string 4", "CommunityTarget": 1, "Label": "sample string 5", "TrackNumber": "sample string 6", "Type": 7, "IdIdentificationModel": "233f8330-0a87-46c1-ab9c-beeaf661f276", "Active": true, "PAN": "sample string 10" } ] } ], "LoyaltyClientCards": [ { "Id": "fa45e9ff-6047-4ba9-b030-39528c37c4e1", "IdentificationLabel": "sample string 2", "IdentificationTrackNumber": "sample string 3", "IdentificationType": 4, "IdIdentificationModel": "f50da2d1-ebf0-4e97-ac33-d640adb08206", "Active": true, "IdentificationPAN": "sample string 7" }, { "Id": "fa45e9ff-6047-4ba9-b030-39528c37c4e1", "IdentificationLabel": "sample string 2", "IdentificationTrackNumber": "sample string 3", "IdentificationType": 4, "IdIdentificationModel": "f50da2d1-ebf0-4e97-ac33-d640adb08206", "Active": true, "IdentificationPAN": "sample string 7" } ] }
application/xml, text/xml
Sample:
<LoyaltyAccountDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model"> <CommunityTarget>9</CommunityTarget> <DriverCode>sample string 11</DriverCode> <DriverEmail>sample string 12</DriverEmail> <DriverFirstName>sample string 13</DriverFirstName> <DriverLastName>sample string 14</DriverLastName> <DriverLicenseNumber>sample string 10</DriverLicenseNumber> <Id>cf8c734c-0dc5-42b2-a5fa-85060089b969</Id> <IdCommunity>e655b496-f1bd-4f04-b802-2680e72eb3fe</IdCommunity> <IdCompany>06ee43fb-d5e0-476a-b78d-14eaecc8268a</IdCompany> <IdDriver>ac15cd4e-3e6f-4cad-be9d-7bada7c08b64</IdDriver> <IdFleet>48d7453d-63ae-47d3-8f65-63137c0a9f49</IdFleet> <IdIdentity>315e1ead-1c77-4df0-b52a-6fcc84b92f16</IdIdentity> <IdNetwork>b51f3250-b478-450b-acd3-132ec6b88afb</IdNetwork> <IdVehicle>22a5b6fa-2caa-4b6e-91f2-5ef47d9f1133</IdVehicle> <Identities> <IdentityDto> <Alias>sample string 5</Alias> <BirthDate>2025-06-12T08:48:37.4794642Z</BirthDate> <CreatedNetworkDate>2025-06-12T08:48:37.4794642Z</CreatedNetworkDate> <CreatedRealDate>2025-06-12T08:48:37.4794642Z</CreatedRealDate> <Id>b26080bc-2f12-4a3e-afa5-829a4e4a279b</Id> <IdNetwork>f1e23c33-efe7-4d3d-97cc-593fbcf14f6d</IdNetwork> <IdentityNumber>sample string 3</IdentityNumber> <IdentityNumberType>64</IdentityNumberType> <LoyaltyIdentifications xmlns:d4p1="http://schemas.datacontract.org/2004/07/Ationet.Model.Community"> <d4p1:IdentityLoyaltyIdentificationDto> <d4p1:Active>true</d4p1:Active> <d4p1:CommunityName>sample string 4</d4p1:CommunityName> <d4p1:CommunityTarget>1</d4p1:CommunityTarget> <d4p1:Id>2d876a47-1605-4d78-9b9b-d6d29ffa0e92</d4p1:Id> <d4p1:IdCommunity>fce216af-1b04-4b3b-b6f2-f4de5a517f02</d4p1:IdCommunity> <d4p1:IdCompany>d6d2739b-3eb2-463c-8b2d-24b481ae7681</d4p1:IdCompany> <d4p1:IdFleet>9c459508-1f96-47a2-a969-fd5983f1f131</d4p1:IdFleet> <d4p1:IdIdentificationModel>233f8330-0a87-46c1-ab9c-beeaf661f276</d4p1:IdIdentificationModel> <d4p1:Label>sample string 5</d4p1:Label> <d4p1:PAN>sample string 10</d4p1:PAN> <d4p1:TrackNumber>sample string 6</d4p1:TrackNumber> <d4p1:Type>7</d4p1:Type> </d4p1:IdentityLoyaltyIdentificationDto> <d4p1:IdentityLoyaltyIdentificationDto> <d4p1:Active>true</d4p1:Active> <d4p1:CommunityName>sample string 4</d4p1:CommunityName> <d4p1:CommunityTarget>1</d4p1:CommunityTarget> <d4p1:Id>2d876a47-1605-4d78-9b9b-d6d29ffa0e92</d4p1:Id> <d4p1:IdCommunity>fce216af-1b04-4b3b-b6f2-f4de5a517f02</d4p1:IdCommunity> <d4p1:IdCompany>d6d2739b-3eb2-463c-8b2d-24b481ae7681</d4p1:IdCompany> <d4p1:IdFleet>9c459508-1f96-47a2-a969-fd5983f1f131</d4p1:IdFleet> <d4p1:IdIdentificationModel>233f8330-0a87-46c1-ab9c-beeaf661f276</d4p1:IdIdentificationModel> <d4p1:Label>sample string 5</d4p1:Label> <d4p1:PAN>sample string 10</d4p1:PAN> <d4p1:TrackNumber>sample string 6</d4p1:TrackNumber> <d4p1:Type>7</d4p1:Type> </d4p1:IdentityLoyaltyIdentificationDto> </LoyaltyIdentifications> <Name>sample string 4</Name> <NetworkTimezoneCode>sample string 22</NetworkTimezoneCode> <PhoneNumber>sample string 8</PhoneNumber> <ProfilePicture>sample string 9</ProfilePicture> <ReportedBirthDate>sample string 15</ReportedBirthDate> <ReportedCopy>sample string 18</ReportedCopy> <ReportedCountry>sample string 11</ReportedCountry> <ReportedFirstName>sample string 12</ReportedFirstName> <ReportedIdentityNumber>sample string 10</ReportedIdentityNumber> <ReportedIssueDate>sample string 16</ReportedIssueDate> <ReportedLastName>sample string 13</ReportedLastName> <ReportedProcedureNumber>sample string 17</ReportedProcedureNumber> <ReportedSex>sample string 14</ReportedSex> <StreetAddress>sample string 6</StreetAddress> <UpdateNetworkDate>2025-06-12T08:48:37.4794642Z</UpdateNetworkDate> <UpdateRealDate>2025-06-12T08:48:37.4794642Z</UpdateRealDate> <UserConsent>true</UserConsent> <ZipCode>sample string 7</ZipCode> </IdentityDto> <IdentityDto> <Alias>sample string 5</Alias> <BirthDate>2025-06-12T08:48:37.4794642Z</BirthDate> <CreatedNetworkDate>2025-06-12T08:48:37.4794642Z</CreatedNetworkDate> <CreatedRealDate>2025-06-12T08:48:37.4794642Z</CreatedRealDate> <Id>b26080bc-2f12-4a3e-afa5-829a4e4a279b</Id> <IdNetwork>f1e23c33-efe7-4d3d-97cc-593fbcf14f6d</IdNetwork> <IdentityNumber>sample string 3</IdentityNumber> <IdentityNumberType>64</IdentityNumberType> <LoyaltyIdentifications xmlns:d4p1="http://schemas.datacontract.org/2004/07/Ationet.Model.Community"> <d4p1:IdentityLoyaltyIdentificationDto> <d4p1:Active>true</d4p1:Active> <d4p1:CommunityName>sample string 4</d4p1:CommunityName> <d4p1:CommunityTarget>1</d4p1:CommunityTarget> <d4p1:Id>2d876a47-1605-4d78-9b9b-d6d29ffa0e92</d4p1:Id> <d4p1:IdCommunity>fce216af-1b04-4b3b-b6f2-f4de5a517f02</d4p1:IdCommunity> <d4p1:IdCompany>d6d2739b-3eb2-463c-8b2d-24b481ae7681</d4p1:IdCompany> <d4p1:IdFleet>9c459508-1f96-47a2-a969-fd5983f1f131</d4p1:IdFleet> <d4p1:IdIdentificationModel>233f8330-0a87-46c1-ab9c-beeaf661f276</d4p1:IdIdentificationModel> <d4p1:Label>sample string 5</d4p1:Label> <d4p1:PAN>sample string 10</d4p1:PAN> <d4p1:TrackNumber>sample string 6</d4p1:TrackNumber> <d4p1:Type>7</d4p1:Type> </d4p1:IdentityLoyaltyIdentificationDto> <d4p1:IdentityLoyaltyIdentificationDto> <d4p1:Active>true</d4p1:Active> <d4p1:CommunityName>sample string 4</d4p1:CommunityName> <d4p1:CommunityTarget>1</d4p1:CommunityTarget> <d4p1:Id>2d876a47-1605-4d78-9b9b-d6d29ffa0e92</d4p1:Id> <d4p1:IdCommunity>fce216af-1b04-4b3b-b6f2-f4de5a517f02</d4p1:IdCommunity> <d4p1:IdCompany>d6d2739b-3eb2-463c-8b2d-24b481ae7681</d4p1:IdCompany> <d4p1:IdFleet>9c459508-1f96-47a2-a969-fd5983f1f131</d4p1:IdFleet> <d4p1:IdIdentificationModel>233f8330-0a87-46c1-ab9c-beeaf661f276</d4p1:IdIdentificationModel> <d4p1:Label>sample string 5</d4p1:Label> <d4p1:PAN>sample string 10</d4p1:PAN> <d4p1:TrackNumber>sample string 6</d4p1:TrackNumber> <d4p1:Type>7</d4p1:Type> </d4p1:IdentityLoyaltyIdentificationDto> </LoyaltyIdentifications> <Name>sample string 4</Name> <NetworkTimezoneCode>sample string 22</NetworkTimezoneCode> <PhoneNumber>sample string 8</PhoneNumber> <ProfilePicture>sample string 9</ProfilePicture> <ReportedBirthDate>sample string 15</ReportedBirthDate> <ReportedCopy>sample string 18</ReportedCopy> <ReportedCountry>sample string 11</ReportedCountry> <ReportedFirstName>sample string 12</ReportedFirstName> <ReportedIdentityNumber>sample string 10</ReportedIdentityNumber> <ReportedIssueDate>sample string 16</ReportedIssueDate> <ReportedLastName>sample string 13</ReportedLastName> <ReportedProcedureNumber>sample string 17</ReportedProcedureNumber> <ReportedSex>sample string 14</ReportedSex> <StreetAddress>sample string 6</StreetAddress> <UpdateNetworkDate>2025-06-12T08:48:37.4794642Z</UpdateNetworkDate> <UpdateRealDate>2025-06-12T08:48:37.4794642Z</UpdateRealDate> <UserConsent>true</UserConsent> <ZipCode>sample string 7</ZipCode> </IdentityDto> </Identities> <IdentitiyNumberType>64</IdentitiyNumberType> <IdentityName>sample string 7</IdentityName> <IdentityNumber>sample string 5</IdentityNumber> <LoyaltyClientCards> <LoyaltyAccountIdentificationDto> <Active>true</Active> <Id>fa45e9ff-6047-4ba9-b030-39528c37c4e1</Id> <IdIdentificationModel>f50da2d1-ebf0-4e97-ac33-d640adb08206</IdIdentificationModel> <IdentificationLabel>sample string 2</IdentificationLabel> <IdentificationPAN>sample string 7</IdentificationPAN> <IdentificationTrackNumber>sample string 3</IdentificationTrackNumber> <IdentificationType>4</IdentificationType> </LoyaltyAccountIdentificationDto> <LoyaltyAccountIdentificationDto> <Active>true</Active> <Id>fa45e9ff-6047-4ba9-b030-39528c37c4e1</Id> <IdIdentificationModel>f50da2d1-ebf0-4e97-ac33-d640adb08206</IdIdentificationModel> <IdentificationLabel>sample string 2</IdentificationLabel> <IdentificationPAN>sample string 7</IdentificationPAN> <IdentificationTrackNumber>sample string 3</IdentificationTrackNumber> <IdentificationType>4</IdentificationType> </LoyaltyAccountIdentificationDto> </LoyaltyClientCards> <VehicleCode>sample string 16</VehicleCode> <VehiclePlate>sample string 15</VehiclePlate> </LoyaltyAccountDto>