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": "0c0830ae-c4b1-4bc2-baca-c47723209f16",
"IdCommunity": "1b4ba717-1ca4-43ac-8959-f7c8402c6bf8",
"IdCompany": "3cb56980-04bc-4d7c-9472-3856c9a4966e",
"IdIdentity": "178baa68-0caf-4da6-b178-624fcfaabd83",
"IdentityNumber": "sample string 5",
"IdentitiyNumberType": 64,
"IdentityName": "sample string 7",
"IdNetwork": "a99c785d-e02f-4659-82ed-56f23e93571a",
"CommunityTarget": 9,
"IdDriver": "8bc0153e-8faa-4368-8c97-cb7609c4c739",
"DriverLicenseNumber": "sample string 10",
"DriverCode": "sample string 11",
"DriverEmail": "sample string 12",
"DriverFirstName": "sample string 13",
"DriverLastName": "sample string 14",
"IdVehicle": "d15a7714-da91-4479-8eb8-e20d70f2adfc",
"IdFleet": "7bc7c53a-47f3-4673-ab9c-b7c6fb94592e",
"VehiclePlate": "sample string 15",
"VehicleCode": "sample string 16",
"Identities": [
{
"Id": "89db4a0a-407c-4dd5-b2fc-4d84d40b98a6",
"IdNetwork": "4223351d-c4f5-4570-bf32-bb40d6162873",
"IdentityNumber": "sample string 3",
"IdentityNumberType": 64,
"Name": "sample string 4",
"Alias": "sample string 5",
"BirthDate": "2026-03-13T12:28:19.2370363Z",
"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-03-13T12:28:19.2370363Z",
"CreatedNetworkDate": "2026-03-13T12:28:19.2370363Z",
"NetworkTimezoneCode": "sample string 22",
"UpdateRealDate": "2026-03-13T12:28:19.2370363Z",
"UpdateNetworkDate": "2026-03-13T12:28:19.2370363Z",
"LoyaltyIdentifications": [
{
"Id": "7c0c89ec-d978-46ea-aa6f-11182bd4bf4c",
"IdCommunity": "40a87363-5aea-4c0d-9218-135a1f6daccf",
"IdCompany": "d6b11af7-09d7-4ab6-b250-09093bf9616d",
"IdFleet": "2f3652b9-1a7c-43df-9435-baec338b2dd2",
"CommunityName": "sample string 4",
"CommunityTarget": 1,
"Label": "sample string 5",
"TrackNumber": "sample string 6",
"Type": 7,
"IdIdentificationModel": "71e2765e-5657-4aee-8eeb-714bb299e6f1",
"Active": true,
"PAN": "sample string 10"
},
{
"Id": "7c0c89ec-d978-46ea-aa6f-11182bd4bf4c",
"IdCommunity": "40a87363-5aea-4c0d-9218-135a1f6daccf",
"IdCompany": "d6b11af7-09d7-4ab6-b250-09093bf9616d",
"IdFleet": "2f3652b9-1a7c-43df-9435-baec338b2dd2",
"CommunityName": "sample string 4",
"CommunityTarget": 1,
"Label": "sample string 5",
"TrackNumber": "sample string 6",
"Type": 7,
"IdIdentificationModel": "71e2765e-5657-4aee-8eeb-714bb299e6f1",
"Active": true,
"PAN": "sample string 10"
}
]
},
{
"Id": "89db4a0a-407c-4dd5-b2fc-4d84d40b98a6",
"IdNetwork": "4223351d-c4f5-4570-bf32-bb40d6162873",
"IdentityNumber": "sample string 3",
"IdentityNumberType": 64,
"Name": "sample string 4",
"Alias": "sample string 5",
"BirthDate": "2026-03-13T12:28:19.2370363Z",
"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-03-13T12:28:19.2370363Z",
"CreatedNetworkDate": "2026-03-13T12:28:19.2370363Z",
"NetworkTimezoneCode": "sample string 22",
"UpdateRealDate": "2026-03-13T12:28:19.2370363Z",
"UpdateNetworkDate": "2026-03-13T12:28:19.2370363Z",
"LoyaltyIdentifications": [
{
"Id": "7c0c89ec-d978-46ea-aa6f-11182bd4bf4c",
"IdCommunity": "40a87363-5aea-4c0d-9218-135a1f6daccf",
"IdCompany": "d6b11af7-09d7-4ab6-b250-09093bf9616d",
"IdFleet": "2f3652b9-1a7c-43df-9435-baec338b2dd2",
"CommunityName": "sample string 4",
"CommunityTarget": 1,
"Label": "sample string 5",
"TrackNumber": "sample string 6",
"Type": 7,
"IdIdentificationModel": "71e2765e-5657-4aee-8eeb-714bb299e6f1",
"Active": true,
"PAN": "sample string 10"
},
{
"Id": "7c0c89ec-d978-46ea-aa6f-11182bd4bf4c",
"IdCommunity": "40a87363-5aea-4c0d-9218-135a1f6daccf",
"IdCompany": "d6b11af7-09d7-4ab6-b250-09093bf9616d",
"IdFleet": "2f3652b9-1a7c-43df-9435-baec338b2dd2",
"CommunityName": "sample string 4",
"CommunityTarget": 1,
"Label": "sample string 5",
"TrackNumber": "sample string 6",
"Type": 7,
"IdIdentificationModel": "71e2765e-5657-4aee-8eeb-714bb299e6f1",
"Active": true,
"PAN": "sample string 10"
}
]
}
],
"LoyaltyClientCards": [
{
"Id": "3fd80aa1-1d9f-47a0-87bd-533b4e525663",
"IdentificationLabel": "sample string 2",
"IdentificationTrackNumber": "sample string 3",
"IdentificationType": 4,
"IdIdentificationModel": "2dff473d-37df-4d7f-9ab5-6b31652ad35d",
"Active": true,
"IdentificationPAN": "sample string 7"
},
{
"Id": "3fd80aa1-1d9f-47a0-87bd-533b4e525663",
"IdentificationLabel": "sample string 2",
"IdentificationTrackNumber": "sample string 3",
"IdentificationType": 4,
"IdIdentificationModel": "2dff473d-37df-4d7f-9ab5-6b31652ad35d",
"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>0c0830ae-c4b1-4bc2-baca-c47723209f16</Id>
<IdCommunity>1b4ba717-1ca4-43ac-8959-f7c8402c6bf8</IdCommunity>
<IdCompany>3cb56980-04bc-4d7c-9472-3856c9a4966e</IdCompany>
<IdDriver>8bc0153e-8faa-4368-8c97-cb7609c4c739</IdDriver>
<IdFleet>7bc7c53a-47f3-4673-ab9c-b7c6fb94592e</IdFleet>
<IdIdentity>178baa68-0caf-4da6-b178-624fcfaabd83</IdIdentity>
<IdNetwork>a99c785d-e02f-4659-82ed-56f23e93571a</IdNetwork>
<IdVehicle>d15a7714-da91-4479-8eb8-e20d70f2adfc</IdVehicle>
<Identities>
<IdentityDto>
<Alias>sample string 5</Alias>
<BirthDate>2026-03-13T12:28:19.2370363Z</BirthDate>
<CreatedNetworkDate>2026-03-13T12:28:19.2370363Z</CreatedNetworkDate>
<CreatedRealDate>2026-03-13T12:28:19.2370363Z</CreatedRealDate>
<Id>89db4a0a-407c-4dd5-b2fc-4d84d40b98a6</Id>
<IdNetwork>4223351d-c4f5-4570-bf32-bb40d6162873</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>7c0c89ec-d978-46ea-aa6f-11182bd4bf4c</d4p1:Id>
<d4p1:IdCommunity>40a87363-5aea-4c0d-9218-135a1f6daccf</d4p1:IdCommunity>
<d4p1:IdCompany>d6b11af7-09d7-4ab6-b250-09093bf9616d</d4p1:IdCompany>
<d4p1:IdFleet>2f3652b9-1a7c-43df-9435-baec338b2dd2</d4p1:IdFleet>
<d4p1:IdIdentificationModel>71e2765e-5657-4aee-8eeb-714bb299e6f1</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>7c0c89ec-d978-46ea-aa6f-11182bd4bf4c</d4p1:Id>
<d4p1:IdCommunity>40a87363-5aea-4c0d-9218-135a1f6daccf</d4p1:IdCommunity>
<d4p1:IdCompany>d6b11af7-09d7-4ab6-b250-09093bf9616d</d4p1:IdCompany>
<d4p1:IdFleet>2f3652b9-1a7c-43df-9435-baec338b2dd2</d4p1:IdFleet>
<d4p1:IdIdentificationModel>71e2765e-5657-4aee-8eeb-714bb299e6f1</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-03-13T12:28:19.2370363Z</UpdateNetworkDate>
<UpdateRealDate>2026-03-13T12:28:19.2370363Z</UpdateRealDate>
<UserConsent>true</UserConsent>
<ZipCode>sample string 7</ZipCode>
</IdentityDto>
<IdentityDto>
<Alias>sample string 5</Alias>
<BirthDate>2026-03-13T12:28:19.2370363Z</BirthDate>
<CreatedNetworkDate>2026-03-13T12:28:19.2370363Z</CreatedNetworkDate>
<CreatedRealDate>2026-03-13T12:28:19.2370363Z</CreatedRealDate>
<Id>89db4a0a-407c-4dd5-b2fc-4d84d40b98a6</Id>
<IdNetwork>4223351d-c4f5-4570-bf32-bb40d6162873</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>7c0c89ec-d978-46ea-aa6f-11182bd4bf4c</d4p1:Id>
<d4p1:IdCommunity>40a87363-5aea-4c0d-9218-135a1f6daccf</d4p1:IdCommunity>
<d4p1:IdCompany>d6b11af7-09d7-4ab6-b250-09093bf9616d</d4p1:IdCompany>
<d4p1:IdFleet>2f3652b9-1a7c-43df-9435-baec338b2dd2</d4p1:IdFleet>
<d4p1:IdIdentificationModel>71e2765e-5657-4aee-8eeb-714bb299e6f1</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>7c0c89ec-d978-46ea-aa6f-11182bd4bf4c</d4p1:Id>
<d4p1:IdCommunity>40a87363-5aea-4c0d-9218-135a1f6daccf</d4p1:IdCommunity>
<d4p1:IdCompany>d6b11af7-09d7-4ab6-b250-09093bf9616d</d4p1:IdCompany>
<d4p1:IdFleet>2f3652b9-1a7c-43df-9435-baec338b2dd2</d4p1:IdFleet>
<d4p1:IdIdentificationModel>71e2765e-5657-4aee-8eeb-714bb299e6f1</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-03-13T12:28:19.2370363Z</UpdateNetworkDate>
<UpdateRealDate>2026-03-13T12:28:19.2370363Z</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>3fd80aa1-1d9f-47a0-87bd-533b4e525663</Id>
<IdIdentificationModel>2dff473d-37df-4d7f-9ab5-6b31652ad35d</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>3fd80aa1-1d9f-47a0-87bd-533b4e525663</Id>
<IdIdentificationModel>2dff473d-37df-4d7f-9ab5-6b31652ad35d</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.