PUT LoyaltyClients/{id}
Updates the loyalty account.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The ID of the contract. |
globally unique identifier |
Required |
Body Parameters
The new data of the Loyalty account.
LoyaltyAccountDto| Name | 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. |
Request Formats
application/json, text/json
Sample:
{
"Id": "6f13155e-f932-4ab0-883c-e30b1f3c9e07",
"IdCommunity": "e1562e97-6da2-4e05-b8f9-475d98407685",
"IdCompany": "844cbf67-5ba2-4f47-a101-69c175fb96ea",
"IdIdentity": "0792d9cd-e315-4928-9263-8f14b4711134",
"IdentityNumber": "sample string 5",
"IdentitiyNumberType": 64,
"IdentityName": "sample string 7",
"IdNetwork": "99dfe001-410f-42c6-8da4-b1fc38f22269",
"CommunityTarget": 9,
"IdDriver": "0c3efa81-211f-495c-9ef3-f90b6a4c499b",
"DriverLicenseNumber": "sample string 10",
"DriverCode": "sample string 11",
"DriverEmail": "sample string 12",
"DriverFirstName": "sample string 13",
"DriverLastName": "sample string 14",
"IdVehicle": "ddb5a6d1-a251-4df8-aa74-dc24fa8ee32b",
"IdFleet": "02b6ed48-aed2-42fd-9837-36e816b119c2",
"VehiclePlate": "sample string 15",
"VehicleCode": "sample string 16",
"Identities": [
{
"Id": "28c4e4d3-d00a-4b4c-9623-dbf153d662e6",
"IdNetwork": "976f229e-6478-43a7-9631-875c830069f7",
"IdentityNumber": "sample string 3",
"IdentityNumberType": 64,
"Name": "sample string 4",
"Alias": "sample string 5",
"BirthDate": "2025-12-15T13:03:29.625397Z",
"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-12-15T13:03:29.625397Z",
"CreatedNetworkDate": "2025-12-15T13:03:29.625397Z",
"NetworkTimezoneCode": "sample string 22",
"UpdateRealDate": "2025-12-15T13:03:29.625397Z",
"UpdateNetworkDate": "2025-12-15T13:03:29.625397Z",
"LoyaltyIdentifications": [
{
"Id": "7155b5c8-dda5-4b6e-a541-124d7660eee8",
"IdCommunity": "95881bfe-446c-420d-b49d-6960a04a07ae",
"IdCompany": "3f7d9286-64fd-432d-b3ff-2efebb3186ff",
"IdFleet": "c359de04-76f9-4fad-912b-8c6c9fa42566",
"CommunityName": "sample string 4",
"CommunityTarget": 1,
"Label": "sample string 5",
"TrackNumber": "sample string 6",
"Type": 7,
"IdIdentificationModel": "91959cc1-cd7d-4e4c-9bc4-3ac31ebe2c76",
"Active": true,
"PAN": "sample string 10"
},
{
"Id": "7155b5c8-dda5-4b6e-a541-124d7660eee8",
"IdCommunity": "95881bfe-446c-420d-b49d-6960a04a07ae",
"IdCompany": "3f7d9286-64fd-432d-b3ff-2efebb3186ff",
"IdFleet": "c359de04-76f9-4fad-912b-8c6c9fa42566",
"CommunityName": "sample string 4",
"CommunityTarget": 1,
"Label": "sample string 5",
"TrackNumber": "sample string 6",
"Type": 7,
"IdIdentificationModel": "91959cc1-cd7d-4e4c-9bc4-3ac31ebe2c76",
"Active": true,
"PAN": "sample string 10"
}
]
},
{
"Id": "28c4e4d3-d00a-4b4c-9623-dbf153d662e6",
"IdNetwork": "976f229e-6478-43a7-9631-875c830069f7",
"IdentityNumber": "sample string 3",
"IdentityNumberType": 64,
"Name": "sample string 4",
"Alias": "sample string 5",
"BirthDate": "2025-12-15T13:03:29.625397Z",
"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-12-15T13:03:29.625397Z",
"CreatedNetworkDate": "2025-12-15T13:03:29.625397Z",
"NetworkTimezoneCode": "sample string 22",
"UpdateRealDate": "2025-12-15T13:03:29.625397Z",
"UpdateNetworkDate": "2025-12-15T13:03:29.625397Z",
"LoyaltyIdentifications": [
{
"Id": "7155b5c8-dda5-4b6e-a541-124d7660eee8",
"IdCommunity": "95881bfe-446c-420d-b49d-6960a04a07ae",
"IdCompany": "3f7d9286-64fd-432d-b3ff-2efebb3186ff",
"IdFleet": "c359de04-76f9-4fad-912b-8c6c9fa42566",
"CommunityName": "sample string 4",
"CommunityTarget": 1,
"Label": "sample string 5",
"TrackNumber": "sample string 6",
"Type": 7,
"IdIdentificationModel": "91959cc1-cd7d-4e4c-9bc4-3ac31ebe2c76",
"Active": true,
"PAN": "sample string 10"
},
{
"Id": "7155b5c8-dda5-4b6e-a541-124d7660eee8",
"IdCommunity": "95881bfe-446c-420d-b49d-6960a04a07ae",
"IdCompany": "3f7d9286-64fd-432d-b3ff-2efebb3186ff",
"IdFleet": "c359de04-76f9-4fad-912b-8c6c9fa42566",
"CommunityName": "sample string 4",
"CommunityTarget": 1,
"Label": "sample string 5",
"TrackNumber": "sample string 6",
"Type": 7,
"IdIdentificationModel": "91959cc1-cd7d-4e4c-9bc4-3ac31ebe2c76",
"Active": true,
"PAN": "sample string 10"
}
]
}
],
"LoyaltyClientCards": [
{
"Id": "b44dcb18-e8c1-4e91-8181-6db2674c364c",
"IdentificationLabel": "sample string 2",
"IdentificationTrackNumber": "sample string 3",
"IdentificationType": 4,
"IdIdentificationModel": "60aa9c6f-3498-4f48-bb8b-060d49daee52",
"Active": true,
"IdentificationPAN": "sample string 7"
},
{
"Id": "b44dcb18-e8c1-4e91-8181-6db2674c364c",
"IdentificationLabel": "sample string 2",
"IdentificationTrackNumber": "sample string 3",
"IdentificationType": 4,
"IdIdentificationModel": "60aa9c6f-3498-4f48-bb8b-060d49daee52",
"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>6f13155e-f932-4ab0-883c-e30b1f3c9e07</Id>
<IdCommunity>e1562e97-6da2-4e05-b8f9-475d98407685</IdCommunity>
<IdCompany>844cbf67-5ba2-4f47-a101-69c175fb96ea</IdCompany>
<IdDriver>0c3efa81-211f-495c-9ef3-f90b6a4c499b</IdDriver>
<IdFleet>02b6ed48-aed2-42fd-9837-36e816b119c2</IdFleet>
<IdIdentity>0792d9cd-e315-4928-9263-8f14b4711134</IdIdentity>
<IdNetwork>99dfe001-410f-42c6-8da4-b1fc38f22269</IdNetwork>
<IdVehicle>ddb5a6d1-a251-4df8-aa74-dc24fa8ee32b</IdVehicle>
<Identities>
<IdentityDto>
<Alias>sample string 5</Alias>
<BirthDate>2025-12-15T13:03:29.625397Z</BirthDate>
<CreatedNetworkDate>2025-12-15T13:03:29.625397Z</CreatedNetworkDate>
<CreatedRealDate>2025-12-15T13:03:29.625397Z</CreatedRealDate>
<Id>28c4e4d3-d00a-4b4c-9623-dbf153d662e6</Id>
<IdNetwork>976f229e-6478-43a7-9631-875c830069f7</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>7155b5c8-dda5-4b6e-a541-124d7660eee8</d4p1:Id>
<d4p1:IdCommunity>95881bfe-446c-420d-b49d-6960a04a07ae</d4p1:IdCommunity>
<d4p1:IdCompany>3f7d9286-64fd-432d-b3ff-2efebb3186ff</d4p1:IdCompany>
<d4p1:IdFleet>c359de04-76f9-4fad-912b-8c6c9fa42566</d4p1:IdFleet>
<d4p1:IdIdentificationModel>91959cc1-cd7d-4e4c-9bc4-3ac31ebe2c76</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>7155b5c8-dda5-4b6e-a541-124d7660eee8</d4p1:Id>
<d4p1:IdCommunity>95881bfe-446c-420d-b49d-6960a04a07ae</d4p1:IdCommunity>
<d4p1:IdCompany>3f7d9286-64fd-432d-b3ff-2efebb3186ff</d4p1:IdCompany>
<d4p1:IdFleet>c359de04-76f9-4fad-912b-8c6c9fa42566</d4p1:IdFleet>
<d4p1:IdIdentificationModel>91959cc1-cd7d-4e4c-9bc4-3ac31ebe2c76</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-12-15T13:03:29.625397Z</UpdateNetworkDate>
<UpdateRealDate>2025-12-15T13:03:29.625397Z</UpdateRealDate>
<UserConsent>true</UserConsent>
<ZipCode>sample string 7</ZipCode>
</IdentityDto>
<IdentityDto>
<Alias>sample string 5</Alias>
<BirthDate>2025-12-15T13:03:29.625397Z</BirthDate>
<CreatedNetworkDate>2025-12-15T13:03:29.625397Z</CreatedNetworkDate>
<CreatedRealDate>2025-12-15T13:03:29.625397Z</CreatedRealDate>
<Id>28c4e4d3-d00a-4b4c-9623-dbf153d662e6</Id>
<IdNetwork>976f229e-6478-43a7-9631-875c830069f7</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>7155b5c8-dda5-4b6e-a541-124d7660eee8</d4p1:Id>
<d4p1:IdCommunity>95881bfe-446c-420d-b49d-6960a04a07ae</d4p1:IdCommunity>
<d4p1:IdCompany>3f7d9286-64fd-432d-b3ff-2efebb3186ff</d4p1:IdCompany>
<d4p1:IdFleet>c359de04-76f9-4fad-912b-8c6c9fa42566</d4p1:IdFleet>
<d4p1:IdIdentificationModel>91959cc1-cd7d-4e4c-9bc4-3ac31ebe2c76</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>7155b5c8-dda5-4b6e-a541-124d7660eee8</d4p1:Id>
<d4p1:IdCommunity>95881bfe-446c-420d-b49d-6960a04a07ae</d4p1:IdCommunity>
<d4p1:IdCompany>3f7d9286-64fd-432d-b3ff-2efebb3186ff</d4p1:IdCompany>
<d4p1:IdFleet>c359de04-76f9-4fad-912b-8c6c9fa42566</d4p1:IdFleet>
<d4p1:IdIdentificationModel>91959cc1-cd7d-4e4c-9bc4-3ac31ebe2c76</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-12-15T13:03:29.625397Z</UpdateNetworkDate>
<UpdateRealDate>2025-12-15T13:03:29.625397Z</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>b44dcb18-e8c1-4e91-8181-6db2674c364c</Id>
<IdIdentificationModel>60aa9c6f-3498-4f48-bb8b-060d49daee52</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>b44dcb18-e8c1-4e91-8181-6db2674c364c</Id>
<IdIdentificationModel>60aa9c6f-3498-4f48-bb8b-060d49daee52</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>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
State of the action.
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.