GET api/ServiceWorkOrderDetail/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ServiceWorkOrderDetailViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ServiceWorkOrderDetailId | integer |
None. |
|
| ServiceWorkOrderId | integer |
None. |
|
| ServiceId | integer |
None. |
|
| ServiceDescription | string |
None. |
|
| UomId | integer |
None. |
|
| Quantity | decimal number |
None. |
|
| Rate | decimal number |
None. |
|
| TaxTemplateId | integer |
None. |
|
| ServiceStatusId | integer |
None. |
|
| ServiceWorkOrderNo | string |
None. |
|
| ServiceCode | string |
None. |
|
| ServiceName | string |
None. |
|
| UomAbbrevation | string |
None. |
|
| UomName | string |
None. |
|
| ServiceWorkOrderDetailTaxes | Collection of ServiceWorkOrderDetailTax |
None. |
Response Formats
application/json, text/json
Sample:
{
"ServiceWorkOrderDetailId": 1,
"ServiceWorkOrderId": 2,
"ServiceId": 3,
"ServiceDescription": "sample string 4",
"UomId": 5,
"Quantity": 6.1,
"Rate": 7.1,
"TaxTemplateId": 1,
"ServiceStatusId": 8,
"ServiceWorkOrderNo": "sample string 9",
"ServiceCode": "sample string 10",
"ServiceName": "sample string 11",
"UomAbbrevation": "sample string 12",
"UomName": "sample string 13",
"ServiceWorkOrderDetailTaxes": [
{
"ServiceWorkOrderDetailTaxId": 1,
"ServiceWorkOrderDetailId": 2,
"TaxTemplateId": 3,
"TaxId": 4,
"Rate": 5.1,
"Amount": 6.1,
"Tax": {
"TaxId": 1,
"TaxName": "sample string 2",
"DisplayName": "sample string 3",
"Rate": 4.1,
"TaxTypeId": 5,
"TaxStatusId": 6,
"CreatedDate": "2026-07-21T15:51:04.4198318+05:30",
"CreatedBy": "sample string 8",
"CreatedByUserId": 9
},
"CreatedDate": "2026-07-21T15:51:04.4198318+05:30",
"CreatedBy": "sample string 8",
"CreatedByUserId": 9
},
{
"ServiceWorkOrderDetailTaxId": 1,
"ServiceWorkOrderDetailId": 2,
"TaxTemplateId": 3,
"TaxId": 4,
"Rate": 5.1,
"Amount": 6.1,
"Tax": {
"TaxId": 1,
"TaxName": "sample string 2",
"DisplayName": "sample string 3",
"Rate": 4.1,
"TaxTypeId": 5,
"TaxStatusId": 6,
"CreatedDate": "2026-07-21T15:51:04.4198318+05:30",
"CreatedBy": "sample string 8",
"CreatedByUserId": 9
},
"CreatedDate": "2026-07-21T15:51:04.4198318+05:30",
"CreatedBy": "sample string 8",
"CreatedByUserId": 9
}
]
}
application/xml, text/xml
Sample:
<ServiceWorkOrderDetailViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netsoft.Web.Api.ViewModel">
<Quantity>6.1</Quantity>
<Rate>7.1</Rate>
<ServiceCode>sample string 10</ServiceCode>
<ServiceDescription>sample string 4</ServiceDescription>
<ServiceId>3</ServiceId>
<ServiceName>sample string 11</ServiceName>
<ServiceStatusId>8</ServiceStatusId>
<ServiceWorkOrderDetailId>1</ServiceWorkOrderDetailId>
<ServiceWorkOrderDetailTaxes xmlns:d2p1="http://schemas.datacontract.org/2004/07/Netsoft.Domain.Entities">
<d2p1:ServiceWorkOrderDetailTax>
<d2p1:CreatedBy>sample string 8</d2p1:CreatedBy>
<d2p1:CreatedByUserId>9</d2p1:CreatedByUserId>
<d2p1:CreatedDate>2026-07-21T15:51:04.4198318+05:30</d2p1:CreatedDate>
<d2p1:Amount>6.1</d2p1:Amount>
<d2p1:Rate>5.1</d2p1:Rate>
<d2p1:ServiceWorkOrderDetailId>2</d2p1:ServiceWorkOrderDetailId>
<d2p1:ServiceWorkOrderDetailTaxId>1</d2p1:ServiceWorkOrderDetailTaxId>
<d2p1:Tax>
<d2p1:CreatedBy>sample string 8</d2p1:CreatedBy>
<d2p1:CreatedByUserId>9</d2p1:CreatedByUserId>
<d2p1:CreatedDate>2026-07-21T15:51:04.4198318+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>4</d2p1:TaxId>
<d2p1:TaxTemplateId>3</d2p1:TaxTemplateId>
</d2p1:ServiceWorkOrderDetailTax>
<d2p1:ServiceWorkOrderDetailTax>
<d2p1:CreatedBy>sample string 8</d2p1:CreatedBy>
<d2p1:CreatedByUserId>9</d2p1:CreatedByUserId>
<d2p1:CreatedDate>2026-07-21T15:51:04.4198318+05:30</d2p1:CreatedDate>
<d2p1:Amount>6.1</d2p1:Amount>
<d2p1:Rate>5.1</d2p1:Rate>
<d2p1:ServiceWorkOrderDetailId>2</d2p1:ServiceWorkOrderDetailId>
<d2p1:ServiceWorkOrderDetailTaxId>1</d2p1:ServiceWorkOrderDetailTaxId>
<d2p1:Tax>
<d2p1:CreatedBy>sample string 8</d2p1:CreatedBy>
<d2p1:CreatedByUserId>9</d2p1:CreatedByUserId>
<d2p1:CreatedDate>2026-07-21T15:51:04.4198318+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>4</d2p1:TaxId>
<d2p1:TaxTemplateId>3</d2p1:TaxTemplateId>
</d2p1:ServiceWorkOrderDetailTax>
</ServiceWorkOrderDetailTaxes>
<ServiceWorkOrderId>2</ServiceWorkOrderId>
<ServiceWorkOrderNo>sample string 9</ServiceWorkOrderNo>
<TaxTemplateId>1</TaxTemplateId>
<UomAbbrevation>sample string 12</UomAbbrevation>
<UomId>5</UomId>
<UomName>sample string 13</UomName>
</ServiceWorkOrderDetailViewModel>