POST api/admin/ProductsApi/AddNewProductSize

Request Information

URI Parameters

None.

Body Parameters

ProductSizeModel
NameDescriptionTypeAdditional information
Size

string

Min length: 1

String length: inclusive between 0 and 20

OldSize

string

Min length: 1

String length: inclusive between 0 and 20

FitID

integer

None.

ProductID

integer

Range: inclusive between 1 and 2147483647

SizeGroupId

integer

Range: inclusive between 1 and 2147483647

OldSizeGroupId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Size": "sample string 1",
  "OldSize": "sample string 2",
  "FitID": 3,
  "ProductID": 4,
  "SizeGroupId": 5,
  "OldSizeGroupId": 6
}

application/xml, text/xml

Sample:
<ProductSizeModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BAWModels.PostModel">
  <FitID>3</FitID>
  <OldSize>sample string 2</OldSize>
  <OldSizeGroupId>6</OldSizeGroupId>
  <ProductID>4</ProductID>
  <Size>sample string 1</Size>
  <SizeGroupId>5</SizeGroupId>
</ProductSizeModel>

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.