GET api/Partner/getall?api={api}&page={page}&limit={limit}&keyword={keyword}
Danh sách
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
api | string |
Required |
|
page | integer |
Default value is 1 |
|
limit | integer |
Default value is 50 |
|
keyword | string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
objPartnerName | Description | Type | Additional information |
---|---|---|---|
data | Collection of PartnerModel |
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", "uniquename": "sample string 3", "idsource": "sample string 4", "codesource": "sample string 5", "namesource": "sample string 6", "idfield": 1, "namefield": "sample string 7", "code": "sample string 8", "name": "sample string 9", "phone": "sample string 10", "email": "sample string 11", "birthday": "sample string 12", "addresssumary": "sample string 13", "address": "sample string 14", "idcountry": "sample string 15", "codecountry": "sample string 16", "namecountry": "sample string 17", "idprovince": "sample string 18", "codeprovince": "sample string 19", "nameprovince": "sample string 20", "iddistrict": "sample string 21", "codedistrict": "sample string 22", "namedistrict": "sample string 23", "idward": "sample string 24", "codeward": "sample string 25", "nameward": "sample string 26", "fullname": "sample string 27", "username": "sample string 28", "password": "sample string 29", "isactive": 1, "isauto": 1, "idhuman": "sample string 30", "codehuman": "sample string 31", "namehuman": "sample string 32", "datecreate": "sample string 33", "idcreate": "sample string 34", "codecreate": "sample string 35", "namecreate": "sample string 36" }, { "id": "sample string 1", "idkey": "sample string 2", "uniquename": "sample string 3", "idsource": "sample string 4", "codesource": "sample string 5", "namesource": "sample string 6", "idfield": 1, "namefield": "sample string 7", "code": "sample string 8", "name": "sample string 9", "phone": "sample string 10", "email": "sample string 11", "birthday": "sample string 12", "addresssumary": "sample string 13", "address": "sample string 14", "idcountry": "sample string 15", "codecountry": "sample string 16", "namecountry": "sample string 17", "idprovince": "sample string 18", "codeprovince": "sample string 19", "nameprovince": "sample string 20", "iddistrict": "sample string 21", "codedistrict": "sample string 22", "namedistrict": "sample string 23", "idward": "sample string 24", "codeward": "sample string 25", "nameward": "sample string 26", "fullname": "sample string 27", "username": "sample string 28", "password": "sample string 29", "isactive": 1, "isauto": 1, "idhuman": "sample string 30", "codehuman": "sample string 31", "namehuman": "sample string 32", "datecreate": "sample string 33", "idcreate": "sample string 34", "codecreate": "sample string 35", "namecreate": "sample string 36" } ], "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","uniquename":"sample string 3","idsource":"sample string 4","codesource":"sample string 5","namesource":"sample string 6","idfield":1,"namefield":"sample string 7","code":"sample string 8","name":"sample string 9","phone":"sample string 10","email":"sample string 11","birthday":"sample string 12","addresssumary":"sample string 13","address":"sample string 14","idcountry":"sample string 15","codecountry":"sample string 16","namecountry":"sample string 17","idprovince":"sample string 18","codeprovince":"sample string 19","nameprovince":"sample string 20","iddistrict":"sample string 21","codedistrict":"sample string 22","namedistrict":"sample string 23","idward":"sample string 24","codeward":"sample string 25","nameward":"sample string 26","fullname":"sample string 27","username":"sample string 28","password":"sample string 29","isactive":1,"isauto":1,"idhuman":"sample string 30","codehuman":"sample string 31","namehuman":"sample string 32","datecreate":"sample string 33","idcreate":"sample string 34","codecreate":"sample string 35","namecreate":"sample string 36"},{"id":"sample string 1","idkey":"sample string 2","uniquename":"sample string 3","idsource":"sample string 4","codesource":"sample string 5","namesource":"sample string 6","idfield":1,"namefield":"sample string 7","code":"sample string 8","name":"sample string 9","phone":"sample string 10","email":"sample string 11","birthday":"sample string 12","addresssumary":"sample string 13","address":"sample string 14","idcountry":"sample string 15","codecountry":"sample string 16","namecountry":"sample string 17","idprovince":"sample string 18","codeprovince":"sample string 19","nameprovince":"sample string 20","iddistrict":"sample string 21","codedistrict":"sample string 22","namedistrict":"sample string 23","idward":"sample string 24","codeward":"sample string 25","nameward":"sample string 26","fullname":"sample string 27","username":"sample string 28","password":"sample string 29","isactive":1,"isauto":1,"idhuman":"sample string 30","codehuman":"sample string 31","namehuman":"sample string 32","datecreate":"sample string 33","idcreate":"sample string 34","codecreate":"sample string 35","namecreate":"sample string 36"}],"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:
<objPartner xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models.Partner"> <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> <PartnerModel> <address>sample string 14</address> <addresssumary>sample string 13</addresssumary> <birthday>sample string 12</birthday> <code>sample string 8</code> <codecountry>sample string 16</codecountry> <codecreate>sample string 35</codecreate> <codedistrict>sample string 22</codedistrict> <codehuman>sample string 31</codehuman> <codeprovince>sample string 19</codeprovince> <codesource>sample string 5</codesource> <codeward>sample string 25</codeward> <datecreate>sample string 33</datecreate> <email>sample string 11</email> <fullname>sample string 27</fullname> <id>sample string 1</id> <idcountry>sample string 15</idcountry> <idcreate>sample string 34</idcreate> <iddistrict>sample string 21</iddistrict> <idfield>1</idfield> <idhuman>sample string 30</idhuman> <idkey>sample string 2</idkey> <idprovince>sample string 18</idprovince> <idsource>sample string 4</idsource> <idward>sample string 24</idward> <isactive>1</isactive> <isauto>1</isauto> <name>sample string 9</name> <namecountry>sample string 17</namecountry> <namecreate>sample string 36</namecreate> <namedistrict>sample string 23</namedistrict> <namefield>sample string 7</namefield> <namehuman>sample string 32</namehuman> <nameprovince>sample string 20</nameprovince> <namesource>sample string 6</namesource> <nameward>sample string 26</nameward> <password>sample string 29</password> <phone>sample string 10</phone> <uniquename>sample string 3</uniquename> <username>sample string 28</username> </PartnerModel> <PartnerModel> <address>sample string 14</address> <addresssumary>sample string 13</addresssumary> <birthday>sample string 12</birthday> <code>sample string 8</code> <codecountry>sample string 16</codecountry> <codecreate>sample string 35</codecreate> <codedistrict>sample string 22</codedistrict> <codehuman>sample string 31</codehuman> <codeprovince>sample string 19</codeprovince> <codesource>sample string 5</codesource> <codeward>sample string 25</codeward> <datecreate>sample string 33</datecreate> <email>sample string 11</email> <fullname>sample string 27</fullname> <id>sample string 1</id> <idcountry>sample string 15</idcountry> <idcreate>sample string 34</idcreate> <iddistrict>sample string 21</iddistrict> <idfield>1</idfield> <idhuman>sample string 30</idhuman> <idkey>sample string 2</idkey> <idprovince>sample string 18</idprovince> <idsource>sample string 4</idsource> <idward>sample string 24</idward> <isactive>1</isactive> <isauto>1</isauto> <name>sample string 9</name> <namecountry>sample string 17</namecountry> <namecreate>sample string 36</namecreate> <namedistrict>sample string 23</namedistrict> <namefield>sample string 7</namefield> <namehuman>sample string 32</namehuman> <nameprovince>sample string 20</nameprovince> <namesource>sample string 6</namesource> <nameward>sample string 26</nameward> <password>sample string 29</password> <phone>sample string 10</phone> <uniquename>sample string 3</uniquename> <username>sample string 28</username> </PartnerModel> </data> </objPartner>