POST api/Schedule/Update?api={api}&id={id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
api

string

Required

id

string

Default value is

Body Parameters

ScheduleModel
NameDescriptionTypeAdditional information
id

string

None.

idkey

string

None.

idpartner

string

None.

idbrandpartner

string

None.

dateschedule

string

None.

startHourAM

string

None.

startMinuteAM

string

None.

endHourAM

string

None.

endMinuteAM

string

None.

startHourPM

string

None.

startMinutePM

string

None.

endHourPM

string

None.

endMinutePM

string

None.

iddepartment

string

None.

codedepartment

string

None.

namedepartment

string

None.

idclinic

string

None.

codeclinic

string

None.

nameclinic

string

None.

iddoctor

string

None.

codedoctor

string

None.

namedoctor

string

None.

title

string

None.

idnurse

string

None.

codenurse

string

None.

namenurse

string

None.

idproduct

string

None.

codeproduct

string

None.

nameproduct

string

None.

price

decimal number

None.

total

decimal number

None.

discount

decimal number

None.

totaldiscount

decimal number

None.

totalpay

decimal number

None.

accept

integer

None.

dateaccept

string

None.

idhuman

string

None.

namehuman

string

None.

idcreate

string

None.

codecreate

string

None.

namecreate

string

None.

datecreate

string

None.

Request Formats

application/json, text/json

Sample:
{
  "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"
}

application/xml, text/xml

Sample:
<ScheduleModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models.Schedule">
  <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>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

DataUpdate
NameDescriptionTypeAdditional information
status

string

None.

message

string

None.

id

string

None.

code

string

None.

code1

string

None.

strprint

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status": "sample string 1",
  "message": "sample string 2",
  "id": "sample string 3",
  "code": "sample string 4",
  "code1": "sample string 5",
  "strprint": "sample string 6"
}

text/javascript, application/javascript, application/json-p

Sample:
/**/ typeof  === 'function' && ({"status":"sample string 1","message":"sample string 2","id":"sample string 3","code":"sample string 4","code1":"sample string 5","strprint":"sample string 6"});

application/xml, text/xml

Sample:
<DataUpdate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models">
  <code>sample string 4</code>
  <code1>sample string 5</code1>
  <id>sample string 3</id>
  <message>sample string 2</message>
  <status>sample string 1</status>
  <strprint>sample string 6</strprint>
</DataUpdate>