GET api/test/objektrader
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of TestRader| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| HuvudId | integer |
None. |
|
| Beskrivning | string |
None. |
|
| Antal | integer |
None. |
|
| Pris | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"id": 1,
"huvudId": 2,
"beskrivning": "sample string 3",
"antal": 4,
"pris": 5.0
},
{
"id": 1,
"huvudId": 2,
"beskrivning": "sample string 3",
"antal": 4,
"pris": 5.0
}
]
application/xml, text/xml
Sample:
<ArrayOfTestRader xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ThorMobileAPI.Models">
<TestRader>
<Antal>4</Antal>
<Beskrivning>sample string 3</Beskrivning>
<HuvudId>2</HuvudId>
<Id>1</Id>
<Pris>5</Pris>
</TestRader>
<TestRader>
<Antal>4</Antal>
<Beskrivning>sample string 3</Beskrivning>
<HuvudId>2</HuvudId>
<Id>1</Id>
<Pris>5</Pris>
</TestRader>
</ArrayOfTestRader>