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": "9efa84b2-9471-4d31-bbbe-d8fbf55e43eb", "IdCommunity": "350897d5-00f6-4f0f-996d-0d296098569c", "IdCompany": "0424493c-1da7-47f5-8b0d-4fd4b681128b", "IdIdentity": "44e9385e-d145-4b76-8c91-8d4e465708b4", "IdentityNumber": "sample string 5", "IdentitiyNumberType": 64, "IdentityName": "sample string 7", "IdNetwork": "0b44cebb-654e-4d19-9e8c-59283d51383a", "CommunityTarget": 9, "IdDriver": "e444f58f-e7d2-4966-8d9b-d33791322a13", "DriverLicenseNumber": "sample string 10", "DriverCode": "sample string 11", "DriverEmail": "sample string 12", "DriverFirstName": "sample string 13", "DriverLastName": "sample string 14", "IdVehicle": "5cede9f7-ccc7-4d9d-bed9-7abae56013b5", "IdFleet": "80f58a63-8706-4027-84fd-83fa76d7d3e3", "VehiclePlate": "sample string 15", "VehicleCode": "sample string 16", "Identities": [ { "Id": "3b2c648b-77d8-4529-bbf2-515e775f6a32", "IdNetwork": "fc39d31c-96ab-44f2-8a24-b29e4e54c15d", "IdentityNumber": "sample string 3", "IdentityNumberType": 64, "Name": "sample string 4", "Alias": "sample string 5", "BirthDate": "2025-06-12T08:43:04.1885409Z", "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-06-12T08:43:04.1885409Z", "CreatedNetworkDate": "2025-06-12T08:43:04.1885409Z", "NetworkTimezoneCode": "sample string 22", "UpdateRealDate": "2025-06-12T08:43:04.1885409Z", "UpdateNetworkDate": "2025-06-12T08:43:04.1885409Z", "LoyaltyIdentifications": [ { "Id": "31052553-944f-4e61-886b-ebe58382277c", "IdCommunity": "8758dad5-b076-4b20-9c24-12989d918ed8", "IdCompany": "ec3fec73-40a1-462f-b8ac-1187f9d8700d", "IdFleet": "2060218e-e5a8-499d-98be-5f1c86fe9f19", "CommunityName": "sample string 4", "CommunityTarget": 1, "Label": "sample string 5", "TrackNumber": "sample string 6", "Type": 7, "IdIdentificationModel": "e5e7a2ae-2e23-4e87-9b7d-a0aa14b89320", "Active": true, "PAN": "sample string 10" }, { "Id": "31052553-944f-4e61-886b-ebe58382277c", "IdCommunity": "8758dad5-b076-4b20-9c24-12989d918ed8", "IdCompany": "ec3fec73-40a1-462f-b8ac-1187f9d8700d", "IdFleet": "2060218e-e5a8-499d-98be-5f1c86fe9f19", "CommunityName": "sample string 4", "CommunityTarget": 1, "Label": "sample string 5", "TrackNumber": "sample string 6", "Type": 7, "IdIdentificationModel": "e5e7a2ae-2e23-4e87-9b7d-a0aa14b89320", "Active": true, "PAN": "sample string 10" } ] }, { "Id": "3b2c648b-77d8-4529-bbf2-515e775f6a32", "IdNetwork": "fc39d31c-96ab-44f2-8a24-b29e4e54c15d", "IdentityNumber": "sample string 3", "IdentityNumberType": 64, "Name": "sample string 4", "Alias": "sample string 5", "BirthDate": "2025-06-12T08:43:04.1885409Z", "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-06-12T08:43:04.1885409Z", "CreatedNetworkDate": "2025-06-12T08:43:04.1885409Z", "NetworkTimezoneCode": "sample string 22", "UpdateRealDate": "2025-06-12T08:43:04.1885409Z", "UpdateNetworkDate": "2025-06-12T08:43:04.1885409Z", "LoyaltyIdentifications": [ { "Id": "31052553-944f-4e61-886b-ebe58382277c", "IdCommunity": "8758dad5-b076-4b20-9c24-12989d918ed8", "IdCompany": "ec3fec73-40a1-462f-b8ac-1187f9d8700d", "IdFleet": "2060218e-e5a8-499d-98be-5f1c86fe9f19", "CommunityName": "sample string 4", "CommunityTarget": 1, "Label": "sample string 5", "TrackNumber": "sample string 6", "Type": 7, "IdIdentificationModel": "e5e7a2ae-2e23-4e87-9b7d-a0aa14b89320", "Active": true, "PAN": "sample string 10" }, { "Id": "31052553-944f-4e61-886b-ebe58382277c", "IdCommunity": "8758dad5-b076-4b20-9c24-12989d918ed8", "IdCompany": "ec3fec73-40a1-462f-b8ac-1187f9d8700d", "IdFleet": "2060218e-e5a8-499d-98be-5f1c86fe9f19", "CommunityName": "sample string 4", "CommunityTarget": 1, "Label": "sample string 5", "TrackNumber": "sample string 6", "Type": 7, "IdIdentificationModel": "e5e7a2ae-2e23-4e87-9b7d-a0aa14b89320", "Active": true, "PAN": "sample string 10" } ] } ], "LoyaltyClientCards": [ { "Id": "53537826-fb09-4a5f-85e9-ed379288d924", "IdentificationLabel": "sample string 2", "IdentificationTrackNumber": "sample string 3", "IdentificationType": 4, "IdIdentificationModel": "2f8ba5b0-f88c-40cb-9f4c-bec7e994ffa6", "Active": true, "IdentificationPAN": "sample string 7" }, { "Id": "53537826-fb09-4a5f-85e9-ed379288d924", "IdentificationLabel": "sample string 2", "IdentificationTrackNumber": "sample string 3", "IdentificationType": 4, "IdIdentificationModel": "2f8ba5b0-f88c-40cb-9f4c-bec7e994ffa6", "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>9efa84b2-9471-4d31-bbbe-d8fbf55e43eb</Id> <IdCommunity>350897d5-00f6-4f0f-996d-0d296098569c</IdCommunity> <IdCompany>0424493c-1da7-47f5-8b0d-4fd4b681128b</IdCompany> <IdDriver>e444f58f-e7d2-4966-8d9b-d33791322a13</IdDriver> <IdFleet>80f58a63-8706-4027-84fd-83fa76d7d3e3</IdFleet> <IdIdentity>44e9385e-d145-4b76-8c91-8d4e465708b4</IdIdentity> <IdNetwork>0b44cebb-654e-4d19-9e8c-59283d51383a</IdNetwork> <IdVehicle>5cede9f7-ccc7-4d9d-bed9-7abae56013b5</IdVehicle> <Identities> <IdentityDto> <Alias>sample string 5</Alias> <BirthDate>2025-06-12T08:43:04.1885409Z</BirthDate> <CreatedNetworkDate>2025-06-12T08:43:04.1885409Z</CreatedNetworkDate> <CreatedRealDate>2025-06-12T08:43:04.1885409Z</CreatedRealDate> <Id>3b2c648b-77d8-4529-bbf2-515e775f6a32</Id> <IdNetwork>fc39d31c-96ab-44f2-8a24-b29e4e54c15d</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>31052553-944f-4e61-886b-ebe58382277c</d4p1:Id> <d4p1:IdCommunity>8758dad5-b076-4b20-9c24-12989d918ed8</d4p1:IdCommunity> <d4p1:IdCompany>ec3fec73-40a1-462f-b8ac-1187f9d8700d</d4p1:IdCompany> <d4p1:IdFleet>2060218e-e5a8-499d-98be-5f1c86fe9f19</d4p1:IdFleet> <d4p1:IdIdentificationModel>e5e7a2ae-2e23-4e87-9b7d-a0aa14b89320</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>31052553-944f-4e61-886b-ebe58382277c</d4p1:Id> <d4p1:IdCommunity>8758dad5-b076-4b20-9c24-12989d918ed8</d4p1:IdCommunity> <d4p1:IdCompany>ec3fec73-40a1-462f-b8ac-1187f9d8700d</d4p1:IdCompany> <d4p1:IdFleet>2060218e-e5a8-499d-98be-5f1c86fe9f19</d4p1:IdFleet> <d4p1:IdIdentificationModel>e5e7a2ae-2e23-4e87-9b7d-a0aa14b89320</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-06-12T08:43:04.1885409Z</UpdateNetworkDate> <UpdateRealDate>2025-06-12T08:43:04.1885409Z</UpdateRealDate> <UserConsent>true</UserConsent> <ZipCode>sample string 7</ZipCode> </IdentityDto> <IdentityDto> <Alias>sample string 5</Alias> <BirthDate>2025-06-12T08:43:04.1885409Z</BirthDate> <CreatedNetworkDate>2025-06-12T08:43:04.1885409Z</CreatedNetworkDate> <CreatedRealDate>2025-06-12T08:43:04.1885409Z</CreatedRealDate> <Id>3b2c648b-77d8-4529-bbf2-515e775f6a32</Id> <IdNetwork>fc39d31c-96ab-44f2-8a24-b29e4e54c15d</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>31052553-944f-4e61-886b-ebe58382277c</d4p1:Id> <d4p1:IdCommunity>8758dad5-b076-4b20-9c24-12989d918ed8</d4p1:IdCommunity> <d4p1:IdCompany>ec3fec73-40a1-462f-b8ac-1187f9d8700d</d4p1:IdCompany> <d4p1:IdFleet>2060218e-e5a8-499d-98be-5f1c86fe9f19</d4p1:IdFleet> <d4p1:IdIdentificationModel>e5e7a2ae-2e23-4e87-9b7d-a0aa14b89320</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>31052553-944f-4e61-886b-ebe58382277c</d4p1:Id> <d4p1:IdCommunity>8758dad5-b076-4b20-9c24-12989d918ed8</d4p1:IdCommunity> <d4p1:IdCompany>ec3fec73-40a1-462f-b8ac-1187f9d8700d</d4p1:IdCompany> <d4p1:IdFleet>2060218e-e5a8-499d-98be-5f1c86fe9f19</d4p1:IdFleet> <d4p1:IdIdentificationModel>e5e7a2ae-2e23-4e87-9b7d-a0aa14b89320</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-06-12T08:43:04.1885409Z</UpdateNetworkDate> <UpdateRealDate>2025-06-12T08:43:04.1885409Z</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>53537826-fb09-4a5f-85e9-ed379288d924</Id> <IdIdentificationModel>2f8ba5b0-f88c-40cb-9f4c-bec7e994ffa6</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>53537826-fb09-4a5f-85e9-ed379288d924</Id> <IdIdentificationModel>2f8ba5b0-f88c-40cb-9f4c-bec7e994ffa6</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.