POST api/Admin/SaveModel

Request Information

URI Parameters

None.

Body Parameters

ViewModel
NameDescriptionTypeAdditional information
BrandId

integer

None.

ModelId

integer

None.

ModelName

string

None.

CreatedBy

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "BrandId": 1,
  "ModelId": 2,
  "ModelName": "sample string 3",
  "CreatedBy": 4
}

application/xml, text/xml

Sample:
<ViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TestSeriesServices.Models">
  <BrandId>1</BrandId>
  <CreatedBy>4</CreatedBy>
  <ModelId>2</ModelId>
  <ModelName>sample string 3</ModelName>
</ViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.