POST api/PageManageService
Request Information
URI Parameters
None.
Body Parameters
PageManageServiceProvisioningModelName | Description | Type | Additional information |
---|---|---|---|
agentId | integer |
None. |
|
pageManageRequest | PageManageRequestModel |
None. |
|
businessPages | Collection of FacebookPageModel |
None. |
|
serviceType | ServiceType |
None. |
|
setupDate | date |
None. |
|
mlsSetupRequired | boolean |
None. |
|
mlsSetupCompleted | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "agentId": 1, "pageManageRequest": { "id": 1, "date": "2024-12-21T15:58:27.8396842+00:00", "pageName": "sample string 3", "description": "sample string 4", "facebookPageId": "sample string 5", "agentFirstName": "sample string 6", "agentLastName": "sample string 7", "agentAddress": { "streetAddress": "sample string 1", "unitNumber": "sample string 2", "cityName": "sample string 3", "state": "sample string 4", "zipCode": "sample string 5" }, "agentEmail": "sample string 8", "agentPhone": "sample string 9", "agentWebsite": "sample string 10", "accountEventId": 1 }, "businessPages": [ { "id": "sample string 1", "name": "sample string 2", "hasSweepstakesTab": true, "agentDirectory": true, "propertySearch": true, "homeValue": true, "isBusinessClaimed": true, "adTermsChecked": true, "sweepstakesDate": "2024-12-21T15:58:27.8396842+00:00", "agentProfileAddDate": "2024-12-21T15:58:27.8396842+00:00", "propertySearchAddDate": "2024-12-21T15:58:27.8396842+00:00", "homeValueDate": "2024-12-21T15:58:27.8396842+00:00", "agentProfilePost": true, "igUserId": "sample string 6", "instagramAccountName": "sample string 7", "instagramUserName": "sample string 8", "leadMagnetAdded": true }, { "id": "sample string 1", "name": "sample string 2", "hasSweepstakesTab": true, "agentDirectory": true, "propertySearch": true, "homeValue": true, "isBusinessClaimed": true, "adTermsChecked": true, "sweepstakesDate": "2024-12-21T15:58:27.8396842+00:00", "agentProfileAddDate": "2024-12-21T15:58:27.8396842+00:00", "propertySearchAddDate": "2024-12-21T15:58:27.8396842+00:00", "homeValueDate": "2024-12-21T15:58:27.8396842+00:00", "agentProfilePost": true, "igUserId": "sample string 6", "instagramAccountName": "sample string 7", "instagramUserName": "sample string 8", "leadMagnetAdded": true } ], "serviceType": 0, "setupDate": "2024-12-21T15:58:27.8396842+00:00", "mlsSetupRequired": true, "mlsSetupCompleted": true }
text/html
Sample:
{"agentId":1,"pageManageRequest":{"id":1,"date":"2024-12-21T15:58:27.8396842+00:00","pageName":"sample string 3","description":"sample string 4","facebookPageId":"sample string 5","agentFirstName":"sample string 6","agentLastName":"sample string 7","agentAddress":{"streetAddress":"sample string 1","unitNumber":"sample string 2","cityName":"sample string 3","state":"sample string 4","zipCode":"sample string 5"},"agentEmail":"sample string 8","agentPhone":"sample string 9","agentWebsite":"sample string 10","accountEventId":1},"businessPages":[{"id":"sample string 1","name":"sample string 2","hasSweepstakesTab":true,"agentDirectory":true,"propertySearch":true,"homeValue":true,"isBusinessClaimed":true,"adTermsChecked":true,"sweepstakesDate":"2024-12-21T15:58:27.8396842+00:00","agentProfileAddDate":"2024-12-21T15:58:27.8396842+00:00","propertySearchAddDate":"2024-12-21T15:58:27.8396842+00:00","homeValueDate":"2024-12-21T15:58:27.8396842+00:00","agentProfilePost":true,"igUserId":"sample string 6","instagramAccountName":"sample string 7","instagramUserName":"sample string 8","leadMagnetAdded":true},{"id":"sample string 1","name":"sample string 2","hasSweepstakesTab":true,"agentDirectory":true,"propertySearch":true,"homeValue":true,"isBusinessClaimed":true,"adTermsChecked":true,"sweepstakesDate":"2024-12-21T15:58:27.8396842+00:00","agentProfileAddDate":"2024-12-21T15:58:27.8396842+00:00","propertySearchAddDate":"2024-12-21T15:58:27.8396842+00:00","homeValueDate":"2024-12-21T15:58:27.8396842+00:00","agentProfilePost":true,"igUserId":"sample string 6","instagramAccountName":"sample string 7","instagramUserName":"sample string 8","leadMagnetAdded":true}],"serviceType":0,"setupDate":"2024-12-21T15:58:27.8396842+00:00","mlsSetupRequired":true,"mlsSetupCompleted":true}
application/xml, text/xml
Sample:
<PageManageServiceProvisioningModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models.Services"> <MlsSetupCompleted>true</MlsSetupCompleted> <MlsSetupRequired>true</MlsSetupRequired> <ServiceType>AgentDirectory</ServiceType> <SetupDate>2024-12-21T15:58:27.8396842+00:00</SetupDate> <AgentId>1</AgentId> <BusinessPages> <FacebookPageModel> <AdTermsChecked>true</AdTermsChecked> <AgentDirectory>true</AgentDirectory> <AgentProfileAddDate>2024-12-21T15:58:27.8396842+00:00</AgentProfileAddDate> <AgentProfilePost>true</AgentProfilePost> <HasSweepstakesTab>true</HasSweepstakesTab> <HomeValue>true</HomeValue> <HomeValueDate>2024-12-21T15:58:27.8396842+00:00</HomeValueDate> <IGUserId>sample string 6</IGUserId> <Id>sample string 1</Id> <InstagramAccountName>sample string 7</InstagramAccountName> <InstagramUserName>sample string 8</InstagramUserName> <IsBusinessClaimed>true</IsBusinessClaimed> <LeadMagnetAdded>true</LeadMagnetAdded> <Name>sample string 2</Name> <PropertySearch>true</PropertySearch> <PropertySearchAddDate>2024-12-21T15:58:27.8396842+00:00</PropertySearchAddDate> <SweepstakesDate>2024-12-21T15:58:27.8396842+00:00</SweepstakesDate> </FacebookPageModel> <FacebookPageModel> <AdTermsChecked>true</AdTermsChecked> <AgentDirectory>true</AgentDirectory> <AgentProfileAddDate>2024-12-21T15:58:27.8396842+00:00</AgentProfileAddDate> <AgentProfilePost>true</AgentProfilePost> <HasSweepstakesTab>true</HasSweepstakesTab> <HomeValue>true</HomeValue> <HomeValueDate>2024-12-21T15:58:27.8396842+00:00</HomeValueDate> <IGUserId>sample string 6</IGUserId> <Id>sample string 1</Id> <InstagramAccountName>sample string 7</InstagramAccountName> <InstagramUserName>sample string 8</InstagramUserName> <IsBusinessClaimed>true</IsBusinessClaimed> <LeadMagnetAdded>true</LeadMagnetAdded> <Name>sample string 2</Name> <PropertySearch>true</PropertySearch> <PropertySearchAddDate>2024-12-21T15:58:27.8396842+00:00</PropertySearchAddDate> <SweepstakesDate>2024-12-21T15:58:27.8396842+00:00</SweepstakesDate> </FacebookPageModel> </BusinessPages> <PageManageRequest> <AccountEventId>1</AccountEventId> <AgentAddress> <CityName>sample string 3</CityName> <State>sample string 4</State> <StreetAddress>sample string 1</StreetAddress> <UnitNumber>sample string 2</UnitNumber> <ZipCode>sample string 5</ZipCode> </AgentAddress> <AgentEmail>sample string 8</AgentEmail> <AgentFirstName>sample string 6</AgentFirstName> <AgentLastName>sample string 7</AgentLastName> <AgentPhone>sample string 9</AgentPhone> <AgentWebsite>sample string 10</AgentWebsite> <Date>2024-12-21T15:58:27.8396842+00:00</Date> <Description>sample string 4</Description> <FacebookPageId>sample string 5</FacebookPageId> <Id>1</Id> <PageName>sample string 3</PageName> </PageManageRequest> </PageManageServiceProvisioningModel>
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.