POST
http://appapi.sunhouse.com.vn/api/EWarranty/ActiveWarranty
Kích hoạt bảo hành điện tử
Yêu cầu
URI Parameters
None.
Body Parameters
object chứa danh sách parram
ActiveWarranty_ViewModelName | Description | Type | Additional information |
---|---|---|---|
serialno | string |
None. |
|
customerphone | string |
None. |
|
customername | string |
None. |
|
customeraddress | string |
None. |
|
shprovinceid | integer |
None. |
|
shdistrictid | integer |
None. |
|
communeid | integer |
None. |
|
activeby | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "serialno": "sample string 1", "customerphone": "sample string 2", "customername": "sample string 3", "customeraddress": "sample string 4", "shprovinceid": 5, "shdistrictid": 6, "communeid": 7, "activeby": "sample string 8" }
application/xml, text/xml
Sample:
<ActiveWarranty_ViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SH.Mobile.API.Models"> <activeby>sample string 8</activeby> <communeid>7</communeid> <customeraddress>sample string 4</customeraddress> <customername>sample string 3</customername> <customerphone>sample string 2</customerphone> <serialno>sample string 1</serialno> <shdistrictid>6</shdistrictid> <shprovinceid>5</shprovinceid> </ActiveWarranty_ViewModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />