POST api/v1/save_update_bellows
Request Information
URI Parameters
None.
Body Parameters
BellowAttributeViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ManufacturerId | integer |
None. |
|
| CreatedBy | integer |
None. |
|
| BellowAttributeValueModel | Collection of BellowAttributeValue |
None. |
Request Formats
application/json, text/json
Sample:
{
"ManufacturerId": 1,
"CreatedBy": 1,
"BellowAttributeValueModel": {
"$id": "2",
"$values": [
{
"$id": "3",
"BellowId": 1,
"BellowValue": "sample string 2",
"DefaultValue": "sample string 3",
"Is_New": true
},
{
"$ref": "3"
}
]
}
}
text/html
Sample:
{"$id":"1","ManufacturerId":1,"CreatedBy":1,"BellowAttributeValueModel":{"$id":"2","$values":[{"$id":"3","BellowId":1,"BellowValue":"sample string 2","DefaultValue":"sample string 3","Is_New":true},{"$ref":"3"}]}}
application/xml, text/xml
Sample:
<BellowAttributeViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BellaArmorAPI.Models.ViewModels">
<BellowAttributeValueModel>
<BellowAttributeValue>
<BellowId>1</BellowId>
<BellowValue>sample string 2</BellowValue>
<DefaultValue>sample string 3</DefaultValue>
<Is_New>true</Is_New>
</BellowAttributeValue>
<BellowAttributeValue>
<BellowId>1</BellowId>
<BellowValue>sample string 2</BellowValue>
<DefaultValue>sample string 3</DefaultValue>
<Is_New>true</Is_New>
</BellowAttributeValue>
</BellowAttributeValueModel>
<CreatedBy>1</CreatedBy>
<ManufacturerId>1</ManufacturerId>
</BellowAttributeViewModel>
multipart/form-data
Sample:
<BellowAttributeViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BellaArmorAPI.Models.ViewModels"><BellowAttributeValueModel><BellowAttributeValue><BellowId>1</BellowId><BellowValue>sample string 2</BellowValue><DefaultValue>sample string 3</DefaultValue><Is_New>true</Is_New></BellowAttributeValue><BellowAttributeValue><BellowId>1</BellowId><BellowValue>sample string 2</BellowValue><DefaultValue>sample string 3</DefaultValue><Is_New>true</Is_New></BellowAttributeValue></BellowAttributeValueModel><CreatedBy>1</CreatedBy><ManufacturerId>1</ManufacturerId></BellowAttributeViewModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |