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.
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. |
Request Formats
application/json, text/json
Sample:
{ "Id": "374e7437-a0aa-49ac-bd6b-505b40bb074b", "IdCommunity": "eebc5992-471c-4ee9-afc9-6ac88dd15c10", "IdCompany": "61af4e5e-c5da-47aa-a550-3c06a3b0d3ba", "IdIdentity": "cc5782a5-c76b-4d08-8eea-57ce204ef3a5", "IdentityNumber": "sample string 5", "IdentitiyNumberType": 64, "IdentityName": "sample string 7", "IdNetwork": "b7ed05d5-f952-4408-976d-6a9cd6f59de9", "CommunityTarget": 9, "IdDriver": "916c18f0-8d8b-4b8b-b020-52db9a8755e2", "DriverLicenseNumber": "sample string 10", "DriverCode": "sample string 11", "DriverEmail": "sample string 12", "DriverFirstName": "sample string 13", "DriverLastName": "sample string 14", "IdVehicle": "4df27a30-9052-444e-806d-0246b7f57225", "IdFleet": "b5d23c49-23ae-40a5-9c4f-69e9dee871f2", "VehiclePlate": "sample string 15", "VehicleCode": "sample string 16", "Identities": [ { "Id": "dd9f5696-786a-463d-a81a-b3dab2cd7b98", "IdNetwork": "0de8997c-7964-4776-97f0-719753e20813", "IdentityNumber": "sample string 3", "IdentityNumberType": 64, "Name": "sample string 4", "Alias": "sample string 5", "BirthDate": "2025-09-13T08:00:25.9077831Z", "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-09-13T08:00:25.9077831Z", "CreatedNetworkDate": "2025-09-13T08:00:25.9077831Z", "NetworkTimezoneCode": "sample string 22", "UpdateRealDate": "2025-09-13T08:00:25.9077831Z", "UpdateNetworkDate": "2025-09-13T08:00:25.9077831Z", "LoyaltyIdentifications": [ { "Id": "408f5dc3-9aec-49f9-93b9-0a432f5a576c", "IdCommunity": "60545bdd-545f-4b23-a568-0246bf42f0eb", "IdCompany": "fa7fcf83-1f9b-4afd-a773-e10f49952824", "IdFleet": "d15ef763-f2fe-4746-9489-63e79eab3536", "CommunityName": "sample string 4", "CommunityTarget": 1, "Label": "sample string 5", "TrackNumber": "sample string 6", "Type": 7, "IdIdentificationModel": "74570ff5-9a2c-4d63-be49-f3069836de3d", "Active": true, "PAN": "sample string 10" }, { "Id": "408f5dc3-9aec-49f9-93b9-0a432f5a576c", "IdCommunity": "60545bdd-545f-4b23-a568-0246bf42f0eb", "IdCompany": "fa7fcf83-1f9b-4afd-a773-e10f49952824", "IdFleet": "d15ef763-f2fe-4746-9489-63e79eab3536", "CommunityName": "sample string 4", "CommunityTarget": 1, "Label": "sample string 5", "TrackNumber": "sample string 6", "Type": 7, "IdIdentificationModel": "74570ff5-9a2c-4d63-be49-f3069836de3d", "Active": true, "PAN": "sample string 10" } ] }, { "Id": "dd9f5696-786a-463d-a81a-b3dab2cd7b98", "IdNetwork": "0de8997c-7964-4776-97f0-719753e20813", "IdentityNumber": "sample string 3", "IdentityNumberType": 64, "Name": "sample string 4", "Alias": "sample string 5", "BirthDate": "2025-09-13T08:00:25.9077831Z", "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-09-13T08:00:25.9077831Z", "CreatedNetworkDate": "2025-09-13T08:00:25.9077831Z", "NetworkTimezoneCode": "sample string 22", "UpdateRealDate": "2025-09-13T08:00:25.9077831Z", "UpdateNetworkDate": "2025-09-13T08:00:25.9077831Z", "LoyaltyIdentifications": [ { "Id": "408f5dc3-9aec-49f9-93b9-0a432f5a576c", "IdCommunity": "60545bdd-545f-4b23-a568-0246bf42f0eb", "IdCompany": "fa7fcf83-1f9b-4afd-a773-e10f49952824", "IdFleet": "d15ef763-f2fe-4746-9489-63e79eab3536", "CommunityName": "sample string 4", "CommunityTarget": 1, "Label": "sample string 5", "TrackNumber": "sample string 6", "Type": 7, "IdIdentificationModel": "74570ff5-9a2c-4d63-be49-f3069836de3d", "Active": true, "PAN": "sample string 10" }, { "Id": "408f5dc3-9aec-49f9-93b9-0a432f5a576c", "IdCommunity": "60545bdd-545f-4b23-a568-0246bf42f0eb", "IdCompany": "fa7fcf83-1f9b-4afd-a773-e10f49952824", "IdFleet": "d15ef763-f2fe-4746-9489-63e79eab3536", "CommunityName": "sample string 4", "CommunityTarget": 1, "Label": "sample string 5", "TrackNumber": "sample string 6", "Type": 7, "IdIdentificationModel": "74570ff5-9a2c-4d63-be49-f3069836de3d", "Active": true, "PAN": "sample string 10" } ] } ], "LoyaltyClientCards": [ { "Id": "693b811c-996f-4cc6-9686-0d88e26f3ffa", "IdentificationLabel": "sample string 2", "IdentificationTrackNumber": "sample string 3", "IdentificationType": 4, "IdIdentificationModel": "614c04a1-8004-4aa5-b672-de7d3ecd1a3a", "Active": true, "IdentificationPAN": "sample string 7" }, { "Id": "693b811c-996f-4cc6-9686-0d88e26f3ffa", "IdentificationLabel": "sample string 2", "IdentificationTrackNumber": "sample string 3", "IdentificationType": 4, "IdIdentificationModel": "614c04a1-8004-4aa5-b672-de7d3ecd1a3a", "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>374e7437-a0aa-49ac-bd6b-505b40bb074b</Id> <IdCommunity>eebc5992-471c-4ee9-afc9-6ac88dd15c10</IdCommunity> <IdCompany>61af4e5e-c5da-47aa-a550-3c06a3b0d3ba</IdCompany> <IdDriver>916c18f0-8d8b-4b8b-b020-52db9a8755e2</IdDriver> <IdFleet>b5d23c49-23ae-40a5-9c4f-69e9dee871f2</IdFleet> <IdIdentity>cc5782a5-c76b-4d08-8eea-57ce204ef3a5</IdIdentity> <IdNetwork>b7ed05d5-f952-4408-976d-6a9cd6f59de9</IdNetwork> <IdVehicle>4df27a30-9052-444e-806d-0246b7f57225</IdVehicle> <Identities> <IdentityDto> <Alias>sample string 5</Alias> <BirthDate>2025-09-13T08:00:25.9077831Z</BirthDate> <CreatedNetworkDate>2025-09-13T08:00:25.9077831Z</CreatedNetworkDate> <CreatedRealDate>2025-09-13T08:00:25.9077831Z</CreatedRealDate> <Id>dd9f5696-786a-463d-a81a-b3dab2cd7b98</Id> <IdNetwork>0de8997c-7964-4776-97f0-719753e20813</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>408f5dc3-9aec-49f9-93b9-0a432f5a576c</d4p1:Id> <d4p1:IdCommunity>60545bdd-545f-4b23-a568-0246bf42f0eb</d4p1:IdCommunity> <d4p1:IdCompany>fa7fcf83-1f9b-4afd-a773-e10f49952824</d4p1:IdCompany> <d4p1:IdFleet>d15ef763-f2fe-4746-9489-63e79eab3536</d4p1:IdFleet> <d4p1:IdIdentificationModel>74570ff5-9a2c-4d63-be49-f3069836de3d</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>408f5dc3-9aec-49f9-93b9-0a432f5a576c</d4p1:Id> <d4p1:IdCommunity>60545bdd-545f-4b23-a568-0246bf42f0eb</d4p1:IdCommunity> <d4p1:IdCompany>fa7fcf83-1f9b-4afd-a773-e10f49952824</d4p1:IdCompany> <d4p1:IdFleet>d15ef763-f2fe-4746-9489-63e79eab3536</d4p1:IdFleet> <d4p1:IdIdentificationModel>74570ff5-9a2c-4d63-be49-f3069836de3d</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-09-13T08:00:25.9077831Z</UpdateNetworkDate> <UpdateRealDate>2025-09-13T08:00:25.9077831Z</UpdateRealDate> <UserConsent>true</UserConsent> <ZipCode>sample string 7</ZipCode> </IdentityDto> <IdentityDto> <Alias>sample string 5</Alias> <BirthDate>2025-09-13T08:00:25.9077831Z</BirthDate> <CreatedNetworkDate>2025-09-13T08:00:25.9077831Z</CreatedNetworkDate> <CreatedRealDate>2025-09-13T08:00:25.9077831Z</CreatedRealDate> <Id>dd9f5696-786a-463d-a81a-b3dab2cd7b98</Id> <IdNetwork>0de8997c-7964-4776-97f0-719753e20813</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>408f5dc3-9aec-49f9-93b9-0a432f5a576c</d4p1:Id> <d4p1:IdCommunity>60545bdd-545f-4b23-a568-0246bf42f0eb</d4p1:IdCommunity> <d4p1:IdCompany>fa7fcf83-1f9b-4afd-a773-e10f49952824</d4p1:IdCompany> <d4p1:IdFleet>d15ef763-f2fe-4746-9489-63e79eab3536</d4p1:IdFleet> <d4p1:IdIdentificationModel>74570ff5-9a2c-4d63-be49-f3069836de3d</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>408f5dc3-9aec-49f9-93b9-0a432f5a576c</d4p1:Id> <d4p1:IdCommunity>60545bdd-545f-4b23-a568-0246bf42f0eb</d4p1:IdCommunity> <d4p1:IdCompany>fa7fcf83-1f9b-4afd-a773-e10f49952824</d4p1:IdCompany> <d4p1:IdFleet>d15ef763-f2fe-4746-9489-63e79eab3536</d4p1:IdFleet> <d4p1:IdIdentificationModel>74570ff5-9a2c-4d63-be49-f3069836de3d</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-09-13T08:00:25.9077831Z</UpdateNetworkDate> <UpdateRealDate>2025-09-13T08:00:25.9077831Z</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>693b811c-996f-4cc6-9686-0d88e26f3ffa</Id> <IdIdentificationModel>614c04a1-8004-4aa5-b672-de7d3ecd1a3a</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>693b811c-996f-4cc6-9686-0d88e26f3ffa</Id> <IdIdentificationModel>614c04a1-8004-4aa5-b672-de7d3ecd1a3a</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.