Post
Click here for a complete list of operations.
InsertNewPostValue
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: soap.valhalla10.friggcms.no
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/InsertNewPostValue"
<?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>
<InsertNewPostValue xmlns="http://tempuri.org/">
<postID>long</postID>
<itemStatusID>int</itemStatusID>
<culture>string</culture>
<title>string</title>
</InsertNewPostValue>
</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>
<InsertNewPostValueResponse xmlns="http://tempuri.org/">
<InsertNewPostValueResult>
<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>
<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 xsi:nil="true" />
<ContentNodePostRef xsi:nil="true" />
</ContentNodePostRefs>
<PostRecurringInterval>
<RecurringIntervalID>short</RecurringIntervalID>
<Description>string</Description>
<Posts xsi:nil="true" />
</PostRecurringInterval>
<PostCategoryRefs>
<PostCategoryRef xsi:nil="true" />
<PostCategoryRef xsi:nil="true" />
</PostCategoryRefs>
<PostDynamicValues>
<PostDynamicValue xsi:nil="true" />
<PostDynamicValue xsi:nil="true" />
</PostDynamicValues>
<PostTemplate_PostRefs>
<PostTemplate_PostRef xsi:nil="true" />
<PostTemplate_PostRef xsi:nil="true" />
</PostTemplate_PostRefs>
<PostUserRefs>
<PostUserRef xsi:nil="true" />
<PostUserRef xsi:nil="true" />
</PostUserRefs>
<PostValues>
<PostValue xsi:nil="true" />
<PostValue xsi:nil="true" />
</PostValues>
<Tags>
<Tag xsi:nil="true" />
<Tag xsi:nil="true" />
</Tags>
</Post>
</InsertNewPostValueResult>
</InsertNewPostValueResponse>
</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: soap.valhalla10.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>
<InsertNewPostValue xmlns="http://tempuri.org/">
<postID>long</postID>
<itemStatusID>int</itemStatusID>
<culture>string</culture>
<title>string</title>
</InsertNewPostValue>
</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>
<InsertNewPostValueResponse xmlns="http://tempuri.org/">
<InsertNewPostValueResult>
<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>
<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 xsi:nil="true" />
<ContentNodePostRef xsi:nil="true" />
</ContentNodePostRefs>
<PostRecurringInterval>
<RecurringIntervalID>short</RecurringIntervalID>
<Description>string</Description>
<Posts xsi:nil="true" />
</PostRecurringInterval>
<PostCategoryRefs>
<PostCategoryRef xsi:nil="true" />
<PostCategoryRef xsi:nil="true" />
</PostCategoryRefs>
<PostDynamicValues>
<PostDynamicValue xsi:nil="true" />
<PostDynamicValue xsi:nil="true" />
</PostDynamicValues>
<PostTemplate_PostRefs>
<PostTemplate_PostRef xsi:nil="true" />
<PostTemplate_PostRef xsi:nil="true" />
</PostTemplate_PostRefs>
<PostUserRefs>
<PostUserRef xsi:nil="true" />
<PostUserRef xsi:nil="true" />
</PostUserRefs>
<PostValues>
<PostValue xsi:nil="true" />
<PostValue xsi:nil="true" />
</PostValues>
<Tags>
<Tag xsi:nil="true" />
<Tag xsi:nil="true" />
</Tags>
</Post>
</InsertNewPostValueResult>
</InsertNewPostValueResponse>
</soap12:Body>
</soap12:Envelope>