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

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": "6cd6c8ae-f095-4ed8-8485-f8a081a090e5",
  "CustomerId": "692a2565-13b6-42a2-8995-76e8930ce445",
  "Name": "sample string 2",
  "ProfilEcoDriveId": "656423a6-2d3c-4e61-b8e0-d7b3b2a103fe",
  "Vehicles": [
    {
      "IdWS": 1,
      "AgencyAffiliationName": "sample string 2",
      "AgencyAffiliationId": "4bb955c5-e7cf-4742-996f-9ff664ec7f74",
      "CustomerGroupId": "646467a0-6dae-46e1-ae23-03c29d3d5fb1",
      "CustomerGroupName": "sample string 3",
      "VIN": "sample string 4",
      "ExternalInterfaceId": "4e286fc6-05f0-4dfc-9aac-e80153e2472c",
      "InitialEntryIntoService": "2026-06-02T05:03:56.4774791+00:00",
      "ExternalInterfaces": [
        {
          "Id": "c1b04824-043a-4735-aa68-87d029a7a0b5",
          "CustomerId": "5bc85f8e-fcf3-4abe-9485-5516bf176bef",
          "Name": "sample string 3"
        },
        {
          "Id": "c1b04824-043a-4735-aa68-87d029a7a0b5",
          "CustomerId": "5bc85f8e-fcf3-4abe-9485-5516bf176bef",
          "Name": "sample string 3"
        }
      ],
      "JobActivity": "sample string 6",
      "Renting": true,
      "UtcEndOfLease": "2026-06-02T05:03:56.4774791+00:00",
      "UtcStartOfLease": "2026-06-02T05:03:56.4774791+00:00",
      "KmEndOfLease": 1,
      "KmStartOfLease": 1,
      "TheoreticalConsumption": 1.1,
      "ReservoirVolume": 1,
      "Tolerance": 8,
      "MobileUnitId": "39acbb81-7302-4f60-9114-3d7befaef522",
      "MobileUnitName": "sample string 9",
      "Imei": "sample string 10",
      "TotalFuelUsed": 11.1,
      "CANFuelReportUtc": "2026-06-02T05:03:56.4774791+00:00",
      "Milestone": 12,
      "UtcMileageReport": "2026-06-02T05:03:56.4774791+00:00",
      "MilestoneAtAssignment": 13,
      "TachySpeedLimit": 1,
      "CameraType": 0,
      "NoGeoloc": true,
      "VehicleState": 0,
      "VehicleId": "fcacb61b-8a54-4909-b0dc-4e8b8601ac70",
      "CustomerId": "fce69eae-ed9b-44d9-907f-a87451be8b50",
      "LicencePlate": "sample string 15",
      "IDByGovernment": "sample string 16",
      "Name": "sample string 17",
      "VehicleType": "sample string 18",
      "Brand": "sample string 19",
      "Model": "sample string 20",
      "State": 0,
      "MalfunctionLevel": 0,
      "DateUtcChangeMalfunctionLevel": "2026-06-02T05:03:56.4774791+00:00",
      "HasMalfunctionHistory": true,
      "IsVehicleCallForMaintenance": true,
      "FuelName": "sample string 23",
      "FullName": "sample string 17 (sample string 15)",
      "Utility": "Porteur",
      "FuelTypeId": 1,
      "FuelTypeIdSynthesis": 1,
      "IsFuelTypeConflict": true,
      "IsActive": true,
      "CompatibleDownload": true
    },
    {
      "IdWS": 1,
      "AgencyAffiliationName": "sample string 2",
      "AgencyAffiliationId": "4bb955c5-e7cf-4742-996f-9ff664ec7f74",
      "CustomerGroupId": "646467a0-6dae-46e1-ae23-03c29d3d5fb1",
      "CustomerGroupName": "sample string 3",
      "VIN": "sample string 4",
      "ExternalInterfaceId": "4e286fc6-05f0-4dfc-9aac-e80153e2472c",
      "InitialEntryIntoService": "2026-06-02T05:03:56.4774791+00:00",
      "ExternalInterfaces": [
        {
          "Id": "c1b04824-043a-4735-aa68-87d029a7a0b5",
          "CustomerId": "5bc85f8e-fcf3-4abe-9485-5516bf176bef",
          "Name": "sample string 3"
        },
        {
          "Id": "c1b04824-043a-4735-aa68-87d029a7a0b5",
          "CustomerId": "5bc85f8e-fcf3-4abe-9485-5516bf176bef",
          "Name": "sample string 3"
        }
      ],
      "JobActivity": "sample string 6",
      "Renting": true,
      "UtcEndOfLease": "2026-06-02T05:03:56.4774791+00:00",
      "UtcStartOfLease": "2026-06-02T05:03:56.4774791+00:00",
      "KmEndOfLease": 1,
      "KmStartOfLease": 1,
      "TheoreticalConsumption": 1.1,
      "ReservoirVolume": 1,
      "Tolerance": 8,
      "MobileUnitId": "39acbb81-7302-4f60-9114-3d7befaef522",
      "MobileUnitName": "sample string 9",
      "Imei": "sample string 10",
      "TotalFuelUsed": 11.1,
      "CANFuelReportUtc": "2026-06-02T05:03:56.4774791+00:00",
      "Milestone": 12,
      "UtcMileageReport": "2026-06-02T05:03:56.4774791+00:00",
      "MilestoneAtAssignment": 13,
      "TachySpeedLimit": 1,
      "CameraType": 0,
      "NoGeoloc": true,
      "VehicleState": 0,
      "VehicleId": "fcacb61b-8a54-4909-b0dc-4e8b8601ac70",
      "CustomerId": "fce69eae-ed9b-44d9-907f-a87451be8b50",
      "LicencePlate": "sample string 15",
      "IDByGovernment": "sample string 16",
      "Name": "sample string 17",
      "VehicleType": "sample string 18",
      "Brand": "sample string 19",
      "Model": "sample string 20",
      "State": 0,
      "MalfunctionLevel": 0,
      "DateUtcChangeMalfunctionLevel": "2026-06-02T05:03:56.4774791+00:00",
      "HasMalfunctionHistory": true,
      "IsVehicleCallForMaintenance": true,
      "FuelName": "sample string 23",
      "FullName": "sample string 17 (sample string 15)",
      "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>692a2565-13b6-42a2-8995-76e8930ce445</CustomerId>
  <Id>6cd6c8ae-f095-4ed8-8485-f8a081a090e5</Id>
  <Name>sample string 2</Name>
  <ProfilEcoDriveId>656423a6-2d3c-4e61-b8e0-d7b3b2a103fe</ProfilEcoDriveId>
  <Vehicles xmlns:d2p1="http://schemas.datacontract.org/2004/07/Vehizen.Domain.Dto">
    <d2p1:VehicleLightDto>
      <d2p1:Brand>sample string 19</d2p1:Brand>
      <d2p1:CompatibleDownload>true</d2p1:CompatibleDownload>
      <d2p1:CustomerId>fce69eae-ed9b-44d9-907f-a87451be8b50</d2p1:CustomerId>
      <d2p1:DateUtcChangeMalfunctionLevel>2026-06-02T05:03:56.4774791+00:00</d2p1:DateUtcChangeMalfunctionLevel>
      <d2p1:FuelName>sample string 23</d2p1:FuelName>
      <d2p1:FuelTypeId>1</d2p1:FuelTypeId>
      <d2p1:FuelTypeIdSynthesis>1</d2p1:FuelTypeIdSynthesis>
      <d2p1:HasMalfunctionHistory>true</d2p1:HasMalfunctionHistory>
      <d2p1:IDByGovernment>sample string 16</d2p1:IDByGovernment>
      <d2p1:IsActive>true</d2p1:IsActive>
      <d2p1:IsFuelTypeConflict>true</d2p1:IsFuelTypeConflict>
      <d2p1:IsVehicleCallForMaintenance>true</d2p1:IsVehicleCallForMaintenance>
      <d2p1:LicencePlate>sample string 15</d2p1:LicencePlate>
      <d2p1:MalfunctionLevel>Null</d2p1:MalfunctionLevel>
      <d2p1:Model>sample string 20</d2p1:Model>
      <d2p1:Name>sample string 17</d2p1:Name>
      <d2p1:State>Active</d2p1:State>
      <d2p1:VehicleId>fcacb61b-8a54-4909-b0dc-4e8b8601ac70</d2p1:VehicleId>
      <d2p1:VehicleType>sample string 18</d2p1:VehicleType>
      <d2p1:AgencyAffiliationId>4bb955c5-e7cf-4742-996f-9ff664ec7f74</d2p1:AgencyAffiliationId>
      <d2p1:AgencyAffiliationName>sample string 2</d2p1:AgencyAffiliationName>
      <d2p1:CANFuelReportUtc>2026-06-02T05:03:56.4774791+00:00</d2p1:CANFuelReportUtc>
      <d2p1:CameraType>WITHOUT_CAMERA</d2p1:CameraType>
      <d2p1:CustomerGroupId>646467a0-6dae-46e1-ae23-03c29d3d5fb1</d2p1:CustomerGroupId>
      <d2p1:CustomerGroupName>sample string 3</d2p1:CustomerGroupName>
      <d2p1:ExternalInterfaceId>4e286fc6-05f0-4dfc-9aac-e80153e2472c</d2p1:ExternalInterfaceId>
      <d2p1:ExternalInterfaces xmlns:d4p1="http://schemas.datacontract.org/2004/07/Vehizen.Domain.Dto.ExternalInterface">
        <d4p1:ExternalInterfaceHeaderDto>
          <d4p1:CustomerId>5bc85f8e-fcf3-4abe-9485-5516bf176bef</d4p1:CustomerId>
          <d4p1:Id>c1b04824-043a-4735-aa68-87d029a7a0b5</d4p1:Id>
          <d4p1:Name>sample string 3</d4p1:Name>
        </d4p1:ExternalInterfaceHeaderDto>
        <d4p1:ExternalInterfaceHeaderDto>
          <d4p1:CustomerId>5bc85f8e-fcf3-4abe-9485-5516bf176bef</d4p1:CustomerId>
          <d4p1:Id>c1b04824-043a-4735-aa68-87d029a7a0b5</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-06-02T05:03:56.4774791+00:00</d2p1:InitialEntryIntoService>
      <d2p1:JobActivity>sample string 6</d2p1:JobActivity>
      <d2p1:KmEndOfLease>1</d2p1:KmEndOfLease>
      <d2p1:KmStartOfLease>1</d2p1:KmStartOfLease>
      <d2p1:Milestone>12</d2p1:Milestone>
      <d2p1:MilestoneAtAssignment>13</d2p1:MilestoneAtAssignment>
      <d2p1:MobileUnitId>39acbb81-7302-4f60-9114-3d7befaef522</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:TotalFuelUsed>11.1</d2p1:TotalFuelUsed>
      <d2p1:UtcEndOfLease>2026-06-02T05:03:56.4774791+00:00</d2p1:UtcEndOfLease>
      <d2p1:UtcMileageReport>2026-06-02T05:03:56.4774791+00:00</d2p1:UtcMileageReport>
      <d2p1:UtcStartOfLease>2026-06-02T05:03:56.4774791+00:00</d2p1:UtcStartOfLease>
      <d2p1:VIN>sample string 4</d2p1:VIN>
      <d2p1:VehicleState>Active</d2p1:VehicleState>
    </d2p1:VehicleLightDto>
    <d2p1:VehicleLightDto>
      <d2p1:Brand>sample string 19</d2p1:Brand>
      <d2p1:CompatibleDownload>true</d2p1:CompatibleDownload>
      <d2p1:CustomerId>fce69eae-ed9b-44d9-907f-a87451be8b50</d2p1:CustomerId>
      <d2p1:DateUtcChangeMalfunctionLevel>2026-06-02T05:03:56.4774791+00:00</d2p1:DateUtcChangeMalfunctionLevel>
      <d2p1:FuelName>sample string 23</d2p1:FuelName>
      <d2p1:FuelTypeId>1</d2p1:FuelTypeId>
      <d2p1:FuelTypeIdSynthesis>1</d2p1:FuelTypeIdSynthesis>
      <d2p1:HasMalfunctionHistory>true</d2p1:HasMalfunctionHistory>
      <d2p1:IDByGovernment>sample string 16</d2p1:IDByGovernment>
      <d2p1:IsActive>true</d2p1:IsActive>
      <d2p1:IsFuelTypeConflict>true</d2p1:IsFuelTypeConflict>
      <d2p1:IsVehicleCallForMaintenance>true</d2p1:IsVehicleCallForMaintenance>
      <d2p1:LicencePlate>sample string 15</d2p1:LicencePlate>
      <d2p1:MalfunctionLevel>Null</d2p1:MalfunctionLevel>
      <d2p1:Model>sample string 20</d2p1:Model>
      <d2p1:Name>sample string 17</d2p1:Name>
      <d2p1:State>Active</d2p1:State>
      <d2p1:VehicleId>fcacb61b-8a54-4909-b0dc-4e8b8601ac70</d2p1:VehicleId>
      <d2p1:VehicleType>sample string 18</d2p1:VehicleType>
      <d2p1:AgencyAffiliationId>4bb955c5-e7cf-4742-996f-9ff664ec7f74</d2p1:AgencyAffiliationId>
      <d2p1:AgencyAffiliationName>sample string 2</d2p1:AgencyAffiliationName>
      <d2p1:CANFuelReportUtc>2026-06-02T05:03:56.4774791+00:00</d2p1:CANFuelReportUtc>
      <d2p1:CameraType>WITHOUT_CAMERA</d2p1:CameraType>
      <d2p1:CustomerGroupId>646467a0-6dae-46e1-ae23-03c29d3d5fb1</d2p1:CustomerGroupId>
      <d2p1:CustomerGroupName>sample string 3</d2p1:CustomerGroupName>
      <d2p1:ExternalInterfaceId>4e286fc6-05f0-4dfc-9aac-e80153e2472c</d2p1:ExternalInterfaceId>
      <d2p1:ExternalInterfaces xmlns:d4p1="http://schemas.datacontract.org/2004/07/Vehizen.Domain.Dto.ExternalInterface">
        <d4p1:ExternalInterfaceHeaderDto>
          <d4p1:CustomerId>5bc85f8e-fcf3-4abe-9485-5516bf176bef</d4p1:CustomerId>
          <d4p1:Id>c1b04824-043a-4735-aa68-87d029a7a0b5</d4p1:Id>
          <d4p1:Name>sample string 3</d4p1:Name>
        </d4p1:ExternalInterfaceHeaderDto>
        <d4p1:ExternalInterfaceHeaderDto>
          <d4p1:CustomerId>5bc85f8e-fcf3-4abe-9485-5516bf176bef</d4p1:CustomerId>
          <d4p1:Id>c1b04824-043a-4735-aa68-87d029a7a0b5</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-06-02T05:03:56.4774791+00:00</d2p1:InitialEntryIntoService>
      <d2p1:JobActivity>sample string 6</d2p1:JobActivity>
      <d2p1:KmEndOfLease>1</d2p1:KmEndOfLease>
      <d2p1:KmStartOfLease>1</d2p1:KmStartOfLease>
      <d2p1:Milestone>12</d2p1:Milestone>
      <d2p1:MilestoneAtAssignment>13</d2p1:MilestoneAtAssignment>
      <d2p1:MobileUnitId>39acbb81-7302-4f60-9114-3d7befaef522</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:TotalFuelUsed>11.1</d2p1:TotalFuelUsed>
      <d2p1:UtcEndOfLease>2026-06-02T05:03:56.4774791+00:00</d2p1:UtcEndOfLease>
      <d2p1:UtcMileageReport>2026-06-02T05:03:56.4774791+00:00</d2p1:UtcMileageReport>
      <d2p1:UtcStartOfLease>2026-06-02T05:03:56.4774791+00:00</d2p1:UtcStartOfLease>
      <d2p1:VIN>sample string 4</d2p1:VIN>
      <d2p1:VehicleState>Active</d2p1:VehicleState>
    </d2p1:VehicleLightDto>
  </Vehicles>
</CustomerGroupDto>