POST api/v2/phat-tu/du-lieu-bieu-do/thanh-phan-phat-tu
Request Information
URI Parameters
None.
Body Parameters
Dictionary of string [key] and Object [value]Request Formats
application/json, text/json
Sample:
{
"sample string 1": {},
"sample string 3": {}
}
application/xml, text/xml
Sample:
<ArrayOfKeyValueOfstringanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<KeyValueOfstringanyType>
<Key>sample string 1</Key>
<Value />
</KeyValueOfstringanyType>
<KeyValueOfstringanyType>
<Key>sample string 3</Key>
<Value />
</KeyValueOfstringanyType>
</ArrayOfKeyValueOfstringanyType>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseWithTotalOfBieuDo_Model| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | boolean |
None. |
|
| Message | string |
None. |
|
| Data | Collection of BieuDo_Model |
None. |
|
| Total | integer |
None. |
|
| PIndex | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": true,
"message": "sample string 2",
"data": [
{
"name": "sample string 1",
"value": 2,
"color": "sample string 3"
},
{
"name": "sample string 1",
"value": 2,
"color": "sample string 3"
}
],
"total": 3,
"pIndex": 4
}
application/xml, text/xml
Sample:
<ResponseWithTotalOfBieuDo_Modelpv1JTFkd xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QuanLyPhatTu_API.Models">
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/DTO">
<d2p1:BieuDo_Model>
<d2p1:Color>sample string 3</d2p1:Color>
<d2p1:Name>sample string 1</d2p1:Name>
<d2p1:Value>2</d2p1:Value>
</d2p1:BieuDo_Model>
<d2p1:BieuDo_Model>
<d2p1:Color>sample string 3</d2p1:Color>
<d2p1:Name>sample string 1</d2p1:Name>
<d2p1:Value>2</d2p1:Value>
</d2p1:BieuDo_Model>
</Data>
<Message>sample string 2</Message>
<PIndex>4</PIndex>
<Status>true</Status>
<Total>3</Total>
</ResponseWithTotalOfBieuDo_Modelpv1JTFkd>