PUT api/agentposttagfilter/schedule?agentId={agentId}&productId={productId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
agentId | integer |
Required |
|
productId | integer |
Required |
Body Parameters
UserScheduleModelName | Description | Type | Additional information |
---|---|---|---|
enabled | boolean |
None. |
|
subscribed | date |
None. |
|
canceled | date |
None. |
|
postToBusinessPage | boolean |
None. |
|
facebookPageId | string |
None. |
|
postToProfile | boolean |
None. |
|
postingDays | Collection of boolean |
None. |
|
featuredListings | boolean |
None. |
|
includeOfficeListings | boolean |
None. |
|
productId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "enabled": true, "subscribed": "2023-09-27T18:00:28.9420041+00:00", "canceled": "2023-09-27T18:00:28.9420041+00:00", "postToBusinessPage": true, "facebookPageId": "sample string 3", "postToProfile": true, "postingDays": [ true, true ], "featuredListings": true, "includeOfficeListings": true, "productId": 1 }
text/html
Sample:
{"enabled":true,"subscribed":"2023-09-27T18:00:28.9420041+00:00","canceled":"2023-09-27T18:00:28.9420041+00:00","postToBusinessPage":true,"facebookPageId":"sample string 3","postToProfile":true,"postingDays":[true,true],"featuredListings":true,"includeOfficeListings":true,"productId":1}
application/xml, text/xml
Sample:
<UserScheduleModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models.Services"> <Canceled>2023-09-27T18:00:28.9420041+00:00</Canceled> <Enabled>true</Enabled> <FacebookPageId>sample string 3</FacebookPageId> <FeaturedListings>true</FeaturedListings> <IncludeOfficeListings>true</IncludeOfficeListings> <PostToBusinessPage>true</PostToBusinessPage> <PostToProfile>true</PostToProfile> <PostingDays xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:boolean>true</d2p1:boolean> <d2p1:boolean>true</d2p1:boolean> </PostingDays> <ProductId>1</ProductId> <Subscribed>2023-09-27T18:00:28.9420041+00:00</Subscribed> </UserScheduleModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.