POST api/MuaGoiTin
Mua gói tin
Request Information
Requires Authorization!
Parameters
Name | Description | Type | Additional information |
---|---|---|---|
goitin |
goitin |
integer |
None. |
Body Parameters
MuaGoiTinRequestName | Description | Type | Additional information |
---|---|---|---|
userId | integer |
None. |
|
goitin | integer |
None. |
|
month | integer |
None. |
|
money | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "userId": 1, "goitin": 2, "month": 3, "money": 4 }
application/xml, text/xml
Sample:
<MuaGoiTinRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Auto.AppApi.Models"> <goitin>2</goitin> <money>4</money> <month>3</month> <userId>1</userId> </MuaGoiTinRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
DataReturnObjName | Description | Type | Additional information |
---|---|---|---|
Status | integer |
None. |
|
Message | string |
None. |
|
Data | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Status": 1, "Message": "sample string 2", "Data": "sample string 3" }
application/xml, text/xml
Sample:
<DataReturnObj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Auto.AppApi.Models"> <Data>sample string 3</Data> <Message>sample string 2</Message> <Status>1</Status> </DataReturnObj>