GET api/PumpAndroid/GetPumpOperator?code={code}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| code | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of PumpOperator| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
None. |
|
| OperatorID | integer |
None. |
|
| DOJ | date |
None. |
|
| Address | string |
None. |
|
| IDProofNo | string |
None. |
|
| IDProofPhoto | string |
None. |
|
| Photo | string |
None. |
|
| EnteredDate | date |
None. |
|
| AlteredDate | date |
None. |
|
| EnteredBy | string |
None. |
|
| AlteredBy | string |
None. |
|
| Code | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Name": "sample string 1",
"OperatorID": 2,
"DOJ": "2025-12-06T09:48:07.9742969+05:30",
"Address": "sample string 4",
"IDProofNo": "sample string 5",
"IDProofPhoto": "sample string 6",
"Photo": "sample string 7",
"EnteredDate": "2025-12-06T09:48:07.9742969+05:30",
"AlteredDate": "2025-12-06T09:48:07.9742969+05:30",
"EnteredBy": "sample string 10",
"AlteredBy": "sample string 11",
"Code": "sample string 12"
},
{
"Name": "sample string 1",
"OperatorID": 2,
"DOJ": "2025-12-06T09:48:07.9742969+05:30",
"Address": "sample string 4",
"IDProofNo": "sample string 5",
"IDProofPhoto": "sample string 6",
"Photo": "sample string 7",
"EnteredDate": "2025-12-06T09:48:07.9742969+05:30",
"AlteredDate": "2025-12-06T09:48:07.9742969+05:30",
"EnteredBy": "sample string 10",
"AlteredBy": "sample string 11",
"Code": "sample string 12"
}
]
application/xml, text/xml
Sample:
<ArrayOfPumpOperator xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApp.Models">
<PumpOperator>
<Address>sample string 4</Address>
<AlteredBy>sample string 11</AlteredBy>
<AlteredDate>2025-12-06T09:48:07.9742969+05:30</AlteredDate>
<Code>sample string 12</Code>
<DOJ>2025-12-06T09:48:07.9742969+05:30</DOJ>
<EnteredBy>sample string 10</EnteredBy>
<EnteredDate>2025-12-06T09:48:07.9742969+05:30</EnteredDate>
<IDProofNo>sample string 5</IDProofNo>
<IDProofPhoto>sample string 6</IDProofPhoto>
<Name>sample string 1</Name>
<OperatorID>2</OperatorID>
<Photo>sample string 7</Photo>
</PumpOperator>
<PumpOperator>
<Address>sample string 4</Address>
<AlteredBy>sample string 11</AlteredBy>
<AlteredDate>2025-12-06T09:48:07.9742969+05:30</AlteredDate>
<Code>sample string 12</Code>
<DOJ>2025-12-06T09:48:07.9742969+05:30</DOJ>
<EnteredBy>sample string 10</EnteredBy>
<EnteredDate>2025-12-06T09:48:07.9742969+05:30</EnteredDate>
<IDProofNo>sample string 5</IDProofNo>
<IDProofPhoto>sample string 6</IDProofPhoto>
<Name>sample string 1</Name>
<OperatorID>2</OperatorID>
<Photo>sample string 7</Photo>
</PumpOperator>
</ArrayOfPumpOperator>