GET api/SubClinic/getuse?api={api}&page={page}&limit={limit}&idpartner={idpartner}&idbrandpartner={idbrandpartner}&iddepartment={iddepartment}&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 |
|
iddepartment | string |
Default value is |
|
keyword | string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
objSubClinicOrgName | Description | Type | Additional information |
---|---|---|---|
data | Collection of SubClinicOrg |
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", "iddepartment": "sample string 5", "namedepartment": "sample string 6", "code": "sample string 7", "name": "sample string 8", "qty": 1, "idmodelservice": 1, "namemodelservice": "sample string 9", "type": 1, "ordering": 1, "notuse": true, "datecreate": "sample string 10", "idcreate": "sample string 11", "codecreate": "sample string 12", "namecreate": "sample string 13", "dateedit": "sample string 14", "idedit": "sample string 15", "codeedit": "sample string 16", "nameedit": "sample string 17", "lstwork": [ { "id": "sample string 1", "idkey": "sample string 2", "idpartner": "sample string 3", "idbrandpartner": "sample string 4", "idclinic": "sample string 5", "nameclinic": "sample string 6", "idsubclinic": "sample string 7", "namesubclinic": "sample string 8", "t2": true, "t3": true, "t4": true, "t5": true, "t6": true, "t7": true, "cn": true, "overtime": true, "notvote": true, "notorderby": true }, { "id": "sample string 1", "idkey": "sample string 2", "idpartner": "sample string 3", "idbrandpartner": "sample string 4", "idclinic": "sample string 5", "nameclinic": "sample string 6", "idsubclinic": "sample string 7", "namesubclinic": "sample string 8", "t2": true, "t3": true, "t4": true, "t5": true, "t6": true, "t7": true, "cn": true, "overtime": true, "notvote": true, "notorderby": true } ], "lstequipment": [ { "id": "sample string 1", "idpartner": "sample string 2", "idbrandpartner": "sample string 3", "idsubclinic": "sample string 4", "codeinsure": "sample string 5", "idequipment": "sample string 6", "codeeequipment": "sample string 7", "nameequipment": "sample string 8" }, { "id": "sample string 1", "idpartner": "sample string 2", "idbrandpartner": "sample string 3", "idsubclinic": "sample string 4", "codeinsure": "sample string 5", "idequipment": "sample string 6", "codeeequipment": "sample string 7", "nameequipment": "sample string 8" } ], "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", "idsubclinic": "sample string 7", "codesubclinic": "sample string 8", "namesubclinic": "sample string 9" }, { "id": "sample string 1", "idpartner": "sample string 2", "idbrandpartner": "sample string 3", "idstore": "sample string 4", "codestore": "sample string 5", "namestore": "sample string 6", "idsubclinic": "sample string 7", "codesubclinic": "sample string 8", "namesubclinic": "sample string 9" } ] }, { "id": "sample string 1", "idkey": "sample string 2", "idpartner": "sample string 3", "idbrandpartner": "sample string 4", "iddepartment": "sample string 5", "namedepartment": "sample string 6", "code": "sample string 7", "name": "sample string 8", "qty": 1, "idmodelservice": 1, "namemodelservice": "sample string 9", "type": 1, "ordering": 1, "notuse": true, "datecreate": "sample string 10", "idcreate": "sample string 11", "codecreate": "sample string 12", "namecreate": "sample string 13", "dateedit": "sample string 14", "idedit": "sample string 15", "codeedit": "sample string 16", "nameedit": "sample string 17", "lstwork": [ { "id": "sample string 1", "idkey": "sample string 2", "idpartner": "sample string 3", "idbrandpartner": "sample string 4", "idclinic": "sample string 5", "nameclinic": "sample string 6", "idsubclinic": "sample string 7", "namesubclinic": "sample string 8", "t2": true, "t3": true, "t4": true, "t5": true, "t6": true, "t7": true, "cn": true, "overtime": true, "notvote": true, "notorderby": true }, { "id": "sample string 1", "idkey": "sample string 2", "idpartner": "sample string 3", "idbrandpartner": "sample string 4", "idclinic": "sample string 5", "nameclinic": "sample string 6", "idsubclinic": "sample string 7", "namesubclinic": "sample string 8", "t2": true, "t3": true, "t4": true, "t5": true, "t6": true, "t7": true, "cn": true, "overtime": true, "notvote": true, "notorderby": true } ], "lstequipment": [ { "id": "sample string 1", "idpartner": "sample string 2", "idbrandpartner": "sample string 3", "idsubclinic": "sample string 4", "codeinsure": "sample string 5", "idequipment": "sample string 6", "codeeequipment": "sample string 7", "nameequipment": "sample string 8" }, { "id": "sample string 1", "idpartner": "sample string 2", "idbrandpartner": "sample string 3", "idsubclinic": "sample string 4", "codeinsure": "sample string 5", "idequipment": "sample string 6", "codeeequipment": "sample string 7", "nameequipment": "sample string 8" } ], "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", "idsubclinic": "sample string 7", "codesubclinic": "sample string 8", "namesubclinic": "sample string 9" }, { "id": "sample string 1", "idpartner": "sample string 2", "idbrandpartner": "sample string 3", "idstore": "sample string 4", "codestore": "sample string 5", "namestore": "sample string 6", "idsubclinic": "sample string 7", "codesubclinic": "sample string 8", "namesubclinic": "sample string 9" } ] } ], "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","iddepartment":"sample string 5","namedepartment":"sample string 6","code":"sample string 7","name":"sample string 8","qty":1,"idmodelservice":1,"namemodelservice":"sample string 9","type":1,"ordering":1,"notuse":true,"datecreate":"sample string 10","idcreate":"sample string 11","codecreate":"sample string 12","namecreate":"sample string 13","dateedit":"sample string 14","idedit":"sample string 15","codeedit":"sample string 16","nameedit":"sample string 17","lstwork":[{"id":"sample string 1","idkey":"sample string 2","idpartner":"sample string 3","idbrandpartner":"sample string 4","idclinic":"sample string 5","nameclinic":"sample string 6","idsubclinic":"sample string 7","namesubclinic":"sample string 8","t2":true,"t3":true,"t4":true,"t5":true,"t6":true,"t7":true,"cn":true,"overtime":true,"notvote":true,"notorderby":true},{"id":"sample string 1","idkey":"sample string 2","idpartner":"sample string 3","idbrandpartner":"sample string 4","idclinic":"sample string 5","nameclinic":"sample string 6","idsubclinic":"sample string 7","namesubclinic":"sample string 8","t2":true,"t3":true,"t4":true,"t5":true,"t6":true,"t7":true,"cn":true,"overtime":true,"notvote":true,"notorderby":true}],"lstequipment":[{"id":"sample string 1","idpartner":"sample string 2","idbrandpartner":"sample string 3","idsubclinic":"sample string 4","codeinsure":"sample string 5","idequipment":"sample string 6","codeeequipment":"sample string 7","nameequipment":"sample string 8"},{"id":"sample string 1","idpartner":"sample string 2","idbrandpartner":"sample string 3","idsubclinic":"sample string 4","codeinsure":"sample string 5","idequipment":"sample string 6","codeeequipment":"sample string 7","nameequipment":"sample string 8"}],"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","idsubclinic":"sample string 7","codesubclinic":"sample string 8","namesubclinic":"sample string 9"},{"id":"sample string 1","idpartner":"sample string 2","idbrandpartner":"sample string 3","idstore":"sample string 4","codestore":"sample string 5","namestore":"sample string 6","idsubclinic":"sample string 7","codesubclinic":"sample string 8","namesubclinic":"sample string 9"}]},{"id":"sample string 1","idkey":"sample string 2","idpartner":"sample string 3","idbrandpartner":"sample string 4","iddepartment":"sample string 5","namedepartment":"sample string 6","code":"sample string 7","name":"sample string 8","qty":1,"idmodelservice":1,"namemodelservice":"sample string 9","type":1,"ordering":1,"notuse":true,"datecreate":"sample string 10","idcreate":"sample string 11","codecreate":"sample string 12","namecreate":"sample string 13","dateedit":"sample string 14","idedit":"sample string 15","codeedit":"sample string 16","nameedit":"sample string 17","lstwork":[{"id":"sample string 1","idkey":"sample string 2","idpartner":"sample string 3","idbrandpartner":"sample string 4","idclinic":"sample string 5","nameclinic":"sample string 6","idsubclinic":"sample string 7","namesubclinic":"sample string 8","t2":true,"t3":true,"t4":true,"t5":true,"t6":true,"t7":true,"cn":true,"overtime":true,"notvote":true,"notorderby":true},{"id":"sample string 1","idkey":"sample string 2","idpartner":"sample string 3","idbrandpartner":"sample string 4","idclinic":"sample string 5","nameclinic":"sample string 6","idsubclinic":"sample string 7","namesubclinic":"sample string 8","t2":true,"t3":true,"t4":true,"t5":true,"t6":true,"t7":true,"cn":true,"overtime":true,"notvote":true,"notorderby":true}],"lstequipment":[{"id":"sample string 1","idpartner":"sample string 2","idbrandpartner":"sample string 3","idsubclinic":"sample string 4","codeinsure":"sample string 5","idequipment":"sample string 6","codeeequipment":"sample string 7","nameequipment":"sample string 8"},{"id":"sample string 1","idpartner":"sample string 2","idbrandpartner":"sample string 3","idsubclinic":"sample string 4","codeinsure":"sample string 5","idequipment":"sample string 6","codeeequipment":"sample string 7","nameequipment":"sample string 8"}],"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","idsubclinic":"sample string 7","codesubclinic":"sample string 8","namesubclinic":"sample string 9"},{"id":"sample string 1","idpartner":"sample string 2","idbrandpartner":"sample string 3","idstore":"sample string 4","codestore":"sample string 5","namestore":"sample string 6","idsubclinic":"sample string 7","codesubclinic":"sample string 8","namesubclinic":"sample string 9"}]}],"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:
<objSubClinicOrg xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models.Library.Organization"> <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> <SubClinicOrg> <code>sample string 7</code> <codecreate>sample string 12</codecreate> <codeedit>sample string 16</codeedit> <datecreate>sample string 10</datecreate> <dateedit>sample string 14</dateedit> <id>sample string 1</id> <idbrandpartner>sample string 4</idbrandpartner> <idcreate>sample string 11</idcreate> <iddepartment>sample string 5</iddepartment> <idedit>sample string 15</idedit> <idkey>sample string 2</idkey> <idmodelservice>1</idmodelservice> <idpartner>sample string 3</idpartner> <lstequipment xmlns:d4p1="http://schemas.datacontract.org/2004/07/APISMART.Models.Equipment"> <d4p1:SubClinicEquipmentAdd> <d4p1:codeeequipment>sample string 7</d4p1:codeeequipment> <d4p1:codeinsure>sample string 5</d4p1:codeinsure> <d4p1:id>sample string 1</d4p1:id> <d4p1:idbrandpartner>sample string 3</d4p1:idbrandpartner> <d4p1:idequipment>sample string 6</d4p1:idequipment> <d4p1:idpartner>sample string 2</d4p1:idpartner> <d4p1:idsubclinic>sample string 4</d4p1:idsubclinic> <d4p1:nameequipment>sample string 8</d4p1:nameequipment> </d4p1:SubClinicEquipmentAdd> <d4p1:SubClinicEquipmentAdd> <d4p1:codeeequipment>sample string 7</d4p1:codeeequipment> <d4p1:codeinsure>sample string 5</d4p1:codeinsure> <d4p1:id>sample string 1</d4p1:id> <d4p1:idbrandpartner>sample string 3</d4p1:idbrandpartner> <d4p1:idequipment>sample string 6</d4p1:idequipment> <d4p1:idpartner>sample string 2</d4p1:idpartner> <d4p1:idsubclinic>sample string 4</d4p1:idsubclinic> <d4p1:nameequipment>sample string 8</d4p1:nameequipment> </d4p1:SubClinicEquipmentAdd> </lstequipment> <lststore xmlns:d4p1="http://schemas.datacontract.org/2004/07/APISMART.Models.Store"> <d4p1:StoreSubClinicAdd> <d4p1:codestore>sample string 5</d4p1:codestore> <d4p1:codesubclinic>sample string 8</d4p1:codesubclinic> <d4p1:id>sample string 1</d4p1:id> <d4p1:idbrandpartner>sample string 3</d4p1:idbrandpartner> <d4p1:idpartner>sample string 2</d4p1:idpartner> <d4p1:idstore>sample string 4</d4p1:idstore> <d4p1:idsubclinic>sample string 7</d4p1:idsubclinic> <d4p1:namestore>sample string 6</d4p1:namestore> <d4p1:namesubclinic>sample string 9</d4p1:namesubclinic> </d4p1:StoreSubClinicAdd> <d4p1:StoreSubClinicAdd> <d4p1:codestore>sample string 5</d4p1:codestore> <d4p1:codesubclinic>sample string 8</d4p1:codesubclinic> <d4p1:id>sample string 1</d4p1:id> <d4p1:idbrandpartner>sample string 3</d4p1:idbrandpartner> <d4p1:idpartner>sample string 2</d4p1:idpartner> <d4p1:idstore>sample string 4</d4p1:idstore> <d4p1:idsubclinic>sample string 7</d4p1:idsubclinic> <d4p1:namestore>sample string 6</d4p1:namestore> <d4p1:namesubclinic>sample string 9</d4p1:namesubclinic> </d4p1:StoreSubClinicAdd> </lststore> <lstwork> <ClinicOrgSubClinicAdd> <cn>true</cn> <id>sample string 1</id> <idbrandpartner>sample string 4</idbrandpartner> <idclinic>sample string 5</idclinic> <idkey>sample string 2</idkey> <idpartner>sample string 3</idpartner> <idsubclinic>sample string 7</idsubclinic> <nameclinic>sample string 6</nameclinic> <namesubclinic>sample string 8</namesubclinic> <notorderby>true</notorderby> <notvote>true</notvote> <overtime>true</overtime> <t2>true</t2> <t3>true</t3> <t4>true</t4> <t5>true</t5> <t6>true</t6> <t7>true</t7> </ClinicOrgSubClinicAdd> <ClinicOrgSubClinicAdd> <cn>true</cn> <id>sample string 1</id> <idbrandpartner>sample string 4</idbrandpartner> <idclinic>sample string 5</idclinic> <idkey>sample string 2</idkey> <idpartner>sample string 3</idpartner> <idsubclinic>sample string 7</idsubclinic> <nameclinic>sample string 6</nameclinic> <namesubclinic>sample string 8</namesubclinic> <notorderby>true</notorderby> <notvote>true</notvote> <overtime>true</overtime> <t2>true</t2> <t3>true</t3> <t4>true</t4> <t5>true</t5> <t6>true</t6> <t7>true</t7> </ClinicOrgSubClinicAdd> </lstwork> <name>sample string 8</name> <namecreate>sample string 13</namecreate> <namedepartment>sample string 6</namedepartment> <nameedit>sample string 17</nameedit> <namemodelservice>sample string 9</namemodelservice> <notuse>true</notuse> <ordering>1</ordering> <qty>1</qty> <type>1</type> </SubClinicOrg> <SubClinicOrg> <code>sample string 7</code> <codecreate>sample string 12</codecreate> <codeedit>sample string 16</codeedit> <datecreate>sample string 10</datecreate> <dateedit>sample string 14</dateedit> <id>sample string 1</id> <idbrandpartner>sample string 4</idbrandpartner> <idcreate>sample string 11</idcreate> <iddepartment>sample string 5</iddepartment> <idedit>sample string 15</idedit> <idkey>sample string 2</idkey> <idmodelservice>1</idmodelservice> <idpartner>sample string 3</idpartner> <lstequipment xmlns:d4p1="http://schemas.datacontract.org/2004/07/APISMART.Models.Equipment"> <d4p1:SubClinicEquipmentAdd> <d4p1:codeeequipment>sample string 7</d4p1:codeeequipment> <d4p1:codeinsure>sample string 5</d4p1:codeinsure> <d4p1:id>sample string 1</d4p1:id> <d4p1:idbrandpartner>sample string 3</d4p1:idbrandpartner> <d4p1:idequipment>sample string 6</d4p1:idequipment> <d4p1:idpartner>sample string 2</d4p1:idpartner> <d4p1:idsubclinic>sample string 4</d4p1:idsubclinic> <d4p1:nameequipment>sample string 8</d4p1:nameequipment> </d4p1:SubClinicEquipmentAdd> <d4p1:SubClinicEquipmentAdd> <d4p1:codeeequipment>sample string 7</d4p1:codeeequipment> <d4p1:codeinsure>sample string 5</d4p1:codeinsure> <d4p1:id>sample string 1</d4p1:id> <d4p1:idbrandpartner>sample string 3</d4p1:idbrandpartner> <d4p1:idequipment>sample string 6</d4p1:idequipment> <d4p1:idpartner>sample string 2</d4p1:idpartner> <d4p1:idsubclinic>sample string 4</d4p1:idsubclinic> <d4p1:nameequipment>sample string 8</d4p1:nameequipment> </d4p1:SubClinicEquipmentAdd> </lstequipment> <lststore xmlns:d4p1="http://schemas.datacontract.org/2004/07/APISMART.Models.Store"> <d4p1:StoreSubClinicAdd> <d4p1:codestore>sample string 5</d4p1:codestore> <d4p1:codesubclinic>sample string 8</d4p1:codesubclinic> <d4p1:id>sample string 1</d4p1:id> <d4p1:idbrandpartner>sample string 3</d4p1:idbrandpartner> <d4p1:idpartner>sample string 2</d4p1:idpartner> <d4p1:idstore>sample string 4</d4p1:idstore> <d4p1:idsubclinic>sample string 7</d4p1:idsubclinic> <d4p1:namestore>sample string 6</d4p1:namestore> <d4p1:namesubclinic>sample string 9</d4p1:namesubclinic> </d4p1:StoreSubClinicAdd> <d4p1:StoreSubClinicAdd> <d4p1:codestore>sample string 5</d4p1:codestore> <d4p1:codesubclinic>sample string 8</d4p1:codesubclinic> <d4p1:id>sample string 1</d4p1:id> <d4p1:idbrandpartner>sample string 3</d4p1:idbrandpartner> <d4p1:idpartner>sample string 2</d4p1:idpartner> <d4p1:idstore>sample string 4</d4p1:idstore> <d4p1:idsubclinic>sample string 7</d4p1:idsubclinic> <d4p1:namestore>sample string 6</d4p1:namestore> <d4p1:namesubclinic>sample string 9</d4p1:namesubclinic> </d4p1:StoreSubClinicAdd> </lststore> <lstwork> <ClinicOrgSubClinicAdd> <cn>true</cn> <id>sample string 1</id> <idbrandpartner>sample string 4</idbrandpartner> <idclinic>sample string 5</idclinic> <idkey>sample string 2</idkey> <idpartner>sample string 3</idpartner> <idsubclinic>sample string 7</idsubclinic> <nameclinic>sample string 6</nameclinic> <namesubclinic>sample string 8</namesubclinic> <notorderby>true</notorderby> <notvote>true</notvote> <overtime>true</overtime> <t2>true</t2> <t3>true</t3> <t4>true</t4> <t5>true</t5> <t6>true</t6> <t7>true</t7> </ClinicOrgSubClinicAdd> <ClinicOrgSubClinicAdd> <cn>true</cn> <id>sample string 1</id> <idbrandpartner>sample string 4</idbrandpartner> <idclinic>sample string 5</idclinic> <idkey>sample string 2</idkey> <idpartner>sample string 3</idpartner> <idsubclinic>sample string 7</idsubclinic> <nameclinic>sample string 6</nameclinic> <namesubclinic>sample string 8</namesubclinic> <notorderby>true</notorderby> <notvote>true</notvote> <overtime>true</overtime> <t2>true</t2> <t3>true</t3> <t4>true</t4> <t5>true</t5> <t6>true</t6> <t7>true</t7> </ClinicOrgSubClinicAdd> </lstwork> <name>sample string 8</name> <namecreate>sample string 13</namecreate> <namedepartment>sample string 6</namedepartment> <nameedit>sample string 17</nameedit> <namemodelservice>sample string 9</namemodelservice> <notuse>true</notuse> <ordering>1</ordering> <qty>1</qty> <type>1</type> </SubClinicOrg> </data> </objSubClinicOrg>