POST api/RevenueReport/inloaidichvumoi?api={api}&idpartner={idpartner}&idbrandpartner={idbrandpartner}&fromdate={fromdate}&todate={todate}
In bao cao theo loai dich vu
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| api |
Mã API do hệ thống cung cấp |
string |
Required |
| idpartner |
id đối tác |
string |
Default value is |
| idbrandpartner |
id chi nhánh |
string |
Default value is |
| fromdate |
Từ ngày yyyyMMdd |
string |
Default value is |
| todate |
Đến ngày yyyyMMdd |
string |
Default value is |
Body Parameters
Collection of BaocaoDoanhThuTheoLoaiDichVu| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
id hệ thống tự sinh |
string |
None. |
| idkey |
id key |
string |
None. |
| idpartner |
id đối tác |
string |
None. |
| idbrandpartner |
id chi nhánh |
string |
None. |
| yearmonthday |
Ngày thu tiền |
integer |
None. |
| ngay_thu |
Ngày thu tiền |
string |
None. |
| tong_thu_cong_kham |
Tống doanh số |
decimal number |
None. |
| giam_gia_cong_kham |
Tống công nợ |
decimal number |
None. |
| tong_thu_sieu_am |
Tống doanh số |
decimal number |
None. |
| giam_gia_sieu_am |
Tống công nợ |
decimal number |
None. |
| tong_thu_noi_soi |
Tống giá trị các phiếu |
decimal number |
None. |
| giam_gia_noi_soi |
Tống tiền hàng hóa |
decimal number |
None. |
| tong_thu_tham_do_chuc_nang |
Tống tiền thuế |
decimal number |
None. |
| giam_gia_tham_do_chuc_nang |
Tống điểm |
decimal number |
None. |
| tong_thu_xquang |
Tống tiền phiếu giảm giá |
decimal number |
None. |
| giam_gia_xquang |
Tống tiền giảm giá |
decimal number |
None. |
| tong_thu_thu_thuat |
Tống tiền BHYT |
decimal number |
None. |
| giam_gia_thu_thuat |
Tống tiền nguồn khác |
decimal number |
None. |
| tong_thu_xet_nghiem |
Tống tiền thu bệnh nhân |
decimal number |
None. |
| giam_gia_xet_nghiem |
Tống tiền |
decimal number |
None. |
| tong_thu_khac |
Tống tiền thu bệnh nhân |
decimal number |
None. |
| giam_gia_khac |
Tống tiền |
decimal number |
None. |
| tong_thu_goi_kham |
Tống tiền thu bệnh nhân |
decimal number |
None. |
| giam_gia_goi_kham |
Tống tiền |
decimal number |
None. |
| tong_thu_thuoc |
Tống tiền |
decimal number |
None. |
| giam_gia_thuoc |
Tống tiền |
decimal number |
None. |
| tong_tien |
Tống tiền |
decimal number |
None. |
| tong_giam_gia |
Tống tiền |
decimal number |
None. |
| tong_no |
Tống tiền |
decimal number |
None. |
| tong_da_thu |
Tống tiền |
decimal number |
None. |
| tien_mat |
Tống tiền |
decimal number |
None. |
| chuyen_khoan |
Tống tiền |
decimal number |
None. |
| nguon_khac |
Tống tiền |
decimal number |
None. |
| tong_tien_hang_hoa |
Tống tiền |
decimal number |
None. |
| tong_tien_thue |
Tống tiền |
decimal number |
None. |
Request Formats
application/json, text/json
[
{
"id": "sample string 1",
"idkey": "sample string 2",
"idpartner": "sample string 3",
"idbrandpartner": "sample string 4",
"yearmonthday": 5,
"ngay_thu": "sample string 6",
"tong_thu_cong_kham": 1.1,
"giam_gia_cong_kham": 1.1,
"tong_thu_sieu_am": 1.1,
"giam_gia_sieu_am": 1.1,
"tong_thu_noi_soi": 1.1,
"giam_gia_noi_soi": 1.1,
"tong_thu_tham_do_chuc_nang": 1.1,
"giam_gia_tham_do_chuc_nang": 1.1,
"tong_thu_xquang": 1.1,
"giam_gia_xquang": 1.1,
"tong_thu_thu_thuat": 1.1,
"giam_gia_thu_thuat": 1.1,
"tong_thu_xet_nghiem": 1.1,
"giam_gia_xet_nghiem": 1.1,
"tong_thu_khac": 1.1,
"giam_gia_khac": 1.1,
"tong_thu_goi_kham": 1.1,
"giam_gia_goi_kham": 1.1,
"tong_thu_thuoc": 1.1,
"giam_gia_thuoc": 1.1,
"tong_tien": 1.1,
"tong_giam_gia": 1.1,
"tong_no": 1.1,
"tong_da_thu": 1.1,
"tien_mat": 1.1,
"chuyen_khoan": 1.1,
"nguon_khac": 1.1,
"tong_tien_hang_hoa": 1.1,
"tong_tien_thue": 1.1
},
{
"id": "sample string 1",
"idkey": "sample string 2",
"idpartner": "sample string 3",
"idbrandpartner": "sample string 4",
"yearmonthday": 5,
"ngay_thu": "sample string 6",
"tong_thu_cong_kham": 1.1,
"giam_gia_cong_kham": 1.1,
"tong_thu_sieu_am": 1.1,
"giam_gia_sieu_am": 1.1,
"tong_thu_noi_soi": 1.1,
"giam_gia_noi_soi": 1.1,
"tong_thu_tham_do_chuc_nang": 1.1,
"giam_gia_tham_do_chuc_nang": 1.1,
"tong_thu_xquang": 1.1,
"giam_gia_xquang": 1.1,
"tong_thu_thu_thuat": 1.1,
"giam_gia_thu_thuat": 1.1,
"tong_thu_xet_nghiem": 1.1,
"giam_gia_xet_nghiem": 1.1,
"tong_thu_khac": 1.1,
"giam_gia_khac": 1.1,
"tong_thu_goi_kham": 1.1,
"giam_gia_goi_kham": 1.1,
"tong_thu_thuoc": 1.1,
"giam_gia_thuoc": 1.1,
"tong_tien": 1.1,
"tong_giam_gia": 1.1,
"tong_no": 1.1,
"tong_da_thu": 1.1,
"tien_mat": 1.1,
"chuyen_khoan": 1.1,
"nguon_khac": 1.1,
"tong_tien_hang_hoa": 1.1,
"tong_tien_thue": 1.1
}
]
application/xml, text/xml
<ArrayOfBaocaoDoanhThuTheoLoaiDichVu xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models.Baocao">
<BaocaoDoanhThuTheoLoaiDichVu>
<chuyen_khoan>1.1</chuyen_khoan>
<giam_gia_cong_kham>1.1</giam_gia_cong_kham>
<giam_gia_goi_kham>1.1</giam_gia_goi_kham>
<giam_gia_khac>1.1</giam_gia_khac>
<giam_gia_noi_soi>1.1</giam_gia_noi_soi>
<giam_gia_sieu_am>1.1</giam_gia_sieu_am>
<giam_gia_tham_do_chuc_nang>1.1</giam_gia_tham_do_chuc_nang>
<giam_gia_thu_thuat>1.1</giam_gia_thu_thuat>
<giam_gia_thuoc>1.1</giam_gia_thuoc>
<giam_gia_xet_nghiem>1.1</giam_gia_xet_nghiem>
<giam_gia_xquang>1.1</giam_gia_xquang>
<id>sample string 1</id>
<idbrandpartner>sample string 4</idbrandpartner>
<idkey>sample string 2</idkey>
<idpartner>sample string 3</idpartner>
<ngay_thu>sample string 6</ngay_thu>
<nguon_khac>1.1</nguon_khac>
<tien_mat>1.1</tien_mat>
<tong_da_thu>1.1</tong_da_thu>
<tong_giam_gia>1.1</tong_giam_gia>
<tong_no>1.1</tong_no>
<tong_thu_cong_kham>1.1</tong_thu_cong_kham>
<tong_thu_goi_kham>1.1</tong_thu_goi_kham>
<tong_thu_khac>1.1</tong_thu_khac>
<tong_thu_noi_soi>1.1</tong_thu_noi_soi>
<tong_thu_sieu_am>1.1</tong_thu_sieu_am>
<tong_thu_tham_do_chuc_nang>1.1</tong_thu_tham_do_chuc_nang>
<tong_thu_thu_thuat>1.1</tong_thu_thu_thuat>
<tong_thu_thuoc>1.1</tong_thu_thuoc>
<tong_thu_xet_nghiem>1.1</tong_thu_xet_nghiem>
<tong_thu_xquang>1.1</tong_thu_xquang>
<tong_tien>1.1</tong_tien>
<tong_tien_hang_hoa>1.1</tong_tien_hang_hoa>
<tong_tien_thue>1.1</tong_tien_thue>
<yearmonthday>5</yearmonthday>
</BaocaoDoanhThuTheoLoaiDichVu>
<BaocaoDoanhThuTheoLoaiDichVu>
<chuyen_khoan>1.1</chuyen_khoan>
<giam_gia_cong_kham>1.1</giam_gia_cong_kham>
<giam_gia_goi_kham>1.1</giam_gia_goi_kham>
<giam_gia_khac>1.1</giam_gia_khac>
<giam_gia_noi_soi>1.1</giam_gia_noi_soi>
<giam_gia_sieu_am>1.1</giam_gia_sieu_am>
<giam_gia_tham_do_chuc_nang>1.1</giam_gia_tham_do_chuc_nang>
<giam_gia_thu_thuat>1.1</giam_gia_thu_thuat>
<giam_gia_thuoc>1.1</giam_gia_thuoc>
<giam_gia_xet_nghiem>1.1</giam_gia_xet_nghiem>
<giam_gia_xquang>1.1</giam_gia_xquang>
<id>sample string 1</id>
<idbrandpartner>sample string 4</idbrandpartner>
<idkey>sample string 2</idkey>
<idpartner>sample string 3</idpartner>
<ngay_thu>sample string 6</ngay_thu>
<nguon_khac>1.1</nguon_khac>
<tien_mat>1.1</tien_mat>
<tong_da_thu>1.1</tong_da_thu>
<tong_giam_gia>1.1</tong_giam_gia>
<tong_no>1.1</tong_no>
<tong_thu_cong_kham>1.1</tong_thu_cong_kham>
<tong_thu_goi_kham>1.1</tong_thu_goi_kham>
<tong_thu_khac>1.1</tong_thu_khac>
<tong_thu_noi_soi>1.1</tong_thu_noi_soi>
<tong_thu_sieu_am>1.1</tong_thu_sieu_am>
<tong_thu_tham_do_chuc_nang>1.1</tong_thu_tham_do_chuc_nang>
<tong_thu_thu_thuat>1.1</tong_thu_thu_thuat>
<tong_thu_thuoc>1.1</tong_thu_thuoc>
<tong_thu_xet_nghiem>1.1</tong_thu_xet_nghiem>
<tong_thu_xquang>1.1</tong_thu_xquang>
<tong_tien>1.1</tong_tien>
<tong_tien_hang_hoa>1.1</tong_tien_hang_hoa>
<tong_tien_thue>1.1</tong_tien_thue>
<yearmonthday>5</yearmonthday>
</BaocaoDoanhThuTheoLoaiDichVu>
</ArrayOfBaocaoDoanhThuTheoLoaiDichVu>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
dataPrint| Name | Description | Type | Additional information |
|---|---|---|---|
| time |
Thời gian server trả về |
integer |
None. |
| status |
Trạng thái |
string |
None. |
| message |
Thông báo |
string |
None. |
| strprint |
Mẫu phiếu in |
string |
None. |
| strexcel |
file excel |
string |
None. |
| strword |
file word |
string |
None. |
| strhtml |
file html |
string |
None. |
Response Formats
application/json, text/json
{
"time": 1,
"status": "sample string 2",
"message": "sample string 3",
"strprint": "sample string 4",
"strexcel": "sample string 5",
"strword": "sample string 6",
"strhtml": "sample string 7"
}
text/javascript, application/javascript, application/json-p
/**/ typeof === 'function' && ({"time":1,"status":"sample string 2","message":"sample string 3","strprint":"sample string 4","strexcel":"sample string 5","strword":"sample string 6","strhtml":"sample string 7"});
application/xml, text/xml
<dataPrint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models"> <message>sample string 3</message> <status>sample string 2</status> <strexcel>sample string 5</strexcel> <strhtml>sample string 7</strhtml> <strprint>sample string 4</strprint> <strword>sample string 6</strword> <time>1</time> </dataPrint>