GET api/Schedule/getuse?api={api}&page={page}&limit={limit}&idpartner={idpartner}&idbrandpartner={idbrandpartner}&keyword={keyword}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
api | string |
Required |
|
page | integer |
Default value is 1 |
|
limit | integer |
Default value is 50 |
|
idpartner | string |
Default value is |
|
idbrandpartner | string |
Default value is |
|
keyword | string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
objScheduleName | Description | Type | Additional information |
---|---|---|---|
data | Collection of ScheduleModel |
None. |
|
time |
Thời gian server trả về |
integer |
None. |
status |
Trạng thái |
string |
None. |
message |
Thông báo |
string |
None. |
codemessage |
Mã lỗi |
string |
None. |
strprint |
phiếu in hoặc xuất file |
string |
None. |
strexcel |
file excel |
string |
None. |
strword |
file word |
string |
None. |
page |
Trang số |
integer |
None. |
totalpage |
Tổng số trang |
decimal number |
None. |
totalrecord |
Tổng số bản ghi |
decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": [ { "id": "sample string 1", "idkey": "sample string 2", "idpartner": "sample string 3", "idbrandpartner": "sample string 4", "dateschedule": "sample string 5", "startHourAM": "sample string 6", "startMinuteAM": "sample string 7", "endHourAM": "sample string 8", "endMinuteAM": "sample string 9", "startHourPM": "sample string 10", "startMinutePM": "sample string 11", "endHourPM": "sample string 12", "endMinutePM": "sample string 13", "iddepartment": "sample string 14", "codedepartment": "sample string 15", "namedepartment": "sample string 16", "idclinic": "sample string 17", "codeclinic": "sample string 18", "nameclinic": "sample string 19", "iddoctor": "sample string 20", "codedoctor": "sample string 21", "namedoctor": "sample string 22", "title": "sample string 23", "idnurse": "sample string 24", "codenurse": "sample string 25", "namenurse": "sample string 26", "idproduct": "sample string 27", "codeproduct": "sample string 28", "nameproduct": "sample string 29", "price": 1.1, "total": 1.1, "discount": 1.1, "totaldiscount": 1.1, "totalpay": 1.1, "accept": 1, "dateaccept": "sample string 30", "idhuman": "sample string 31", "namehuman": "sample string 32", "idcreate": "sample string 33", "codecreate": "sample string 34", "namecreate": "sample string 35", "datecreate": "sample string 36" }, { "id": "sample string 1", "idkey": "sample string 2", "idpartner": "sample string 3", "idbrandpartner": "sample string 4", "dateschedule": "sample string 5", "startHourAM": "sample string 6", "startMinuteAM": "sample string 7", "endHourAM": "sample string 8", "endMinuteAM": "sample string 9", "startHourPM": "sample string 10", "startMinutePM": "sample string 11", "endHourPM": "sample string 12", "endMinutePM": "sample string 13", "iddepartment": "sample string 14", "codedepartment": "sample string 15", "namedepartment": "sample string 16", "idclinic": "sample string 17", "codeclinic": "sample string 18", "nameclinic": "sample string 19", "iddoctor": "sample string 20", "codedoctor": "sample string 21", "namedoctor": "sample string 22", "title": "sample string 23", "idnurse": "sample string 24", "codenurse": "sample string 25", "namenurse": "sample string 26", "idproduct": "sample string 27", "codeproduct": "sample string 28", "nameproduct": "sample string 29", "price": 1.1, "total": 1.1, "discount": 1.1, "totaldiscount": 1.1, "totalpay": 1.1, "accept": 1, "dateaccept": "sample string 30", "idhuman": "sample string 31", "namehuman": "sample string 32", "idcreate": "sample string 33", "codecreate": "sample string 34", "namecreate": "sample string 35", "datecreate": "sample string 36" } ], "time": 1, "status": "sample string 2", "message": "sample string 3", "codemessage": "samplestring3", "strprint": "sample string 5", "strexcel": "sample string 6", "strword": "sample string 7", "page": 8, "totalpage": 9.1, "totalrecord": 10.1 }
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"data":[{"id":"sample string 1","idkey":"sample string 2","idpartner":"sample string 3","idbrandpartner":"sample string 4","dateschedule":"sample string 5","startHourAM":"sample string 6","startMinuteAM":"sample string 7","endHourAM":"sample string 8","endMinuteAM":"sample string 9","startHourPM":"sample string 10","startMinutePM":"sample string 11","endHourPM":"sample string 12","endMinutePM":"sample string 13","iddepartment":"sample string 14","codedepartment":"sample string 15","namedepartment":"sample string 16","idclinic":"sample string 17","codeclinic":"sample string 18","nameclinic":"sample string 19","iddoctor":"sample string 20","codedoctor":"sample string 21","namedoctor":"sample string 22","title":"sample string 23","idnurse":"sample string 24","codenurse":"sample string 25","namenurse":"sample string 26","idproduct":"sample string 27","codeproduct":"sample string 28","nameproduct":"sample string 29","price":1.1,"total":1.1,"discount":1.1,"totaldiscount":1.1,"totalpay":1.1,"accept":1,"dateaccept":"sample string 30","idhuman":"sample string 31","namehuman":"sample string 32","idcreate":"sample string 33","codecreate":"sample string 34","namecreate":"sample string 35","datecreate":"sample string 36"},{"id":"sample string 1","idkey":"sample string 2","idpartner":"sample string 3","idbrandpartner":"sample string 4","dateschedule":"sample string 5","startHourAM":"sample string 6","startMinuteAM":"sample string 7","endHourAM":"sample string 8","endMinuteAM":"sample string 9","startHourPM":"sample string 10","startMinutePM":"sample string 11","endHourPM":"sample string 12","endMinutePM":"sample string 13","iddepartment":"sample string 14","codedepartment":"sample string 15","namedepartment":"sample string 16","idclinic":"sample string 17","codeclinic":"sample string 18","nameclinic":"sample string 19","iddoctor":"sample string 20","codedoctor":"sample string 21","namedoctor":"sample string 22","title":"sample string 23","idnurse":"sample string 24","codenurse":"sample string 25","namenurse":"sample string 26","idproduct":"sample string 27","codeproduct":"sample string 28","nameproduct":"sample string 29","price":1.1,"total":1.1,"discount":1.1,"totaldiscount":1.1,"totalpay":1.1,"accept":1,"dateaccept":"sample string 30","idhuman":"sample string 31","namehuman":"sample string 32","idcreate":"sample string 33","codecreate":"sample string 34","namecreate":"sample string 35","datecreate":"sample string 36"}],"time":1,"status":"sample string 2","message":"sample string 3","codemessage":"samplestring3","strprint":"sample string 5","strexcel":"sample string 6","strword":"sample string 7","page":8,"totalpage":9.1,"totalrecord":10.1});
application/xml, text/xml
Sample:
<objSchedule xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models.Schedule"> <codemessage xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models">samplestring3</codemessage> <message xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models">sample string 3</message> <page xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models">8</page> <status xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models">sample string 2</status> <strexcel xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models">sample string 6</strexcel> <strprint xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models">sample string 5</strprint> <strword xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models">sample string 7</strword> <time xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models">1</time> <totalpage xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models">9.1</totalpage> <totalrecord xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models">10.1</totalrecord> <data> <ScheduleModel> <accept>1</accept> <codeclinic>sample string 18</codeclinic> <codecreate>sample string 34</codecreate> <codedepartment>sample string 15</codedepartment> <codedoctor>sample string 21</codedoctor> <codenurse>sample string 25</codenurse> <codeproduct>sample string 28</codeproduct> <dateaccept>sample string 30</dateaccept> <datecreate>sample string 36</datecreate> <dateschedule>sample string 5</dateschedule> <discount>1.1</discount> <endHourAM>sample string 8</endHourAM> <endHourPM>sample string 12</endHourPM> <endMinuteAM>sample string 9</endMinuteAM> <endMinutePM>sample string 13</endMinutePM> <id>sample string 1</id> <idbrandpartner>sample string 4</idbrandpartner> <idclinic>sample string 17</idclinic> <idcreate>sample string 33</idcreate> <iddepartment>sample string 14</iddepartment> <iddoctor>sample string 20</iddoctor> <idhuman>sample string 31</idhuman> <idkey>sample string 2</idkey> <idnurse>sample string 24</idnurse> <idpartner>sample string 3</idpartner> <idproduct>sample string 27</idproduct> <nameclinic>sample string 19</nameclinic> <namecreate>sample string 35</namecreate> <namedepartment>sample string 16</namedepartment> <namedoctor>sample string 22</namedoctor> <namehuman>sample string 32</namehuman> <namenurse>sample string 26</namenurse> <nameproduct>sample string 29</nameproduct> <price>1.1</price> <startHourAM>sample string 6</startHourAM> <startHourPM>sample string 10</startHourPM> <startMinuteAM>sample string 7</startMinuteAM> <startMinutePM>sample string 11</startMinutePM> <title>sample string 23</title> <total>1.1</total> <totaldiscount>1.1</totaldiscount> <totalpay>1.1</totalpay> </ScheduleModel> <ScheduleModel> <accept>1</accept> <codeclinic>sample string 18</codeclinic> <codecreate>sample string 34</codecreate> <codedepartment>sample string 15</codedepartment> <codedoctor>sample string 21</codedoctor> <codenurse>sample string 25</codenurse> <codeproduct>sample string 28</codeproduct> <dateaccept>sample string 30</dateaccept> <datecreate>sample string 36</datecreate> <dateschedule>sample string 5</dateschedule> <discount>1.1</discount> <endHourAM>sample string 8</endHourAM> <endHourPM>sample string 12</endHourPM> <endMinuteAM>sample string 9</endMinuteAM> <endMinutePM>sample string 13</endMinutePM> <id>sample string 1</id> <idbrandpartner>sample string 4</idbrandpartner> <idclinic>sample string 17</idclinic> <idcreate>sample string 33</idcreate> <iddepartment>sample string 14</iddepartment> <iddoctor>sample string 20</iddoctor> <idhuman>sample string 31</idhuman> <idkey>sample string 2</idkey> <idnurse>sample string 24</idnurse> <idpartner>sample string 3</idpartner> <idproduct>sample string 27</idproduct> <nameclinic>sample string 19</nameclinic> <namecreate>sample string 35</namecreate> <namedepartment>sample string 16</namedepartment> <namedoctor>sample string 22</namedoctor> <namehuman>sample string 32</namehuman> <namenurse>sample string 26</namenurse> <nameproduct>sample string 29</nameproduct> <price>1.1</price> <startHourAM>sample string 6</startHourAM> <startHourPM>sample string 10</startHourPM> <startMinuteAM>sample string 7</startMinuteAM> <startMinutePM>sample string 11</startMinutePM> <title>sample string 23</title> <total>1.1</total> <totaldiscount>1.1</totaldiscount> <totalpay>1.1</totalpay> </ScheduleModel> </data> </objSchedule>