CTSubService


Click here for a complete list of operations.

AddOrUpdateArticleType

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

<?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>
    <AddOrUpdateArticleType xmlns="http://tempuri.org/">
      <aty>
        <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>
      </aty>
      <accessguid>string</accessguid>
    </AddOrUpdateArticleType>
  </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>
    <AddOrUpdateArticleTypeResponse xmlns="http://tempuri.org/">
      <AddOrUpdateArticleTypeResult>
        <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>
      </AddOrUpdateArticleTypeResult>
    </AddOrUpdateArticleTypeResponse>
  </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>
    <AddOrUpdateArticleType xmlns="http://tempuri.org/">
      <aty>
        <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>
      </aty>
      <accessguid>string</accessguid>
    </AddOrUpdateArticleType>
  </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>
    <AddOrUpdateArticleTypeResponse xmlns="http://tempuri.org/">
      <AddOrUpdateArticleTypeResult>
        <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>
      </AddOrUpdateArticleTypeResult>
    </AddOrUpdateArticleTypeResponse>
  </soap12:Body>
</soap12:Envelope>