POST api/FleetInsertSupplier

Request Information

URI Parameters

None.

Body Parameters

FleetSupplierModel
NameDescriptionTypeAdditional information
SupplierId

globally unique identifier

None.

SupplierName

string

Required

SupplierTypeId

globally unique identifier

Required

SupplierType

string

None.

IsActive

boolean

None.

CreatedOn

date

None.

CreatedBy

globally unique identifier

None.

CreatedByUser

string

None.

ModifiedOn

date

None.

ModifiedBy

globally unique identifier

None.

ModifiedByUser

string

None.

fleetSupplierTypes

Collection of FleetSupplierTypeModel

None.

Request Formats

application/json, text/json

Sample:
{
  "SupplierId": "ee2015f3-f556-488a-8dd2-4402150e00fa",
  "SupplierName": "sample string 2",
  "SupplierTypeId": "3c225474-8064-4efd-9dc1-49ebb3ef0061",
  "SupplierType": "sample string 3",
  "IsActive": true,
  "CreatedOn": "2026-04-08T15:01:24.178253+02:00",
  "CreatedBy": "208401b3-5c83-4b40-918f-63e23d6e8b32",
  "CreatedByUser": "sample string 5",
  "ModifiedOn": "2026-04-08T15:01:24.178253+02:00",
  "ModifiedBy": "4b928f49-3046-4a2d-89e6-1f7480cc06fd",
  "ModifiedByUser": "sample string 6",
  "fleetSupplierTypes": [
    {
      "SupplierTypeId": "deeb71cb-d867-4bfe-8a12-142a59dc2714",
      "SupplierType": "sample string 1",
      "IsActive": true,
      "CreatedOn": "2026-04-08T15:01:24.178253+02:00",
      "CreatedBy": "758d6e09-c6d3-46b3-8ef0-b7541d519a73",
      "CreatedByUser": "sample string 3",
      "ModifiedOn": "2026-04-08T15:01:24.178253+02:00",
      "ModifiedBy": "bbd45e5f-e802-4b85-b586-9ab0274bd205",
      "ModifiedByUser": "sample string 4"
    },
    {
      "SupplierTypeId": "deeb71cb-d867-4bfe-8a12-142a59dc2714",
      "SupplierType": "sample string 1",
      "IsActive": true,
      "CreatedOn": "2026-04-08T15:01:24.178253+02:00",
      "CreatedBy": "758d6e09-c6d3-46b3-8ef0-b7541d519a73",
      "CreatedByUser": "sample string 3",
      "ModifiedOn": "2026-04-08T15:01:24.178253+02:00",
      "ModifiedBy": "bbd45e5f-e802-4b85-b586-9ab0274bd205",
      "ModifiedByUser": "sample string 4"
    }
  ]
}

application/xml, text/xml

Sample:
<FleetSupplierModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QuoteEngineDta.FleetModels.EstimateSettings">
  <CreatedBy>208401b3-5c83-4b40-918f-63e23d6e8b32</CreatedBy>
  <CreatedByUser>sample string 5</CreatedByUser>
  <CreatedOn>2026-04-08T15:01:24.178253+02:00</CreatedOn>
  <IsActive>true</IsActive>
  <ModifiedBy>4b928f49-3046-4a2d-89e6-1f7480cc06fd</ModifiedBy>
  <ModifiedByUser>sample string 6</ModifiedByUser>
  <ModifiedOn>2026-04-08T15:01:24.178253+02:00</ModifiedOn>
  <SupplierId>ee2015f3-f556-488a-8dd2-4402150e00fa</SupplierId>
  <SupplierName>sample string 2</SupplierName>
  <SupplierType>sample string 3</SupplierType>
  <SupplierTypeId>3c225474-8064-4efd-9dc1-49ebb3ef0061</SupplierTypeId>
  <fleetSupplierTypes>
    <FleetSupplierTypeModel>
      <CreatedBy>758d6e09-c6d3-46b3-8ef0-b7541d519a73</CreatedBy>
      <CreatedByUser>sample string 3</CreatedByUser>
      <CreatedOn>2026-04-08T15:01:24.178253+02:00</CreatedOn>
      <IsActive>true</IsActive>
      <ModifiedBy>bbd45e5f-e802-4b85-b586-9ab0274bd205</ModifiedBy>
      <ModifiedByUser>sample string 4</ModifiedByUser>
      <ModifiedOn>2026-04-08T15:01:24.178253+02:00</ModifiedOn>
      <SupplierType>sample string 1</SupplierType>
      <SupplierTypeId>deeb71cb-d867-4bfe-8a12-142a59dc2714</SupplierTypeId>
    </FleetSupplierTypeModel>
    <FleetSupplierTypeModel>
      <CreatedBy>758d6e09-c6d3-46b3-8ef0-b7541d519a73</CreatedBy>
      <CreatedByUser>sample string 3</CreatedByUser>
      <CreatedOn>2026-04-08T15:01:24.178253+02:00</CreatedOn>
      <IsActive>true</IsActive>
      <ModifiedBy>bbd45e5f-e802-4b85-b586-9ab0274bd205</ModifiedBy>
      <ModifiedByUser>sample string 4</ModifiedByUser>
      <ModifiedOn>2026-04-08T15:01:24.178253+02:00</ModifiedOn>
      <SupplierType>sample string 1</SupplierType>
      <SupplierTypeId>deeb71cb-d867-4bfe-8a12-142a59dc2714</SupplierTypeId>
    </FleetSupplierTypeModel>
  </fleetSupplierTypes>
</FleetSupplierModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'FleetSupplierModel'.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>