PUT V3/odata/InvoiceLine({key})

Updates InvoiceLine entity

Request Information

URI Parameters

NameDescriptionTypeAdditional information
key

InvoiceLineId from InvoiceLine entity

integer

Required

Body Parameters

QicsUnity.Api.Areas.V3.Models.InvoiceLine
NameDescriptionTypeAdditional information
InvoiceLineId

Gets or sets InvoiceLineId

integer

Required

64-bit signed integer

Date

Gets or sets Date

date

Required

date and time of day, relative to Coordinated Universal Time (UTC)

Description

Gets or sets Description

string

InvoiceGroup

Gets or sets InvoiceGroup

string

Price

Gets or sets Price

decimal number

Required

Remarks

Gets or sets Remarks

string

Quantity

Gets or sets Quantity

decimal number

Required

InvoiceMutationReasonId

Gets or sets InvoiceMutationReasonId

integer

64-bit signed integer

Nullable

Request Formats

application/json, text/json

Sample:
{
  "InvoiceLineId": "1",
  "Date": "2024-12-22T17:33:08.8016309+00:00",
  "Description": "sample 3",
  "InvoiceGroup": "sample 4",
  "Price": "5",
  "Remarks": "sample 6",
  "Quantity": "7",
  "InvoiceMutationReasonId": "1"
}

application/xml, text/xml

Sample:
<InvoiceLine xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QicsUnity.Api.Areas.V3.Models">
  <Date xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2024-12-22T17:33:08.8016309Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </Date>
  <Description>sample 3</Description>
  <InvoiceGroup>sample 4</InvoiceGroup>
  <InvoiceLineId>1</InvoiceLineId>
  <InvoiceMutationReasonId>1</InvoiceMutationReasonId>
  <Price>5</Price>
  <Quantity>7</Quantity>
  <Remarks>sample 6</Remarks>
</InvoiceLine>

Response Information

Resource Description

QicsUnity.Api.Areas.V3.Models.InvoiceLine
NameDescriptionTypeAdditional information
InvoiceLineId

Gets or sets InvoiceLineId

integer

Required

64-bit signed integer

Date

Gets or sets Date

date

Required

date and time of day, relative to Coordinated Universal Time (UTC)

Description

Gets or sets Description

string

InvoiceGroup

Gets or sets InvoiceGroup

string

Price

Gets or sets Price

decimal number

Required

Remarks

Gets or sets Remarks

string

Quantity

Gets or sets Quantity

decimal number

Required

InvoiceMutationReasonId

Gets or sets InvoiceMutationReasonId

integer

64-bit signed integer

Nullable

Response Formats

application/json, text/json

Sample:
{
  "InvoiceLineId": "1",
  "Date": "2024-12-22T17:33:08.8016309+00:00",
  "Description": "sample 3",
  "InvoiceGroup": "sample 4",
  "Price": "5",
  "Remarks": "sample 6",
  "Quantity": "7",
  "InvoiceMutationReasonId": "1"
}

application/xml, text/xml

Sample:
<InvoiceLine xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QicsUnity.Api.Areas.V3.Models">
  <Date xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2024-12-22T17:33:08.8016309Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </Date>
  <Description>sample 3</Description>
  <InvoiceGroup>sample 4</InvoiceGroup>
  <InvoiceLineId>1</InvoiceLineId>
  <InvoiceMutationReasonId>1</InvoiceMutationReasonId>
  <Price>5</Price>
  <Quantity>7</Quantity>
  <Remarks>sample 6</Remarks>
</InvoiceLine>