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": "30051bb7-54f9-4f6d-8ed0-fb4a2551ea05", "IdCommunity": "3b9d6659-1c16-4c76-a655-2d690ab61a75", "IdCompany": "e79ca3ae-00e2-4e7d-9e0d-1e501737141b", "IdIdentity": "ac9d20ad-9a43-4f7b-95c3-c9a39ad0c56a", "IdentityNumber": "sample string 5", "IdentitiyNumberType": 64, "IdentityName": "sample string 7", "IdNetwork": "e4fe8b7f-6225-4aff-9061-30842459e1ac", "CommunityTarget": 9, "IdDriver": "789f4f94-bda8-4180-a7ab-b9ab2457c690", "DriverLicenseNumber": "sample string 10", "DriverCode": "sample string 11", "DriverEmail": "sample string 12", "DriverFirstName": "sample string 13", "DriverLastName": "sample string 14", "IdVehicle": "668ba93a-b105-454f-85d9-60507ddbb386", "IdFleet": "e1e437c5-7f08-41d6-8c7f-6b415aa92064", "VehiclePlate": "sample string 15", "VehicleCode": "sample string 16", "Identities": [ { "Id": "5da6099e-def2-4f4a-b117-13c8e9d10bac", "IdNetwork": "cc8cce37-175d-4d6f-b9fe-60fc62dbc851", "IdentityNumber": "sample string 3", "IdentityNumberType": 64, "Name": "sample string 4", "Alias": "sample string 5", "BirthDate": "2025-04-25T16:57:06.7116236Z", "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-04-25T16:57:06.7116236Z", "CreatedNetworkDate": "2025-04-25T16:57:06.7116236Z", "NetworkTimezoneCode": "sample string 22", "UpdateRealDate": "2025-04-25T16:57:06.7116236Z", "UpdateNetworkDate": "2025-04-25T16:57:06.7116236Z", "LoyaltyIdentifications": [ { "Id": "bed1c9b5-ef37-4bbc-8cf3-c5c561fcdb28", "IdCommunity": "bb1a7d5a-5b74-4337-935e-f07f102bb4db", "IdCompany": "f0920f47-93a1-491f-97bf-52c5c73bea00", "IdFleet": "4c8f8053-79da-4ba1-bd49-618e0d8cc44f", "CommunityName": "sample string 4", "CommunityTarget": 1, "Label": "sample string 5", "TrackNumber": "sample string 6", "Type": 7, "IdIdentificationModel": "0ca4c07a-3276-4ff2-9c99-1dec1d491a97", "Active": true, "PAN": "sample string 10" }, { "Id": "bed1c9b5-ef37-4bbc-8cf3-c5c561fcdb28", "IdCommunity": "bb1a7d5a-5b74-4337-935e-f07f102bb4db", "IdCompany": "f0920f47-93a1-491f-97bf-52c5c73bea00", "IdFleet": "4c8f8053-79da-4ba1-bd49-618e0d8cc44f", "CommunityName": "sample string 4", "CommunityTarget": 1, "Label": "sample string 5", "TrackNumber": "sample string 6", "Type": 7, "IdIdentificationModel": "0ca4c07a-3276-4ff2-9c99-1dec1d491a97", "Active": true, "PAN": "sample string 10" } ] }, { "Id": "5da6099e-def2-4f4a-b117-13c8e9d10bac", "IdNetwork": "cc8cce37-175d-4d6f-b9fe-60fc62dbc851", "IdentityNumber": "sample string 3", "IdentityNumberType": 64, "Name": "sample string 4", "Alias": "sample string 5", "BirthDate": "2025-04-25T16:57:06.7116236Z", "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-04-25T16:57:06.7116236Z", "CreatedNetworkDate": "2025-04-25T16:57:06.7116236Z", "NetworkTimezoneCode": "sample string 22", "UpdateRealDate": "2025-04-25T16:57:06.7116236Z", "UpdateNetworkDate": "2025-04-25T16:57:06.7116236Z", "LoyaltyIdentifications": [ { "Id": "bed1c9b5-ef37-4bbc-8cf3-c5c561fcdb28", "IdCommunity": "bb1a7d5a-5b74-4337-935e-f07f102bb4db", "IdCompany": "f0920f47-93a1-491f-97bf-52c5c73bea00", "IdFleet": "4c8f8053-79da-4ba1-bd49-618e0d8cc44f", "CommunityName": "sample string 4", "CommunityTarget": 1, "Label": "sample string 5", "TrackNumber": "sample string 6", "Type": 7, "IdIdentificationModel": "0ca4c07a-3276-4ff2-9c99-1dec1d491a97", "Active": true, "PAN": "sample string 10" }, { "Id": "bed1c9b5-ef37-4bbc-8cf3-c5c561fcdb28", "IdCommunity": "bb1a7d5a-5b74-4337-935e-f07f102bb4db", "IdCompany": "f0920f47-93a1-491f-97bf-52c5c73bea00", "IdFleet": "4c8f8053-79da-4ba1-bd49-618e0d8cc44f", "CommunityName": "sample string 4", "CommunityTarget": 1, "Label": "sample string 5", "TrackNumber": "sample string 6", "Type": 7, "IdIdentificationModel": "0ca4c07a-3276-4ff2-9c99-1dec1d491a97", "Active": true, "PAN": "sample string 10" } ] } ], "LoyaltyClientCards": [ { "Id": "195d4e89-f1cc-4f8a-a22c-336c7231c575", "IdentificationLabel": "sample string 2", "IdentificationTrackNumber": "sample string 3", "IdentificationType": 4, "IdIdentificationModel": "7dd82831-42a5-46a6-b4aa-78ad9be9f244", "Active": true, "IdentificationPAN": "sample string 7" }, { "Id": "195d4e89-f1cc-4f8a-a22c-336c7231c575", "IdentificationLabel": "sample string 2", "IdentificationTrackNumber": "sample string 3", "IdentificationType": 4, "IdIdentificationModel": "7dd82831-42a5-46a6-b4aa-78ad9be9f244", "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>30051bb7-54f9-4f6d-8ed0-fb4a2551ea05</Id> <IdCommunity>3b9d6659-1c16-4c76-a655-2d690ab61a75</IdCommunity> <IdCompany>e79ca3ae-00e2-4e7d-9e0d-1e501737141b</IdCompany> <IdDriver>789f4f94-bda8-4180-a7ab-b9ab2457c690</IdDriver> <IdFleet>e1e437c5-7f08-41d6-8c7f-6b415aa92064</IdFleet> <IdIdentity>ac9d20ad-9a43-4f7b-95c3-c9a39ad0c56a</IdIdentity> <IdNetwork>e4fe8b7f-6225-4aff-9061-30842459e1ac</IdNetwork> <IdVehicle>668ba93a-b105-454f-85d9-60507ddbb386</IdVehicle> <Identities> <IdentityDto> <Alias>sample string 5</Alias> <BirthDate>2025-04-25T16:57:06.7116236Z</BirthDate> <CreatedNetworkDate>2025-04-25T16:57:06.7116236Z</CreatedNetworkDate> <CreatedRealDate>2025-04-25T16:57:06.7116236Z</CreatedRealDate> <Id>5da6099e-def2-4f4a-b117-13c8e9d10bac</Id> <IdNetwork>cc8cce37-175d-4d6f-b9fe-60fc62dbc851</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>bed1c9b5-ef37-4bbc-8cf3-c5c561fcdb28</d4p1:Id> <d4p1:IdCommunity>bb1a7d5a-5b74-4337-935e-f07f102bb4db</d4p1:IdCommunity> <d4p1:IdCompany>f0920f47-93a1-491f-97bf-52c5c73bea00</d4p1:IdCompany> <d4p1:IdFleet>4c8f8053-79da-4ba1-bd49-618e0d8cc44f</d4p1:IdFleet> <d4p1:IdIdentificationModel>0ca4c07a-3276-4ff2-9c99-1dec1d491a97</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>bed1c9b5-ef37-4bbc-8cf3-c5c561fcdb28</d4p1:Id> <d4p1:IdCommunity>bb1a7d5a-5b74-4337-935e-f07f102bb4db</d4p1:IdCommunity> <d4p1:IdCompany>f0920f47-93a1-491f-97bf-52c5c73bea00</d4p1:IdCompany> <d4p1:IdFleet>4c8f8053-79da-4ba1-bd49-618e0d8cc44f</d4p1:IdFleet> <d4p1:IdIdentificationModel>0ca4c07a-3276-4ff2-9c99-1dec1d491a97</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-04-25T16:57:06.7116236Z</UpdateNetworkDate> <UpdateRealDate>2025-04-25T16:57:06.7116236Z</UpdateRealDate> <UserConsent>true</UserConsent> <ZipCode>sample string 7</ZipCode> </IdentityDto> <IdentityDto> <Alias>sample string 5</Alias> <BirthDate>2025-04-25T16:57:06.7116236Z</BirthDate> <CreatedNetworkDate>2025-04-25T16:57:06.7116236Z</CreatedNetworkDate> <CreatedRealDate>2025-04-25T16:57:06.7116236Z</CreatedRealDate> <Id>5da6099e-def2-4f4a-b117-13c8e9d10bac</Id> <IdNetwork>cc8cce37-175d-4d6f-b9fe-60fc62dbc851</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>bed1c9b5-ef37-4bbc-8cf3-c5c561fcdb28</d4p1:Id> <d4p1:IdCommunity>bb1a7d5a-5b74-4337-935e-f07f102bb4db</d4p1:IdCommunity> <d4p1:IdCompany>f0920f47-93a1-491f-97bf-52c5c73bea00</d4p1:IdCompany> <d4p1:IdFleet>4c8f8053-79da-4ba1-bd49-618e0d8cc44f</d4p1:IdFleet> <d4p1:IdIdentificationModel>0ca4c07a-3276-4ff2-9c99-1dec1d491a97</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>bed1c9b5-ef37-4bbc-8cf3-c5c561fcdb28</d4p1:Id> <d4p1:IdCommunity>bb1a7d5a-5b74-4337-935e-f07f102bb4db</d4p1:IdCommunity> <d4p1:IdCompany>f0920f47-93a1-491f-97bf-52c5c73bea00</d4p1:IdCompany> <d4p1:IdFleet>4c8f8053-79da-4ba1-bd49-618e0d8cc44f</d4p1:IdFleet> <d4p1:IdIdentificationModel>0ca4c07a-3276-4ff2-9c99-1dec1d491a97</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-04-25T16:57:06.7116236Z</UpdateNetworkDate> <UpdateRealDate>2025-04-25T16:57:06.7116236Z</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>195d4e89-f1cc-4f8a-a22c-336c7231c575</Id> <IdIdentificationModel>7dd82831-42a5-46a6-b4aa-78ad9be9f244</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>195d4e89-f1cc-4f8a-a22c-336c7231c575</Id> <IdIdentificationModel>7dd82831-42a5-46a6-b4aa-78ad9be9f244</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>