POST api/Account?api={api}
Lấy về tất cả các dòng dữ liệu bởi điều kiện truyền vào
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
api |
Mã API do hệ thống cung cấp |
string |
Required |
Body Parameters
Tho
UserPassName | Description | Type | Additional information |
---|---|---|---|
uniquename |
domain |
string |
None. |
username |
username |
string |
None. |
password |
mật khẩu |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "uniquename": "sample string 1", "username": "sample string 2", "password": "sample string 3" }
application/xml, text/xml
Sample:
<UserPass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models"> <password>sample string 3</password> <uniquename>sample string 1</uniquename> <username>sample string 2</username> </UserPass>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AlertLoginName | Description | Type | Additional information |
---|---|---|---|
status | string |
None. |
|
message | string |
None. |
|
token | string |
None. |
|
linkapi | string |
None. |
|
keyapi | string |
None. |
|
data | HumanLoginModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "status": "sample string 1", "message": "sample string 2", "token": "sample string 3", "linkapi": "sample string 4", "keyapi": "sample string 5", "data": { "id": "sample string 1", "idkey": "sample string 2", "certificate": "sample string 3", "datecertificate": "sample string 4", "idsubject": "sample string 5", "codesubject": "sample string 6", "namesubject": "sample string 7", "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", "address": "sample string 18", "idcountry": "sample string 19", "codecountry": "sample string 20", "namecountry": "sample string 21", "idprovince": "sample string 22", "codeprovince": "sample string 23", "nameprovince": "sample string 24", "iddistrict": "sample string 25", "codedistrict": "sample string 26", "namedistrict": "sample string 27", "idward": "sample string 28", "codeward": "sample string 29", "nameward": "sample string 30", "username": "sample string 31", "password": "sample string 32", "isadmin": true, "idgrouprole": "sample string 34", "namegrouprole": "sample string 35", "idpartner": "sample string 36", "idhuman": "sample string 37", "namehuman": "sample string 38", "malienthong": "sample string 39", "passworddrug": "sample string 40", "signature": "sample string 41", "signaturemanual": "sample string 42", "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" } ], "listrole": [ { "parent": "sample string 1", "lstaction": [ { "code": "sample string 1", "lstaction": "sample string 2" }, { "code": "sample string 1", "lstaction": "sample string 2" } ] }, { "parent": "sample string 1", "lstaction": [ { "code": "sample string 1", "lstaction": "sample string 2" }, { "code": "sample string 1", "lstaction": "sample string 2" } ] } ], "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 } ] } }
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"status":"sample string 1","message":"sample string 2","token":"sample string 3","linkapi":"sample string 4","keyapi":"sample string 5","data":{"id":"sample string 1","idkey":"sample string 2","certificate":"sample string 3","datecertificate":"sample string 4","idsubject":"sample string 5","codesubject":"sample string 6","namesubject":"sample string 7","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","address":"sample string 18","idcountry":"sample string 19","codecountry":"sample string 20","namecountry":"sample string 21","idprovince":"sample string 22","codeprovince":"sample string 23","nameprovince":"sample string 24","iddistrict":"sample string 25","codedistrict":"sample string 26","namedistrict":"sample string 27","idward":"sample string 28","codeward":"sample string 29","nameward":"sample string 30","username":"sample string 31","password":"sample string 32","isadmin":true,"idgrouprole":"sample string 34","namegrouprole":"sample string 35","idpartner":"sample string 36","idhuman":"sample string 37","namehuman":"sample string 38","malienthong":"sample string 39","passworddrug":"sample string 40","signature":"sample string 41","signaturemanual":"sample string 42","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"}],"listrole":[{"parent":"sample string 1","lstaction":[{"code":"sample string 1","lstaction":"sample string 2"},{"code":"sample string 1","lstaction":"sample string 2"}]},{"parent":"sample string 1","lstaction":[{"code":"sample string 1","lstaction":"sample string 2"},{"code":"sample string 1","lstaction":"sample string 2"}]}],"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}]}});
application/xml, text/xml
Sample:
<AlertLogin xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APISMART.Controllers"> <data xmlns:d2p1="http://schemas.datacontract.org/2004/07/APISMART.Models.Human"> <d2p1:address>sample string 18</d2p1:address> <d2p1:avatar>sample string 10</d2p1:avatar> <d2p1:birthday>sample string 16</d2p1:birthday> <d2p1:certificate>sample string 3</d2p1:certificate> <d2p1:code>sample string 11</d2p1:code> <d2p1:codecountry>sample string 20</d2p1:codecountry> <d2p1:codedistrict>sample string 26</d2p1:codedistrict> <d2p1:codeprovince>sample string 23</d2p1:codeprovince> <d2p1:codesubject>sample string 6</d2p1:codesubject> <d2p1:codeward>sample string 29</d2p1:codeward> <d2p1:datecertificate>sample string 4</d2p1:datecertificate> <d2p1:email>sample string 15</d2p1:email> <d2p1:gender>sample string 17</d2p1:gender> <d2p1:id>sample string 1</d2p1:id> <d2p1:idcountry>sample string 19</d2p1:idcountry> <d2p1:iddistrict>sample string 25</d2p1:iddistrict> <d2p1:idgrouprole>sample string 34</d2p1:idgrouprole> <d2p1:idhuman>sample string 37</d2p1:idhuman> <d2p1:idkey>sample string 2</d2p1:idkey> <d2p1:idpartner>sample string 36</d2p1:idpartner> <d2p1:idprovince>sample string 22</d2p1:idprovince> <d2p1:idsubject>sample string 5</d2p1:idsubject> <d2p1:idward>sample string 28</d2p1:idward> <d2p1:isadmin>true</d2p1:isadmin> <d2p1:listbrand> <d2p1:HumanBrand> <d2p1:codebrandpartner>sample string 5</d2p1:codebrandpartner> <d2p1:id>sample string 1</d2p1:id> <d2p1:idbrandpartner>sample string 4</d2p1:idbrandpartner> <d2p1:idhuman>sample string 3</d2p1:idhuman> <d2p1:idpartner>sample string 2</d2p1:idpartner> <d2p1:namebrandpartner>sample string 6</d2p1:namebrandpartner> </d2p1:HumanBrand> <d2p1:HumanBrand> <d2p1:codebrandpartner>sample string 5</d2p1:codebrandpartner> <d2p1:id>sample string 1</d2p1:id> <d2p1:idbrandpartner>sample string 4</d2p1:idbrandpartner> <d2p1:idhuman>sample string 3</d2p1:idhuman> <d2p1:idpartner>sample string 2</d2p1:idpartner> <d2p1:namebrandpartner>sample string 6</d2p1:namebrandpartner> </d2p1:HumanBrand> </d2p1:listbrand> <d2p1:listclinic> <d2p1:HumanClinic> <d2p1:codeclinic>sample string 5</d2p1:codeclinic> <d2p1:id>sample string 1</d2p1:id> <d2p1:idbrandpartner>sample string 7</d2p1:idbrandpartner> <d2p1:idclinic>sample string 3</d2p1:idclinic> <d2p1:idhuman>sample string 2</d2p1:idhuman> <d2p1:idpartner>sample string 6</d2p1:idpartner> <d2p1:isphone>true</d2p1:isphone> <d2p1:namebrand>sample string 8</d2p1:namebrand> <d2p1:nameclinic>sample string 4</d2p1:nameclinic> </d2p1:HumanClinic> <d2p1:HumanClinic> <d2p1:codeclinic>sample string 5</d2p1:codeclinic> <d2p1:id>sample string 1</d2p1:id> <d2p1:idbrandpartner>sample string 7</d2p1:idbrandpartner> <d2p1:idclinic>sample string 3</d2p1:idclinic> <d2p1:idhuman>sample string 2</d2p1:idhuman> <d2p1:idpartner>sample string 6</d2p1:idpartner> <d2p1:isphone>true</d2p1:isphone> <d2p1:namebrand>sample string 8</d2p1:namebrand> <d2p1:nameclinic>sample string 4</d2p1:nameclinic> </d2p1:HumanClinic> </d2p1:listclinic> <d2p1:listdepartment> <d2p1:HumanDepartment> <d2p1:codedepartment>sample string 4</d2p1:codedepartment> <d2p1:id>sample string 1</d2p1:id> <d2p1:idbrandpartner>sample string 7</d2p1:idbrandpartner> <d2p1:iddepartment>sample string 3</d2p1:iddepartment> <d2p1:idhuman>sample string 2</d2p1:idhuman> <d2p1:idpartner>sample string 6</d2p1:idpartner> <d2p1:namebrand>sample string 8</d2p1:namebrand> <d2p1:namedepartment>sample string 5</d2p1:namedepartment> </d2p1:HumanDepartment> <d2p1:HumanDepartment> <d2p1:codedepartment>sample string 4</d2p1:codedepartment> <d2p1:id>sample string 1</d2p1:id> <d2p1:idbrandpartner>sample string 7</d2p1:idbrandpartner> <d2p1:iddepartment>sample string 3</d2p1:iddepartment> <d2p1:idhuman>sample string 2</d2p1:idhuman> <d2p1:idpartner>sample string 6</d2p1:idpartner> <d2p1:namebrand>sample string 8</d2p1:namebrand> <d2p1:namedepartment>sample string 5</d2p1:namedepartment> </d2p1:HumanDepartment> </d2p1:listdepartment> <d2p1:listrole xmlns:d3p1="http://schemas.datacontract.org/2004/07/APISMART.Models.his"> <d3p1:GroupRole> <d3p1:lstaction> <d3p1:RoleAction> <d3p1:code>sample string 1</d3p1:code> <d3p1:lstaction>sample string 2</d3p1:lstaction> </d3p1:RoleAction> <d3p1:RoleAction> <d3p1:code>sample string 1</d3p1:code> <d3p1:lstaction>sample string 2</d3p1:lstaction> </d3p1:RoleAction> </d3p1:lstaction> <d3p1:parent>sample string 1</d3p1:parent> </d3p1:GroupRole> <d3p1:GroupRole> <d3p1:lstaction> <d3p1:RoleAction> <d3p1:code>sample string 1</d3p1:code> <d3p1:lstaction>sample string 2</d3p1:lstaction> </d3p1:RoleAction> <d3p1:RoleAction> <d3p1:code>sample string 1</d3p1:code> <d3p1:lstaction>sample string 2</d3p1:lstaction> </d3p1:RoleAction> </d3p1:lstaction> <d3p1:parent>sample string 1</d3p1:parent> </d3p1:GroupRole> </d2p1:listrole> <d2p1:listsubclinic> <d2p1:HumanSubClinic> <d2p1:codesubclinic>sample string 5</d2p1:codesubclinic> <d2p1:id>sample string 1</d2p1:id> <d2p1:idbrandpartner>sample string 7</d2p1:idbrandpartner> <d2p1:idhuman>sample string 2</d2p1:idhuman> <d2p1:idmodelservice>1</d2p1:idmodelservice> <d2p1:idpartner>sample string 6</d2p1:idpartner> <d2p1:idsubclinic>sample string 3</d2p1:idsubclinic> <d2p1:isphone>true</d2p1:isphone> <d2p1:namebrand>sample string 8</d2p1:namebrand> <d2p1:namesubclinic>sample string 4</d2p1:namesubclinic> </d2p1:HumanSubClinic> <d2p1:HumanSubClinic> <d2p1:codesubclinic>sample string 5</d2p1:codesubclinic> <d2p1:id>sample string 1</d2p1:id> <d2p1:idbrandpartner>sample string 7</d2p1:idbrandpartner> <d2p1:idhuman>sample string 2</d2p1:idhuman> <d2p1:idmodelservice>1</d2p1:idmodelservice> <d2p1:idpartner>sample string 6</d2p1:idpartner> <d2p1:idsubclinic>sample string 3</d2p1:idsubclinic> <d2p1:isphone>true</d2p1:isphone> <d2p1:namebrand>sample string 8</d2p1:namebrand> <d2p1:namesubclinic>sample string 4</d2p1:namesubclinic> </d2p1:HumanSubClinic> </d2p1:listsubclinic> <d2p1:listsubject> <d2p1:HumanSubject> <d2p1:id>sample string 1</d2p1:id> <d2p1:idhuman>sample string 3</d2p1:idhuman> <d2p1:idpartner>sample string 2</d2p1:idpartner> <d2p1:idsubject>sample string 4</d2p1:idsubject> <d2p1:namesubject>sample string 5</d2p1:namesubject> </d2p1:HumanSubject> <d2p1:HumanSubject> <d2p1:id>sample string 1</d2p1:id> <d2p1:idhuman>sample string 3</d2p1:idhuman> <d2p1:idpartner>sample string 2</d2p1:idpartner> <d2p1:idsubject>sample string 4</d2p1:idsubject> <d2p1:namesubject>sample string 5</d2p1:namesubject> </d2p1:HumanSubject> </d2p1:listsubject> <d2p1:malienthong>sample string 39</d2p1:malienthong> <d2p1:name>sample string 12</d2p1:name> <d2p1:namecountry>sample string 21</d2p1:namecountry> <d2p1:namedistrict>sample string 27</d2p1:namedistrict> <d2p1:namegrouprole>sample string 35</d2p1:namegrouprole> <d2p1:namehuman>sample string 38</d2p1:namehuman> <d2p1:nameprovince>sample string 24</d2p1:nameprovince> <d2p1:namesubject>sample string 7</d2p1:namesubject> <d2p1:nameward>sample string 30</d2p1:nameward> <d2p1:othername>sample string 13</d2p1:othername> <d2p1:password>sample string 32</d2p1:password> <d2p1:passworddrug>sample string 40</d2p1:passworddrug> <d2p1:phone>sample string 14</d2p1:phone> <d2p1:signature>sample string 41</d2p1:signature> <d2p1:signaturemanual>sample string 42</d2p1:signaturemanual> <d2p1:title>sample string 8</d2p1:title> <d2p1:uniquename>sample string 9</d2p1:uniquename> <d2p1:username>sample string 31</d2p1:username> </data> <keyapi>sample string 5</keyapi> <linkapi>sample string 4</linkapi> <message>sample string 2</message> <status>sample string 1</status> <token>sample string 3</token> </AlertLogin>