POST themdanhsachbac
Request Information
URI Parameters
None.
Body Parameters
Collection of bac| Name | Description | Type | Additional information |
|---|---|---|---|
| mabac | integer |
None. |
|
| tenbac | string |
None. |
|
| phucapuudai | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"mabac": 1,
"tenbac": "sample string 2",
"phucapuudai": 3.1
},
{
"mabac": 1,
"tenbac": "sample string 2",
"phucapuudai": 3.1
}
]
application/xml, text/xml
Sample:
<ArrayOfbac xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APITienLuong.Models">
<bac>
<mabac>1</mabac>
<phucapuudai>3.1</phucapuudai>
<tenbac>sample string 2</tenbac>
</bac>
<bac>
<mabac>1</mabac>
<phucapuudai>3.1</phucapuudai>
<tenbac>sample string 2</tenbac>
</bac>
</ArrayOfbac>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
bac| Name | Description | Type | Additional information |
|---|---|---|---|
| mabac | integer |
None. |
|
| tenbac | string |
None. |
|
| phucapuudai | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{
"mabac": 1,
"tenbac": "sample string 2",
"phucapuudai": 3.1
}
application/xml, text/xml
Sample:
<bac xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APITienLuong.Models"> <mabac>1</mabac> <phucapuudai>3.1</phucapuudai> <tenbac>sample string 2</tenbac> </bac>