GET api/v2/CustomerGroup/{id}
retour un groupe par son ID
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
VehicleMaintenance[]
CustomerGroupDtoName | Description | Type | Additional information |
---|---|---|---|
Id |
identifiant ( null = create ) |
globally unique identifier |
None. |
CustomerId |
client id |
globally unique identifier |
None. |
Name |
nom |
string |
None. |
ProfilEcoDriveId |
Identifiant du profi éco-conduite |
globally unique identifier |
None. |
Vehicles |
List de vehicle |
Collection of VehicleLightDto |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": "7b452fac-0414-47c3-9708-93a08fda1d0f", "CustomerId": "1aec6762-4d4d-4b8e-b0a3-abc3482ddef0", "Name": "sample string 2", "ProfilEcoDriveId": "fb3c3698-668a-440d-bd9f-07e644476260", "Vehicles": [ { "IdWS": 1, "AgencyAffiliationName": "sample string 2", "AgencyAffiliationId": "65ef866c-47cf-4ce4-b070-0c4c8e510969", "CustomerGroupId": "1e4e1137-5a96-4793-8d4b-a7c203cf50c9", "CustomerGroupName": "sample string 3", "VIN": "sample string 4", "ExternalInterfaceId": "835cdd8a-4f7f-4168-9203-9cd04dbd6899", "InitialEntryIntoService": "2025-05-14T13:03:22.0070098+00:00", "ExternalInterfaces": [ { "Id": "e835986d-e64e-4625-b1ee-5e779f6305dc", "CustomerId": "23a5fedd-5db4-402d-ace1-5b960c524527", "Name": "sample string 3" }, { "Id": "e835986d-e64e-4625-b1ee-5e779f6305dc", "CustomerId": "23a5fedd-5db4-402d-ace1-5b960c524527", "Name": "sample string 3" } ], "IsActive": true, "CompatibleDownload": true, "JobActivity": "sample string 8", "Renting": true, "UtcEndOfLease": "2025-05-14T13:03:22.0070098+00:00", "TheoreticalConsumption": 1.1, "ReservoirVolume": 1, "Tolerance": 10, "MobileUnitId": "d42041e3-128f-41ec-bcb2-e41dac3338b9", "MobileUnitName": "sample string 11", "Imei": "sample string 12", "TotalFuelUsed": 13.1, "CANFuelReportUtc": "2025-05-14T13:03:22.0070098+00:00", "Milestone": 14, "UtcMileageReport": "2025-05-14T13:03:22.0070098+00:00", "MilestoneAtAssignment": 15, "TachySpeedLimit": 1, "CameraType": 0, "VehicleId": "a394633e-5e90-4b40-a3b7-4578d4574154", "CustomerId": "feaeacfa-d397-45f5-8e1d-7014e6f37c00", "LicencePlate": "sample string 17", "Name": "sample string 18", "VehicleType": "sample string 19", "Brand": "sample string 20", "Model": "sample string 21", "State": 0, "FuelName": "sample string 22", "FullName": "sample string 18 (sample string 17)", "Utility": "Porteur", "FuelTypeId": 1, "FuelTypeIdSynthesis": 1, "IsFuelTypeConflict": true }, { "IdWS": 1, "AgencyAffiliationName": "sample string 2", "AgencyAffiliationId": "65ef866c-47cf-4ce4-b070-0c4c8e510969", "CustomerGroupId": "1e4e1137-5a96-4793-8d4b-a7c203cf50c9", "CustomerGroupName": "sample string 3", "VIN": "sample string 4", "ExternalInterfaceId": "835cdd8a-4f7f-4168-9203-9cd04dbd6899", "InitialEntryIntoService": "2025-05-14T13:03:22.0070098+00:00", "ExternalInterfaces": [ { "Id": "e835986d-e64e-4625-b1ee-5e779f6305dc", "CustomerId": "23a5fedd-5db4-402d-ace1-5b960c524527", "Name": "sample string 3" }, { "Id": "e835986d-e64e-4625-b1ee-5e779f6305dc", "CustomerId": "23a5fedd-5db4-402d-ace1-5b960c524527", "Name": "sample string 3" } ], "IsActive": true, "CompatibleDownload": true, "JobActivity": "sample string 8", "Renting": true, "UtcEndOfLease": "2025-05-14T13:03:22.0070098+00:00", "TheoreticalConsumption": 1.1, "ReservoirVolume": 1, "Tolerance": 10, "MobileUnitId": "d42041e3-128f-41ec-bcb2-e41dac3338b9", "MobileUnitName": "sample string 11", "Imei": "sample string 12", "TotalFuelUsed": 13.1, "CANFuelReportUtc": "2025-05-14T13:03:22.0070098+00:00", "Milestone": 14, "UtcMileageReport": "2025-05-14T13:03:22.0070098+00:00", "MilestoneAtAssignment": 15, "TachySpeedLimit": 1, "CameraType": 0, "VehicleId": "a394633e-5e90-4b40-a3b7-4578d4574154", "CustomerId": "feaeacfa-d397-45f5-8e1d-7014e6f37c00", "LicencePlate": "sample string 17", "Name": "sample string 18", "VehicleType": "sample string 19", "Brand": "sample string 20", "Model": "sample string 21", "State": 0, "FuelName": "sample string 22", "FullName": "sample string 18 (sample string 17)", "Utility": "Porteur", "FuelTypeId": 1, "FuelTypeIdSynthesis": 1, "IsFuelTypeConflict": true } ] }
application/xml, text/xml
Sample:
<CustomerGroupDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vehizen.Domain.Dto.CustomerGroup"> <CustomerId>1aec6762-4d4d-4b8e-b0a3-abc3482ddef0</CustomerId> <Id>7b452fac-0414-47c3-9708-93a08fda1d0f</Id> <Name>sample string 2</Name> <ProfilEcoDriveId>fb3c3698-668a-440d-bd9f-07e644476260</ProfilEcoDriveId> <Vehicles xmlns:d2p1="http://schemas.datacontract.org/2004/07/Vehizen.Domain.Dto"> <d2p1:VehicleLightDto> <d2p1:Brand>sample string 20</d2p1:Brand> <d2p1:CustomerId>feaeacfa-d397-45f5-8e1d-7014e6f37c00</d2p1:CustomerId> <d2p1:FuelName>sample string 22</d2p1:FuelName> <d2p1:FuelTypeId>1</d2p1:FuelTypeId> <d2p1:FuelTypeIdSynthesis>1</d2p1:FuelTypeIdSynthesis> <d2p1:IsFuelTypeConflict>true</d2p1:IsFuelTypeConflict> <d2p1:LicencePlate>sample string 17</d2p1:LicencePlate> <d2p1:Model>sample string 21</d2p1:Model> <d2p1:Name>sample string 18</d2p1:Name> <d2p1:State>Active</d2p1:State> <d2p1:VehicleId>a394633e-5e90-4b40-a3b7-4578d4574154</d2p1:VehicleId> <d2p1:VehicleType>sample string 19</d2p1:VehicleType> <d2p1:AgencyAffiliationId>65ef866c-47cf-4ce4-b070-0c4c8e510969</d2p1:AgencyAffiliationId> <d2p1:AgencyAffiliationName>sample string 2</d2p1:AgencyAffiliationName> <d2p1:CANFuelReportUtc>2025-05-14T13:03:22.0070098+00:00</d2p1:CANFuelReportUtc> <d2p1:CameraType>WITHOUT_CAMERA</d2p1:CameraType> <d2p1:CompatibleDownload>true</d2p1:CompatibleDownload> <d2p1:CustomerGroupId>1e4e1137-5a96-4793-8d4b-a7c203cf50c9</d2p1:CustomerGroupId> <d2p1:CustomerGroupName>sample string 3</d2p1:CustomerGroupName> <d2p1:ExternalInterfaceId>835cdd8a-4f7f-4168-9203-9cd04dbd6899</d2p1:ExternalInterfaceId> <d2p1:ExternalInterfaces xmlns:d4p1="http://schemas.datacontract.org/2004/07/Vehizen.Domain.Dto.ExternalInterface"> <d4p1:ExternalInterfaceHeaderDto> <d4p1:CustomerId>23a5fedd-5db4-402d-ace1-5b960c524527</d4p1:CustomerId> <d4p1:Id>e835986d-e64e-4625-b1ee-5e779f6305dc</d4p1:Id> <d4p1:Name>sample string 3</d4p1:Name> </d4p1:ExternalInterfaceHeaderDto> <d4p1:ExternalInterfaceHeaderDto> <d4p1:CustomerId>23a5fedd-5db4-402d-ace1-5b960c524527</d4p1:CustomerId> <d4p1:Id>e835986d-e64e-4625-b1ee-5e779f6305dc</d4p1:Id> <d4p1:Name>sample string 3</d4p1:Name> </d4p1:ExternalInterfaceHeaderDto> </d2p1:ExternalInterfaces> <d2p1:IdWS>1</d2p1:IdWS> <d2p1:Imei>sample string 12</d2p1:Imei> <d2p1:InitialEntryIntoService>2025-05-14T13:03:22.0070098+00:00</d2p1:InitialEntryIntoService> <d2p1:IsActive>true</d2p1:IsActive> <d2p1:JobActivity>sample string 8</d2p1:JobActivity> <d2p1:Milestone>14</d2p1:Milestone> <d2p1:MilestoneAtAssignment>15</d2p1:MilestoneAtAssignment> <d2p1:MobileUnitId>d42041e3-128f-41ec-bcb2-e41dac3338b9</d2p1:MobileUnitId> <d2p1:MobileUnitName>sample string 11</d2p1:MobileUnitName> <d2p1:Renting>true</d2p1:Renting> <d2p1:ReservoirVolume>1</d2p1:ReservoirVolume> <d2p1:TachySpeedLimit>1</d2p1:TachySpeedLimit> <d2p1:TheoreticalConsumption>1.1</d2p1:TheoreticalConsumption> <d2p1:Tolerance>10</d2p1:Tolerance> <d2p1:TotalFuelUsed>13.1</d2p1:TotalFuelUsed> <d2p1:UtcEndOfLease>2025-05-14T13:03:22.0070098+00:00</d2p1:UtcEndOfLease> <d2p1:UtcMileageReport>2025-05-14T13:03:22.0070098+00:00</d2p1:UtcMileageReport> <d2p1:VIN>sample string 4</d2p1:VIN> </d2p1:VehicleLightDto> <d2p1:VehicleLightDto> <d2p1:Brand>sample string 20</d2p1:Brand> <d2p1:CustomerId>feaeacfa-d397-45f5-8e1d-7014e6f37c00</d2p1:CustomerId> <d2p1:FuelName>sample string 22</d2p1:FuelName> <d2p1:FuelTypeId>1</d2p1:FuelTypeId> <d2p1:FuelTypeIdSynthesis>1</d2p1:FuelTypeIdSynthesis> <d2p1:IsFuelTypeConflict>true</d2p1:IsFuelTypeConflict> <d2p1:LicencePlate>sample string 17</d2p1:LicencePlate> <d2p1:Model>sample string 21</d2p1:Model> <d2p1:Name>sample string 18</d2p1:Name> <d2p1:State>Active</d2p1:State> <d2p1:VehicleId>a394633e-5e90-4b40-a3b7-4578d4574154</d2p1:VehicleId> <d2p1:VehicleType>sample string 19</d2p1:VehicleType> <d2p1:AgencyAffiliationId>65ef866c-47cf-4ce4-b070-0c4c8e510969</d2p1:AgencyAffiliationId> <d2p1:AgencyAffiliationName>sample string 2</d2p1:AgencyAffiliationName> <d2p1:CANFuelReportUtc>2025-05-14T13:03:22.0070098+00:00</d2p1:CANFuelReportUtc> <d2p1:CameraType>WITHOUT_CAMERA</d2p1:CameraType> <d2p1:CompatibleDownload>true</d2p1:CompatibleDownload> <d2p1:CustomerGroupId>1e4e1137-5a96-4793-8d4b-a7c203cf50c9</d2p1:CustomerGroupId> <d2p1:CustomerGroupName>sample string 3</d2p1:CustomerGroupName> <d2p1:ExternalInterfaceId>835cdd8a-4f7f-4168-9203-9cd04dbd6899</d2p1:ExternalInterfaceId> <d2p1:ExternalInterfaces xmlns:d4p1="http://schemas.datacontract.org/2004/07/Vehizen.Domain.Dto.ExternalInterface"> <d4p1:ExternalInterfaceHeaderDto> <d4p1:CustomerId>23a5fedd-5db4-402d-ace1-5b960c524527</d4p1:CustomerId> <d4p1:Id>e835986d-e64e-4625-b1ee-5e779f6305dc</d4p1:Id> <d4p1:Name>sample string 3</d4p1:Name> </d4p1:ExternalInterfaceHeaderDto> <d4p1:ExternalInterfaceHeaderDto> <d4p1:CustomerId>23a5fedd-5db4-402d-ace1-5b960c524527</d4p1:CustomerId> <d4p1:Id>e835986d-e64e-4625-b1ee-5e779f6305dc</d4p1:Id> <d4p1:Name>sample string 3</d4p1:Name> </d4p1:ExternalInterfaceHeaderDto> </d2p1:ExternalInterfaces> <d2p1:IdWS>1</d2p1:IdWS> <d2p1:Imei>sample string 12</d2p1:Imei> <d2p1:InitialEntryIntoService>2025-05-14T13:03:22.0070098+00:00</d2p1:InitialEntryIntoService> <d2p1:IsActive>true</d2p1:IsActive> <d2p1:JobActivity>sample string 8</d2p1:JobActivity> <d2p1:Milestone>14</d2p1:Milestone> <d2p1:MilestoneAtAssignment>15</d2p1:MilestoneAtAssignment> <d2p1:MobileUnitId>d42041e3-128f-41ec-bcb2-e41dac3338b9</d2p1:MobileUnitId> <d2p1:MobileUnitName>sample string 11</d2p1:MobileUnitName> <d2p1:Renting>true</d2p1:Renting> <d2p1:ReservoirVolume>1</d2p1:ReservoirVolume> <d2p1:TachySpeedLimit>1</d2p1:TachySpeedLimit> <d2p1:TheoreticalConsumption>1.1</d2p1:TheoreticalConsumption> <d2p1:Tolerance>10</d2p1:Tolerance> <d2p1:TotalFuelUsed>13.1</d2p1:TotalFuelUsed> <d2p1:UtcEndOfLease>2025-05-14T13:03:22.0070098+00:00</d2p1:UtcEndOfLease> <d2p1:UtcMileageReport>2025-05-14T13:03:22.0070098+00:00</d2p1:UtcMileageReport> <d2p1:VIN>sample string 4</d2p1:VIN> </d2p1:VehicleLightDto> </Vehicles> </CustomerGroupDto>