GET api/worker/workertypes
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of WorkerTypeDto| Name | Description | Type | Additional information |
|---|---|---|---|
| WorkerTypeID | integer |
None. |
|
| Name | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"WorkerTypeID": 1,
"Name": "sample string 2"
},
{
"WorkerTypeID": 1,
"Name": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfWorkerTypeDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PortalWanza.Services.Core.Models">
<WorkerTypeDto>
<Name>sample string 2</Name>
<WorkerTypeID>1</WorkerTypeID>
</WorkerTypeDto>
<WorkerTypeDto>
<Name>sample string 2</Name>
<WorkerTypeID>1</WorkerTypeID>
</WorkerTypeDto>
</ArrayOfWorkerTypeDto>