GET api/Human/One?api={api}&idpartner={idpartner}&id={id}
Bản ghi chi tiết
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 |
id |
id nhân sự |
string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
oneHumanName | Description | Type | Additional information |
---|---|---|---|
data | HumanModel |
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", "idsubject": "sample string 5", "codesubject": "sample string 6", "namesubject": "sample string 7", "cooperate": true, "title": "sample string 8", "uniquename": "sample string 9", "avatar": "sample string 10", "code": "sample string 11", "name": "sample string 12", "othername": "sample string 13", "phone": "sample string 14", "email": "sample string 15", "birthday": "sample string 16", "gender": "sample string 17", "birthnumber": "sample string 18", "datebirthnumber": "sample string 19", "identification": "sample string 20", "dateidentification": "sample string 21", "certificate": "sample string 22", "datecertificate": "sample string 23", "addressfull": "sample string 24", "address": "sample string 25", "idcountry": "sample string 26", "codecountry": "sample string 27", "namecountry": "sample string 28", "idprovince": "sample string 29", "codeprovince": "sample string 30", "nameprovince": "sample string 31", "iddistrict": "sample string 32", "codedistrict": "sample string 33", "namedistrict": "sample string 34", "idward": "sample string 35", "codeward": "sample string 36", "nameward": "sample string 37", "status": true, "type": 64, "username": "sample string 38", "password": "sample string 39", "passwordhash": "QEA=", "passwordsalt": "QEA=", "tokencreated": "2024-11-24T23:07:48.5327134+07:00", "tokenexpires": "2024-11-24T23:07:48.5327134+07:00", "isaction": true, "idreligion": "sample string 42", "codereligion": "sample string 43", "namereligion": "sample string 44", "idnation": "sample string 45", "codenation": "sample string 46", "namenation": "sample string 47", "isadmin": true, "iscalendar": true, "idgrouprole": "sample string 50", "namegrouprole": "sample string 51", "idhuman": "sample string 52", "codehuman": "sample string 53", "namehuman": "sample string 54", "datecreate": "sample string 55", "idcreate": "sample string 56", "codecreate": "sample string 57", "namecreate": "sample string 58", "listsubject": [ { "id": "sample string 1", "idpartner": "sample string 2", "idhuman": "sample string 3", "idsubject": "sample string 4", "namesubject": "sample string 5" }, { "id": "sample string 1", "idpartner": "sample string 2", "idhuman": "sample string 3", "idsubject": "sample string 4", "namesubject": "sample string 5" } ], "listbrand": [ { "id": "sample string 1", "idpartner": "sample string 2", "idhuman": "sample string 3", "idbrandpartner": "sample string 4", "codebrandpartner": "sample string 5", "namebrandpartner": "sample string 6" }, { "id": "sample string 1", "idpartner": "sample string 2", "idhuman": "sample string 3", "idbrandpartner": "sample string 4", "codebrandpartner": "sample string 5", "namebrandpartner": "sample string 6" } ], "listdepartment": [ { "id": "sample string 1", "idhuman": "sample string 2", "iddepartment": "sample string 3", "codedepartment": "sample string 4", "namedepartment": "sample string 5", "idpartner": "sample string 6", "idbrandpartner": "sample string 7", "namebrand": "sample string 8" }, { "id": "sample string 1", "idhuman": "sample string 2", "iddepartment": "sample string 3", "codedepartment": "sample string 4", "namedepartment": "sample string 5", "idpartner": "sample string 6", "idbrandpartner": "sample string 7", "namebrand": "sample string 8" } ], "listclinic": [ { "id": "sample string 1", "idhuman": "sample string 2", "idclinic": "sample string 3", "nameclinic": "sample string 4", "codeclinic": "sample string 5", "isphone": true, "idpartner": "sample string 6", "idbrandpartner": "sample string 7", "namebrand": "sample string 8" }, { "id": "sample string 1", "idhuman": "sample string 2", "idclinic": "sample string 3", "nameclinic": "sample string 4", "codeclinic": "sample string 5", "isphone": true, "idpartner": "sample string 6", "idbrandpartner": "sample string 7", "namebrand": "sample string 8" } ], "listsubclinic": [ { "id": "sample string 1", "idhuman": "sample string 2", "idsubclinic": "sample string 3", "namesubclinic": "sample string 4", "codesubclinic": "sample string 5", "isphone": true, "idpartner": "sample string 6", "idbrandpartner": "sample string 7", "namebrand": "sample string 8", "idmodelservice": 1 }, { "id": "sample string 1", "idhuman": "sample string 2", "idsubclinic": "sample string 3", "namesubclinic": "sample string 4", "codesubclinic": "sample string 5", "isphone": true, "idpartner": "sample string 6", "idbrandpartner": "sample string 7", "namebrand": "sample string 8", "idmodelservice": 1 } ], "lststore": [ { "id": "sample string 1", "idpartner": "sample string 2", "idbrandpartner": "sample string 3", "idstore": "sample string 4", "codestore": "sample string 5", "namestore": "sample string 6", "idhuman": "sample string 7", "namehuman": "sample string 8" }, { "id": "sample string 1", "idpartner": "sample string 2", "idbrandpartner": "sample string 3", "idstore": "sample string 4", "codestore": "sample string 5", "namestore": "sample string 6", "idhuman": "sample string 7", "namehuman": "sample string 8" } ], "malienthong": "sample string 59", "passworddrug": "sample string 60", "signature": "sample string 61", "signaturemanual": "sample string 62", "ordering": 1, "fulltime": 1, "yearmonthday": 1, "note": "sample string 63", "role": "sample string 64", "idcard": "sample string 65", "placeofgrant": "sample string 66", "blood": "sample string 67", "idblood": "sample string 68", "idedit": "sample string 69", "codeedit": "sample string 70", "nameedit": "sample string 71", "dateedit": "sample string 72" }, "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","idsubject":"sample string 5","codesubject":"sample string 6","namesubject":"sample string 7","cooperate":true,"title":"sample string 8","uniquename":"sample string 9","avatar":"sample string 10","code":"sample string 11","name":"sample string 12","othername":"sample string 13","phone":"sample string 14","email":"sample string 15","birthday":"sample string 16","gender":"sample string 17","birthnumber":"sample string 18","datebirthnumber":"sample string 19","identification":"sample string 20","dateidentification":"sample string 21","certificate":"sample string 22","datecertificate":"sample string 23","addressfull":"sample string 24","address":"sample string 25","idcountry":"sample string 26","codecountry":"sample string 27","namecountry":"sample string 28","idprovince":"sample string 29","codeprovince":"sample string 30","nameprovince":"sample string 31","iddistrict":"sample string 32","codedistrict":"sample string 33","namedistrict":"sample string 34","idward":"sample string 35","codeward":"sample string 36","nameward":"sample string 37","status":true,"type":64,"username":"sample string 38","password":"sample string 39","passwordhash":"QEA=","passwordsalt":"QEA=","tokencreated":"2024-11-24T23:07:48.5327134+07:00","tokenexpires":"2024-11-24T23:07:48.5327134+07:00","isaction":true,"idreligion":"sample string 42","codereligion":"sample string 43","namereligion":"sample string 44","idnation":"sample string 45","codenation":"sample string 46","namenation":"sample string 47","isadmin":true,"iscalendar":true,"idgrouprole":"sample string 50","namegrouprole":"sample string 51","idhuman":"sample string 52","codehuman":"sample string 53","namehuman":"sample string 54","datecreate":"sample string 55","idcreate":"sample string 56","codecreate":"sample string 57","namecreate":"sample string 58","listsubject":[{"id":"sample string 1","idpartner":"sample string 2","idhuman":"sample string 3","idsubject":"sample string 4","namesubject":"sample string 5"},{"id":"sample string 1","idpartner":"sample string 2","idhuman":"sample string 3","idsubject":"sample string 4","namesubject":"sample string 5"}],"listbrand":[{"id":"sample string 1","idpartner":"sample string 2","idhuman":"sample string 3","idbrandpartner":"sample string 4","codebrandpartner":"sample string 5","namebrandpartner":"sample string 6"},{"id":"sample string 1","idpartner":"sample string 2","idhuman":"sample string 3","idbrandpartner":"sample string 4","codebrandpartner":"sample string 5","namebrandpartner":"sample string 6"}],"listdepartment":[{"id":"sample string 1","idhuman":"sample string 2","iddepartment":"sample string 3","codedepartment":"sample string 4","namedepartment":"sample string 5","idpartner":"sample string 6","idbrandpartner":"sample string 7","namebrand":"sample string 8"},{"id":"sample string 1","idhuman":"sample string 2","iddepartment":"sample string 3","codedepartment":"sample string 4","namedepartment":"sample string 5","idpartner":"sample string 6","idbrandpartner":"sample string 7","namebrand":"sample string 8"}],"listclinic":[{"id":"sample string 1","idhuman":"sample string 2","idclinic":"sample string 3","nameclinic":"sample string 4","codeclinic":"sample string 5","isphone":true,"idpartner":"sample string 6","idbrandpartner":"sample string 7","namebrand":"sample string 8"},{"id":"sample string 1","idhuman":"sample string 2","idclinic":"sample string 3","nameclinic":"sample string 4","codeclinic":"sample string 5","isphone":true,"idpartner":"sample string 6","idbrandpartner":"sample string 7","namebrand":"sample string 8"}],"listsubclinic":[{"id":"sample string 1","idhuman":"sample string 2","idsubclinic":"sample string 3","namesubclinic":"sample string 4","codesubclinic":"sample string 5","isphone":true,"idpartner":"sample string 6","idbrandpartner":"sample string 7","namebrand":"sample string 8","idmodelservice":1},{"id":"sample string 1","idhuman":"sample string 2","idsubclinic":"sample string 3","namesubclinic":"sample string 4","codesubclinic":"sample string 5","isphone":true,"idpartner":"sample string 6","idbrandpartner":"sample string 7","namebrand":"sample string 8","idmodelservice":1}],"lststore":[{"id":"sample string 1","idpartner":"sample string 2","idbrandpartner":"sample string 3","idstore":"sample string 4","codestore":"sample string 5","namestore":"sample string 6","idhuman":"sample string 7","namehuman":"sample string 8"},{"id":"sample string 1","idpartner":"sample string 2","idbrandpartner":"sample string 3","idstore":"sample string 4","codestore":"sample string 5","namestore":"sample string 6","idhuman":"sample string 7","namehuman":"sample string 8"}],"malienthong":"sample string 59","passworddrug":"sample string 60","signature":"sample string 61","signaturemanual":"sample string 62","ordering":1,"fulltime":1,"yearmonthday":1,"note":"sample string 63","role":"sample string 64","idcard":"sample string 65","placeofgrant":"sample string 66","blood":"sample string 67","idblood":"sample string 68","idedit":"sample string 69","codeedit":"sample string 70","nameedit":"sample string 71","dateedit":"sample string 72"},"status":"sample string 1","message":"sample string 2"});
application/xml, text/xml
Sample:
<oneHuman xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models.Human"> <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> <address>sample string 25</address> <addressfull>sample string 24</addressfull> <avatar>sample string 10</avatar> <birthday>sample string 16</birthday> <birthnumber>sample string 18</birthnumber> <blood>sample string 67</blood> <certificate>sample string 22</certificate> <code>sample string 11</code> <codecountry>sample string 27</codecountry> <codecreate>sample string 57</codecreate> <codedistrict>sample string 33</codedistrict> <codeedit>sample string 70</codeedit> <codehuman>sample string 53</codehuman> <codenation>sample string 46</codenation> <codeprovince>sample string 30</codeprovince> <codereligion>sample string 43</codereligion> <codesubject>sample string 6</codesubject> <codeward>sample string 36</codeward> <cooperate>true</cooperate> <datebirthnumber>sample string 19</datebirthnumber> <datecertificate>sample string 23</datecertificate> <datecreate>sample string 55</datecreate> <dateedit>sample string 72</dateedit> <dateidentification>sample string 21</dateidentification> <email>sample string 15</email> <fulltime>1</fulltime> <gender>sample string 17</gender> <id>sample string 1</id> <idblood>sample string 68</idblood> <idbrandpartner>sample string 4</idbrandpartner> <idcard>sample string 65</idcard> <idcountry>sample string 26</idcountry> <idcreate>sample string 56</idcreate> <iddistrict>sample string 32</iddistrict> <idedit>sample string 69</idedit> <identification>sample string 20</identification> <idgrouprole>sample string 50</idgrouprole> <idhuman>sample string 52</idhuman> <idkey>sample string 2</idkey> <idnation>sample string 45</idnation> <idpartner>sample string 3</idpartner> <idprovince>sample string 29</idprovince> <idreligion>sample string 42</idreligion> <idsubject>sample string 5</idsubject> <idward>sample string 35</idward> <isaction>true</isaction> <isadmin>true</isadmin> <iscalendar>true</iscalendar> <listbrand> <HumanBrandAdd> <codebrandpartner>sample string 5</codebrandpartner> <id>sample string 1</id> <idbrandpartner>sample string 4</idbrandpartner> <idhuman>sample string 3</idhuman> <idpartner>sample string 2</idpartner> <namebrandpartner>sample string 6</namebrandpartner> </HumanBrandAdd> <HumanBrandAdd> <codebrandpartner>sample string 5</codebrandpartner> <id>sample string 1</id> <idbrandpartner>sample string 4</idbrandpartner> <idhuman>sample string 3</idhuman> <idpartner>sample string 2</idpartner> <namebrandpartner>sample string 6</namebrandpartner> </HumanBrandAdd> </listbrand> <listclinic> <HumanClinicAdd> <codeclinic>sample string 5</codeclinic> <id>sample string 1</id> <idbrandpartner>sample string 7</idbrandpartner> <idclinic>sample string 3</idclinic> <idhuman>sample string 2</idhuman> <idpartner>sample string 6</idpartner> <isphone>true</isphone> <namebrand>sample string 8</namebrand> <nameclinic>sample string 4</nameclinic> </HumanClinicAdd> <HumanClinicAdd> <codeclinic>sample string 5</codeclinic> <id>sample string 1</id> <idbrandpartner>sample string 7</idbrandpartner> <idclinic>sample string 3</idclinic> <idhuman>sample string 2</idhuman> <idpartner>sample string 6</idpartner> <isphone>true</isphone> <namebrand>sample string 8</namebrand> <nameclinic>sample string 4</nameclinic> </HumanClinicAdd> </listclinic> <listdepartment> <HumanDepartmentAdd> <codedepartment>sample string 4</codedepartment> <id>sample string 1</id> <idbrandpartner>sample string 7</idbrandpartner> <iddepartment>sample string 3</iddepartment> <idhuman>sample string 2</idhuman> <idpartner>sample string 6</idpartner> <namebrand>sample string 8</namebrand> <namedepartment>sample string 5</namedepartment> </HumanDepartmentAdd> <HumanDepartmentAdd> <codedepartment>sample string 4</codedepartment> <id>sample string 1</id> <idbrandpartner>sample string 7</idbrandpartner> <iddepartment>sample string 3</iddepartment> <idhuman>sample string 2</idhuman> <idpartner>sample string 6</idpartner> <namebrand>sample string 8</namebrand> <namedepartment>sample string 5</namedepartment> </HumanDepartmentAdd> </listdepartment> <listsubclinic> <HumanSubClinicAdd> <codesubclinic>sample string 5</codesubclinic> <id>sample string 1</id> <idbrandpartner>sample string 7</idbrandpartner> <idhuman>sample string 2</idhuman> <idmodelservice>1</idmodelservice> <idpartner>sample string 6</idpartner> <idsubclinic>sample string 3</idsubclinic> <isphone>true</isphone> <namebrand>sample string 8</namebrand> <namesubclinic>sample string 4</namesubclinic> </HumanSubClinicAdd> <HumanSubClinicAdd> <codesubclinic>sample string 5</codesubclinic> <id>sample string 1</id> <idbrandpartner>sample string 7</idbrandpartner> <idhuman>sample string 2</idhuman> <idmodelservice>1</idmodelservice> <idpartner>sample string 6</idpartner> <idsubclinic>sample string 3</idsubclinic> <isphone>true</isphone> <namebrand>sample string 8</namebrand> <namesubclinic>sample string 4</namesubclinic> </HumanSubClinicAdd> </listsubclinic> <listsubject> <HumanSubjectAdd> <id>sample string 1</id> <idhuman>sample string 3</idhuman> <idpartner>sample string 2</idpartner> <idsubject>sample string 4</idsubject> <namesubject>sample string 5</namesubject> </HumanSubjectAdd> <HumanSubjectAdd> <id>sample string 1</id> <idhuman>sample string 3</idhuman> <idpartner>sample string 2</idpartner> <idsubject>sample string 4</idsubject> <namesubject>sample string 5</namesubject> </HumanSubjectAdd> </listsubject> <lststore xmlns:d3p1="http://schemas.datacontract.org/2004/07/APISMART.Models.Store"> <d3p1:StoreHumanAdd> <d3p1:codestore>sample string 5</d3p1:codestore> <d3p1:id>sample string 1</d3p1:id> <d3p1:idbrandpartner>sample string 3</d3p1:idbrandpartner> <d3p1:idhuman>sample string 7</d3p1:idhuman> <d3p1:idpartner>sample string 2</d3p1:idpartner> <d3p1:idstore>sample string 4</d3p1:idstore> <d3p1:namehuman>sample string 8</d3p1:namehuman> <d3p1:namestore>sample string 6</d3p1:namestore> </d3p1:StoreHumanAdd> <d3p1:StoreHumanAdd> <d3p1:codestore>sample string 5</d3p1:codestore> <d3p1:id>sample string 1</d3p1:id> <d3p1:idbrandpartner>sample string 3</d3p1:idbrandpartner> <d3p1:idhuman>sample string 7</d3p1:idhuman> <d3p1:idpartner>sample string 2</d3p1:idpartner> <d3p1:idstore>sample string 4</d3p1:idstore> <d3p1:namehuman>sample string 8</d3p1:namehuman> <d3p1:namestore>sample string 6</d3p1:namestore> </d3p1:StoreHumanAdd> </lststore> <malienthong>sample string 59</malienthong> <name>sample string 12</name> <namecountry>sample string 28</namecountry> <namecreate>sample string 58</namecreate> <namedistrict>sample string 34</namedistrict> <nameedit>sample string 71</nameedit> <namegrouprole>sample string 51</namegrouprole> <namehuman>sample string 54</namehuman> <namenation>sample string 47</namenation> <nameprovince>sample string 31</nameprovince> <namereligion>sample string 44</namereligion> <namesubject>sample string 7</namesubject> <nameward>sample string 37</nameward> <note>sample string 63</note> <ordering>1</ordering> <othername>sample string 13</othername> <password>sample string 39</password> <passworddrug>sample string 60</passworddrug> <passwordhash>QEA=</passwordhash> <passwordsalt>QEA=</passwordsalt> <phone>sample string 14</phone> <placeofgrant>sample string 66</placeofgrant> <role>sample string 64</role> <signature>sample string 61</signature> <signaturemanual>sample string 62</signaturemanual> <status>true</status> <title>sample string 8</title> <tokencreated>2024-11-24T23:07:48.5327134+07:00</tokencreated> <tokenexpires>2024-11-24T23:07:48.5327134+07:00</tokenexpires> <type>64</type> <uniquename>sample string 9</uniquename> <username>sample string 38</username> <yearmonthday>1</yearmonthday> </data> </oneHuman>