GET api/SubClinic/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
oneSubClinicOrgName | Description | Type | Additional information |
---|---|---|---|
data | SubClinicOrg |
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", "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" } ] }, "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","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"}]},"status":"sample string 1","message":"sample string 2"});
application/xml, text/xml
Sample:
<oneSubClinicOrg xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models.Library.Organization"> <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> <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:d3p1="http://schemas.datacontract.org/2004/07/APISMART.Models.Equipment"> <d3p1:SubClinicEquipmentAdd> <d3p1:codeeequipment>sample string 7</d3p1:codeeequipment> <d3p1:codeinsure>sample string 5</d3p1:codeinsure> <d3p1:id>sample string 1</d3p1:id> <d3p1:idbrandpartner>sample string 3</d3p1:idbrandpartner> <d3p1:idequipment>sample string 6</d3p1:idequipment> <d3p1:idpartner>sample string 2</d3p1:idpartner> <d3p1:idsubclinic>sample string 4</d3p1:idsubclinic> <d3p1:nameequipment>sample string 8</d3p1:nameequipment> </d3p1:SubClinicEquipmentAdd> <d3p1:SubClinicEquipmentAdd> <d3p1:codeeequipment>sample string 7</d3p1:codeeequipment> <d3p1:codeinsure>sample string 5</d3p1:codeinsure> <d3p1:id>sample string 1</d3p1:id> <d3p1:idbrandpartner>sample string 3</d3p1:idbrandpartner> <d3p1:idequipment>sample string 6</d3p1:idequipment> <d3p1:idpartner>sample string 2</d3p1:idpartner> <d3p1:idsubclinic>sample string 4</d3p1:idsubclinic> <d3p1:nameequipment>sample string 8</d3p1:nameequipment> </d3p1:SubClinicEquipmentAdd> </lstequipment> <lststore xmlns:d3p1="http://schemas.datacontract.org/2004/07/APISMART.Models.Store"> <d3p1:StoreSubClinicAdd> <d3p1:codestore>sample string 5</d3p1:codestore> <d3p1:codesubclinic>sample string 8</d3p1:codesubclinic> <d3p1:id>sample string 1</d3p1:id> <d3p1:idbrandpartner>sample string 3</d3p1:idbrandpartner> <d3p1:idpartner>sample string 2</d3p1:idpartner> <d3p1:idstore>sample string 4</d3p1:idstore> <d3p1:idsubclinic>sample string 7</d3p1:idsubclinic> <d3p1:namestore>sample string 6</d3p1:namestore> <d3p1:namesubclinic>sample string 9</d3p1:namesubclinic> </d3p1:StoreSubClinicAdd> <d3p1:StoreSubClinicAdd> <d3p1:codestore>sample string 5</d3p1:codestore> <d3p1:codesubclinic>sample string 8</d3p1:codesubclinic> <d3p1:id>sample string 1</d3p1:id> <d3p1:idbrandpartner>sample string 3</d3p1:idbrandpartner> <d3p1:idpartner>sample string 2</d3p1:idpartner> <d3p1:idstore>sample string 4</d3p1:idstore> <d3p1:idsubclinic>sample string 7</d3p1:idsubclinic> <d3p1:namestore>sample string 6</d3p1:namestore> <d3p1:namesubclinic>sample string 9</d3p1:namesubclinic> </d3p1: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> </data> </oneSubClinicOrg>