POST api/UnitBrand/InfoByParentVal
Request Information
URI Parameters
None.
Body Parameters
RefUnitBrandDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| RefUnitBrandId | integer |
None. |
|
| SpecCode | string |
None. |
|
| SpecName | string |
None. |
|
| SpecValue | string |
None. |
|
| ParentCode | string |
None. |
|
| ParentName | string |
None. |
|
| ParentValue | string |
None. |
|
| ParentId | integer |
None. |
|
| IsActive | boolean |
None. |
|
| ChildrenName | string |
None. |
|
| ChildrenArr | Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{
"RefUnitBrandId": 1,
"SpecCode": "sample string 2",
"SpecName": "sample string 3",
"SpecValue": "sample string 4",
"ParentCode": "sample string 5",
"ParentName": "sample string 6",
"ParentValue": "sample string 7",
"ParentId": 1,
"IsActive": true,
"ChildrenName": "sample string 9",
"ChildrenArr": [
"sample string 1",
"sample string 2"
]
}
text/html
Sample:
{"RefUnitBrandId":1,"SpecCode":"sample string 2","SpecName":"sample string 3","SpecValue":"sample string 4","ParentCode":"sample string 5","ParentName":"sample string 6","ParentValue":"sample string 7","ParentId":1,"IsActive":true,"ChildrenName":"sample string 9","ChildrenArr":["sample string 1","sample string 2"]}
application/xml, text/xml
Sample:
<RefUnitBrandDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Application.WebAPI.Models">
<ChildrenArr xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</ChildrenArr>
<ChildrenName>sample string 9</ChildrenName>
<IsActive>true</IsActive>
<ParentCode>sample string 5</ParentCode>
<ParentId>1</ParentId>
<ParentName>sample string 6</ParentName>
<ParentValue>sample string 7</ParentValue>
<RefUnitBrandId>1</RefUnitBrandId>
<SpecCode>sample string 2</SpecCode>
<SpecName>sample string 3</SpecName>
<SpecValue>sample string 4</SpecValue>
</RefUnitBrandDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.