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": "91ebb264-ea05-4be4-b57d-48c3b0ed62f9",
"IdCommunity": "9646f125-d367-4b87-ad4f-4d8a0bebb1a0",
"IdCompany": "ac4a13ce-a649-45c3-a81b-9ea3b909c724",
"IdIdentity": "42f88adb-7e90-4f70-a1a5-0429902e628b",
"IdentityNumber": "sample string 5",
"IdentitiyNumberType": 64,
"IdentityName": "sample string 7",
"IdNetwork": "d6552964-b99c-466e-b194-e4c66df42b3c",
"CommunityTarget": 9,
"IdDriver": "b359e6ee-44d1-4a2f-837a-6abd005519e9",
"DriverLicenseNumber": "sample string 10",
"DriverCode": "sample string 11",
"DriverEmail": "sample string 12",
"DriverFirstName": "sample string 13",
"DriverLastName": "sample string 14",
"IdVehicle": "7edcc4d2-56f2-4146-8173-3392bbff887a",
"IdFleet": "aaafd698-e81e-4aed-a84c-98e82835f894",
"VehiclePlate": "sample string 15",
"VehicleCode": "sample string 16",
"Identities": [
{
"Id": "36397510-ca15-4c7f-85e8-102930559b87",
"IdNetwork": "79265a4e-3a4c-4cc3-8e6e-c179fbf8e012",
"IdentityNumber": "sample string 3",
"IdentityNumberType": 64,
"Name": "sample string 4",
"Alias": "sample string 5",
"BirthDate": "2025-10-29T07:57:34.3816083Z",
"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-10-29T07:57:34.3816083Z",
"CreatedNetworkDate": "2025-10-29T07:57:34.3816083Z",
"NetworkTimezoneCode": "sample string 22",
"UpdateRealDate": "2025-10-29T07:57:34.3816083Z",
"UpdateNetworkDate": "2025-10-29T07:57:34.3816083Z",
"LoyaltyIdentifications": [
{
"Id": "233f2311-0286-4f86-a2de-82eb6b10e834",
"IdCommunity": "c445f2a8-b60f-479c-ae2e-2895ee6559b0",
"IdCompany": "4477385e-4655-4dcc-ba96-cc2062116fb0",
"IdFleet": "7004c12a-b06e-4572-a777-df6df4f5e311",
"CommunityName": "sample string 4",
"CommunityTarget": 1,
"Label": "sample string 5",
"TrackNumber": "sample string 6",
"Type": 7,
"IdIdentificationModel": "d4ef746d-4e52-438a-9921-c7b8e4ec1e9a",
"Active": true,
"PAN": "sample string 10"
},
{
"Id": "233f2311-0286-4f86-a2de-82eb6b10e834",
"IdCommunity": "c445f2a8-b60f-479c-ae2e-2895ee6559b0",
"IdCompany": "4477385e-4655-4dcc-ba96-cc2062116fb0",
"IdFleet": "7004c12a-b06e-4572-a777-df6df4f5e311",
"CommunityName": "sample string 4",
"CommunityTarget": 1,
"Label": "sample string 5",
"TrackNumber": "sample string 6",
"Type": 7,
"IdIdentificationModel": "d4ef746d-4e52-438a-9921-c7b8e4ec1e9a",
"Active": true,
"PAN": "sample string 10"
}
]
},
{
"Id": "36397510-ca15-4c7f-85e8-102930559b87",
"IdNetwork": "79265a4e-3a4c-4cc3-8e6e-c179fbf8e012",
"IdentityNumber": "sample string 3",
"IdentityNumberType": 64,
"Name": "sample string 4",
"Alias": "sample string 5",
"BirthDate": "2025-10-29T07:57:34.3816083Z",
"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-10-29T07:57:34.3816083Z",
"CreatedNetworkDate": "2025-10-29T07:57:34.3816083Z",
"NetworkTimezoneCode": "sample string 22",
"UpdateRealDate": "2025-10-29T07:57:34.3816083Z",
"UpdateNetworkDate": "2025-10-29T07:57:34.3816083Z",
"LoyaltyIdentifications": [
{
"Id": "233f2311-0286-4f86-a2de-82eb6b10e834",
"IdCommunity": "c445f2a8-b60f-479c-ae2e-2895ee6559b0",
"IdCompany": "4477385e-4655-4dcc-ba96-cc2062116fb0",
"IdFleet": "7004c12a-b06e-4572-a777-df6df4f5e311",
"CommunityName": "sample string 4",
"CommunityTarget": 1,
"Label": "sample string 5",
"TrackNumber": "sample string 6",
"Type": 7,
"IdIdentificationModel": "d4ef746d-4e52-438a-9921-c7b8e4ec1e9a",
"Active": true,
"PAN": "sample string 10"
},
{
"Id": "233f2311-0286-4f86-a2de-82eb6b10e834",
"IdCommunity": "c445f2a8-b60f-479c-ae2e-2895ee6559b0",
"IdCompany": "4477385e-4655-4dcc-ba96-cc2062116fb0",
"IdFleet": "7004c12a-b06e-4572-a777-df6df4f5e311",
"CommunityName": "sample string 4",
"CommunityTarget": 1,
"Label": "sample string 5",
"TrackNumber": "sample string 6",
"Type": 7,
"IdIdentificationModel": "d4ef746d-4e52-438a-9921-c7b8e4ec1e9a",
"Active": true,
"PAN": "sample string 10"
}
]
}
],
"LoyaltyClientCards": [
{
"Id": "dd290a80-c99f-4e76-a3e0-a552d5ff5d6d",
"IdentificationLabel": "sample string 2",
"IdentificationTrackNumber": "sample string 3",
"IdentificationType": 4,
"IdIdentificationModel": "893956b5-53d6-4041-ad81-590d2285bc16",
"Active": true,
"IdentificationPAN": "sample string 7"
},
{
"Id": "dd290a80-c99f-4e76-a3e0-a552d5ff5d6d",
"IdentificationLabel": "sample string 2",
"IdentificationTrackNumber": "sample string 3",
"IdentificationType": 4,
"IdIdentificationModel": "893956b5-53d6-4041-ad81-590d2285bc16",
"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>91ebb264-ea05-4be4-b57d-48c3b0ed62f9</Id>
<IdCommunity>9646f125-d367-4b87-ad4f-4d8a0bebb1a0</IdCommunity>
<IdCompany>ac4a13ce-a649-45c3-a81b-9ea3b909c724</IdCompany>
<IdDriver>b359e6ee-44d1-4a2f-837a-6abd005519e9</IdDriver>
<IdFleet>aaafd698-e81e-4aed-a84c-98e82835f894</IdFleet>
<IdIdentity>42f88adb-7e90-4f70-a1a5-0429902e628b</IdIdentity>
<IdNetwork>d6552964-b99c-466e-b194-e4c66df42b3c</IdNetwork>
<IdVehicle>7edcc4d2-56f2-4146-8173-3392bbff887a</IdVehicle>
<Identities>
<IdentityDto>
<Alias>sample string 5</Alias>
<BirthDate>2025-10-29T07:57:34.3816083Z</BirthDate>
<CreatedNetworkDate>2025-10-29T07:57:34.3816083Z</CreatedNetworkDate>
<CreatedRealDate>2025-10-29T07:57:34.3816083Z</CreatedRealDate>
<Id>36397510-ca15-4c7f-85e8-102930559b87</Id>
<IdNetwork>79265a4e-3a4c-4cc3-8e6e-c179fbf8e012</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>233f2311-0286-4f86-a2de-82eb6b10e834</d4p1:Id>
<d4p1:IdCommunity>c445f2a8-b60f-479c-ae2e-2895ee6559b0</d4p1:IdCommunity>
<d4p1:IdCompany>4477385e-4655-4dcc-ba96-cc2062116fb0</d4p1:IdCompany>
<d4p1:IdFleet>7004c12a-b06e-4572-a777-df6df4f5e311</d4p1:IdFleet>
<d4p1:IdIdentificationModel>d4ef746d-4e52-438a-9921-c7b8e4ec1e9a</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>233f2311-0286-4f86-a2de-82eb6b10e834</d4p1:Id>
<d4p1:IdCommunity>c445f2a8-b60f-479c-ae2e-2895ee6559b0</d4p1:IdCommunity>
<d4p1:IdCompany>4477385e-4655-4dcc-ba96-cc2062116fb0</d4p1:IdCompany>
<d4p1:IdFleet>7004c12a-b06e-4572-a777-df6df4f5e311</d4p1:IdFleet>
<d4p1:IdIdentificationModel>d4ef746d-4e52-438a-9921-c7b8e4ec1e9a</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-10-29T07:57:34.3816083Z</UpdateNetworkDate>
<UpdateRealDate>2025-10-29T07:57:34.3816083Z</UpdateRealDate>
<UserConsent>true</UserConsent>
<ZipCode>sample string 7</ZipCode>
</IdentityDto>
<IdentityDto>
<Alias>sample string 5</Alias>
<BirthDate>2025-10-29T07:57:34.3816083Z</BirthDate>
<CreatedNetworkDate>2025-10-29T07:57:34.3816083Z</CreatedNetworkDate>
<CreatedRealDate>2025-10-29T07:57:34.3816083Z</CreatedRealDate>
<Id>36397510-ca15-4c7f-85e8-102930559b87</Id>
<IdNetwork>79265a4e-3a4c-4cc3-8e6e-c179fbf8e012</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>233f2311-0286-4f86-a2de-82eb6b10e834</d4p1:Id>
<d4p1:IdCommunity>c445f2a8-b60f-479c-ae2e-2895ee6559b0</d4p1:IdCommunity>
<d4p1:IdCompany>4477385e-4655-4dcc-ba96-cc2062116fb0</d4p1:IdCompany>
<d4p1:IdFleet>7004c12a-b06e-4572-a777-df6df4f5e311</d4p1:IdFleet>
<d4p1:IdIdentificationModel>d4ef746d-4e52-438a-9921-c7b8e4ec1e9a</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>233f2311-0286-4f86-a2de-82eb6b10e834</d4p1:Id>
<d4p1:IdCommunity>c445f2a8-b60f-479c-ae2e-2895ee6559b0</d4p1:IdCommunity>
<d4p1:IdCompany>4477385e-4655-4dcc-ba96-cc2062116fb0</d4p1:IdCompany>
<d4p1:IdFleet>7004c12a-b06e-4572-a777-df6df4f5e311</d4p1:IdFleet>
<d4p1:IdIdentificationModel>d4ef746d-4e52-438a-9921-c7b8e4ec1e9a</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-10-29T07:57:34.3816083Z</UpdateNetworkDate>
<UpdateRealDate>2025-10-29T07:57:34.3816083Z</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>dd290a80-c99f-4e76-a3e0-a552d5ff5d6d</Id>
<IdIdentificationModel>893956b5-53d6-4041-ad81-590d2285bc16</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>dd290a80-c99f-4e76-a3e0-a552d5ff5d6d</Id>
<IdIdentificationModel>893956b5-53d6-4041-ad81-590d2285bc16</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.