GET AdsProduct/Get?p_iAdsId={p_iAdsId}&p_iProductId={p_iProductId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
p_iAdsId

integer

Required

p_iProductId

integer

Required

Body Parameters

None.

Response Information

Resource Description

ResultOfListOfADS_PRODUCT
NameDescriptionTypeAdditional information
m_cData

Collection of ADS_PRODUCT

None.

m_cDetail

ProcessResult

None.

Response Formats

application/json, text/json

Sample:
{
  "m_cData": [
    {
      "ADS_PRODUCT_ID": 1,
      "PRODUCT": {
        "PRODUCT_ID": 1,
        "PRODUCT_TYPE": {
          "PRODUCT_TYPE_ID": 1,
          "PRODUCT_TYPE_TR": "sample string 2",
          "PRODUCT_TYPE_EN": "sample string 3"
        },
        "PRODUCT_TR": "sample string 2",
        "PRODUCT_EN": "sample string 3",
        "FEE": 4.1,
        "FEE_CURRENCY": {
          "CURRENCY_ID": 1,
          "TEXT": "sample string 2",
          "ICON": "sample string 3",
          "PARITE": 4.1
        },
        "ACTIVE": true,
        "INFO_TR": "sample string 6",
        "INFO_EN": "sample string 7"
      },
      "ADS_ID": 2,
      "START_DATE": "2022-08-15T01:13:09.6702423+03:00",
      "END_DATE": "2022-08-15T01:13:09.6702423+03:00"
    },
    {
      "ADS_PRODUCT_ID": 1,
      "PRODUCT": {
        "PRODUCT_ID": 1,
        "PRODUCT_TYPE": {
          "PRODUCT_TYPE_ID": 1,
          "PRODUCT_TYPE_TR": "sample string 2",
          "PRODUCT_TYPE_EN": "sample string 3"
        },
        "PRODUCT_TR": "sample string 2",
        "PRODUCT_EN": "sample string 3",
        "FEE": 4.1,
        "FEE_CURRENCY": {
          "CURRENCY_ID": 1,
          "TEXT": "sample string 2",
          "ICON": "sample string 3",
          "PARITE": 4.1
        },
        "ACTIVE": true,
        "INFO_TR": "sample string 6",
        "INFO_EN": "sample string 7"
      },
      "ADS_ID": 2,
      "START_DATE": "2022-08-15T01:13:09.6702423+03:00",
      "END_DATE": "2022-08-15T01:13:09.6702423+03:00"
    }
  ],
  "m_cDetail": {
    "m_eProcessState": 0,
    "m_sClass": "sample string 1",
    "m_sMethod": "sample string 2",
    "m_iLastId": 3,
    "m_cDataTable": null,
    "m_lUserMessageList": [
      "sample string 1",
      "sample string 2"
    ],
    "m_PageList": [
      1,
      2
    ],
    "m_sErrorMessage": "sample string 4",
    "m_cException": {
      "ClassName": "System.Exception",
      "Message": null,
      "Data": null,
      "InnerException": null,
      "HelpURL": "sample string 1",
      "StackTraceString": null,
      "RemoteStackTraceString": null,
      "RemoteStackIndex": 0,
      "ExceptionMethod": null,
      "HResult": 3,
      "Source": "sample string 2",
      "WatsonBuckets": null
    }
  }
}

text/html

Sample:
{"m_cData":[{"ADS_PRODUCT_ID":1,"PRODUCT":{"PRODUCT_ID":1,"PRODUCT_TYPE":{"PRODUCT_TYPE_ID":1,"PRODUCT_TYPE_TR":"sample string 2","PRODUCT_TYPE_EN":"sample string 3"},"PRODUCT_TR":"sample string 2","PRODUCT_EN":"sample string 3","FEE":4.1,"FEE_CURRENCY":{"CURRENCY_ID":1,"TEXT":"sample string 2","ICON":"sample string 3","PARITE":4.1},"ACTIVE":true,"INFO_TR":"sample string 6","INFO_EN":"sample string 7"},"ADS_ID":2,"START_DATE":"2022-08-15T01:13:09.6702423+03:00","END_DATE":"2022-08-15T01:13:09.6702423+03:00"},{"ADS_PRODUCT_ID":1,"PRODUCT":{"PRODUCT_ID":1,"PRODUCT_TYPE":{"PRODUCT_TYPE_ID":1,"PRODUCT_TYPE_TR":"sample string 2","PRODUCT_TYPE_EN":"sample string 3"},"PRODUCT_TR":"sample string 2","PRODUCT_EN":"sample string 3","FEE":4.1,"FEE_CURRENCY":{"CURRENCY_ID":1,"TEXT":"sample string 2","ICON":"sample string 3","PARITE":4.1},"ACTIVE":true,"INFO_TR":"sample string 6","INFO_EN":"sample string 7"},"ADS_ID":2,"START_DATE":"2022-08-15T01:13:09.6702423+03:00","END_DATE":"2022-08-15T01:13:09.6702423+03:00"}],"m_cDetail":{"m_eProcessState":0,"m_sClass":"sample string 1","m_sMethod":"sample string 2","m_iLastId":3,"m_cDataTable":null,"m_lUserMessageList":["sample string 1","sample string 2"],"m_PageList":[1,2],"m_sErrorMessage":"sample string 4","m_cException":{"ClassName":"System.Exception","Message":null,"Data":null,"InnerException":null,"HelpURL":"sample string 1","StackTraceString":null,"RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":3,"Source":"sample string 2","WatsonBuckets":null}}}

application/xml, text/xml

Sample:
<ResultOfArrayOfADS_PRODUCTWxJsI5kq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/bnfOBJ">
  <m_cData xmlns:d2p1="http://schemas.datacontract.org/2004/07/bnfBLL.SALES">
    <d2p1:ADS_PRODUCT>
      <d2p1:ADS_ID>2</d2p1:ADS_ID>
      <d2p1:ADS_PRODUCT_ID>1</d2p1:ADS_PRODUCT_ID>
      <d2p1:END_DATE>2022-08-15T01:13:09.6702423+03:00</d2p1:END_DATE>
      <d2p1:PRODUCT xmlns:d4p1="http://schemas.datacontract.org/2004/07/bnfBLL.ECOMMERCE">
        <d4p1:ACTIVE>true</d4p1:ACTIVE>
        <d4p1:FEE>4.1</d4p1:FEE>
        <d4p1:FEE_CURRENCY xmlns:d5p1="http://schemas.datacontract.org/2004/07/bnfBLL.SYSTEM">
          <d5p1:CURRENCY_ID>1</d5p1:CURRENCY_ID>
          <d5p1:ICON>sample string 3</d5p1:ICON>
          <d5p1:PARITE>4.1</d5p1:PARITE>
          <d5p1:TEXT>sample string 2</d5p1:TEXT>
        </d4p1:FEE_CURRENCY>
        <d4p1:INFO_EN>sample string 7</d4p1:INFO_EN>
        <d4p1:INFO_TR>sample string 6</d4p1:INFO_TR>
        <d4p1:PRODUCT_EN>sample string 3</d4p1:PRODUCT_EN>
        <d4p1:PRODUCT_ID>1</d4p1:PRODUCT_ID>
        <d4p1:PRODUCT_TR>sample string 2</d4p1:PRODUCT_TR>
        <d4p1:PRODUCT_TYPE>
          <d4p1:PRODUCT_TYPE_EN>sample string 3</d4p1:PRODUCT_TYPE_EN>
          <d4p1:PRODUCT_TYPE_ID>1</d4p1:PRODUCT_TYPE_ID>
          <d4p1:PRODUCT_TYPE_TR>sample string 2</d4p1:PRODUCT_TYPE_TR>
        </d4p1:PRODUCT_TYPE>
      </d2p1:PRODUCT>
      <d2p1:START_DATE>2022-08-15T01:13:09.6702423+03:00</d2p1:START_DATE>
    </d2p1:ADS_PRODUCT>
    <d2p1:ADS_PRODUCT>
      <d2p1:ADS_ID>2</d2p1:ADS_ID>
      <d2p1:ADS_PRODUCT_ID>1</d2p1:ADS_PRODUCT_ID>
      <d2p1:END_DATE>2022-08-15T01:13:09.6702423+03:00</d2p1:END_DATE>
      <d2p1:PRODUCT xmlns:d4p1="http://schemas.datacontract.org/2004/07/bnfBLL.ECOMMERCE">
        <d4p1:ACTIVE>true</d4p1:ACTIVE>
        <d4p1:FEE>4.1</d4p1:FEE>
        <d4p1:FEE_CURRENCY xmlns:d5p1="http://schemas.datacontract.org/2004/07/bnfBLL.SYSTEM">
          <d5p1:CURRENCY_ID>1</d5p1:CURRENCY_ID>
          <d5p1:ICON>sample string 3</d5p1:ICON>
          <d5p1:PARITE>4.1</d5p1:PARITE>
          <d5p1:TEXT>sample string 2</d5p1:TEXT>
        </d4p1:FEE_CURRENCY>
        <d4p1:INFO_EN>sample string 7</d4p1:INFO_EN>
        <d4p1:INFO_TR>sample string 6</d4p1:INFO_TR>
        <d4p1:PRODUCT_EN>sample string 3</d4p1:PRODUCT_EN>
        <d4p1:PRODUCT_ID>1</d4p1:PRODUCT_ID>
        <d4p1:PRODUCT_TR>sample string 2</d4p1:PRODUCT_TR>
        <d4p1:PRODUCT_TYPE>
          <d4p1:PRODUCT_TYPE_EN>sample string 3</d4p1:PRODUCT_TYPE_EN>
          <d4p1:PRODUCT_TYPE_ID>1</d4p1:PRODUCT_TYPE_ID>
          <d4p1:PRODUCT_TYPE_TR>sample string 2</d4p1:PRODUCT_TYPE_TR>
        </d4p1:PRODUCT_TYPE>
      </d2p1:PRODUCT>
      <d2p1:START_DATE>2022-08-15T01:13:09.6702423+03:00</d2p1:START_DATE>
    </d2p1:ADS_PRODUCT>
  </m_cData>
  <m_cDetail>
    <m_PageList xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
    </m_PageList>
    <m_cDataTable i:nil="true" />
    <m_cException xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <ClassName xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">System.Exception</ClassName>
      <Message i:nil="true" xmlns="" />
      <Data i:nil="true" xmlns="" />
      <InnerException i:nil="true" xmlns="" />
      <HelpURL xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 1</HelpURL>
      <StackTraceString i:nil="true" xmlns="" />
      <RemoteStackTraceString i:nil="true" xmlns="" />
      <RemoteStackIndex xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:int" xmlns="">0</RemoteStackIndex>
      <ExceptionMethod i:nil="true" xmlns="" />
      <HResult xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:int" xmlns="">3</HResult>
      <Source xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 2</Source>
      <WatsonBuckets i:nil="true" xmlns="" />
    </m_cException>
    <m_eProcessState>SystemException</m_eProcessState>
    <m_iLastId>3</m_iLastId>
    <m_lUserMessageList xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </m_lUserMessageList>
    <m_sClass>sample string 1</m_sClass>
    <m_sErrorMessage>sample string 4</m_sErrorMessage>
    <m_sMethod>sample string 2</m_sMethod>
  </m_cDetail>
</ResultOfArrayOfADS_PRODUCTWxJsI5kq>