PUT associations({associationId})/Marketplace/Items({itemId})

Method to approve or disable a marketplace item

Request Information

Parameters

NameDescriptionAdditional information
associationId
association identifier

Define this parameter in the request URI.

itemId
item identifier

Define this parameter in the request URI.

item
New data

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Title": "sample string 1",
  "Description": "sample string 2",
  "Start": "2024-11-21T13:10:10.5808767-06:00",
  "End": "2024-11-21T13:10:10.5808767-06:00",
  "ImageURL": "sample string 3",
  "MemberId": 1,
  "TypeId": 64,
  "CategoryIds": [
    1,
    2,
    3
  ],
  "Purchased": true,
  "Status": 64,
  "Approved": true,
  "Deleted": true,
  "StartShowing": "2024-11-21T13:10:10.5808767-06:00",
  "StopShowing": "2024-11-21T13:10:10.5808767-06:00",
  "OtherStopShowing": "2024-11-21T13:10:10.5808767-06:00",
  "TagLine": "sample string 4",
  "Phone": "sample string 5",
  "Email": "sample string 6",
  "Website": "sample string 7",
  "PublishStart": "2024-11-21T13:10:10.5808767-06:00",
  "PublishEnd": "2024-11-21T13:10:10.5808767-06:00",
  "Slug": "sample string 8",
  "DisplayName": "sample string 9"
}

application/xml, text/xml

Sample:
<MarketplaceItemResource xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MicroNet.WebAPI.Classes.Resources">
  <Approved>true</Approved>
  <CategoryIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
    <d2p1:int>3</d2p1:int>
  </CategoryIds>
  <Deleted>true</Deleted>
  <Description>sample string 2</Description>
  <DisplayName>sample string 9</DisplayName>
  <Email>sample string 6</Email>
  <End>2024-11-21T13:10:10.5808767-06:00</End>
  <Id>1</Id>
  <ImageURL>sample string 3</ImageURL>
  <MemberId>1</MemberId>
  <OtherStopShowing>2024-11-21T13:10:10.5808767-06:00</OtherStopShowing>
  <Phone>sample string 5</Phone>
  <PublishEnd>2024-11-21T13:10:10.5808767-06:00</PublishEnd>
  <PublishStart>2024-11-21T13:10:10.5808767-06:00</PublishStart>
  <Purchased>true</Purchased>
  <Slug>sample string 8</Slug>
  <Start>2024-11-21T13:10:10.5808767-06:00</Start>
  <StartShowing>2024-11-21T13:10:10.5808767-06:00</StartShowing>
  <Status>64</Status>
  <StopShowing>2024-11-21T13:10:10.5808767-06:00</StopShowing>
  <TagLine>sample string 4</TagLine>
  <Title>sample string 1</Title>
  <TypeId>64</TypeId>
  <Website>sample string 7</Website>
</MarketplaceItemResource>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Status code from method call

Response body formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Title": "sample string 1",
  "Description": "sample string 2",
  "Start": "2024-11-21T13:10:10.5808767-06:00",
  "End": "2024-11-21T13:10:10.5808767-06:00",
  "ImageURL": "sample string 3",
  "MemberId": 1,
  "TypeId": 64,
  "CategoryIds": [
    1,
    2,
    3
  ],
  "Purchased": true,
  "Status": 64,
  "Approved": true,
  "Deleted": true,
  "StartShowing": "2024-11-21T13:10:10.5808767-06:00",
  "StopShowing": "2024-11-21T13:10:10.5808767-06:00",
  "OtherStopShowing": "2024-11-21T13:10:10.5808767-06:00",
  "TagLine": "sample string 4",
  "Phone": "sample string 5",
  "Email": "sample string 6",
  "Website": "sample string 7",
  "PublishStart": "2024-11-21T13:10:10.5808767-06:00",
  "PublishEnd": "2024-11-21T13:10:10.5808767-06:00",
  "Slug": "sample string 8",
  "DisplayName": "sample string 9"
}

application/xml, text/xml

Sample:
<MarketplaceItemResource xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MicroNet.WebAPI.Classes.Resources">
  <Approved>true</Approved>
  <CategoryIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
    <d2p1:int>3</d2p1:int>
  </CategoryIds>
  <Deleted>true</Deleted>
  <Description>sample string 2</Description>
  <DisplayName>sample string 9</DisplayName>
  <Email>sample string 6</Email>
  <End>2024-11-21T13:10:10.5808767-06:00</End>
  <Id>1</Id>
  <ImageURL>sample string 3</ImageURL>
  <MemberId>1</MemberId>
  <OtherStopShowing>2024-11-21T13:10:10.5808767-06:00</OtherStopShowing>
  <Phone>sample string 5</Phone>
  <PublishEnd>2024-11-21T13:10:10.5808767-06:00</PublishEnd>
  <PublishStart>2024-11-21T13:10:10.5808767-06:00</PublishStart>
  <Purchased>true</Purchased>
  <Slug>sample string 8</Slug>
  <Start>2024-11-21T13:10:10.5808767-06:00</Start>
  <StartShowing>2024-11-21T13:10:10.5808767-06:00</StartShowing>
  <Status>64</Status>
  <StopShowing>2024-11-21T13:10:10.5808767-06:00</StopShowing>
  <TagLine>sample string 4</TagLine>
  <Title>sample string 1</Title>
  <TypeId>64</TypeId>
  <Website>sample string 7</Website>
</MarketplaceItemResource>