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": "b1a59f9b-f32c-4874-81d6-3214a76b616e",
"IdCommunity": "6760c3e9-53c8-4a5f-af91-2111b5983797",
"IdCompany": "75d4319d-162e-4440-8045-fe448c5637bf",
"IdIdentity": "19b348d9-9753-45b2-b7ae-88ce870f8037",
"IdentityNumber": "sample string 5",
"IdentitiyNumberType": 64,
"IdentityName": "sample string 7",
"IdNetwork": "c8ba496d-88af-44fb-9897-983ef52e9e38",
"CommunityTarget": 9,
"IdDriver": "b6c15253-3a21-489f-bf89-0f63eecd0d75",
"DriverLicenseNumber": "sample string 10",
"DriverCode": "sample string 11",
"DriverEmail": "sample string 12",
"DriverFirstName": "sample string 13",
"DriverLastName": "sample string 14",
"IdVehicle": "2a8fe08c-bc0e-449f-9e01-ec0fe2b31c19",
"IdFleet": "937870c0-230e-453a-a542-7889e4e3043f",
"VehiclePlate": "sample string 15",
"VehicleCode": "sample string 16",
"Identities": [
{
"Id": "fbd5805c-4259-4445-a64e-57d3ed4133a7",
"IdNetwork": "aa7d0a15-57b8-4fd6-a451-ab47e70eec17",
"IdentityNumber": "sample string 3",
"IdentityNumberType": 64,
"Name": "sample string 4",
"Alias": "sample string 5",
"BirthDate": "2026-08-03T19:02:23.1505034Z",
"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-08-03T19:02:23.1505034Z",
"CreatedNetworkDate": "2026-08-03T19:02:23.1505034Z",
"NetworkTimezoneCode": "sample string 22",
"UpdateRealDate": "2026-08-03T19:02:23.1505034Z",
"UpdateNetworkDate": "2026-08-03T19:02:23.1505034Z",
"LoyaltyIdentifications": [
{
"Id": "7ea249ef-2519-4eb5-8c68-84628e2f4c96",
"IdCommunity": "2eee71ee-d591-435d-9619-76de456e1036",
"IdCompany": "78691244-1c68-49cf-82ae-2a78a64974a9",
"IdFleet": "acd9b9ee-bc9a-43c2-934d-393915ad1bbc",
"CommunityName": "sample string 4",
"CommunityTarget": 1,
"Label": "sample string 5",
"TrackNumber": "sample string 6",
"Type": 7,
"IdIdentificationModel": "1814982d-65e5-4b1a-824c-26638d8b91b8",
"Active": true,
"PAN": "sample string 10"
},
{
"Id": "7ea249ef-2519-4eb5-8c68-84628e2f4c96",
"IdCommunity": "2eee71ee-d591-435d-9619-76de456e1036",
"IdCompany": "78691244-1c68-49cf-82ae-2a78a64974a9",
"IdFleet": "acd9b9ee-bc9a-43c2-934d-393915ad1bbc",
"CommunityName": "sample string 4",
"CommunityTarget": 1,
"Label": "sample string 5",
"TrackNumber": "sample string 6",
"Type": 7,
"IdIdentificationModel": "1814982d-65e5-4b1a-824c-26638d8b91b8",
"Active": true,
"PAN": "sample string 10"
}
]
},
{
"Id": "fbd5805c-4259-4445-a64e-57d3ed4133a7",
"IdNetwork": "aa7d0a15-57b8-4fd6-a451-ab47e70eec17",
"IdentityNumber": "sample string 3",
"IdentityNumberType": 64,
"Name": "sample string 4",
"Alias": "sample string 5",
"BirthDate": "2026-08-03T19:02:23.1505034Z",
"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-08-03T19:02:23.1505034Z",
"CreatedNetworkDate": "2026-08-03T19:02:23.1505034Z",
"NetworkTimezoneCode": "sample string 22",
"UpdateRealDate": "2026-08-03T19:02:23.1505034Z",
"UpdateNetworkDate": "2026-08-03T19:02:23.1505034Z",
"LoyaltyIdentifications": [
{
"Id": "7ea249ef-2519-4eb5-8c68-84628e2f4c96",
"IdCommunity": "2eee71ee-d591-435d-9619-76de456e1036",
"IdCompany": "78691244-1c68-49cf-82ae-2a78a64974a9",
"IdFleet": "acd9b9ee-bc9a-43c2-934d-393915ad1bbc",
"CommunityName": "sample string 4",
"CommunityTarget": 1,
"Label": "sample string 5",
"TrackNumber": "sample string 6",
"Type": 7,
"IdIdentificationModel": "1814982d-65e5-4b1a-824c-26638d8b91b8",
"Active": true,
"PAN": "sample string 10"
},
{
"Id": "7ea249ef-2519-4eb5-8c68-84628e2f4c96",
"IdCommunity": "2eee71ee-d591-435d-9619-76de456e1036",
"IdCompany": "78691244-1c68-49cf-82ae-2a78a64974a9",
"IdFleet": "acd9b9ee-bc9a-43c2-934d-393915ad1bbc",
"CommunityName": "sample string 4",
"CommunityTarget": 1,
"Label": "sample string 5",
"TrackNumber": "sample string 6",
"Type": 7,
"IdIdentificationModel": "1814982d-65e5-4b1a-824c-26638d8b91b8",
"Active": true,
"PAN": "sample string 10"
}
]
}
],
"LoyaltyClientCards": [
{
"Id": "14439c07-51e2-4b58-a294-9be321a404fc",
"IdentificationLabel": "sample string 2",
"IdentificationTrackNumber": "sample string 3",
"IdentificationType": 4,
"IdIdentificationModel": "8190bb61-04c7-4517-97fd-c404c653aad0",
"Active": true,
"IdentificationPAN": "sample string 7"
},
{
"Id": "14439c07-51e2-4b58-a294-9be321a404fc",
"IdentificationLabel": "sample string 2",
"IdentificationTrackNumber": "sample string 3",
"IdentificationType": 4,
"IdIdentificationModel": "8190bb61-04c7-4517-97fd-c404c653aad0",
"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>b1a59f9b-f32c-4874-81d6-3214a76b616e</Id>
<IdCommunity>6760c3e9-53c8-4a5f-af91-2111b5983797</IdCommunity>
<IdCompany>75d4319d-162e-4440-8045-fe448c5637bf</IdCompany>
<IdDriver>b6c15253-3a21-489f-bf89-0f63eecd0d75</IdDriver>
<IdFleet>937870c0-230e-453a-a542-7889e4e3043f</IdFleet>
<IdIdentity>19b348d9-9753-45b2-b7ae-88ce870f8037</IdIdentity>
<IdNetwork>c8ba496d-88af-44fb-9897-983ef52e9e38</IdNetwork>
<IdVehicle>2a8fe08c-bc0e-449f-9e01-ec0fe2b31c19</IdVehicle>
<Identities>
<IdentityDto>
<Alias>sample string 5</Alias>
<BirthDate>2026-08-03T19:02:23.1505034Z</BirthDate>
<CreatedNetworkDate>2026-08-03T19:02:23.1505034Z</CreatedNetworkDate>
<CreatedRealDate>2026-08-03T19:02:23.1505034Z</CreatedRealDate>
<Id>fbd5805c-4259-4445-a64e-57d3ed4133a7</Id>
<IdNetwork>aa7d0a15-57b8-4fd6-a451-ab47e70eec17</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>7ea249ef-2519-4eb5-8c68-84628e2f4c96</d4p1:Id>
<d4p1:IdCommunity>2eee71ee-d591-435d-9619-76de456e1036</d4p1:IdCommunity>
<d4p1:IdCompany>78691244-1c68-49cf-82ae-2a78a64974a9</d4p1:IdCompany>
<d4p1:IdFleet>acd9b9ee-bc9a-43c2-934d-393915ad1bbc</d4p1:IdFleet>
<d4p1:IdIdentificationModel>1814982d-65e5-4b1a-824c-26638d8b91b8</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>7ea249ef-2519-4eb5-8c68-84628e2f4c96</d4p1:Id>
<d4p1:IdCommunity>2eee71ee-d591-435d-9619-76de456e1036</d4p1:IdCommunity>
<d4p1:IdCompany>78691244-1c68-49cf-82ae-2a78a64974a9</d4p1:IdCompany>
<d4p1:IdFleet>acd9b9ee-bc9a-43c2-934d-393915ad1bbc</d4p1:IdFleet>
<d4p1:IdIdentificationModel>1814982d-65e5-4b1a-824c-26638d8b91b8</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-08-03T19:02:23.1505034Z</UpdateNetworkDate>
<UpdateRealDate>2026-08-03T19:02:23.1505034Z</UpdateRealDate>
<UserConsent>true</UserConsent>
<ZipCode>sample string 7</ZipCode>
</IdentityDto>
<IdentityDto>
<Alias>sample string 5</Alias>
<BirthDate>2026-08-03T19:02:23.1505034Z</BirthDate>
<CreatedNetworkDate>2026-08-03T19:02:23.1505034Z</CreatedNetworkDate>
<CreatedRealDate>2026-08-03T19:02:23.1505034Z</CreatedRealDate>
<Id>fbd5805c-4259-4445-a64e-57d3ed4133a7</Id>
<IdNetwork>aa7d0a15-57b8-4fd6-a451-ab47e70eec17</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>7ea249ef-2519-4eb5-8c68-84628e2f4c96</d4p1:Id>
<d4p1:IdCommunity>2eee71ee-d591-435d-9619-76de456e1036</d4p1:IdCommunity>
<d4p1:IdCompany>78691244-1c68-49cf-82ae-2a78a64974a9</d4p1:IdCompany>
<d4p1:IdFleet>acd9b9ee-bc9a-43c2-934d-393915ad1bbc</d4p1:IdFleet>
<d4p1:IdIdentificationModel>1814982d-65e5-4b1a-824c-26638d8b91b8</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>7ea249ef-2519-4eb5-8c68-84628e2f4c96</d4p1:Id>
<d4p1:IdCommunity>2eee71ee-d591-435d-9619-76de456e1036</d4p1:IdCommunity>
<d4p1:IdCompany>78691244-1c68-49cf-82ae-2a78a64974a9</d4p1:IdCompany>
<d4p1:IdFleet>acd9b9ee-bc9a-43c2-934d-393915ad1bbc</d4p1:IdFleet>
<d4p1:IdIdentificationModel>1814982d-65e5-4b1a-824c-26638d8b91b8</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-08-03T19:02:23.1505034Z</UpdateNetworkDate>
<UpdateRealDate>2026-08-03T19:02:23.1505034Z</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>14439c07-51e2-4b58-a294-9be321a404fc</Id>
<IdIdentificationModel>8190bb61-04c7-4517-97fd-c404c653aad0</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>14439c07-51e2-4b58-a294-9be321a404fc</Id>
<IdIdentificationModel>8190bb61-04c7-4517-97fd-c404c653aad0</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.