POST api/Values
Request Information
URI Parameters
None.
Body Parameters
Title| Name | Description | Type | Additional information |
|---|---|---|---|
| TitleId | integer |
None. |
|
| TitleName | string |
None. |
|
| Artist | string |
None. |
|
| GenreId | integer |
None. |
|
| Genre | string |
None. |
|
| Price | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"TitleId": 1,
"TitleName": "sample string 2",
"Artist": "sample string 3",
"GenreId": 4,
"Genre": "sample string 5",
"Price": 6.0
}
application/xml, text/xml
Sample:
<Title xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataLayer"> <Artist>sample string 3</Artist> <Genre>sample string 5</Genre> <GenreId>4</GenreId> <Price>6</Price> <TitleId>1</TitleId> <TitleName>sample string 2</TitleName> </Title>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>