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": "2e05c681-cc33-42cc-8129-5870d34db62d",
"IdCommunity": "f606cd24-1e4f-47b5-8c98-80bfaf0495ab",
"IdCompany": "7095b9f6-bd45-47dd-a336-14462e67db58",
"IdIdentity": "e8b6a66a-89d1-4f22-82a2-0f650131b8e2",
"IdentityNumber": "sample string 5",
"IdentitiyNumberType": 64,
"IdentityName": "sample string 7",
"IdNetwork": "a07c85cb-4c25-4e04-bd69-70ea163e6abc",
"CommunityTarget": 9,
"IdDriver": "53578b9a-8e91-41df-b8f8-9ae98532762a",
"DriverLicenseNumber": "sample string 10",
"DriverCode": "sample string 11",
"DriverEmail": "sample string 12",
"DriverFirstName": "sample string 13",
"DriverLastName": "sample string 14",
"IdVehicle": "924e1809-db8e-498d-82a7-df7f2d61a768",
"IdFleet": "f839e20e-15e3-4a62-a45c-cbea0d9336f2",
"VehiclePlate": "sample string 15",
"VehicleCode": "sample string 16",
"Identities": [
{
"Id": "6b056f1e-e421-4f32-af84-feeb8da5c9d6",
"IdNetwork": "308c33b3-9f84-4ca8-8689-42f18a4e34f0",
"IdentityNumber": "sample string 3",
"IdentityNumberType": 64,
"Name": "sample string 4",
"Alias": "sample string 5",
"BirthDate": "2026-09-10T10:29:08.0788276Z",
"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": "2026-09-10T10:29:08.0788276Z",
"CreatedNetworkDate": "2026-09-10T10:29:08.0788276Z",
"NetworkTimezoneCode": "sample string 22",
"UpdateRealDate": "2026-09-10T10:29:08.0788276Z",
"UpdateNetworkDate": "2026-09-10T10:29:08.0788276Z",
"LoyaltyIdentifications": [
{
"Id": "98a7cb21-b33b-4b04-a6a2-e5266338f2b1",
"IdCommunity": "20b1ad35-a25c-4003-a54d-c7776fc95cab",
"IdCompany": "db73090c-e245-4394-aeea-211e009a673c",
"IdFleet": "4f3585b5-3bba-47da-880a-014ecae9f390",
"CommunityName": "sample string 4",
"CommunityTarget": 1,
"Label": "sample string 5",
"TrackNumber": "sample string 6",
"Type": 7,
"IdIdentificationModel": "6c6af70e-97b9-42f0-bfb9-b54bc25fc99a",
"Active": true,
"PAN": "sample string 10"
},
{
"Id": "98a7cb21-b33b-4b04-a6a2-e5266338f2b1",
"IdCommunity": "20b1ad35-a25c-4003-a54d-c7776fc95cab",
"IdCompany": "db73090c-e245-4394-aeea-211e009a673c",
"IdFleet": "4f3585b5-3bba-47da-880a-014ecae9f390",
"CommunityName": "sample string 4",
"CommunityTarget": 1,
"Label": "sample string 5",
"TrackNumber": "sample string 6",
"Type": 7,
"IdIdentificationModel": "6c6af70e-97b9-42f0-bfb9-b54bc25fc99a",
"Active": true,
"PAN": "sample string 10"
}
]
},
{
"Id": "6b056f1e-e421-4f32-af84-feeb8da5c9d6",
"IdNetwork": "308c33b3-9f84-4ca8-8689-42f18a4e34f0",
"IdentityNumber": "sample string 3",
"IdentityNumberType": 64,
"Name": "sample string 4",
"Alias": "sample string 5",
"BirthDate": "2026-09-10T10:29:08.0788276Z",
"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": "2026-09-10T10:29:08.0788276Z",
"CreatedNetworkDate": "2026-09-10T10:29:08.0788276Z",
"NetworkTimezoneCode": "sample string 22",
"UpdateRealDate": "2026-09-10T10:29:08.0788276Z",
"UpdateNetworkDate": "2026-09-10T10:29:08.0788276Z",
"LoyaltyIdentifications": [
{
"Id": "98a7cb21-b33b-4b04-a6a2-e5266338f2b1",
"IdCommunity": "20b1ad35-a25c-4003-a54d-c7776fc95cab",
"IdCompany": "db73090c-e245-4394-aeea-211e009a673c",
"IdFleet": "4f3585b5-3bba-47da-880a-014ecae9f390",
"CommunityName": "sample string 4",
"CommunityTarget": 1,
"Label": "sample string 5",
"TrackNumber": "sample string 6",
"Type": 7,
"IdIdentificationModel": "6c6af70e-97b9-42f0-bfb9-b54bc25fc99a",
"Active": true,
"PAN": "sample string 10"
},
{
"Id": "98a7cb21-b33b-4b04-a6a2-e5266338f2b1",
"IdCommunity": "20b1ad35-a25c-4003-a54d-c7776fc95cab",
"IdCompany": "db73090c-e245-4394-aeea-211e009a673c",
"IdFleet": "4f3585b5-3bba-47da-880a-014ecae9f390",
"CommunityName": "sample string 4",
"CommunityTarget": 1,
"Label": "sample string 5",
"TrackNumber": "sample string 6",
"Type": 7,
"IdIdentificationModel": "6c6af70e-97b9-42f0-bfb9-b54bc25fc99a",
"Active": true,
"PAN": "sample string 10"
}
]
}
],
"LoyaltyClientCards": [
{
"Id": "4c80ddf7-7e67-461f-8347-a6fd3015eae3",
"IdentificationLabel": "sample string 2",
"IdentificationTrackNumber": "sample string 3",
"IdentificationType": 4,
"IdIdentificationModel": "f1eb6c14-7d6c-4fc6-8103-670e76543f82",
"Active": true,
"IdentificationPAN": "sample string 7"
},
{
"Id": "4c80ddf7-7e67-461f-8347-a6fd3015eae3",
"IdentificationLabel": "sample string 2",
"IdentificationTrackNumber": "sample string 3",
"IdentificationType": 4,
"IdIdentificationModel": "f1eb6c14-7d6c-4fc6-8103-670e76543f82",
"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>2e05c681-cc33-42cc-8129-5870d34db62d</Id>
<IdCommunity>f606cd24-1e4f-47b5-8c98-80bfaf0495ab</IdCommunity>
<IdCompany>7095b9f6-bd45-47dd-a336-14462e67db58</IdCompany>
<IdDriver>53578b9a-8e91-41df-b8f8-9ae98532762a</IdDriver>
<IdFleet>f839e20e-15e3-4a62-a45c-cbea0d9336f2</IdFleet>
<IdIdentity>e8b6a66a-89d1-4f22-82a2-0f650131b8e2</IdIdentity>
<IdNetwork>a07c85cb-4c25-4e04-bd69-70ea163e6abc</IdNetwork>
<IdVehicle>924e1809-db8e-498d-82a7-df7f2d61a768</IdVehicle>
<Identities>
<IdentityDto>
<Alias>sample string 5</Alias>
<BirthDate>2026-09-10T10:29:08.0788276Z</BirthDate>
<CreatedNetworkDate>2026-09-10T10:29:08.0788276Z</CreatedNetworkDate>
<CreatedRealDate>2026-09-10T10:29:08.0788276Z</CreatedRealDate>
<Id>6b056f1e-e421-4f32-af84-feeb8da5c9d6</Id>
<IdNetwork>308c33b3-9f84-4ca8-8689-42f18a4e34f0</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>98a7cb21-b33b-4b04-a6a2-e5266338f2b1</d4p1:Id>
<d4p1:IdCommunity>20b1ad35-a25c-4003-a54d-c7776fc95cab</d4p1:IdCommunity>
<d4p1:IdCompany>db73090c-e245-4394-aeea-211e009a673c</d4p1:IdCompany>
<d4p1:IdFleet>4f3585b5-3bba-47da-880a-014ecae9f390</d4p1:IdFleet>
<d4p1:IdIdentificationModel>6c6af70e-97b9-42f0-bfb9-b54bc25fc99a</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>98a7cb21-b33b-4b04-a6a2-e5266338f2b1</d4p1:Id>
<d4p1:IdCommunity>20b1ad35-a25c-4003-a54d-c7776fc95cab</d4p1:IdCommunity>
<d4p1:IdCompany>db73090c-e245-4394-aeea-211e009a673c</d4p1:IdCompany>
<d4p1:IdFleet>4f3585b5-3bba-47da-880a-014ecae9f390</d4p1:IdFleet>
<d4p1:IdIdentificationModel>6c6af70e-97b9-42f0-bfb9-b54bc25fc99a</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>2026-09-10T10:29:08.0788276Z</UpdateNetworkDate>
<UpdateRealDate>2026-09-10T10:29:08.0788276Z</UpdateRealDate>
<UserConsent>true</UserConsent>
<ZipCode>sample string 7</ZipCode>
</IdentityDto>
<IdentityDto>
<Alias>sample string 5</Alias>
<BirthDate>2026-09-10T10:29:08.0788276Z</BirthDate>
<CreatedNetworkDate>2026-09-10T10:29:08.0788276Z</CreatedNetworkDate>
<CreatedRealDate>2026-09-10T10:29:08.0788276Z</CreatedRealDate>
<Id>6b056f1e-e421-4f32-af84-feeb8da5c9d6</Id>
<IdNetwork>308c33b3-9f84-4ca8-8689-42f18a4e34f0</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>98a7cb21-b33b-4b04-a6a2-e5266338f2b1</d4p1:Id>
<d4p1:IdCommunity>20b1ad35-a25c-4003-a54d-c7776fc95cab</d4p1:IdCommunity>
<d4p1:IdCompany>db73090c-e245-4394-aeea-211e009a673c</d4p1:IdCompany>
<d4p1:IdFleet>4f3585b5-3bba-47da-880a-014ecae9f390</d4p1:IdFleet>
<d4p1:IdIdentificationModel>6c6af70e-97b9-42f0-bfb9-b54bc25fc99a</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>98a7cb21-b33b-4b04-a6a2-e5266338f2b1</d4p1:Id>
<d4p1:IdCommunity>20b1ad35-a25c-4003-a54d-c7776fc95cab</d4p1:IdCommunity>
<d4p1:IdCompany>db73090c-e245-4394-aeea-211e009a673c</d4p1:IdCompany>
<d4p1:IdFleet>4f3585b5-3bba-47da-880a-014ecae9f390</d4p1:IdFleet>
<d4p1:IdIdentificationModel>6c6af70e-97b9-42f0-bfb9-b54bc25fc99a</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>2026-09-10T10:29:08.0788276Z</UpdateNetworkDate>
<UpdateRealDate>2026-09-10T10:29:08.0788276Z</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>4c80ddf7-7e67-461f-8347-a6fd3015eae3</Id>
<IdIdentificationModel>f1eb6c14-7d6c-4fc6-8103-670e76543f82</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>4c80ddf7-7e67-461f-8347-a6fd3015eae3</Id>
<IdIdentificationModel>f1eb6c14-7d6c-4fc6-8103-670e76543f82</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.