GET api/JobItems?routesheetId={routesheetId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| routesheetId | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of _apiJobItem| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| JobId | integer |
None. |
|
| CustomerServiceItemId | integer |
None. |
|
| SupplierId | integer |
None. |
|
| Description | string |
None. |
|
| Units | decimal number |
None. |
|
| Unit | string |
None. |
|
| UnitPrice | decimal number |
None. |
|
| DiscountPercentage | decimal number |
None. |
|
| SubTotal | decimal number |
None. |
|
| Price | decimal number |
None. |
|
| VAT | decimal number |
None. |
|
| PriceInclusive | decimal number |
None. |
|
| CostTypeId | integer |
None. |
|
| CostType | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"JobId": 2,
"CustomerServiceItemId": 1,
"SupplierId": 1,
"Description": "sample string 3",
"Units": 4.1,
"Unit": "sample string 5",
"UnitPrice": 6.1,
"DiscountPercentage": 7.1,
"SubTotal": 8.1,
"Price": 9.1,
"VAT": 10.1,
"PriceInclusive": 11.1,
"CostTypeId": 12,
"CostType": "sample string 13"
},
{
"Id": 1,
"JobId": 2,
"CustomerServiceItemId": 1,
"SupplierId": 1,
"Description": "sample string 3",
"Units": 4.1,
"Unit": "sample string 5",
"UnitPrice": 6.1,
"DiscountPercentage": 7.1,
"SubTotal": 8.1,
"Price": 9.1,
"VAT": 10.1,
"PriceInclusive": 11.1,
"CostTypeId": 12,
"CostType": "sample string 13"
}
]
application/xml, text/xml
Sample:
<ArrayOf_apiJobItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WasteMart.Models">
<_apiJobItem>
<CostType>sample string 13</CostType>
<CostTypeId>12</CostTypeId>
<CustomerServiceItemId>1</CustomerServiceItemId>
<Description>sample string 3</Description>
<DiscountPercentage>7.1</DiscountPercentage>
<Id>1</Id>
<JobId>2</JobId>
<Price>9.1</Price>
<PriceInclusive>11.1</PriceInclusive>
<SubTotal>8.1</SubTotal>
<SupplierId>1</SupplierId>
<Unit>sample string 5</Unit>
<UnitPrice>6.1</UnitPrice>
<Units>4.1</Units>
<VAT>10.1</VAT>
</_apiJobItem>
<_apiJobItem>
<CostType>sample string 13</CostType>
<CostTypeId>12</CostTypeId>
<CustomerServiceItemId>1</CustomerServiceItemId>
<Description>sample string 3</Description>
<DiscountPercentage>7.1</DiscountPercentage>
<Id>1</Id>
<JobId>2</JobId>
<Price>9.1</Price>
<PriceInclusive>11.1</PriceInclusive>
<SubTotal>8.1</SubTotal>
<SupplierId>1</SupplierId>
<Unit>sample string 5</Unit>
<UnitPrice>6.1</UnitPrice>
<Units>4.1</Units>
<VAT>10.1</VAT>
</_apiJobItem>
</ArrayOf_apiJobItem>