GET api/v2/CustomerGroup/{id}

retour un groupe par son ID

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

VehicleMaintenance[]

CustomerGroupDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

CustomerId

globally unique identifier

None.

Name

string

None.

ProfilEcoDriveId

globally unique identifier

None.

Vehicles

Collection of VehicleLightDto

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "d1feb7f0-5896-4759-97f6-25b71e68cff0",
  "CustomerId": "7e1fd3af-cce6-4fe4-afe2-0a79083b6e1d",
  "Name": "sample string 2",
  "ProfilEcoDriveId": "3a4d82a0-9b0c-495c-b792-ae62fc4b176b",
  "Vehicles": [
    {
      "LastLegalFileDate": "2026-12-05T01:34:20.4558894+00:00",
      "IdWS": 1,
      "AgencyAffiliationName": "sample string 2",
      "AgencyAffiliationId": "26e75585-ed07-4319-9155-38fa43b2c485",
      "CustomerGroupId": "64488e8e-d023-49f0-b70e-72f4f4ae361d",
      "CustomerGroupName": "sample string 3",
      "VIN": "sample string 4",
      "ExternalInterfaceId": "32292f1e-3e66-4a92-b452-9f20d615c3d3",
      "InitialEntryIntoService": "2026-12-05T01:34:20.4558894+00:00",
      "ExternalInterfaces": [
        {
          "Id": "759343fa-7d09-49a2-b7c8-7d76e2a15428",
          "CustomerId": "08424e6d-0a56-44f2-bf5f-e01e418fe1d8",
          "Name": "sample string 3"
        },
        {
          "Id": "759343fa-7d09-49a2-b7c8-7d76e2a15428",
          "CustomerId": "08424e6d-0a56-44f2-bf5f-e01e418fe1d8",
          "Name": "sample string 3"
        }
      ],
      "JobActivity": "sample string 6",
      "Renting": true,
      "UtcEndOfLease": "2026-12-05T01:34:20.4558894+00:00",
      "UtcStartOfLease": "2026-12-05T01:34:20.4558894+00:00",
      "KmEndOfLease": 1,
      "KmStartOfLease": 1,
      "TheoreticalConsumption": 1.1,
      "ReservoirVolume": 1,
      "Tolerance": 8,
      "MobileUnitId": "fc6e86b8-8886-4628-8df1-fc3c2fc3f2dc",
      "MobileUnitName": "sample string 9",
      "Imei": "sample string 10",
      "TotalFuelUsed": 11.1,
      "TotalEngineHours": 12.1,
      "CANFuelReportUtc": "2026-12-05T01:34:20.4558894+00:00",
      "Milestone": 13,
      "UtcMileageReport": "2026-12-05T01:34:20.4558894+00:00",
      "MilestoneAtAssignment": 14,
      "TachySpeedLimit": 1,
      "CameraType": 0,
      "NoGeoloc": true,
      "VehicleState": 0,
      "VehicleId": "d511d6f7-fe0b-4c62-af6a-60d73d606d6f",
      "CustomerId": "ae1552d2-3862-449d-87b0-662bfc0d03ca",
      "LicencePlate": "sample string 16",
      "IDByGovernment": "sample string 17",
      "Name": "sample string 18",
      "VehicleType": "sample string 19",
      "Brand": "sample string 20",
      "Model": "sample string 21",
      "State": 0,
      "MalfunctionLevel": 0,
      "DateUtcChangeMalfunctionLevel": "2026-12-05T01:34:20.4558894+00:00",
      "HasMalfunctionHistory": true,
      "IsVehicleCallForMaintenance": true,
      "FuelName": "sample string 24",
      "FullName": "sample string 18 (sample string 16)",
      "Utility": "Porteur",
      "FuelTypeId": 1,
      "FuelTypeIdSynthesis": 1,
      "IsFuelTypeConflict": true,
      "IsActive": true,
      "CompatibleDownload": true
    },
    {
      "LastLegalFileDate": "2026-12-05T01:34:20.4558894+00:00",
      "IdWS": 1,
      "AgencyAffiliationName": "sample string 2",
      "AgencyAffiliationId": "26e75585-ed07-4319-9155-38fa43b2c485",
      "CustomerGroupId": "64488e8e-d023-49f0-b70e-72f4f4ae361d",
      "CustomerGroupName": "sample string 3",
      "VIN": "sample string 4",
      "ExternalInterfaceId": "32292f1e-3e66-4a92-b452-9f20d615c3d3",
      "InitialEntryIntoService": "2026-12-05T01:34:20.4558894+00:00",
      "ExternalInterfaces": [
        {
          "Id": "759343fa-7d09-49a2-b7c8-7d76e2a15428",
          "CustomerId": "08424e6d-0a56-44f2-bf5f-e01e418fe1d8",
          "Name": "sample string 3"
        },
        {
          "Id": "759343fa-7d09-49a2-b7c8-7d76e2a15428",
          "CustomerId": "08424e6d-0a56-44f2-bf5f-e01e418fe1d8",
          "Name": "sample string 3"
        }
      ],
      "JobActivity": "sample string 6",
      "Renting": true,
      "UtcEndOfLease": "2026-12-05T01:34:20.4558894+00:00",
      "UtcStartOfLease": "2026-12-05T01:34:20.4558894+00:00",
      "KmEndOfLease": 1,
      "KmStartOfLease": 1,
      "TheoreticalConsumption": 1.1,
      "ReservoirVolume": 1,
      "Tolerance": 8,
      "MobileUnitId": "fc6e86b8-8886-4628-8df1-fc3c2fc3f2dc",
      "MobileUnitName": "sample string 9",
      "Imei": "sample string 10",
      "TotalFuelUsed": 11.1,
      "TotalEngineHours": 12.1,
      "CANFuelReportUtc": "2026-12-05T01:34:20.4558894+00:00",
      "Milestone": 13,
      "UtcMileageReport": "2026-12-05T01:34:20.4558894+00:00",
      "MilestoneAtAssignment": 14,
      "TachySpeedLimit": 1,
      "CameraType": 0,
      "NoGeoloc": true,
      "VehicleState": 0,
      "VehicleId": "d511d6f7-fe0b-4c62-af6a-60d73d606d6f",
      "CustomerId": "ae1552d2-3862-449d-87b0-662bfc0d03ca",
      "LicencePlate": "sample string 16",
      "IDByGovernment": "sample string 17",
      "Name": "sample string 18",
      "VehicleType": "sample string 19",
      "Brand": "sample string 20",
      "Model": "sample string 21",
      "State": 0,
      "MalfunctionLevel": 0,
      "DateUtcChangeMalfunctionLevel": "2026-12-05T01:34:20.4558894+00:00",
      "HasMalfunctionHistory": true,
      "IsVehicleCallForMaintenance": true,
      "FuelName": "sample string 24",
      "FullName": "sample string 18 (sample string 16)",
      "Utility": "Porteur",
      "FuelTypeId": 1,
      "FuelTypeIdSynthesis": 1,
      "IsFuelTypeConflict": true,
      "IsActive": true,
      "CompatibleDownload": 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>7e1fd3af-cce6-4fe4-afe2-0a79083b6e1d</CustomerId>
  <Id>d1feb7f0-5896-4759-97f6-25b71e68cff0</Id>
  <Name>sample string 2</Name>
  <ProfilEcoDriveId>3a4d82a0-9b0c-495c-b792-ae62fc4b176b</ProfilEcoDriveId>
  <Vehicles xmlns:d2p1="http://schemas.datacontract.org/2004/07/Vehizen.Domain.Dto">
    <d2p1:VehicleLightDto>
      <d2p1:Brand>sample string 20</d2p1:Brand>
      <d2p1:CompatibleDownload>true</d2p1:CompatibleDownload>
      <d2p1:CustomerId>ae1552d2-3862-449d-87b0-662bfc0d03ca</d2p1:CustomerId>
      <d2p1:DateUtcChangeMalfunctionLevel>2026-12-05T01:34:20.4558894+00:00</d2p1:DateUtcChangeMalfunctionLevel>
      <d2p1:FuelName>sample string 24</d2p1:FuelName>
      <d2p1:FuelTypeId>1</d2p1:FuelTypeId>
      <d2p1:FuelTypeIdSynthesis>1</d2p1:FuelTypeIdSynthesis>
      <d2p1:HasMalfunctionHistory>true</d2p1:HasMalfunctionHistory>
      <d2p1:IDByGovernment>sample string 17</d2p1:IDByGovernment>
      <d2p1:IsActive>true</d2p1:IsActive>
      <d2p1:IsFuelTypeConflict>true</d2p1:IsFuelTypeConflict>
      <d2p1:IsVehicleCallForMaintenance>true</d2p1:IsVehicleCallForMaintenance>
      <d2p1:LicencePlate>sample string 16</d2p1:LicencePlate>
      <d2p1:MalfunctionLevel>Null</d2p1:MalfunctionLevel>
      <d2p1:Model>sample string 21</d2p1:Model>
      <d2p1:Name>sample string 18</d2p1:Name>
      <d2p1:State>Active</d2p1:State>
      <d2p1:VehicleId>d511d6f7-fe0b-4c62-af6a-60d73d606d6f</d2p1:VehicleId>
      <d2p1:VehicleType>sample string 19</d2p1:VehicleType>
      <d2p1:AgencyAffiliationId>26e75585-ed07-4319-9155-38fa43b2c485</d2p1:AgencyAffiliationId>
      <d2p1:AgencyAffiliationName>sample string 2</d2p1:AgencyAffiliationName>
      <d2p1:CANFuelReportUtc>2026-12-05T01:34:20.4558894+00:00</d2p1:CANFuelReportUtc>
      <d2p1:CameraType>WITHOUT_CAMERA</d2p1:CameraType>
      <d2p1:CustomerGroupId>64488e8e-d023-49f0-b70e-72f4f4ae361d</d2p1:CustomerGroupId>
      <d2p1:CustomerGroupName>sample string 3</d2p1:CustomerGroupName>
      <d2p1:ExternalInterfaceId>32292f1e-3e66-4a92-b452-9f20d615c3d3</d2p1:ExternalInterfaceId>
      <d2p1:ExternalInterfaces xmlns:d4p1="http://schemas.datacontract.org/2004/07/Vehizen.Domain.Dto.ExternalInterface">
        <d4p1:ExternalInterfaceHeaderDto>
          <d4p1:CustomerId>08424e6d-0a56-44f2-bf5f-e01e418fe1d8</d4p1:CustomerId>
          <d4p1:Id>759343fa-7d09-49a2-b7c8-7d76e2a15428</d4p1:Id>
          <d4p1:Name>sample string 3</d4p1:Name>
        </d4p1:ExternalInterfaceHeaderDto>
        <d4p1:ExternalInterfaceHeaderDto>
          <d4p1:CustomerId>08424e6d-0a56-44f2-bf5f-e01e418fe1d8</d4p1:CustomerId>
          <d4p1:Id>759343fa-7d09-49a2-b7c8-7d76e2a15428</d4p1:Id>
          <d4p1:Name>sample string 3</d4p1:Name>
        </d4p1:ExternalInterfaceHeaderDto>
      </d2p1:ExternalInterfaces>
      <d2p1:IdWS>1</d2p1:IdWS>
      <d2p1:Imei>sample string 10</d2p1:Imei>
      <d2p1:InitialEntryIntoService>2026-12-05T01:34:20.4558894+00:00</d2p1:InitialEntryIntoService>
      <d2p1:JobActivity>sample string 6</d2p1:JobActivity>
      <d2p1:KmEndOfLease>1</d2p1:KmEndOfLease>
      <d2p1:KmStartOfLease>1</d2p1:KmStartOfLease>
      <d2p1:LastLegalFileDate>2026-12-05T01:34:20.4558894+00:00</d2p1:LastLegalFileDate>
      <d2p1:Milestone>13</d2p1:Milestone>
      <d2p1:MilestoneAtAssignment>14</d2p1:MilestoneAtAssignment>
      <d2p1:MobileUnitId>fc6e86b8-8886-4628-8df1-fc3c2fc3f2dc</d2p1:MobileUnitId>
      <d2p1:MobileUnitName>sample string 9</d2p1:MobileUnitName>
      <d2p1:NoGeoloc>true</d2p1:NoGeoloc>
      <d2p1:Renting>true</d2p1:Renting>
      <d2p1:ReservoirVolume>1</d2p1:ReservoirVolume>
      <d2p1:TachySpeedLimit>1</d2p1:TachySpeedLimit>
      <d2p1:TheoreticalConsumption>1.1</d2p1:TheoreticalConsumption>
      <d2p1:Tolerance>8</d2p1:Tolerance>
      <d2p1:TotalEngineHours>12.1</d2p1:TotalEngineHours>
      <d2p1:TotalFuelUsed>11.1</d2p1:TotalFuelUsed>
      <d2p1:UtcEndOfLease>2026-12-05T01:34:20.4558894+00:00</d2p1:UtcEndOfLease>
      <d2p1:UtcMileageReport>2026-12-05T01:34:20.4558894+00:00</d2p1:UtcMileageReport>
      <d2p1:UtcStartOfLease>2026-12-05T01:34:20.4558894+00:00</d2p1:UtcStartOfLease>
      <d2p1:VIN>sample string 4</d2p1:VIN>
      <d2p1:VehicleState>Active</d2p1:VehicleState>
    </d2p1:VehicleLightDto>
    <d2p1:VehicleLightDto>
      <d2p1:Brand>sample string 20</d2p1:Brand>
      <d2p1:CompatibleDownload>true</d2p1:CompatibleDownload>
      <d2p1:CustomerId>ae1552d2-3862-449d-87b0-662bfc0d03ca</d2p1:CustomerId>
      <d2p1:DateUtcChangeMalfunctionLevel>2026-12-05T01:34:20.4558894+00:00</d2p1:DateUtcChangeMalfunctionLevel>
      <d2p1:FuelName>sample string 24</d2p1:FuelName>
      <d2p1:FuelTypeId>1</d2p1:FuelTypeId>
      <d2p1:FuelTypeIdSynthesis>1</d2p1:FuelTypeIdSynthesis>
      <d2p1:HasMalfunctionHistory>true</d2p1:HasMalfunctionHistory>
      <d2p1:IDByGovernment>sample string 17</d2p1:IDByGovernment>
      <d2p1:IsActive>true</d2p1:IsActive>
      <d2p1:IsFuelTypeConflict>true</d2p1:IsFuelTypeConflict>
      <d2p1:IsVehicleCallForMaintenance>true</d2p1:IsVehicleCallForMaintenance>
      <d2p1:LicencePlate>sample string 16</d2p1:LicencePlate>
      <d2p1:MalfunctionLevel>Null</d2p1:MalfunctionLevel>
      <d2p1:Model>sample string 21</d2p1:Model>
      <d2p1:Name>sample string 18</d2p1:Name>
      <d2p1:State>Active</d2p1:State>
      <d2p1:VehicleId>d511d6f7-fe0b-4c62-af6a-60d73d606d6f</d2p1:VehicleId>
      <d2p1:VehicleType>sample string 19</d2p1:VehicleType>
      <d2p1:AgencyAffiliationId>26e75585-ed07-4319-9155-38fa43b2c485</d2p1:AgencyAffiliationId>
      <d2p1:AgencyAffiliationName>sample string 2</d2p1:AgencyAffiliationName>
      <d2p1:CANFuelReportUtc>2026-12-05T01:34:20.4558894+00:00</d2p1:CANFuelReportUtc>
      <d2p1:CameraType>WITHOUT_CAMERA</d2p1:CameraType>
      <d2p1:CustomerGroupId>64488e8e-d023-49f0-b70e-72f4f4ae361d</d2p1:CustomerGroupId>
      <d2p1:CustomerGroupName>sample string 3</d2p1:CustomerGroupName>
      <d2p1:ExternalInterfaceId>32292f1e-3e66-4a92-b452-9f20d615c3d3</d2p1:ExternalInterfaceId>
      <d2p1:ExternalInterfaces xmlns:d4p1="http://schemas.datacontract.org/2004/07/Vehizen.Domain.Dto.ExternalInterface">
        <d4p1:ExternalInterfaceHeaderDto>
          <d4p1:CustomerId>08424e6d-0a56-44f2-bf5f-e01e418fe1d8</d4p1:CustomerId>
          <d4p1:Id>759343fa-7d09-49a2-b7c8-7d76e2a15428</d4p1:Id>
          <d4p1:Name>sample string 3</d4p1:Name>
        </d4p1:ExternalInterfaceHeaderDto>
        <d4p1:ExternalInterfaceHeaderDto>
          <d4p1:CustomerId>08424e6d-0a56-44f2-bf5f-e01e418fe1d8</d4p1:CustomerId>
          <d4p1:Id>759343fa-7d09-49a2-b7c8-7d76e2a15428</d4p1:Id>
          <d4p1:Name>sample string 3</d4p1:Name>
        </d4p1:ExternalInterfaceHeaderDto>
      </d2p1:ExternalInterfaces>
      <d2p1:IdWS>1</d2p1:IdWS>
      <d2p1:Imei>sample string 10</d2p1:Imei>
      <d2p1:InitialEntryIntoService>2026-12-05T01:34:20.4558894+00:00</d2p1:InitialEntryIntoService>
      <d2p1:JobActivity>sample string 6</d2p1:JobActivity>
      <d2p1:KmEndOfLease>1</d2p1:KmEndOfLease>
      <d2p1:KmStartOfLease>1</d2p1:KmStartOfLease>
      <d2p1:LastLegalFileDate>2026-12-05T01:34:20.4558894+00:00</d2p1:LastLegalFileDate>
      <d2p1:Milestone>13</d2p1:Milestone>
      <d2p1:MilestoneAtAssignment>14</d2p1:MilestoneAtAssignment>
      <d2p1:MobileUnitId>fc6e86b8-8886-4628-8df1-fc3c2fc3f2dc</d2p1:MobileUnitId>
      <d2p1:MobileUnitName>sample string 9</d2p1:MobileUnitName>
      <d2p1:NoGeoloc>true</d2p1:NoGeoloc>
      <d2p1:Renting>true</d2p1:Renting>
      <d2p1:ReservoirVolume>1</d2p1:ReservoirVolume>
      <d2p1:TachySpeedLimit>1</d2p1:TachySpeedLimit>
      <d2p1:TheoreticalConsumption>1.1</d2p1:TheoreticalConsumption>
      <d2p1:Tolerance>8</d2p1:Tolerance>
      <d2p1:TotalEngineHours>12.1</d2p1:TotalEngineHours>
      <d2p1:TotalFuelUsed>11.1</d2p1:TotalFuelUsed>
      <d2p1:UtcEndOfLease>2026-12-05T01:34:20.4558894+00:00</d2p1:UtcEndOfLease>
      <d2p1:UtcMileageReport>2026-12-05T01:34:20.4558894+00:00</d2p1:UtcMileageReport>
      <d2p1:UtcStartOfLease>2026-12-05T01:34:20.4558894+00:00</d2p1:UtcStartOfLease>
      <d2p1:VIN>sample string 4</d2p1:VIN>
      <d2p1:VehicleState>Active</d2p1:VehicleState>
    </d2p1:VehicleLightDto>
  </Vehicles>
</CustomerGroupDto>