POST api/WebCuModels

Request Information

URI Parameters

None.

Body Parameters

Collection of WebCuModelsModel
NameDescriptionTypeAdditional information
Id

integer

None.

CustomerId

integer

None.

ModelsId

integer

None.

WebModelsModel

WebModelsModel

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "CustomerId": 2,
    "ModelsId": 3,
    "WebModelsModel": {
      "Id": 1,
      "ProductsId": 2,
      "ModelName": "sample string 3",
      "ModelCode": "sample string 4",
      "ModelPrice": 5.0
    }
  },
  {
    "Id": 1,
    "CustomerId": 2,
    "ModelsId": 3,
    "WebModelsModel": {
      "Id": 1,
      "ProductsId": 2,
      "ModelName": "sample string 3",
      "ModelCode": "sample string 4",
      "ModelPrice": 5.0
    }
  }
]

application/xml, text/xml

Sample:
<ArrayOfWebCuModelsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NoghostarModels.Models.WebModels">
  <WebCuModelsModel>
    <CustomerId>2</CustomerId>
    <Id>1</Id>
    <ModelsId>3</ModelsId>
    <WebModelsModel>
      <Id>1</Id>
      <ModelCode>sample string 4</ModelCode>
      <ModelName>sample string 3</ModelName>
      <ModelPrice>5</ModelPrice>
      <ProductsId>2</ProductsId>
    </WebModelsModel>
  </WebCuModelsModel>
  <WebCuModelsModel>
    <CustomerId>2</CustomerId>
    <Id>1</Id>
    <ModelsId>3</ModelsId>
    <WebModelsModel>
      <Id>1</Id>
      <ModelCode>sample string 4</ModelCode>
      <ModelName>sample string 3</ModelName>
      <ModelPrice>5</ModelPrice>
      <ProductsId>2</ProductsId>
    </WebModelsModel>
  </WebCuModelsModel>
</ArrayOfWebCuModelsModel>

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.