GET api/Sanfs
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of SanfVM| Name | Description | Type | Additional information |
|---|---|---|---|
| SanfId | integer |
None. |
|
| SanfName | string |
None. |
|
| Price | decimal number |
None. |
|
| Quantity | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"SanfId": 1,
"SanfName": "sample string 2",
"Price": 3.1,
"Quantity": 4
},
{
"SanfId": 1,
"SanfName": "sample string 2",
"Price": 3.1,
"Quantity": 4
}
]
application/xml, text/xml
Sample:
<ArrayOfSanfVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GatronApi.Models">
<SanfVM>
<Price>3.1</Price>
<Quantity>4</Quantity>
<SanfId>1</SanfId>
<SanfName>sample string 2</SanfName>
</SanfVM>
<SanfVM>
<Price>3.1</Price>
<Quantity>4</Quantity>
<SanfId>1</SanfId>
<SanfName>sample string 2</SanfName>
</SanfVM>
</ArrayOfSanfVM>