POST api/v1/save_update_bellows_mapping
Request Information
URI Parameters
None.
Body Parameters
BellowsMappingViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ManufacturerId | integer |
None. |
|
| bellowsMappingAttributes | Collection of BellowsMappingAttributes |
None. |
Request Formats
application/json, text/json
Sample:
{
"ManufacturerId": 1,
"bellowsMappingAttributes": {
"$id": "2",
"$values": [
{
"$id": "3",
"Id": 1,
"NewBellowsId": 1,
"OldBellowsId": 1
},
{
"$ref": "3"
}
]
}
}
text/html
Sample:
{"$id":"1","ManufacturerId":1,"bellowsMappingAttributes":{"$id":"2","$values":[{"$id":"3","Id":1,"NewBellowsId":1,"OldBellowsId":1},{"$ref":"3"}]}}
application/xml, text/xml
Sample:
<BellowsMappingViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BellaArmorAPI.Models.ViewModels">
<ManufacturerId>1</ManufacturerId>
<bellowsMappingAttributes>
<BellowsMappingAttributes>
<Id>1</Id>
<NewBellowsId>1</NewBellowsId>
<OldBellowsId>1</OldBellowsId>
</BellowsMappingAttributes>
<BellowsMappingAttributes>
<Id>1</Id>
<NewBellowsId>1</NewBellowsId>
<OldBellowsId>1</OldBellowsId>
</BellowsMappingAttributes>
</bellowsMappingAttributes>
</BellowsMappingViewModel>
multipart/form-data
Sample:
<BellowsMappingViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BellaArmorAPI.Models.ViewModels"><ManufacturerId>1</ManufacturerId><bellowsMappingAttributes><BellowsMappingAttributes><Id>1</Id><NewBellowsId>1</NewBellowsId><OldBellowsId>1</OldBellowsId></BellowsMappingAttributes><BellowsMappingAttributes><Id>1</Id><NewBellowsId>1</NewBellowsId><OldBellowsId>1</OldBellowsId></BellowsMappingAttributes></bellowsMappingAttributes></BellowsMappingViewModel>
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. |