GET api/PumpAndroid/GetShiftMaster1/{code}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| code | string |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of Shift| Name | Description | Type | Additional information |
|---|---|---|---|
| ShiftId | integer |
None. |
|
| Name | string |
None. |
|
| Code | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ShiftId": 1,
"Name": "sample string 2",
"Code": "sample string 3"
},
{
"ShiftId": 1,
"Name": "sample string 2",
"Code": "sample string 3"
}
]
application/xml, text/xml
Sample:
<ArrayOfShift xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApp.Models">
<Shift>
<Code>sample string 3</Code>
<Name>sample string 2</Name>
<ShiftId>1</ShiftId>
</Shift>
<Shift>
<Code>sample string 3</Code>
<Name>sample string 2</Name>
<ShiftId>1</ShiftId>
</Shift>
</ArrayOfShift>