CMSServices
Click here for a complete list of operations.
SavePage
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /CMSServices.asmx HTTP/1.1 Host: onlinesubscription.adventureparkusa.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://semnox.com/SavePage" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <SavePage xmlns="http://semnox.com/"> <cmsPagesDTO> <PageId>int</PageId> <PageName>string</PageName> <Title>string</Title> <ContentId>int</ContentId> <Guid>string</Guid> <SynchStatus>boolean</SynchStatus> <Site_id>int</Site_id> <MetaTitle>string</MetaTitle> <MetaKeywords>string</MetaKeywords> <MetaDesc>string</MetaDesc> <GroupId>int</GroupId> <Active>boolean</Active> <CreatedBy>string</CreatedBy> <CreationDate>dateTime</CreationDate> <LastUpdatedBy>string</LastUpdatedBy> <LastupdatedDate>dateTime</LastupdatedDate> <MasterEntityId>int</MasterEntityId> <CMSContentDTOList> <CMSContentDTO> <ContentId>int</ContentId> <PageId>int</PageId> <Source>string</Source> <ContentName>string</ContentName> <DisplaySection>string</DisplaySection> <DisplayOrder>int</DisplayOrder> <ContentKey>string</ContentKey> <ContentTemplateId>int</ContentTemplateId> <Active>boolean</Active> <Guid>string</Guid> <SynchStatus>boolean</SynchStatus> <Site_id>int</Site_id> <CMSContentTemplateDTO xsi:nil="true" /> <SectionName>string</SectionName> <MasterEntityId>int</MasterEntityId> <ParentContentId>int</ParentContentId> <Height>int</Height> <Width>int</Width> <ContentURL>string</ContentURL> <DisplayAttributes>string</DisplayAttributes> <ObjectTranslationsDTOList xsi:nil="true" /> <IsChanged>boolean</IsChanged> </CMSContentDTO> <CMSContentDTO> <ContentId>int</ContentId> <PageId>int</PageId> <Source>string</Source> <ContentName>string</ContentName> <DisplaySection>string</DisplaySection> <DisplayOrder>int</DisplayOrder> <ContentKey>string</ContentKey> <ContentTemplateId>int</ContentTemplateId> <Active>boolean</Active> <Guid>string</Guid> <SynchStatus>boolean</SynchStatus> <Site_id>int</Site_id> <CMSContentTemplateDTO xsi:nil="true" /> <SectionName>string</SectionName> <MasterEntityId>int</MasterEntityId> <ParentContentId>int</ParentContentId> <Height>int</Height> <Width>int</Width> <ContentURL>string</ContentURL> <DisplayAttributes>string</DisplayAttributes> <ObjectTranslationsDTOList xsi:nil="true" /> <IsChanged>boolean</IsChanged> </CMSContentDTO> </CMSContentDTOList> <PageContents> <CMSContentDTO> <ContentId>int</ContentId> <PageId>int</PageId> <Source>string</Source> <ContentName>string</ContentName> <DisplaySection>string</DisplaySection> <DisplayOrder>int</DisplayOrder> <ContentKey>string</ContentKey> <ContentTemplateId>int</ContentTemplateId> <Active>boolean</Active> <Guid>string</Guid> <SynchStatus>boolean</SynchStatus> <Site_id>int</Site_id> <CMSContentTemplateDTO xsi:nil="true" /> <SectionName>string</SectionName> <MasterEntityId>int</MasterEntityId> <ParentContentId>int</ParentContentId> <Height>int</Height> <Width>int</Width> <ContentURL>string</ContentURL> <DisplayAttributes>string</DisplayAttributes> <ObjectTranslationsDTOList xsi:nil="true" /> <IsChanged>boolean</IsChanged> </CMSContentDTO> <CMSContentDTO> <ContentId>int</ContentId> <PageId>int</PageId> <Source>string</Source> <ContentName>string</ContentName> <DisplaySection>string</DisplaySection> <DisplayOrder>int</DisplayOrder> <ContentKey>string</ContentKey> <ContentTemplateId>int</ContentTemplateId> <Active>boolean</Active> <Guid>string</Guid> <SynchStatus>boolean</SynchStatus> <Site_id>int</Site_id> <CMSContentTemplateDTO xsi:nil="true" /> <SectionName>string</SectionName> <MasterEntityId>int</MasterEntityId> <ParentContentId>int</ParentContentId> <Height>int</Height> <Width>int</Width> <ContentURL>string</ContentURL> <DisplayAttributes>string</DisplayAttributes> <ObjectTranslationsDTOList xsi:nil="true" /> <IsChanged>boolean</IsChanged> </CMSContentDTO> </PageContents> <CMSBannersDTO> <BannerId>int</BannerId> <Name>string</Name> <Active>boolean</Active> <Guid>string</Guid> <SynchStatus>boolean</SynchStatus> <Site_id>int</Site_id> <CreatedBy>string</CreatedBy> <CreationDate>dateTime</CreationDate> <LastUpdatedBy>string</LastUpdatedBy> <LastupdatedDate>dateTime</LastupdatedDate> <MasterEntityId>int</MasterEntityId> <Frequency>int</Frequency> <CMSBannerItemsDTOList> <CMSBannerItemsDTO xsi:nil="true" /> <CMSBannerItemsDTO xsi:nil="true" /> </CMSBannerItemsDTOList> <IsChanged>boolean</IsChanged> </CMSBannersDTO> <BannerId>int</BannerId> <IsChanged>boolean</IsChanged> </cmsPagesDTO> </SavePage> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <SavePageResponse xmlns="http://semnox.com/"> <SavePageResult>int</SavePageResult> </SavePageResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /CMSServices.asmx HTTP/1.1 Host: onlinesubscription.adventureparkusa.com Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <SavePage xmlns="http://semnox.com/"> <cmsPagesDTO> <PageId>int</PageId> <PageName>string</PageName> <Title>string</Title> <ContentId>int</ContentId> <Guid>string</Guid> <SynchStatus>boolean</SynchStatus> <Site_id>int</Site_id> <MetaTitle>string</MetaTitle> <MetaKeywords>string</MetaKeywords> <MetaDesc>string</MetaDesc> <GroupId>int</GroupId> <Active>boolean</Active> <CreatedBy>string</CreatedBy> <CreationDate>dateTime</CreationDate> <LastUpdatedBy>string</LastUpdatedBy> <LastupdatedDate>dateTime</LastupdatedDate> <MasterEntityId>int</MasterEntityId> <CMSContentDTOList> <CMSContentDTO> <ContentId>int</ContentId> <PageId>int</PageId> <Source>string</Source> <ContentName>string</ContentName> <DisplaySection>string</DisplaySection> <DisplayOrder>int</DisplayOrder> <ContentKey>string</ContentKey> <ContentTemplateId>int</ContentTemplateId> <Active>boolean</Active> <Guid>string</Guid> <SynchStatus>boolean</SynchStatus> <Site_id>int</Site_id> <CMSContentTemplateDTO xsi:nil="true" /> <SectionName>string</SectionName> <MasterEntityId>int</MasterEntityId> <ParentContentId>int</ParentContentId> <Height>int</Height> <Width>int</Width> <ContentURL>string</ContentURL> <DisplayAttributes>string</DisplayAttributes> <ObjectTranslationsDTOList xsi:nil="true" /> <IsChanged>boolean</IsChanged> </CMSContentDTO> <CMSContentDTO> <ContentId>int</ContentId> <PageId>int</PageId> <Source>string</Source> <ContentName>string</ContentName> <DisplaySection>string</DisplaySection> <DisplayOrder>int</DisplayOrder> <ContentKey>string</ContentKey> <ContentTemplateId>int</ContentTemplateId> <Active>boolean</Active> <Guid>string</Guid> <SynchStatus>boolean</SynchStatus> <Site_id>int</Site_id> <CMSContentTemplateDTO xsi:nil="true" /> <SectionName>string</SectionName> <MasterEntityId>int</MasterEntityId> <ParentContentId>int</ParentContentId> <Height>int</Height> <Width>int</Width> <ContentURL>string</ContentURL> <DisplayAttributes>string</DisplayAttributes> <ObjectTranslationsDTOList xsi:nil="true" /> <IsChanged>boolean</IsChanged> </CMSContentDTO> </CMSContentDTOList> <PageContents> <CMSContentDTO> <ContentId>int</ContentId> <PageId>int</PageId> <Source>string</Source> <ContentName>string</ContentName> <DisplaySection>string</DisplaySection> <DisplayOrder>int</DisplayOrder> <ContentKey>string</ContentKey> <ContentTemplateId>int</ContentTemplateId> <Active>boolean</Active> <Guid>string</Guid> <SynchStatus>boolean</SynchStatus> <Site_id>int</Site_id> <CMSContentTemplateDTO xsi:nil="true" /> <SectionName>string</SectionName> <MasterEntityId>int</MasterEntityId> <ParentContentId>int</ParentContentId> <Height>int</Height> <Width>int</Width> <ContentURL>string</ContentURL> <DisplayAttributes>string</DisplayAttributes> <ObjectTranslationsDTOList xsi:nil="true" /> <IsChanged>boolean</IsChanged> </CMSContentDTO> <CMSContentDTO> <ContentId>int</ContentId> <PageId>int</PageId> <Source>string</Source> <ContentName>string</ContentName> <DisplaySection>string</DisplaySection> <DisplayOrder>int</DisplayOrder> <ContentKey>string</ContentKey> <ContentTemplateId>int</ContentTemplateId> <Active>boolean</Active> <Guid>string</Guid> <SynchStatus>boolean</SynchStatus> <Site_id>int</Site_id> <CMSContentTemplateDTO xsi:nil="true" /> <SectionName>string</SectionName> <MasterEntityId>int</MasterEntityId> <ParentContentId>int</ParentContentId> <Height>int</Height> <Width>int</Width> <ContentURL>string</ContentURL> <DisplayAttributes>string</DisplayAttributes> <ObjectTranslationsDTOList xsi:nil="true" /> <IsChanged>boolean</IsChanged> </CMSContentDTO> </PageContents> <CMSBannersDTO> <BannerId>int</BannerId> <Name>string</Name> <Active>boolean</Active> <Guid>string</Guid> <SynchStatus>boolean</SynchStatus> <Site_id>int</Site_id> <CreatedBy>string</CreatedBy> <CreationDate>dateTime</CreationDate> <LastUpdatedBy>string</LastUpdatedBy> <LastupdatedDate>dateTime</LastupdatedDate> <MasterEntityId>int</MasterEntityId> <Frequency>int</Frequency> <CMSBannerItemsDTOList> <CMSBannerItemsDTO xsi:nil="true" /> <CMSBannerItemsDTO xsi:nil="true" /> </CMSBannerItemsDTOList> <IsChanged>boolean</IsChanged> </CMSBannersDTO> <BannerId>int</BannerId> <IsChanged>boolean</IsChanged> </cmsPagesDTO> </SavePage> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <SavePageResponse xmlns="http://semnox.com/"> <SavePageResult>int</SavePageResult> </SavePageResponse> </soap12:Body> </soap12:Envelope>