GET Api/SalesInvoiceserviceDetail/GetBySalesInvoice/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of SalesInvoiceServiceDetailViewModel
NameDescriptionTypeAdditional information
SalesInvoiceServiceDetailId

integer

None.

SalesInvoiceId

integer

None.

ServiceId

integer

None.

ServiceDescription

string

None.

UomId

integer

None.

Quantity

decimal number

None.

Rate

decimal number

None.

Total

decimal number

None.

SalesInvoiceNo

string

None.

UomAbbrevation

string

None.

UomName

string

None.

ServiceCode

string

None.

ServiceName

string

None.

SalesInvoiceServiceDetailTaxes

Collection of SalesInvoiceServiceDetailTax

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "SalesInvoiceServiceDetailId": 1,
    "SalesInvoiceId": 2,
    "ServiceId": 3,
    "ServiceDescription": "sample string 4",
    "UomId": 5,
    "Quantity": 6.1,
    "Rate": 7.1,
    "Total": 8.1,
    "SalesInvoiceNo": "sample string 9",
    "UomAbbrevation": "sample string 10",
    "UomName": "sample string 11",
    "ServiceCode": "sample string 12",
    "ServiceName": "sample string 13",
    "SalesInvoiceServiceDetailTaxes": [
      {
        "SalesInvoiceServiceDetailTaxId": 1,
        "SalesInvoiceServiceDetailId": 2,
        "TaxId": 3,
        "TaxRate": 4.1,
        "Amount": 5.1,
        "Tax": {
          "TaxId": 1,
          "TaxName": "sample string 2",
          "DisplayName": "sample string 3",
          "Rate": 4.1,
          "TaxTypeId": 5,
          "TaxStatusId": 6,
          "CreatedDate": "2026-07-21T15:50:48.3878056+05:30",
          "CreatedBy": "sample string 8",
          "CreatedByUserId": 9
        },
        "CreatedDate": "2026-07-21T15:50:48.3878056+05:30",
        "CreatedBy": "sample string 7",
        "CreatedByUserId": 8
      },
      {
        "SalesInvoiceServiceDetailTaxId": 1,
        "SalesInvoiceServiceDetailId": 2,
        "TaxId": 3,
        "TaxRate": 4.1,
        "Amount": 5.1,
        "Tax": {
          "TaxId": 1,
          "TaxName": "sample string 2",
          "DisplayName": "sample string 3",
          "Rate": 4.1,
          "TaxTypeId": 5,
          "TaxStatusId": 6,
          "CreatedDate": "2026-07-21T15:50:48.3878056+05:30",
          "CreatedBy": "sample string 8",
          "CreatedByUserId": 9
        },
        "CreatedDate": "2026-07-21T15:50:48.3878056+05:30",
        "CreatedBy": "sample string 7",
        "CreatedByUserId": 8
      }
    ]
  },
  {
    "SalesInvoiceServiceDetailId": 1,
    "SalesInvoiceId": 2,
    "ServiceId": 3,
    "ServiceDescription": "sample string 4",
    "UomId": 5,
    "Quantity": 6.1,
    "Rate": 7.1,
    "Total": 8.1,
    "SalesInvoiceNo": "sample string 9",
    "UomAbbrevation": "sample string 10",
    "UomName": "sample string 11",
    "ServiceCode": "sample string 12",
    "ServiceName": "sample string 13",
    "SalesInvoiceServiceDetailTaxes": [
      {
        "SalesInvoiceServiceDetailTaxId": 1,
        "SalesInvoiceServiceDetailId": 2,
        "TaxId": 3,
        "TaxRate": 4.1,
        "Amount": 5.1,
        "Tax": {
          "TaxId": 1,
          "TaxName": "sample string 2",
          "DisplayName": "sample string 3",
          "Rate": 4.1,
          "TaxTypeId": 5,
          "TaxStatusId": 6,
          "CreatedDate": "2026-07-21T15:50:48.3878056+05:30",
          "CreatedBy": "sample string 8",
          "CreatedByUserId": 9
        },
        "CreatedDate": "2026-07-21T15:50:48.3878056+05:30",
        "CreatedBy": "sample string 7",
        "CreatedByUserId": 8
      },
      {
        "SalesInvoiceServiceDetailTaxId": 1,
        "SalesInvoiceServiceDetailId": 2,
        "TaxId": 3,
        "TaxRate": 4.1,
        "Amount": 5.1,
        "Tax": {
          "TaxId": 1,
          "TaxName": "sample string 2",
          "DisplayName": "sample string 3",
          "Rate": 4.1,
          "TaxTypeId": 5,
          "TaxStatusId": 6,
          "CreatedDate": "2026-07-21T15:50:48.3878056+05:30",
          "CreatedBy": "sample string 8",
          "CreatedByUserId": 9
        },
        "CreatedDate": "2026-07-21T15:50:48.3878056+05:30",
        "CreatedBy": "sample string 7",
        "CreatedByUserId": 8
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfSalesInvoiceServiceDetailViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netsoft.Web.Api.ViewModel">
  <SalesInvoiceServiceDetailViewModel>
    <Quantity>6.1</Quantity>
    <Rate>7.1</Rate>
    <SalesInvoiceId>2</SalesInvoiceId>
    <SalesInvoiceNo>sample string 9</SalesInvoiceNo>
    <SalesInvoiceServiceDetailId>1</SalesInvoiceServiceDetailId>
    <SalesInvoiceServiceDetailTaxes xmlns:d3p1="http://schemas.datacontract.org/2004/07/Netsoft.Domain.Entities">
      <d3p1:SalesInvoiceServiceDetailTax>
        <d3p1:CreatedBy>sample string 7</d3p1:CreatedBy>
        <d3p1:CreatedByUserId>8</d3p1:CreatedByUserId>
        <d3p1:CreatedDate>2026-07-21T15:50:48.3878056+05:30</d3p1:CreatedDate>
        <d3p1:Amount>5.1</d3p1:Amount>
        <d3p1:SalesInvoiceServiceDetailId>2</d3p1:SalesInvoiceServiceDetailId>
        <d3p1:SalesInvoiceServiceDetailTaxId>1</d3p1:SalesInvoiceServiceDetailTaxId>
        <d3p1:Tax>
          <d3p1:CreatedBy>sample string 8</d3p1:CreatedBy>
          <d3p1:CreatedByUserId>9</d3p1:CreatedByUserId>
          <d3p1:CreatedDate>2026-07-21T15:50:48.3878056+05:30</d3p1:CreatedDate>
          <d3p1:DisplayName>sample string 3</d3p1:DisplayName>
          <d3p1:Rate>4.1</d3p1:Rate>
          <d3p1:TaxId>1</d3p1:TaxId>
          <d3p1:TaxName>sample string 2</d3p1:TaxName>
          <d3p1:TaxStatusId>6</d3p1:TaxStatusId>
          <d3p1:TaxTypeId>5</d3p1:TaxTypeId>
        </d3p1:Tax>
        <d3p1:TaxId>3</d3p1:TaxId>
        <d3p1:TaxRate>4.1</d3p1:TaxRate>
      </d3p1:SalesInvoiceServiceDetailTax>
      <d3p1:SalesInvoiceServiceDetailTax>
        <d3p1:CreatedBy>sample string 7</d3p1:CreatedBy>
        <d3p1:CreatedByUserId>8</d3p1:CreatedByUserId>
        <d3p1:CreatedDate>2026-07-21T15:50:48.3878056+05:30</d3p1:CreatedDate>
        <d3p1:Amount>5.1</d3p1:Amount>
        <d3p1:SalesInvoiceServiceDetailId>2</d3p1:SalesInvoiceServiceDetailId>
        <d3p1:SalesInvoiceServiceDetailTaxId>1</d3p1:SalesInvoiceServiceDetailTaxId>
        <d3p1:Tax>
          <d3p1:CreatedBy>sample string 8</d3p1:CreatedBy>
          <d3p1:CreatedByUserId>9</d3p1:CreatedByUserId>
          <d3p1:CreatedDate>2026-07-21T15:50:48.3878056+05:30</d3p1:CreatedDate>
          <d3p1:DisplayName>sample string 3</d3p1:DisplayName>
          <d3p1:Rate>4.1</d3p1:Rate>
          <d3p1:TaxId>1</d3p1:TaxId>
          <d3p1:TaxName>sample string 2</d3p1:TaxName>
          <d3p1:TaxStatusId>6</d3p1:TaxStatusId>
          <d3p1:TaxTypeId>5</d3p1:TaxTypeId>
        </d3p1:Tax>
        <d3p1:TaxId>3</d3p1:TaxId>
        <d3p1:TaxRate>4.1</d3p1:TaxRate>
      </d3p1:SalesInvoiceServiceDetailTax>
    </SalesInvoiceServiceDetailTaxes>
    <ServiceCode>sample string 12</ServiceCode>
    <ServiceDescription>sample string 4</ServiceDescription>
    <ServiceId>3</ServiceId>
    <ServiceName>sample string 13</ServiceName>
    <Total>8.1</Total>
    <UomAbbrevation>sample string 10</UomAbbrevation>
    <UomId>5</UomId>
    <UomName>sample string 11</UomName>
  </SalesInvoiceServiceDetailViewModel>
  <SalesInvoiceServiceDetailViewModel>
    <Quantity>6.1</Quantity>
    <Rate>7.1</Rate>
    <SalesInvoiceId>2</SalesInvoiceId>
    <SalesInvoiceNo>sample string 9</SalesInvoiceNo>
    <SalesInvoiceServiceDetailId>1</SalesInvoiceServiceDetailId>
    <SalesInvoiceServiceDetailTaxes xmlns:d3p1="http://schemas.datacontract.org/2004/07/Netsoft.Domain.Entities">
      <d3p1:SalesInvoiceServiceDetailTax>
        <d3p1:CreatedBy>sample string 7</d3p1:CreatedBy>
        <d3p1:CreatedByUserId>8</d3p1:CreatedByUserId>
        <d3p1:CreatedDate>2026-07-21T15:50:48.3878056+05:30</d3p1:CreatedDate>
        <d3p1:Amount>5.1</d3p1:Amount>
        <d3p1:SalesInvoiceServiceDetailId>2</d3p1:SalesInvoiceServiceDetailId>
        <d3p1:SalesInvoiceServiceDetailTaxId>1</d3p1:SalesInvoiceServiceDetailTaxId>
        <d3p1:Tax>
          <d3p1:CreatedBy>sample string 8</d3p1:CreatedBy>
          <d3p1:CreatedByUserId>9</d3p1:CreatedByUserId>
          <d3p1:CreatedDate>2026-07-21T15:50:48.3878056+05:30</d3p1:CreatedDate>
          <d3p1:DisplayName>sample string 3</d3p1:DisplayName>
          <d3p1:Rate>4.1</d3p1:Rate>
          <d3p1:TaxId>1</d3p1:TaxId>
          <d3p1:TaxName>sample string 2</d3p1:TaxName>
          <d3p1:TaxStatusId>6</d3p1:TaxStatusId>
          <d3p1:TaxTypeId>5</d3p1:TaxTypeId>
        </d3p1:Tax>
        <d3p1:TaxId>3</d3p1:TaxId>
        <d3p1:TaxRate>4.1</d3p1:TaxRate>
      </d3p1:SalesInvoiceServiceDetailTax>
      <d3p1:SalesInvoiceServiceDetailTax>
        <d3p1:CreatedBy>sample string 7</d3p1:CreatedBy>
        <d3p1:CreatedByUserId>8</d3p1:CreatedByUserId>
        <d3p1:CreatedDate>2026-07-21T15:50:48.3878056+05:30</d3p1:CreatedDate>
        <d3p1:Amount>5.1</d3p1:Amount>
        <d3p1:SalesInvoiceServiceDetailId>2</d3p1:SalesInvoiceServiceDetailId>
        <d3p1:SalesInvoiceServiceDetailTaxId>1</d3p1:SalesInvoiceServiceDetailTaxId>
        <d3p1:Tax>
          <d3p1:CreatedBy>sample string 8</d3p1:CreatedBy>
          <d3p1:CreatedByUserId>9</d3p1:CreatedByUserId>
          <d3p1:CreatedDate>2026-07-21T15:50:48.3878056+05:30</d3p1:CreatedDate>
          <d3p1:DisplayName>sample string 3</d3p1:DisplayName>
          <d3p1:Rate>4.1</d3p1:Rate>
          <d3p1:TaxId>1</d3p1:TaxId>
          <d3p1:TaxName>sample string 2</d3p1:TaxName>
          <d3p1:TaxStatusId>6</d3p1:TaxStatusId>
          <d3p1:TaxTypeId>5</d3p1:TaxTypeId>
        </d3p1:Tax>
        <d3p1:TaxId>3</d3p1:TaxId>
        <d3p1:TaxRate>4.1</d3p1:TaxRate>
      </d3p1:SalesInvoiceServiceDetailTax>
    </SalesInvoiceServiceDetailTaxes>
    <ServiceCode>sample string 12</ServiceCode>
    <ServiceDescription>sample string 4</ServiceDescription>
    <ServiceId>3</ServiceId>
    <ServiceName>sample string 13</ServiceName>
    <Total>8.1</Total>
    <UomAbbrevation>sample string 10</UomAbbrevation>
    <UomId>5</UomId>
    <UomName>sample string 11</UomName>
  </SalesInvoiceServiceDetailViewModel>
</ArrayOfSalesInvoiceServiceDetailViewModel>