POST api/SoftwareModels
Request Information
URI Parameters
None.
Body Parameters
SoftwareModelsModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| ProductID | integer |
None. |
|
| Name | string |
None. |
|
| Price | decimal number |
None. |
|
| WarantyPercent | integer |
None. |
|
| Sharh | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"ProductID": 2,
"Name": "sample string 3",
"Price": 4.0,
"WarantyPercent": 5,
"Sharh": "sample string 6"
}
application/xml, text/xml
Sample:
<SoftwareModelsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NoghostarModels.Models"> <ID>1</ID> <Name>sample string 3</Name> <Price>4</Price> <ProductID>2</ProductID> <Sharh>sample string 6</Sharh> <WarantyPercent>5</WarantyPercent> </SoftwareModelsModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.