GET department/JobType
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of JobTypeEntity| Name | Description | Type | Additional information |
|---|---|---|---|
| TenantId | integer |
None. |
|
| JobTypeId | integer |
None. |
|
| JobCode | string |
None. |
|
| JobDesc | string |
None. |
|
| IsActive | boolean |
None. |
|
| InvoiceTypeId | integer |
None. |
|
| PriceGroupId | integer |
None. |
|
| TOSOURCE | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"TenantId": 1,
"JobTypeId": 2,
"JobCode": "sample string 3",
"JobDesc": "sample string 4",
"IsActive": true,
"InvoiceTypeId": 6,
"PriceGroupId": 1,
"TOSOURCE": "sample string 7"
},
{
"TenantId": 1,
"JobTypeId": 2,
"JobCode": "sample string 3",
"JobDesc": "sample string 4",
"IsActive": true,
"InvoiceTypeId": 6,
"PriceGroupId": 1,
"TOSOURCE": "sample string 7"
}
]
text/html
Sample:
[{"TenantId":1,"JobTypeId":2,"JobCode":"sample string 3","JobDesc":"sample string 4","IsActive":true,"InvoiceTypeId":6,"PriceGroupId":1,"TOSOURCE":"sample string 7"},{"TenantId":1,"JobTypeId":2,"JobCode":"sample string 3","JobDesc":"sample string 4","IsActive":true,"InvoiceTypeId":6,"PriceGroupId":1,"TOSOURCE":"sample string 7"}]
application/xml, text/xml
Sample:
<ArrayOfJobTypeEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Department">
<JobTypeEntity>
<InvoiceTypeId>6</InvoiceTypeId>
<IsActive>true</IsActive>
<JobCode>sample string 3</JobCode>
<JobDesc>sample string 4</JobDesc>
<JobTypeId>2</JobTypeId>
<PriceGroupId>1</PriceGroupId>
<TOSOURCE>sample string 7</TOSOURCE>
<TenantId>1</TenantId>
</JobTypeEntity>
<JobTypeEntity>
<InvoiceTypeId>6</InvoiceTypeId>
<IsActive>true</IsActive>
<JobCode>sample string 3</JobCode>
<JobDesc>sample string 4</JobDesc>
<JobTypeId>2</JobTypeId>
<PriceGroupId>1</PriceGroupId>
<TOSOURCE>sample string 7</TOSOURCE>
<TenantId>1</TenantId>
</JobTypeEntity>
</ArrayOfJobTypeEntity>