PUT api/QuotationService/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

QuotationService
NameDescriptionTypeAdditional information
QuotationServiceId

integer

None.

JobCardQuotationId

integer

None.

ServiceId

integer

None.

ServiceCost

decimal number

None.

Discount

decimal number

None.

DiscountAmount

decimal number

None.

Service

Service

None.

QuotationServiceTax

Collection of QuotationServiceTax

None.

CreatedDate

date

Data type: DateTime

CreatedBy

string

None.

Request Formats

application/json, text/json

Sample:
{
  "QuotationServiceId": 1,
  "JobCardQuotationId": 2,
  "ServiceId": 3,
  "ServiceCost": 4.1,
  "Discount": 5.1,
  "DiscountAmount": 6.1,
  "Service": {
    "ServiceId": 1,
    "ServiceName": "sample string 2",
    "ServiceCharge": 3.1,
    "ActiveFlag": true,
    "CreatedDate": "2025-12-08T01:53:33.3300955+05:30",
    "CreatedBy": "sample string 6"
  },
  "QuotationServiceTax": [
    {
      "QuotationServiceTaxId": 1,
      "QuotationServiceId": 2,
      "TaxId": 3,
      "Rate": 4.1,
      "Amount": 5.1,
      "Tax": {
        "TaxId": 1,
        "TaxName": "sample string 2",
        "DisplayName": "sample string 3",
        "Rate": 4.1,
        "TaxTypeId": 5,
        "TaxStatusId": 6,
        "CreatedDate": "2025-12-08T01:53:33.3300955+05:30",
        "CreatedBy": "sample string 8"
      },
      "CreatedDate": "2025-12-08T01:53:33.3300955+05:30",
      "CreatedBy": "sample string 7"
    },
    {
      "QuotationServiceTaxId": 1,
      "QuotationServiceId": 2,
      "TaxId": 3,
      "Rate": 4.1,
      "Amount": 5.1,
      "Tax": {
        "TaxId": 1,
        "TaxName": "sample string 2",
        "DisplayName": "sample string 3",
        "Rate": 4.1,
        "TaxTypeId": 5,
        "TaxStatusId": 6,
        "CreatedDate": "2025-12-08T01:53:33.3300955+05:30",
        "CreatedBy": "sample string 8"
      },
      "CreatedDate": "2025-12-08T01:53:33.3300955+05:30",
      "CreatedBy": "sample string 7"
    }
  ],
  "CreatedDate": "2025-12-08T01:53:33.3300955+05:30",
  "CreatedBy": "sample string 8"
}

application/xml, text/xml

Sample:
<QuotationService xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netsoft.Domain.Entities">
  <CreatedBy>sample string 8</CreatedBy>
  <CreatedDate>2025-12-08T01:53:33.3300955+05:30</CreatedDate>
  <Discount>5.1</Discount>
  <DiscountAmount>6.1</DiscountAmount>
  <JobCardQuotationId>2</JobCardQuotationId>
  <QuotationServiceId>1</QuotationServiceId>
  <QuotationServiceTax>
    <QuotationServiceTax>
      <CreatedBy>sample string 7</CreatedBy>
      <CreatedDate>2025-12-08T01:53:33.3300955+05:30</CreatedDate>
      <Amount>5.1</Amount>
      <QuotationServiceId>2</QuotationServiceId>
      <QuotationServiceTaxId>1</QuotationServiceTaxId>
      <Rate>4.1</Rate>
      <Tax>
        <CreatedBy>sample string 8</CreatedBy>
        <CreatedDate>2025-12-08T01:53:33.3300955+05:30</CreatedDate>
        <DisplayName>sample string 3</DisplayName>
        <Rate>4.1</Rate>
        <TaxId>1</TaxId>
        <TaxName>sample string 2</TaxName>
        <TaxStatusId>6</TaxStatusId>
        <TaxTypeId>5</TaxTypeId>
      </Tax>
      <TaxId>3</TaxId>
    </QuotationServiceTax>
    <QuotationServiceTax>
      <CreatedBy>sample string 7</CreatedBy>
      <CreatedDate>2025-12-08T01:53:33.3300955+05:30</CreatedDate>
      <Amount>5.1</Amount>
      <QuotationServiceId>2</QuotationServiceId>
      <QuotationServiceTaxId>1</QuotationServiceTaxId>
      <Rate>4.1</Rate>
      <Tax>
        <CreatedBy>sample string 8</CreatedBy>
        <CreatedDate>2025-12-08T01:53:33.3300955+05:30</CreatedDate>
        <DisplayName>sample string 3</DisplayName>
        <Rate>4.1</Rate>
        <TaxId>1</TaxId>
        <TaxName>sample string 2</TaxName>
        <TaxStatusId>6</TaxStatusId>
        <TaxTypeId>5</TaxTypeId>
      </Tax>
      <TaxId>3</TaxId>
    </QuotationServiceTax>
  </QuotationServiceTax>
  <Service>
    <CreatedBy>sample string 6</CreatedBy>
    <CreatedDate>2025-12-08T01:53:33.3300955+05:30</CreatedDate>
    <ActiveFlag>true</ActiveFlag>
    <ServiceCharge>3.1</ServiceCharge>
    <ServiceId>1</ServiceId>
    <ServiceName>sample string 2</ServiceName>
  </Service>
  <ServiceCost>4.1</ServiceCost>
  <ServiceId>3</ServiceId>
</QuotationService>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.