Post


Click here for a complete list of operations.

UpdatePost

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 /Post.asmx HTTP/1.1
Host: valhalla01.friggcms.no
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/UpdatePost"

<?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>
    <UpdatePost xmlns="http://tempuri.org/">
      <post>
        <CompanyID>int</CompanyID>
        <PostID>long</PostID>
        <CreatedWhen>dateTime</CreatedWhen>
        <PostDate>dateTime</PostDate>
        <ShowDateTime>dateTime</ShowDateTime>
        <EndDateTime>dateTime</EndDateTime>
        <ItemStatusID>int</ItemStatusID>
        <Author>string</Author>
        <Order>int</Order>
        <ProductID>int</ProductID>
        <ArticleID>int</ArticleID>
        <ExternalID>string</ExternalID>
        <Deleted>boolean</Deleted>
        <DeletedWhen>dateTime</DeletedWhen>
        <DeletedByUserID>int</DeletedByUserID>
        <RestoredWhen>dateTime</RestoredWhen>
        <RestoredByUserID>int</RestoredByUserID>
        <Recurring>boolean</Recurring>
        <RecurringIntervalID>short</RecurringIntervalID>
        <PostTemplateID>int</PostTemplateID>
        <RelatedPostTemplateID>int</RelatedPostTemplateID>
        <PostCategoriesIDs>string</PostCategoriesIDs>
        <PostCategories>string</PostCategories>
        <ContentNodePostRefs>
          <ContentNodePostRef>
            <CompanyID>int</CompanyID>
            <PostID>long</PostID>
            <ContentNodeID>long</ContentNodeID>
            <ContentNode xsi:nil="true" />
            <Post xsi:nil="true" />
          </ContentNodePostRef>
          <ContentNodePostRef>
            <CompanyID>int</CompanyID>
            <PostID>long</PostID>
            <ContentNodeID>long</ContentNodeID>
            <ContentNode xsi:nil="true" />
            <Post xsi:nil="true" />
          </ContentNodePostRef>
        </ContentNodePostRefs>
        <PostRecurringInterval>
          <RecurringIntervalID>short</RecurringIntervalID>
          <Description>string</Description>
          <Posts>
            <Post xsi:nil="true" />
            <Post xsi:nil="true" />
          </Posts>
        </PostRecurringInterval>
        <PostCategoryRefs>
          <PostCategoryRef>
            <PostID>long</PostID>
            <CompanyID>int</CompanyID>
            <CategoryID>int</CategoryID>
            <SystemID>int</SystemID>
            <Order>int</Order>
            <IsMainRef>boolean</IsMainRef>
            <Category xsi:nil="true" />
            <Post xsi:nil="true" />
          </PostCategoryRef>
          <PostCategoryRef>
            <PostID>long</PostID>
            <CompanyID>int</CompanyID>
            <CategoryID>int</CategoryID>
            <SystemID>int</SystemID>
            <Order>int</Order>
            <IsMainRef>boolean</IsMainRef>
            <Category xsi:nil="true" />
            <Post xsi:nil="true" />
          </PostCategoryRef>
        </PostCategoryRefs>
        <PostDynamicValues>
          <PostDynamicValue>
            <CompanyID>int</CompanyID>
            <PostID>long</PostID>
            <Culture>string</Culture>
            <TextID>string</TextID>
            <Content>string</Content>
            <Post xsi:nil="true" />
          </PostDynamicValue>
          <PostDynamicValue>
            <CompanyID>int</CompanyID>
            <PostID>long</PostID>
            <Culture>string</Culture>
            <TextID>string</TextID>
            <Content>string</Content>
            <Post xsi:nil="true" />
          </PostDynamicValue>
        </PostDynamicValues>
        <PostTemplate_PostRefs>
          <PostTemplate_PostRef>
            <PostID>long</PostID>
            <PostTemplateID>int</PostTemplateID>
            <CompanyID>int</CompanyID>
            <SystemID>int</SystemID>
            <RelatedPostTemplateID>int</RelatedPostTemplateID>
            <Post xsi:nil="true" />
            <PostTemplate xsi:nil="true" />
            <PubSystem xsi:nil="true" />
          </PostTemplate_PostRef>
          <PostTemplate_PostRef>
            <PostID>long</PostID>
            <PostTemplateID>int</PostTemplateID>
            <CompanyID>int</CompanyID>
            <SystemID>int</SystemID>
            <RelatedPostTemplateID>int</RelatedPostTemplateID>
            <Post xsi:nil="true" />
            <PostTemplate xsi:nil="true" />
            <PubSystem xsi:nil="true" />
          </PostTemplate_PostRef>
        </PostTemplate_PostRefs>
        <PostValues>
          <PostValue>
            <PostID>long</PostID>
            <CompanyID>int</CompanyID>
            <Title>string</Title>
            <SeoUrlGenerated>string</SeoUrlGenerated>
            <Culture>string</Culture>
            <ContactFormID>int</ContactFormID>
            <ContactFormLayout>short</ContactFormLayout>
            <ItemStatusID>int</ItemStatusID>
            <QuickValue1>string</QuickValue1>
            <QuickValue2>string</QuickValue2>
            <QuickValue3>string</QuickValue3>
            <QuickValue4>string</QuickValue4>
            <QuickValue5>string</QuickValue5>
            <QuickValue6>string</QuickValue6>
            <QuickValue7>string</QuickValue7>
            <QuickValue8>string</QuickValue8>
            <QuickValue9>string</QuickValue9>
            <QuickValue10>string</QuickValue10>
            <QuickValueBig1>string</QuickValueBig1>
            <QuickValueBig2>string</QuickValueBig2>
            <EcommerceRetailPrice>decimal</EcommerceRetailPrice>
            <EcommerceVAT>short</EcommerceVAT>
            <AuthorAdminUserID>int</AuthorAdminUserID>
            <Views>int</Views>
            <Image>string</Image>
            <EcommerceProdSort>int</EcommerceProdSort>
            <EcommerceOnlyCustomerType>short</EcommerceOnlyCustomerType>
            <Post xsi:nil="true" />
          </PostValue>
          <PostValue>
            <PostID>long</PostID>
            <CompanyID>int</CompanyID>
            <Title>string</Title>
            <SeoUrlGenerated>string</SeoUrlGenerated>
            <Culture>string</Culture>
            <ContactFormID>int</ContactFormID>
            <ContactFormLayout>short</ContactFormLayout>
            <ItemStatusID>int</ItemStatusID>
            <QuickValue1>string</QuickValue1>
            <QuickValue2>string</QuickValue2>
            <QuickValue3>string</QuickValue3>
            <QuickValue4>string</QuickValue4>
            <QuickValue5>string</QuickValue5>
            <QuickValue6>string</QuickValue6>
            <QuickValue7>string</QuickValue7>
            <QuickValue8>string</QuickValue8>
            <QuickValue9>string</QuickValue9>
            <QuickValue10>string</QuickValue10>
            <QuickValueBig1>string</QuickValueBig1>
            <QuickValueBig2>string</QuickValueBig2>
            <EcommerceRetailPrice>decimal</EcommerceRetailPrice>
            <EcommerceVAT>short</EcommerceVAT>
            <AuthorAdminUserID>int</AuthorAdminUserID>
            <Views>int</Views>
            <Image>string</Image>
            <EcommerceProdSort>int</EcommerceProdSort>
            <EcommerceOnlyCustomerType>short</EcommerceOnlyCustomerType>
            <Post xsi:nil="true" />
          </PostValue>
        </PostValues>
        <Tags>
          <Tag>
            <TagID>int</TagID>
            <CompanyID>int</CompanyID>
            <Description>string</Description>
            <PostID>long</PostID>
            <Culture>string</Culture>
            <Post xsi:nil="true" />
          </Tag>
          <Tag>
            <TagID>int</TagID>
            <CompanyID>int</CompanyID>
            <Description>string</Description>
            <PostID>long</PostID>
            <Culture>string</Culture>
            <Post xsi:nil="true" />
          </Tag>
        </Tags>
      </post>
    </UpdatePost>
  </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>
    <UpdatePostResponse xmlns="http://tempuri.org/" />
  </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 /Post.asmx HTTP/1.1
Host: valhalla01.friggcms.no
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>
    <UpdatePost xmlns="http://tempuri.org/">
      <post>
        <CompanyID>int</CompanyID>
        <PostID>long</PostID>
        <CreatedWhen>dateTime</CreatedWhen>
        <PostDate>dateTime</PostDate>
        <ShowDateTime>dateTime</ShowDateTime>
        <EndDateTime>dateTime</EndDateTime>
        <ItemStatusID>int</ItemStatusID>
        <Author>string</Author>
        <Order>int</Order>
        <ProductID>int</ProductID>
        <ArticleID>int</ArticleID>
        <ExternalID>string</ExternalID>
        <Deleted>boolean</Deleted>
        <DeletedWhen>dateTime</DeletedWhen>
        <DeletedByUserID>int</DeletedByUserID>
        <RestoredWhen>dateTime</RestoredWhen>
        <RestoredByUserID>int</RestoredByUserID>
        <Recurring>boolean</Recurring>
        <RecurringIntervalID>short</RecurringIntervalID>
        <PostTemplateID>int</PostTemplateID>
        <RelatedPostTemplateID>int</RelatedPostTemplateID>
        <PostCategoriesIDs>string</PostCategoriesIDs>
        <PostCategories>string</PostCategories>
        <ContentNodePostRefs>
          <ContentNodePostRef>
            <CompanyID>int</CompanyID>
            <PostID>long</PostID>
            <ContentNodeID>long</ContentNodeID>
            <ContentNode xsi:nil="true" />
            <Post xsi:nil="true" />
          </ContentNodePostRef>
          <ContentNodePostRef>
            <CompanyID>int</CompanyID>
            <PostID>long</PostID>
            <ContentNodeID>long</ContentNodeID>
            <ContentNode xsi:nil="true" />
            <Post xsi:nil="true" />
          </ContentNodePostRef>
        </ContentNodePostRefs>
        <PostRecurringInterval>
          <RecurringIntervalID>short</RecurringIntervalID>
          <Description>string</Description>
          <Posts>
            <Post xsi:nil="true" />
            <Post xsi:nil="true" />
          </Posts>
        </PostRecurringInterval>
        <PostCategoryRefs>
          <PostCategoryRef>
            <PostID>long</PostID>
            <CompanyID>int</CompanyID>
            <CategoryID>int</CategoryID>
            <SystemID>int</SystemID>
            <Order>int</Order>
            <IsMainRef>boolean</IsMainRef>
            <Category xsi:nil="true" />
            <Post xsi:nil="true" />
          </PostCategoryRef>
          <PostCategoryRef>
            <PostID>long</PostID>
            <CompanyID>int</CompanyID>
            <CategoryID>int</CategoryID>
            <SystemID>int</SystemID>
            <Order>int</Order>
            <IsMainRef>boolean</IsMainRef>
            <Category xsi:nil="true" />
            <Post xsi:nil="true" />
          </PostCategoryRef>
        </PostCategoryRefs>
        <PostDynamicValues>
          <PostDynamicValue>
            <CompanyID>int</CompanyID>
            <PostID>long</PostID>
            <Culture>string</Culture>
            <TextID>string</TextID>
            <Content>string</Content>
            <Post xsi:nil="true" />
          </PostDynamicValue>
          <PostDynamicValue>
            <CompanyID>int</CompanyID>
            <PostID>long</PostID>
            <Culture>string</Culture>
            <TextID>string</TextID>
            <Content>string</Content>
            <Post xsi:nil="true" />
          </PostDynamicValue>
        </PostDynamicValues>
        <PostTemplate_PostRefs>
          <PostTemplate_PostRef>
            <PostID>long</PostID>
            <PostTemplateID>int</PostTemplateID>
            <CompanyID>int</CompanyID>
            <SystemID>int</SystemID>
            <RelatedPostTemplateID>int</RelatedPostTemplateID>
            <Post xsi:nil="true" />
            <PostTemplate xsi:nil="true" />
            <PubSystem xsi:nil="true" />
          </PostTemplate_PostRef>
          <PostTemplate_PostRef>
            <PostID>long</PostID>
            <PostTemplateID>int</PostTemplateID>
            <CompanyID>int</CompanyID>
            <SystemID>int</SystemID>
            <RelatedPostTemplateID>int</RelatedPostTemplateID>
            <Post xsi:nil="true" />
            <PostTemplate xsi:nil="true" />
            <PubSystem xsi:nil="true" />
          </PostTemplate_PostRef>
        </PostTemplate_PostRefs>
        <PostValues>
          <PostValue>
            <PostID>long</PostID>
            <CompanyID>int</CompanyID>
            <Title>string</Title>
            <SeoUrlGenerated>string</SeoUrlGenerated>
            <Culture>string</Culture>
            <ContactFormID>int</ContactFormID>
            <ContactFormLayout>short</ContactFormLayout>
            <ItemStatusID>int</ItemStatusID>
            <QuickValue1>string</QuickValue1>
            <QuickValue2>string</QuickValue2>
            <QuickValue3>string</QuickValue3>
            <QuickValue4>string</QuickValue4>
            <QuickValue5>string</QuickValue5>
            <QuickValue6>string</QuickValue6>
            <QuickValue7>string</QuickValue7>
            <QuickValue8>string</QuickValue8>
            <QuickValue9>string</QuickValue9>
            <QuickValue10>string</QuickValue10>
            <QuickValueBig1>string</QuickValueBig1>
            <QuickValueBig2>string</QuickValueBig2>
            <EcommerceRetailPrice>decimal</EcommerceRetailPrice>
            <EcommerceVAT>short</EcommerceVAT>
            <AuthorAdminUserID>int</AuthorAdminUserID>
            <Views>int</Views>
            <Image>string</Image>
            <EcommerceProdSort>int</EcommerceProdSort>
            <EcommerceOnlyCustomerType>short</EcommerceOnlyCustomerType>
            <Post xsi:nil="true" />
          </PostValue>
          <PostValue>
            <PostID>long</PostID>
            <CompanyID>int</CompanyID>
            <Title>string</Title>
            <SeoUrlGenerated>string</SeoUrlGenerated>
            <Culture>string</Culture>
            <ContactFormID>int</ContactFormID>
            <ContactFormLayout>short</ContactFormLayout>
            <ItemStatusID>int</ItemStatusID>
            <QuickValue1>string</QuickValue1>
            <QuickValue2>string</QuickValue2>
            <QuickValue3>string</QuickValue3>
            <QuickValue4>string</QuickValue4>
            <QuickValue5>string</QuickValue5>
            <QuickValue6>string</QuickValue6>
            <QuickValue7>string</QuickValue7>
            <QuickValue8>string</QuickValue8>
            <QuickValue9>string</QuickValue9>
            <QuickValue10>string</QuickValue10>
            <QuickValueBig1>string</QuickValueBig1>
            <QuickValueBig2>string</QuickValueBig2>
            <EcommerceRetailPrice>decimal</EcommerceRetailPrice>
            <EcommerceVAT>short</EcommerceVAT>
            <AuthorAdminUserID>int</AuthorAdminUserID>
            <Views>int</Views>
            <Image>string</Image>
            <EcommerceProdSort>int</EcommerceProdSort>
            <EcommerceOnlyCustomerType>short</EcommerceOnlyCustomerType>
            <Post xsi:nil="true" />
          </PostValue>
        </PostValues>
        <Tags>
          <Tag>
            <TagID>int</TagID>
            <CompanyID>int</CompanyID>
            <Description>string</Description>
            <PostID>long</PostID>
            <Culture>string</Culture>
            <Post xsi:nil="true" />
          </Tag>
          <Tag>
            <TagID>int</TagID>
            <CompanyID>int</CompanyID>
            <Description>string</Description>
            <PostID>long</PostID>
            <Culture>string</Culture>
            <Post xsi:nil="true" />
          </Tag>
        </Tags>
      </post>
    </UpdatePost>
  </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>
    <UpdatePostResponse xmlns="http://tempuri.org/" />
  </soap12:Body>
</soap12:Envelope>