GET api/ServiceOrderDetail/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

ServiceOrderDetailViewModel
NameDescriptionTypeAdditional information
ServiceOrderDetailId

integer

None.

ServiceOrderId

integer

None.

SlNo

integer

None.

ServiceId

integer

None.

ServiceName

string

None.

ServiceCode

string

None.

ServiceDescription

string

None.

UomId

integer

None.

UomName

string

None.

HsnCode

string

None.

Quantity

decimal number

None.

Rate

decimal number

None.

Total

decimal number

None.

ServiceOrderDetailTaxes

Collection of ServiceOrderDetailTax

None.

Response Formats

application/json, text/json

Sample:
{
  "ServiceOrderDetailId": 1,
  "ServiceOrderId": 2,
  "SlNo": 3,
  "ServiceId": 4,
  "ServiceName": "sample string 5",
  "ServiceCode": "sample string 6",
  "ServiceDescription": "sample string 7",
  "UomId": 8,
  "UomName": "sample string 9",
  "HsnCode": "sample string 10",
  "Quantity": 11.1,
  "Rate": 12.1,
  "Total": 13.1,
  "ServiceOrderDetailTaxes": [
    {
      "ServiceOrderDetailTaxId": 1,
      "ServiceOrderDetailId": 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": "2026-05-11T13:45:09.5869529+05:30",
        "CreatedBy": "sample string 8",
        "CreatedByUserId": 9
      },
      "CreatedDate": "2026-05-11T13:45:09.5869529+05:30",
      "CreatedBy": "sample string 7",
      "CreatedByUserId": 8
    },
    {
      "ServiceOrderDetailTaxId": 1,
      "ServiceOrderDetailId": 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": "2026-05-11T13:45:09.5869529+05:30",
        "CreatedBy": "sample string 8",
        "CreatedByUserId": 9
      },
      "CreatedDate": "2026-05-11T13:45:09.5869529+05:30",
      "CreatedBy": "sample string 7",
      "CreatedByUserId": 8
    }
  ]
}

application/xml, text/xml

Sample:
<ServiceOrderDetailViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netsoft.Web.Api.ViewModel">
  <HsnCode>sample string 10</HsnCode>
  <Quantity>11.1</Quantity>
  <Rate>12.1</Rate>
  <ServiceCode>sample string 6</ServiceCode>
  <ServiceDescription>sample string 7</ServiceDescription>
  <ServiceId>4</ServiceId>
  <ServiceName>sample string 5</ServiceName>
  <ServiceOrderDetailId>1</ServiceOrderDetailId>
  <ServiceOrderDetailTaxes xmlns:d2p1="http://schemas.datacontract.org/2004/07/Netsoft.Domain.Entities">
    <d2p1:ServiceOrderDetailTax>
      <d2p1:CreatedBy>sample string 7</d2p1:CreatedBy>
      <d2p1:CreatedByUserId>8</d2p1:CreatedByUserId>
      <d2p1:CreatedDate>2026-05-11T13:45:09.5869529+05:30</d2p1:CreatedDate>
      <d2p1:Amount>5.1</d2p1:Amount>
      <d2p1:Rate>4.1</d2p1:Rate>
      <d2p1:ServiceOrderDetailId>2</d2p1:ServiceOrderDetailId>
      <d2p1:ServiceOrderDetailTaxId>1</d2p1:ServiceOrderDetailTaxId>
      <d2p1:Tax>
        <d2p1:CreatedBy>sample string 8</d2p1:CreatedBy>
        <d2p1:CreatedByUserId>9</d2p1:CreatedByUserId>
        <d2p1:CreatedDate>2026-05-11T13:45:09.5869529+05:30</d2p1:CreatedDate>
        <d2p1:DisplayName>sample string 3</d2p1:DisplayName>
        <d2p1:Rate>4.1</d2p1:Rate>
        <d2p1:TaxId>1</d2p1:TaxId>
        <d2p1:TaxName>sample string 2</d2p1:TaxName>
        <d2p1:TaxStatusId>6</d2p1:TaxStatusId>
        <d2p1:TaxTypeId>5</d2p1:TaxTypeId>
      </d2p1:Tax>
      <d2p1:TaxId>3</d2p1:TaxId>
    </d2p1:ServiceOrderDetailTax>
    <d2p1:ServiceOrderDetailTax>
      <d2p1:CreatedBy>sample string 7</d2p1:CreatedBy>
      <d2p1:CreatedByUserId>8</d2p1:CreatedByUserId>
      <d2p1:CreatedDate>2026-05-11T13:45:09.5869529+05:30</d2p1:CreatedDate>
      <d2p1:Amount>5.1</d2p1:Amount>
      <d2p1:Rate>4.1</d2p1:Rate>
      <d2p1:ServiceOrderDetailId>2</d2p1:ServiceOrderDetailId>
      <d2p1:ServiceOrderDetailTaxId>1</d2p1:ServiceOrderDetailTaxId>
      <d2p1:Tax>
        <d2p1:CreatedBy>sample string 8</d2p1:CreatedBy>
        <d2p1:CreatedByUserId>9</d2p1:CreatedByUserId>
        <d2p1:CreatedDate>2026-05-11T13:45:09.5869529+05:30</d2p1:CreatedDate>
        <d2p1:DisplayName>sample string 3</d2p1:DisplayName>
        <d2p1:Rate>4.1</d2p1:Rate>
        <d2p1:TaxId>1</d2p1:TaxId>
        <d2p1:TaxName>sample string 2</d2p1:TaxName>
        <d2p1:TaxStatusId>6</d2p1:TaxStatusId>
        <d2p1:TaxTypeId>5</d2p1:TaxTypeId>
      </d2p1:Tax>
      <d2p1:TaxId>3</d2p1:TaxId>
    </d2p1:ServiceOrderDetailTax>
  </ServiceOrderDetailTaxes>
  <ServiceOrderId>2</ServiceOrderId>
  <SlNo>3</SlNo>
  <Total>13.1</Total>
  <UomId>8</UomId>
  <UomName>sample string 9</UomName>
</ServiceOrderDetailViewModel>