POST api/ListIncome
Request Information
URI Parameters
None.
Body Parameters
RequesthdName | Description | Type | Additional information |
---|---|---|---|
headername | string |
None. |
|
year | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "headername": "sample string 1", "year": 2 }
application/xml, text/xml
Sample:
<ListIncomeController.Requesthd xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APISMS.Controllers.IndividualSMS"> <headername>sample string 1</headername> <year>2</year> </ListIncomeController.Requesthd>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultIncomeName | Description | Type | Additional information |
---|---|---|---|
ResultCode | string |
None. |
|
ResultDesc | string |
None. |
|
Incomes | Collection of ListIncome |
None. |
Response Formats
application/json, text/json
Sample:
{ "ResultCode": "sample string 1", "ResultDesc": "sample string 2", "Incomes": [ { "HeaderName": "sample string 1", "Record": 1, "Price": 1, "Month": 1, "Year": 1, "Total": 1, "telephone": "sample string 2" }, { "HeaderName": "sample string 1", "Record": 1, "Price": 1, "Month": 1, "Year": 1, "Total": 1, "telephone": "sample string 2" } ] }
application/xml, text/xml
Sample:
<ListIncomeController.ResultIncome xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APISMS.Controllers.IndividualSMS"> <Incomes> <ListIncomeController.ListIncome> <HeaderName>sample string 1</HeaderName> <Month>1</Month> <Price>1</Price> <Record>1</Record> <Total>1</Total> <Year>1</Year> <telephone>sample string 2</telephone> </ListIncomeController.ListIncome> <ListIncomeController.ListIncome> <HeaderName>sample string 1</HeaderName> <Month>1</Month> <Price>1</Price> <Record>1</Record> <Total>1</Total> <Year>1</Year> <telephone>sample string 2</telephone> </ListIncomeController.ListIncome> </Incomes> <ResultCode>sample string 1</ResultCode> <ResultDesc>sample string 2</ResultDesc> </ListIncomeController.ResultIncome>