GET api/Partner/One?api={api}&id={id}
Chi tiêt
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
api | string |
Required |
|
id | string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
onePartnerName | Description | Type | Additional information |
---|---|---|---|
data | PartnerModel |
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", "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" }, "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","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"},"status":"sample string 1","message":"sample string 2"});
application/xml, text/xml
Sample:
<onePartner xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models.Partner"> <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> <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> </data> </onePartner>