GET api/PartnerExchange/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
onePartnerExchangeName | Description | Type | Additional information |
---|---|---|---|
data | PartnerExchangeModel |
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", "fromdate": "sample string 5", "todate": "sample string 6", "yearmonthday": 1, "codemoney": "sample string 7", "namemoney": "sample string 8", "exchange": 1.1, "codeexchangemoney": "sample string 9", "nameexchangemoney": "sample string 10", "isdefault": true, "notuse": true, "datecreate": "sample string 11", "idcreate": "sample string 12", "codecreate": "sample string 13", "namecreate": "sample string 14", "dateedit": "sample string 15", "idedit": "sample string 16", "codeedit": "sample string 17", "nameedit": "sample string 18" }, "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","fromdate":"sample string 5","todate":"sample string 6","yearmonthday":1,"codemoney":"sample string 7","namemoney":"sample string 8","exchange":1.1,"codeexchangemoney":"sample string 9","nameexchangemoney":"sample string 10","isdefault":true,"notuse":true,"datecreate":"sample string 11","idcreate":"sample string 12","codecreate":"sample string 13","namecreate":"sample string 14","dateedit":"sample string 15","idedit":"sample string 16","codeedit":"sample string 17","nameedit":"sample string 18"},"status":"sample string 1","message":"sample string 2"});
application/xml, text/xml
Sample:
<onePartnerExchange 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> <codecreate>sample string 13</codecreate> <codeedit>sample string 17</codeedit> <codeexchangemoney>sample string 9</codeexchangemoney> <codemoney>sample string 7</codemoney> <datecreate>sample string 11</datecreate> <dateedit>sample string 15</dateedit> <exchange>1.1</exchange> <fromdate>sample string 5</fromdate> <id>sample string 1</id> <idbrandpartner>sample string 4</idbrandpartner> <idcreate>sample string 12</idcreate> <idedit>sample string 16</idedit> <idkey>sample string 2</idkey> <idpartner>sample string 3</idpartner> <isdefault>true</isdefault> <namecreate>sample string 14</namecreate> <nameedit>sample string 18</nameedit> <nameexchangemoney>sample string 10</nameexchangemoney> <namemoney>sample string 8</namemoney> <notuse>true</notuse> <todate>sample string 6</todate> <yearmonthday>1</yearmonthday> </data> </onePartnerExchange>