POST api/Quoting/ImportQuotes

Request Information

URI Parameters

None.

Body Parameters

ImportQuotesViewModel
NameDescriptionTypeAdditional information
Feuil1

Collection of ImportQuotesItemViewModel

None.

Request Formats

application/json, text/json

Sample:
{
  "Feuil1": [
    {
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ValidFrom": "2025-12-05T21:55:50.2220954-08:00",
      "ValidTo": "2025-12-05T21:55:50.2220954-08:00",
      "CustomerId": 1,
      "CarrierId": 1,
      "CategoryId": 5,
      "ServiceId": 1,
      "ModeId": 1,
      "Amount": 6.0,
      "ChargeCode": "sample string 7",
      "IsVariable": true,
      "IsQuickAdd": true,
      "FreeTime": 1,
      "Maximum": 1.0,
      "Minimum": 1.0
    },
    {
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ValidFrom": "2025-12-05T21:55:50.2220954-08:00",
      "ValidTo": "2025-12-05T21:55:50.2220954-08:00",
      "CustomerId": 1,
      "CarrierId": 1,
      "CategoryId": 5,
      "ServiceId": 1,
      "ModeId": 1,
      "Amount": 6.0,
      "ChargeCode": "sample string 7",
      "IsVariable": true,
      "IsQuickAdd": true,
      "FreeTime": 1,
      "Maximum": 1.0,
      "Minimum": 1.0
    }
  ]
}

application/xml, text/xml

Sample:
<ImportQuotesViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eMpowerCore.ViewModels.Emails">
  <Feuil1>
    <ImportQuotesItemViewModel>
      <Amount>6</Amount>
      <CarrierId>1</CarrierId>
      <CategoryId>5</CategoryId>
      <ChargeCode>sample string 7</ChargeCode>
      <CustomerId>1</CustomerId>
      <Description>sample string 2</Description>
      <FreeTime>1</FreeTime>
      <IsQuickAdd>true</IsQuickAdd>
      <IsVariable>true</IsVariable>
      <Maximum>1</Maximum>
      <Minimum>1</Minimum>
      <ModeId>1</ModeId>
      <Name>sample string 1</Name>
      <ServiceId>1</ServiceId>
      <ValidFrom>2025-12-05T21:55:50.2220954-08:00</ValidFrom>
      <ValidTo>2025-12-05T21:55:50.2220954-08:00</ValidTo>
    </ImportQuotesItemViewModel>
    <ImportQuotesItemViewModel>
      <Amount>6</Amount>
      <CarrierId>1</CarrierId>
      <CategoryId>5</CategoryId>
      <ChargeCode>sample string 7</ChargeCode>
      <CustomerId>1</CustomerId>
      <Description>sample string 2</Description>
      <FreeTime>1</FreeTime>
      <IsQuickAdd>true</IsQuickAdd>
      <IsVariable>true</IsVariable>
      <Maximum>1</Maximum>
      <Minimum>1</Minimum>
      <ModeId>1</ModeId>
      <Name>sample string 1</Name>
      <ServiceId>1</ServiceId>
      <ValidFrom>2025-12-05T21:55:50.2220954-08:00</ValidFrom>
      <ValidTo>2025-12-05T21:55:50.2220954-08:00</ValidTo>
    </ImportQuotesItemViewModel>
  </Feuil1>
</ImportQuotesViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.