POST api/Values
Request Information
URI Parameters
None.
Body Parameters
Userlog| Name | Description | Type | Additional information |
|---|---|---|---|
| t | integer |
None. |
|
| pa | Collection of decimal number |
None. |
|
| pr | Collection of decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"t": 1,
"pa": [
1.0,
2.0
],
"pr": [
1.0,
2.0
]
}
application/xml, text/xml
Sample:
<Userlog xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication1.Controllers">
<pa xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:decimal>1</d2p1:decimal>
<d2p1:decimal>2</d2p1:decimal>
</pa>
<pr xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:decimal>1</d2p1:decimal>
<d2p1:decimal>2</d2p1:decimal>
</pr>
<t>1</t>
</Userlog>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>