CTSubService


Click here for a complete list of operations.

GetEmptyArticleType

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
level:
accessguid:

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 /Service/SubService.asmx HTTP/1.1
Host: system.catertaker.se
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/GetEmptyArticleType"

<?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>
    <GetEmptyArticleType xmlns="http://tempuri.org/">
      <level>int</level>
      <accessguid>string</accessguid>
    </GetEmptyArticleType>
  </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>
    <GetEmptyArticleTypeResponse xmlns="http://tempuri.org/">
      <GetEmptyArticleTypeResult>
        <IsOnlineHeader>boolean</IsOnlineHeader>
        <SortOrder>int</SortOrder>
        <HideOnline>boolean</HideOnline>
        <ShowSinglePrice>boolean</ShowSinglePrice>
        <PriceIsPer>string</PriceIsPer>
        <TextBefore>string</TextBefore>
        <TextAfter>string</TextAfter>
        <HideFromSortiment>boolean</HideFromSortiment>
        <HideFromOrdering>boolean</HideFromOrdering>
        <IsExtraFor>int</IsExtraFor>
        <IsStation>boolean</IsStation>
        <DayLimit>int</DayLimit>
        <PickupLimit>string</PickupLimit>
        <Color>string</Color>
        <NrOfArticles>int</NrOfArticles>
        <Cnt>int</Cnt>
        <Namn>string</Namn>
        <Level>int</Level>
        <Namn_en>string</Namn_en>
        <TextBefore_en>string</TextBefore_en>
        <TextAfter_en>string</TextAfter_en>
        <Letters>string</Letters>
        <OnOrderComment>string</OnOrderComment>
        <OnOrderComment_en>string</OnOrderComment_en>
        <PickupDates>
          <PickupDate>
            <Cnt>int</Cnt>
            <LsaCnt>int</LsaCnt>
            <TheDate>string</TheDate>
            <AtyCnt>int</AtyCnt>
          </PickupDate>
          <PickupDate>
            <Cnt>int</Cnt>
            <LsaCnt>int</LsaCnt>
            <TheDate>string</TheDate>
            <AtyCnt>int</AtyCnt>
          </PickupDate>
        </PickupDates>
        <NoPickupDates>
          <NoPickupDate>
            <Cnt>int</Cnt>
            <LsaCnt>int</LsaCnt>
            <TheDate>string</TheDate>
            <AtyCnt>int</AtyCnt>
          </NoPickupDate>
          <NoPickupDate>
            <Cnt>int</Cnt>
            <LsaCnt>int</LsaCnt>
            <TheDate>string</TheDate>
            <AtyCnt>int</AtyCnt>
          </NoPickupDate>
        </NoPickupDates>
        <InvalidWeekDays>string</InvalidWeekDays>
        <SpecialDates>
          <SpecialDate>
            <Cnt>int</Cnt>
            <LsaCnt>int</LsaCnt>
            <TheDate>string</TheDate>
            <ClockFrom>string</ClockFrom>
            <ClockTil>string</ClockTil>
          </SpecialDate>
          <SpecialDate>
            <Cnt>int</Cnt>
            <LsaCnt>int</LsaCnt>
            <TheDate>string</TheDate>
            <ClockFrom>string</ClockFrom>
            <ClockTil>string</ClockTil>
          </SpecialDate>
        </SpecialDates>
        <IsSingle>boolean</IsSingle>
        <IsSpecial>boolean</IsSpecial>
        <OnlyPickupFrom>string</OnlyPickupFrom>
      </GetEmptyArticleTypeResult>
    </GetEmptyArticleTypeResponse>
  </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 /Service/SubService.asmx HTTP/1.1
Host: system.catertaker.se
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>
    <GetEmptyArticleType xmlns="http://tempuri.org/">
      <level>int</level>
      <accessguid>string</accessguid>
    </GetEmptyArticleType>
  </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>
    <GetEmptyArticleTypeResponse xmlns="http://tempuri.org/">
      <GetEmptyArticleTypeResult>
        <IsOnlineHeader>boolean</IsOnlineHeader>
        <SortOrder>int</SortOrder>
        <HideOnline>boolean</HideOnline>
        <ShowSinglePrice>boolean</ShowSinglePrice>
        <PriceIsPer>string</PriceIsPer>
        <TextBefore>string</TextBefore>
        <TextAfter>string</TextAfter>
        <HideFromSortiment>boolean</HideFromSortiment>
        <HideFromOrdering>boolean</HideFromOrdering>
        <IsExtraFor>int</IsExtraFor>
        <IsStation>boolean</IsStation>
        <DayLimit>int</DayLimit>
        <PickupLimit>string</PickupLimit>
        <Color>string</Color>
        <NrOfArticles>int</NrOfArticles>
        <Cnt>int</Cnt>
        <Namn>string</Namn>
        <Level>int</Level>
        <Namn_en>string</Namn_en>
        <TextBefore_en>string</TextBefore_en>
        <TextAfter_en>string</TextAfter_en>
        <Letters>string</Letters>
        <OnOrderComment>string</OnOrderComment>
        <OnOrderComment_en>string</OnOrderComment_en>
        <PickupDates>
          <PickupDate>
            <Cnt>int</Cnt>
            <LsaCnt>int</LsaCnt>
            <TheDate>string</TheDate>
            <AtyCnt>int</AtyCnt>
          </PickupDate>
          <PickupDate>
            <Cnt>int</Cnt>
            <LsaCnt>int</LsaCnt>
            <TheDate>string</TheDate>
            <AtyCnt>int</AtyCnt>
          </PickupDate>
        </PickupDates>
        <NoPickupDates>
          <NoPickupDate>
            <Cnt>int</Cnt>
            <LsaCnt>int</LsaCnt>
            <TheDate>string</TheDate>
            <AtyCnt>int</AtyCnt>
          </NoPickupDate>
          <NoPickupDate>
            <Cnt>int</Cnt>
            <LsaCnt>int</LsaCnt>
            <TheDate>string</TheDate>
            <AtyCnt>int</AtyCnt>
          </NoPickupDate>
        </NoPickupDates>
        <InvalidWeekDays>string</InvalidWeekDays>
        <SpecialDates>
          <SpecialDate>
            <Cnt>int</Cnt>
            <LsaCnt>int</LsaCnt>
            <TheDate>string</TheDate>
            <ClockFrom>string</ClockFrom>
            <ClockTil>string</ClockTil>
          </SpecialDate>
          <SpecialDate>
            <Cnt>int</Cnt>
            <LsaCnt>int</LsaCnt>
            <TheDate>string</TheDate>
            <ClockFrom>string</ClockFrom>
            <ClockTil>string</ClockTil>
          </SpecialDate>
        </SpecialDates>
        <IsSingle>boolean</IsSingle>
        <IsSpecial>boolean</IsSpecial>
        <OnlyPickupFrom>string</OnlyPickupFrom>
      </GetEmptyArticleTypeResult>
    </GetEmptyArticleTypeResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /Service/SubService.asmx/GetEmptyArticleType?level=string&accessguid=string HTTP/1.1
Host: system.catertaker.se
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ArticleType xmlns="http://tempuri.org/">
  <IsOnlineHeader>boolean</IsOnlineHeader>
  <SortOrder>int</SortOrder>
  <HideOnline>boolean</HideOnline>
  <ShowSinglePrice>boolean</ShowSinglePrice>
  <PriceIsPer>string</PriceIsPer>
  <TextBefore>string</TextBefore>
  <TextAfter>string</TextAfter>
  <HideFromSortiment>boolean</HideFromSortiment>
  <HideFromOrdering>boolean</HideFromOrdering>
  <IsExtraFor>int</IsExtraFor>
  <IsStation>boolean</IsStation>
  <DayLimit>int</DayLimit>
  <PickupLimit>string</PickupLimit>
  <Color>string</Color>
  <NrOfArticles>int</NrOfArticles>
  <Cnt>int</Cnt>
  <Namn>string</Namn>
  <Level>int</Level>
  <Namn_en>string</Namn_en>
  <TextBefore_en>string</TextBefore_en>
  <TextAfter_en>string</TextAfter_en>
  <Letters>string</Letters>
  <OnOrderComment>string</OnOrderComment>
  <OnOrderComment_en>string</OnOrderComment_en>
  <PickupDates>
    <PickupDate>
      <Cnt>int</Cnt>
      <LsaCnt>int</LsaCnt>
      <TheDate>string</TheDate>
      <AtyCnt>int</AtyCnt>
    </PickupDate>
    <PickupDate>
      <Cnt>int</Cnt>
      <LsaCnt>int</LsaCnt>
      <TheDate>string</TheDate>
      <AtyCnt>int</AtyCnt>
    </PickupDate>
  </PickupDates>
  <NoPickupDates>
    <NoPickupDate>
      <Cnt>int</Cnt>
      <LsaCnt>int</LsaCnt>
      <TheDate>string</TheDate>
      <AtyCnt>int</AtyCnt>
    </NoPickupDate>
    <NoPickupDate>
      <Cnt>int</Cnt>
      <LsaCnt>int</LsaCnt>
      <TheDate>string</TheDate>
      <AtyCnt>int</AtyCnt>
    </NoPickupDate>
  </NoPickupDates>
  <InvalidWeekDays>string</InvalidWeekDays>
  <SpecialDates>
    <SpecialDate>
      <Cnt>int</Cnt>
      <LsaCnt>int</LsaCnt>
      <TheDate>string</TheDate>
      <ClockFrom>string</ClockFrom>
      <ClockTil>string</ClockTil>
    </SpecialDate>
    <SpecialDate>
      <Cnt>int</Cnt>
      <LsaCnt>int</LsaCnt>
      <TheDate>string</TheDate>
      <ClockFrom>string</ClockFrom>
      <ClockTil>string</ClockTil>
    </SpecialDate>
  </SpecialDates>
  <IsSingle>boolean</IsSingle>
  <IsSpecial>boolean</IsSpecial>
  <OnlyPickupFrom>string</OnlyPickupFrom>
</ArticleType>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /Service/SubService.asmx/GetEmptyArticleType HTTP/1.1
Host: system.catertaker.se
Content-Type: application/x-www-form-urlencoded
Content-Length: length

level=string&accessguid=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ArticleType xmlns="http://tempuri.org/">
  <IsOnlineHeader>boolean</IsOnlineHeader>
  <SortOrder>int</SortOrder>
  <HideOnline>boolean</HideOnline>
  <ShowSinglePrice>boolean</ShowSinglePrice>
  <PriceIsPer>string</PriceIsPer>
  <TextBefore>string</TextBefore>
  <TextAfter>string</TextAfter>
  <HideFromSortiment>boolean</HideFromSortiment>
  <HideFromOrdering>boolean</HideFromOrdering>
  <IsExtraFor>int</IsExtraFor>
  <IsStation>boolean</IsStation>
  <DayLimit>int</DayLimit>
  <PickupLimit>string</PickupLimit>
  <Color>string</Color>
  <NrOfArticles>int</NrOfArticles>
  <Cnt>int</Cnt>
  <Namn>string</Namn>
  <Level>int</Level>
  <Namn_en>string</Namn_en>
  <TextBefore_en>string</TextBefore_en>
  <TextAfter_en>string</TextAfter_en>
  <Letters>string</Letters>
  <OnOrderComment>string</OnOrderComment>
  <OnOrderComment_en>string</OnOrderComment_en>
  <PickupDates>
    <PickupDate>
      <Cnt>int</Cnt>
      <LsaCnt>int</LsaCnt>
      <TheDate>string</TheDate>
      <AtyCnt>int</AtyCnt>
    </PickupDate>
    <PickupDate>
      <Cnt>int</Cnt>
      <LsaCnt>int</LsaCnt>
      <TheDate>string</TheDate>
      <AtyCnt>int</AtyCnt>
    </PickupDate>
  </PickupDates>
  <NoPickupDates>
    <NoPickupDate>
      <Cnt>int</Cnt>
      <LsaCnt>int</LsaCnt>
      <TheDate>string</TheDate>
      <AtyCnt>int</AtyCnt>
    </NoPickupDate>
    <NoPickupDate>
      <Cnt>int</Cnt>
      <LsaCnt>int</LsaCnt>
      <TheDate>string</TheDate>
      <AtyCnt>int</AtyCnt>
    </NoPickupDate>
  </NoPickupDates>
  <InvalidWeekDays>string</InvalidWeekDays>
  <SpecialDates>
    <SpecialDate>
      <Cnt>int</Cnt>
      <LsaCnt>int</LsaCnt>
      <TheDate>string</TheDate>
      <ClockFrom>string</ClockFrom>
      <ClockTil>string</ClockTil>
    </SpecialDate>
    <SpecialDate>
      <Cnt>int</Cnt>
      <LsaCnt>int</LsaCnt>
      <TheDate>string</TheDate>
      <ClockFrom>string</ClockFrom>
      <ClockTil>string</ClockTil>
    </SpecialDate>
  </SpecialDates>
  <IsSingle>boolean</IsSingle>
  <IsSpecial>boolean</IsSpecial>
  <OnlyPickupFrom>string</OnlyPickupFrom>
</ArticleType>