GET associations({associationId})/Advertisements

this method gets a bunch of Advertisements

Request Information

Parameters

NameDescriptionAdditional information
associationId
association identifier

Define this parameter in the request URI.

Response Information

bunch of Advertisements

Response body formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "ImageSource": "sample string 2",
    "Width": 1,
    "Height": 1,
    "ByteSize": 1,
    "URL": "sample string 3",
    "AltText": "sample string 4",
    "Comments": "sample string 5",
    "MemberId": 1,
    "Disabled": true,
    "EndDate": "2024-11-21T12:50:26.9735019-06:00",
    "StartDate": "2024-11-21T12:50:26.9735019-06:00",
    "Priority": 1,
    "Context": [
      {
        "Context": 1,
        "ContextName": null,
        "CategoryId": 1,
        "ContextDescription": "sample string 2"
      },
      {
        "Context": 1,
        "ContextName": null,
        "CategoryId": 1,
        "ContextDescription": "sample string 2"
      },
      {
        "Context": 1,
        "ContextName": null,
        "CategoryId": 1,
        "ContextDescription": "sample string 2"
      }
    ]
  },
  {
    "Id": 1,
    "ImageSource": "sample string 2",
    "Width": 1,
    "Height": 1,
    "ByteSize": 1,
    "URL": "sample string 3",
    "AltText": "sample string 4",
    "Comments": "sample string 5",
    "MemberId": 1,
    "Disabled": true,
    "EndDate": "2024-11-21T12:50:26.9735019-06:00",
    "StartDate": "2024-11-21T12:50:26.9735019-06:00",
    "Priority": 1,
    "Context": [
      {
        "Context": 1,
        "ContextName": null,
        "CategoryId": 1,
        "ContextDescription": "sample string 2"
      },
      {
        "Context": 1,
        "ContextName": null,
        "CategoryId": 1,
        "ContextDescription": "sample string 2"
      },
      {
        "Context": 1,
        "ContextName": null,
        "CategoryId": 1,
        "ContextDescription": "sample string 2"
      }
    ]
  },
  {
    "Id": 1,
    "ImageSource": "sample string 2",
    "Width": 1,
    "Height": 1,
    "ByteSize": 1,
    "URL": "sample string 3",
    "AltText": "sample string 4",
    "Comments": "sample string 5",
    "MemberId": 1,
    "Disabled": true,
    "EndDate": "2024-11-21T12:50:26.9735019-06:00",
    "StartDate": "2024-11-21T12:50:26.9735019-06:00",
    "Priority": 1,
    "Context": [
      {
        "Context": 1,
        "ContextName": null,
        "CategoryId": 1,
        "ContextDescription": "sample string 2"
      },
      {
        "Context": 1,
        "ContextName": null,
        "CategoryId": 1,
        "ContextDescription": "sample string 2"
      },
      {
        "Context": 1,
        "ContextName": null,
        "CategoryId": 1,
        "ContextDescription": "sample string 2"
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfAdvertismentResource xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MicroNet_Web_API.Classes.Resources">
  <AdvertismentResource>
    <AltText>sample string 4</AltText>
    <ByteSize>1</ByteSize>
    <Comments>sample string 5</Comments>
    <Context>
      <AdvertisementContextResource>
        <CategoryId>1</CategoryId>
        <Context>1</Context>
        <ContextDescription>sample string 2</ContextDescription>
      </AdvertisementContextResource>
      <AdvertisementContextResource>
        <CategoryId>1</CategoryId>
        <Context>1</Context>
        <ContextDescription>sample string 2</ContextDescription>
      </AdvertisementContextResource>
      <AdvertisementContextResource>
        <CategoryId>1</CategoryId>
        <Context>1</Context>
        <ContextDescription>sample string 2</ContextDescription>
      </AdvertisementContextResource>
    </Context>
    <Disabled>true</Disabled>
    <EndDate>2024-11-21T12:50:26.9735019-06:00</EndDate>
    <Height>1</Height>
    <Id>1</Id>
    <ImageSource>sample string 2</ImageSource>
    <MemberId>1</MemberId>
    <Priority>1</Priority>
    <StartDate>2024-11-21T12:50:26.9735019-06:00</StartDate>
    <URL>sample string 3</URL>
    <Width>1</Width>
  </AdvertismentResource>
  <AdvertismentResource>
    <AltText>sample string 4</AltText>
    <ByteSize>1</ByteSize>
    <Comments>sample string 5</Comments>
    <Context>
      <AdvertisementContextResource>
        <CategoryId>1</CategoryId>
        <Context>1</Context>
        <ContextDescription>sample string 2</ContextDescription>
      </AdvertisementContextResource>
      <AdvertisementContextResource>
        <CategoryId>1</CategoryId>
        <Context>1</Context>
        <ContextDescription>sample string 2</ContextDescription>
      </AdvertisementContextResource>
      <AdvertisementContextResource>
        <CategoryId>1</CategoryId>
        <Context>1</Context>
        <ContextDescription>sample string 2</ContextDescription>
      </AdvertisementContextResource>
    </Context>
    <Disabled>true</Disabled>
    <EndDate>2024-11-21T12:50:26.9735019-06:00</EndDate>
    <Height>1</Height>
    <Id>1</Id>
    <ImageSource>sample string 2</ImageSource>
    <MemberId>1</MemberId>
    <Priority>1</Priority>
    <StartDate>2024-11-21T12:50:26.9735019-06:00</StartDate>
    <URL>sample string 3</URL>
    <Width>1</Width>
  </AdvertismentResource>
  <AdvertismentResource>
    <AltText>sample string 4</AltText>
    <ByteSize>1</ByteSize>
    <Comments>sample string 5</Comments>
    <Context>
      <AdvertisementContextResource>
        <CategoryId>1</CategoryId>
        <Context>1</Context>
        <ContextDescription>sample string 2</ContextDescription>
      </AdvertisementContextResource>
      <AdvertisementContextResource>
        <CategoryId>1</CategoryId>
        <Context>1</Context>
        <ContextDescription>sample string 2</ContextDescription>
      </AdvertisementContextResource>
      <AdvertisementContextResource>
        <CategoryId>1</CategoryId>
        <Context>1</Context>
        <ContextDescription>sample string 2</ContextDescription>
      </AdvertisementContextResource>
    </Context>
    <Disabled>true</Disabled>
    <EndDate>2024-11-21T12:50:26.9735019-06:00</EndDate>
    <Height>1</Height>
    <Id>1</Id>
    <ImageSource>sample string 2</ImageSource>
    <MemberId>1</MemberId>
    <Priority>1</Priority>
    <StartDate>2024-11-21T12:50:26.9735019-06:00</StartDate>
    <URL>sample string 3</URL>
    <Width>1</Width>
  </AdvertismentResource>
</ArrayOfAdvertismentResource>

text/csv

Sample:
Id,ImageSource,Width,Height,ByteSize,URL,AltText,Comments,MemberId,Disabled,EndDate,StartDate,Priority,Context
"1","sample string 2","1","1","1","sample string 3","sample string 4","sample string 5","1","True","11/21/2024 12:50:26 PM","11/21/2024 12:50:26 PM","1","System.Collections.Generic.List`1[MicroNet_Web_API.Classes.Resources.AdvertisementContextResource]"
"1","sample string 2","1","1","1","sample string 3","sample string 4","sample string 5","1","True","11/21/2024 12:50:26 PM","11/21/2024 12:50:26 PM","1","System.Collections.Generic.List`1[MicroNet_Web_API.Classes.Resources.AdvertisementContextResource]"
"1","sample string 2","1","1","1","sample string 3","sample string 4","sample string 5","1","True","11/21/2024 12:50:26 PM","11/21/2024 12:50:26 PM","1","System.Collections.Generic.List`1[MicroNet_Web_API.Classes.Resources.AdvertisementContextResource]"