Needio.Services

<back to all web services

GetFollowedPosts3Request

Requires Authentication
Required role:Approved
The following routes are available for this service:
All Verbs/Post/GetFollowedPosts3/
GetFollowedPosts3Request Parameters:
NameParameterData TypeRequiredDescription
SearchTextquerystringNo
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
startformDateTimeNo
DeviceUUIDformstringNo
APIKeyformstringNo
GetFollowedPosts3Response Parameters:
NameParameterData TypeRequiredDescription
ItemsformList<SItemDto>No
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
ResultformboolNo
ResMessageformstringNo
ErrorformErrorNo
PageInfoformBasePageInfoNo
Error Parameters:
NameParameterData TypeRequiredDescription
ErrorYnformboolNo
ErrorCodeformstringNo
ErrorDescriptionformstringNo
BasePageInfo Parameters:
NameParameterData TypeRequiredDescription
TotalRecordCountformintNo
TotalPageCountformintNo
CurrentPageformintNo
SItemDto Parameters:
NameParameterData TypeRequiredDescription
ItemTypeformItemTypesNo
ItemIdformintNo
ItemKeyformstringNo
ItemNameformstringNo
ItemHeaderformstringNo
DescriptionformstringNo
CategoryKeyformstringNo
ConditionIdformintNo
ParentItemTypeformItemTypesNo
ParentItemIdformintNo
ParentItemHeaderformstringNo
ParentFriendlyURLformstringNo
ParentMainMediaIdformstringNo
ParentMainMediaFriendlyURLformstringNo
PostTypeIdformshortNo
LocationformGeoLocationNo
MainMediaIdformstringNo
MainMediaFriendlyURLformstringNo
ListPriceformdecimal?No
SalePriceformdecimal?No
DiscountRateformdecimal?No
AddCommisionYnformboolNo
PublishYnformboolNo
MapAvatarformstringNo
FriendlyURLformstringNo
AvgRateformdecimalNo
RateCountformintNo
FollowCountformintNo
ViewCountformintNo
DidUserFollowformboolNo
ScoreformshortNo
DistanceformdoubleNo
StockTypeformshort?No
PriceTypeformshort?No
InStockYnformbool?No
InStockformint?No
AllowSaleYnformboolNo
CampaingnformItemCampaignDtoNo
PropertiesformList<PropertyDto>No
ItemTypes Enum:
NameValue
Post1
Store2
Category3
Product4
Campaign11
Banner21
GeoLocation Parameters:
NameParameterData TypeRequiredDescription
LonformstringNo
LatformstringNo
GeoAddressformstringNo
IsDeletedformboolNo
ItemCampaignDto Parameters:
NameParameterData TypeRequiredDescription
CampaignIdformintNo
CampaignCodeformstringNo
DescriptionformstringNo
MessageformstringNo
CampaignMessageformstringNo
ItemIdformintNo
ItemTypeformItemTypesNo
SaleQtyformintNo
MinimumQtyformintNo
InputSalePriceformdecimalNo
CSalePriceformdecimalNo
CTotalPriceformdecimalNo
CampaignTypeformCampaignTypesNo
CDiscountTypeformCampaignDiscountTypesNo
CDiscountQtyformintNo
CDiscountRateformdecimalNo
CDiscountAmtformdecimalNo
BeginDateformDateTimeNo
EndDateformDateTimeNo
LogoUrlformstringNo
ShowPriceYnformboolNo
CampaignAppliedformboolNo
CampaignTypes Enum:
NameValue
OnlyList0
SameProduct1
DifferentProduct2
AnyProduct3
Custom4
BasketDiscount11
StoreDiscount12
CampaignDiscountTypes Enum:
NameValue
Percent1
Amount2
Quantity3
PropertyDto Parameters:
NameParameterData TypeRequiredDescription
KeyformstringNo
ValueformstringNo
GetFollowedPosts3Response Parameters:
NameParameterData TypeRequiredDescription
ItemsformList<SItemDto>No

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /Post/GetFollowedPosts3/ HTTP/1.1 
Host: baseservices.needion.com 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<GetFollowedPosts3Request xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Needio.Services.ServiceModel.v2">
  <APIKey>String</APIKey>
  <DeviceUUID>String</DeviceUUID>
  <SearchText>String</SearchText>
</GetFollowedPosts3Request>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GetFollowedPosts3Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Needio.Services.ServiceModel.v2">
  <Error>
    <ErrorCode>String</ErrorCode>
    <ErrorDescription>String</ErrorDescription>
    <ErrorYn>false</ErrorYn>
  </Error>
  <PageInfo>
    <CurrentPage>0</CurrentPage>
    <TotalPageCount>0</TotalPageCount>
    <TotalRecordCount>0</TotalRecordCount>
  </PageInfo>
  <ResMessage>String</ResMessage>
  <Result>false</Result>
  <Items xmlns:d2p1="http://schemas.datacontract.org/2004/07/Needio.Services.ServiceModel.v2.Models">
    <d2p1:SItemDto>
      <d2p1:AddCommisionYn>false</d2p1:AddCommisionYn>
      <d2p1:AllowSaleYn>false</d2p1:AllowSaleYn>
      <d2p1:AvgRate>0</d2p1:AvgRate>
      <d2p1:Campaingn>
        <d2p1:BeginDate>0001-01-01T00:00:00</d2p1:BeginDate>
        <d2p1:CDiscountAmt>0</d2p1:CDiscountAmt>
        <d2p1:CDiscountQty>0</d2p1:CDiscountQty>
        <d2p1:CDiscountRate>0</d2p1:CDiscountRate>
        <d2p1:CDiscountType>Percent</d2p1:CDiscountType>
        <d2p1:CSalePrice>0</d2p1:CSalePrice>
        <d2p1:CTotalPrice>0</d2p1:CTotalPrice>
        <d2p1:CampaignApplied>false</d2p1:CampaignApplied>
        <d2p1:CampaignCode>String</d2p1:CampaignCode>
        <d2p1:CampaignId>0</d2p1:CampaignId>
        <d2p1:CampaignMessage>String</d2p1:CampaignMessage>
        <d2p1:CampaignType>OnlyList</d2p1:CampaignType>
        <d2p1:Description>String</d2p1:Description>
        <d2p1:EndDate>0001-01-01T00:00:00</d2p1:EndDate>
        <d2p1:InputSalePrice>0</d2p1:InputSalePrice>
        <d2p1:ItemId>0</d2p1:ItemId>
        <d2p1:ItemType>Post</d2p1:ItemType>
        <d2p1:LogoUrl>String</d2p1:LogoUrl>
        <d2p1:Message>String</d2p1:Message>
        <d2p1:MinimumQty>0</d2p1:MinimumQty>
        <d2p1:SaleQty>0</d2p1:SaleQty>
        <d2p1:ShowPriceYn>false</d2p1:ShowPriceYn>
      </d2p1:Campaingn>
      <d2p1:CategoryKey>String</d2p1:CategoryKey>
      <d2p1:ConditionId>0</d2p1:ConditionId>
      <d2p1:Description>String</d2p1:Description>
      <d2p1:DidUserFollow>false</d2p1:DidUserFollow>
      <d2p1:DiscountRate>0</d2p1:DiscountRate>
      <d2p1:Distance>0</d2p1:Distance>
      <d2p1:FollowCount>0</d2p1:FollowCount>
      <d2p1:FriendlyURL>String</d2p1:FriendlyURL>
      <d2p1:InStock>0</d2p1:InStock>
      <d2p1:InStockYn>false</d2p1:InStockYn>
      <d2p1:ItemHeader>String</d2p1:ItemHeader>
      <d2p1:ItemId>0</d2p1:ItemId>
      <d2p1:ItemKey>String</d2p1:ItemKey>
      <d2p1:ItemName>String</d2p1:ItemName>
      <d2p1:ItemType>Post</d2p1:ItemType>
      <d2p1:ListPrice>0</d2p1:ListPrice>
      <d2p1:Location>
        <d2p1:GeoAddress>String</d2p1:GeoAddress>
        <d2p1:IsDeleted>false</d2p1:IsDeleted>
        <d2p1:Lat>String</d2p1:Lat>
        <d2p1:Lon>String</d2p1:Lon>
      </d2p1:Location>
      <d2p1:MainMediaFriendlyURL>String</d2p1:MainMediaFriendlyURL>
      <d2p1:MainMediaId>String</d2p1:MainMediaId>
      <d2p1:MapAvatar>String</d2p1:MapAvatar>
      <d2p1:ParentFriendlyURL>String</d2p1:ParentFriendlyURL>
      <d2p1:ParentItemHeader>String</d2p1:ParentItemHeader>
      <d2p1:ParentItemId>0</d2p1:ParentItemId>
      <d2p1:ParentItemType>Post</d2p1:ParentItemType>
      <d2p1:ParentMainMediaFriendlyURL>String</d2p1:ParentMainMediaFriendlyURL>
      <d2p1:ParentMainMediaId>String</d2p1:ParentMainMediaId>
      <d2p1:PostTypeId>0</d2p1:PostTypeId>
      <d2p1:PriceType>0</d2p1:PriceType>
      <d2p1:Properties>
        <d2p1:PropertyDto>
          <d2p1:Key>String</d2p1:Key>
          <d2p1:Value>String</d2p1:Value>
        </d2p1:PropertyDto>
      </d2p1:Properties>
      <d2p1:PublishYn>false</d2p1:PublishYn>
      <d2p1:RateCount>0</d2p1:RateCount>
      <d2p1:SalePrice>0</d2p1:SalePrice>
      <d2p1:Score>0</d2p1:Score>
      <d2p1:StockType>0</d2p1:StockType>
      <d2p1:ViewCount>0</d2p1:ViewCount>
    </d2p1:SItemDto>
  </Items>
</GetFollowedPosts3Response>