PATCH/projects/api/v3/quote/section/:id

Update a quote section.

Responses

  • Code
    200
    Type
    object
    Schema
    Description
    200 OK
    QuoteSectionResponse contains information about a specific quote section.
  • Code
    400
    Type
    object
    Schema
    Description
    400 Bad Request
    ErrorResponse defines how []Error should be marshaled to JSON.

Examples

200 OK

QuoteSectionResponse
{
  "quotesection": {
    "id": 0,
    "lineItems": [
      {
        "amount": 0,
        "assignee": {
          "id": 0,
          "meta": {},
          "type": "string"
        },
        "assigneeId": 0,
        "assigneeIsPlaceholder": true,
        "assigneeName": "string",
        "billableAmountPercentageOfQuoteTotal": 0,
        "billableAmountWithDiscount": 0,
        "billableAmountWithTaxAndDiscount": 0,
        "billableAmountWithoutDiscount": 0,
        "costAmount": 0,
        "costRate": 0,
        "description": "string",
        "discountAmount": 0,
        "endDate": {},
        "id": 0,
        "itemType": "string",
        "percentageDiscount": 0,
        "profitAmount": 0,
        "profitMarginPercentage": 0,
        "quantity": 0,
        "quoteId": 0,
        "rate": 0,
        "sectionId": 0,
        "sortOrder": 0,
        "startDate": {},
        "taxes": [
          {
            "taxAmount": 0,
            "taxBase": 0,
            "taxCode": "string",
            "taxIsCompounding": true,
            "taxPercentage": 0
          }
        ],
        "title": "string",
        "totalTaxAmount": 0
      }
    ],
    "name": "string",
    "quoteId": 0,
    "sortOrder": 0,
    "totalBillableAmountWithDiscount": 0,
    "totalBillableAmountWithTaxAndDiscount": 0,
    "totalBillableAmountWithoutDiscount": 0,
    "totalCostAmount": 0,
    "totalDiscountAmount": 0,
    "totalProfitAmount": 0,
    "totalProfitMarginPercentage": 0,
    "totalQuantity": 0,
    "totalTaxAmount": 0
  }
}