GET api/TestSub/getuse?api={api}&page={page}&limit={limit}&idpartner={idpartner}&idbrandpartner={idbrandpartner}&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 |
|
keyword | string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
objTestSubName | Description | Type | Additional information |
---|---|---|---|
data | Collection of TestSubViewModel |
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", "code": "sample string 5", "name": "sample string 6", "idehc": 1, "codeehc": "sample string 7", "ordering": 1.1, "notuse": true, "datecreate": "sample string 8", "idcreate": "sample string 9", "codecreate": "sample string 10", "namecreate": "sample string 11", "dateedit": "sample string 12", "idedit": "sample string 13", "codeedit": "sample string 14", "nameedit": "sample string 15", "idunitresult": "sample string 16", "nameunitresult": "sample string 17", "reference": "sample string 18", "formula": "sample string 19", "lstindex": [ { "id": "sample string 1", "idpartner": "sample string 2", "idproduct": "sample string 3", "reference": "sample string 4", "age": "sample string 5", "sex": "sample string 6", "note": "sample string 7", "isabnormal": true, "ishight": true, "islow": true, "issohight": true, "issolow": true }, { "id": "sample string 1", "idpartner": "sample string 2", "idproduct": "sample string 3", "reference": "sample string 4", "age": "sample string 5", "sex": "sample string 6", "note": "sample string 7", "isabnormal": true, "ishight": true, "islow": true, "issohight": true, "issolow": true } ] }, { "id": "sample string 1", "idkey": "sample string 2", "idpartner": "sample string 3", "idbrandpartner": "sample string 4", "code": "sample string 5", "name": "sample string 6", "idehc": 1, "codeehc": "sample string 7", "ordering": 1.1, "notuse": true, "datecreate": "sample string 8", "idcreate": "sample string 9", "codecreate": "sample string 10", "namecreate": "sample string 11", "dateedit": "sample string 12", "idedit": "sample string 13", "codeedit": "sample string 14", "nameedit": "sample string 15", "idunitresult": "sample string 16", "nameunitresult": "sample string 17", "reference": "sample string 18", "formula": "sample string 19", "lstindex": [ { "id": "sample string 1", "idpartner": "sample string 2", "idproduct": "sample string 3", "reference": "sample string 4", "age": "sample string 5", "sex": "sample string 6", "note": "sample string 7", "isabnormal": true, "ishight": true, "islow": true, "issohight": true, "issolow": true }, { "id": "sample string 1", "idpartner": "sample string 2", "idproduct": "sample string 3", "reference": "sample string 4", "age": "sample string 5", "sex": "sample string 6", "note": "sample string 7", "isabnormal": true, "ishight": true, "islow": true, "issohight": true, "issolow": true } ] } ], "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","code":"sample string 5","name":"sample string 6","idehc":1,"codeehc":"sample string 7","ordering":1.1,"notuse":true,"datecreate":"sample string 8","idcreate":"sample string 9","codecreate":"sample string 10","namecreate":"sample string 11","dateedit":"sample string 12","idedit":"sample string 13","codeedit":"sample string 14","nameedit":"sample string 15","idunitresult":"sample string 16","nameunitresult":"sample string 17","reference":"sample string 18","formula":"sample string 19","lstindex":[{"id":"sample string 1","idpartner":"sample string 2","idproduct":"sample string 3","reference":"sample string 4","age":"sample string 5","sex":"sample string 6","note":"sample string 7","isabnormal":true,"ishight":true,"islow":true,"issohight":true,"issolow":true},{"id":"sample string 1","idpartner":"sample string 2","idproduct":"sample string 3","reference":"sample string 4","age":"sample string 5","sex":"sample string 6","note":"sample string 7","isabnormal":true,"ishight":true,"islow":true,"issohight":true,"issolow":true}]},{"id":"sample string 1","idkey":"sample string 2","idpartner":"sample string 3","idbrandpartner":"sample string 4","code":"sample string 5","name":"sample string 6","idehc":1,"codeehc":"sample string 7","ordering":1.1,"notuse":true,"datecreate":"sample string 8","idcreate":"sample string 9","codecreate":"sample string 10","namecreate":"sample string 11","dateedit":"sample string 12","idedit":"sample string 13","codeedit":"sample string 14","nameedit":"sample string 15","idunitresult":"sample string 16","nameunitresult":"sample string 17","reference":"sample string 18","formula":"sample string 19","lstindex":[{"id":"sample string 1","idpartner":"sample string 2","idproduct":"sample string 3","reference":"sample string 4","age":"sample string 5","sex":"sample string 6","note":"sample string 7","isabnormal":true,"ishight":true,"islow":true,"issohight":true,"issolow":true},{"id":"sample string 1","idpartner":"sample string 2","idproduct":"sample string 3","reference":"sample string 4","age":"sample string 5","sex":"sample string 6","note":"sample string 7","isabnormal":true,"ishight":true,"islow":true,"issohight":true,"issolow":true}]}],"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:
<objTestSub xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models.Category"> <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> <TestSubViewModel> <code>sample string 5</code> <codecreate>sample string 10</codecreate> <codeedit>sample string 14</codeedit> <codeehc>sample string 7</codeehc> <datecreate>sample string 8</datecreate> <dateedit>sample string 12</dateedit> <formula>sample string 19</formula> <id>sample string 1</id> <idbrandpartner>sample string 4</idbrandpartner> <idcreate>sample string 9</idcreate> <idedit>sample string 13</idedit> <idehc>1</idehc> <idkey>sample string 2</idkey> <idpartner>sample string 3</idpartner> <idunitresult>sample string 16</idunitresult> <lstindex> <TestIndex> <age>sample string 5</age> <id>sample string 1</id> <idpartner>sample string 2</idpartner> <idproduct>sample string 3</idproduct> <isabnormal>true</isabnormal> <ishight>true</ishight> <islow>true</islow> <issohight>true</issohight> <issolow>true</issolow> <note>sample string 7</note> <reference>sample string 4</reference> <sex>sample string 6</sex> </TestIndex> <TestIndex> <age>sample string 5</age> <id>sample string 1</id> <idpartner>sample string 2</idpartner> <idproduct>sample string 3</idproduct> <isabnormal>true</isabnormal> <ishight>true</ishight> <islow>true</islow> <issohight>true</issohight> <issolow>true</issolow> <note>sample string 7</note> <reference>sample string 4</reference> <sex>sample string 6</sex> </TestIndex> </lstindex> <name>sample string 6</name> <namecreate>sample string 11</namecreate> <nameedit>sample string 15</nameedit> <nameunitresult>sample string 17</nameunitresult> <notuse>true</notuse> <ordering>1.1</ordering> <reference>sample string 18</reference> </TestSubViewModel> <TestSubViewModel> <code>sample string 5</code> <codecreate>sample string 10</codecreate> <codeedit>sample string 14</codeedit> <codeehc>sample string 7</codeehc> <datecreate>sample string 8</datecreate> <dateedit>sample string 12</dateedit> <formula>sample string 19</formula> <id>sample string 1</id> <idbrandpartner>sample string 4</idbrandpartner> <idcreate>sample string 9</idcreate> <idedit>sample string 13</idedit> <idehc>1</idehc> <idkey>sample string 2</idkey> <idpartner>sample string 3</idpartner> <idunitresult>sample string 16</idunitresult> <lstindex> <TestIndex> <age>sample string 5</age> <id>sample string 1</id> <idpartner>sample string 2</idpartner> <idproduct>sample string 3</idproduct> <isabnormal>true</isabnormal> <ishight>true</ishight> <islow>true</islow> <issohight>true</issohight> <issolow>true</issolow> <note>sample string 7</note> <reference>sample string 4</reference> <sex>sample string 6</sex> </TestIndex> <TestIndex> <age>sample string 5</age> <id>sample string 1</id> <idpartner>sample string 2</idpartner> <idproduct>sample string 3</idproduct> <isabnormal>true</isabnormal> <ishight>true</ishight> <islow>true</islow> <issohight>true</issohight> <issolow>true</issolow> <note>sample string 7</note> <reference>sample string 4</reference> <sex>sample string 6</sex> </TestIndex> </lstindex> <name>sample string 6</name> <namecreate>sample string 11</namecreate> <nameedit>sample string 15</nameedit> <nameunitresult>sample string 17</nameunitresult> <notuse>true</notuse> <ordering>1.1</ordering> <reference>sample string 18</reference> </TestSubViewModel> </data> </objTestSub>