GET api/Schedule/One?api={api}&idpartner={idpartner}&id={id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
api | string |
Required |
|
idpartner | string |
Default value is |
|
id | string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
oneScheduleName | Description | Type | Additional information |
---|---|---|---|
data | ScheduleModel |
None. |
|
status |
Trạng thái |
string |
None. |
message |
Thông báo |
string |
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" }, "status": "sample string 1", "message": "sample string 2" }
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"},"status":"sample string 1","message":"sample string 2"});
application/xml, text/xml
Sample:
<oneSchedule xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models.Schedule"> <message xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models">sample string 2</message> <status xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models">sample string 1</status> <data> <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> </data> </oneSchedule>