CollectiveAPIWebService


Click here for a complete list of operations.

Features_Schedules_Get2

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 /API-R1604/CollectiveAPI.asmx HTTP/1.1
Host: collectiveapi.bartec-systems.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://bartec-systems.com/Features_Schedules_Get2"

<?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>
    <Features_Schedules_Get2 xmlns="http://bartec-systems.com/">
      <token>string</token>
      <UPRN>decimal</UPRN>
      <Types>
        <int>int</int>
        <int>int</int>
      </Types>
      <IncludeRelated>boolean</IncludeRelated>
    </Features_Schedules_Get2>
  </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>
    <Features_Schedules_Get2Response xmlns="http://bartec-systems.com/">
      <Features_Schedules_Get2Result RecordCount="int" xmlns="http://www.bartec-systems.com/Features_Schedules_Get.xsd">
        <FeatureSchedule>
          <ID xmlns="http://www.bartec-systems.com">int</ID>
          <SequenceNo xmlns="http://www.bartec-systems.com">int</SequenceNo>
          <ActionType xmlns="http://www.bartec-systems.com">string</ActionType>
          <Feature xmlns="http://www.bartec-systems.com">
            <ID>int</ID>
            <FeatureCode>string</FeatureCode>
            <Name>string</Name>
            <Description>string</Description>
            <UPRN>decimal</UPRN>
            <Status xsi:nil="true" />
            <FeatureType xsi:nil="true" />
            <Manufacturer xsi:nil="true" />
            <Condition xsi:nil="true" />
            <Colour xsi:nil="true" />
            <QuantityVolume>decimal</QuantityVolume>
            <QuantityArea>decimal</QuantityArea>
            <QuantityLinear>decimal</QuantityLinear>
            <QuantityEach>decimal</QuantityEach>
            <QuantityWeight>decimal</QuantityWeight>
            <Longitude>decimal</Longitude>
            <Latitude>decimal</Latitude>
            <AssetTag>string</AssetTag>
            <RFIDTag>string</RFIDTag>
            <SerialNumber>string</SerialNumber>
            <RecordStamp xsi:nil="true" />
          </Feature>
          <JobName xmlns="http://www.bartec-systems.com">string</JobName>
          <JobDescription xmlns="http://www.bartec-systems.com">string</JobDescription>
          <From xmlns="http://www.bartec-systems.com">dateTime</From>
          <To xmlns="http://www.bartec-systems.com">dateTime</To>
          <StandardFrequency xmlns="http://www.bartec-systems.com">boolean</StandardFrequency>
          <Frequency xmlns="http://www.bartec-systems.com">string</Frequency>
          <Duration xmlns="http://www.bartec-systems.com">string</Duration>
          <Crew xmlns="http://www.bartec-systems.com">
            <ID>int</ID>
            <CrewNumber>int</CrewNumber>
            <WorkGroup xsi:nil="true" />
            <Description>string</Description>
            <DefaultSize>int</DefaultSize>
            <StartTime>time</StartTime>
            <EndTime>time</EndTime>
            <WorkingMinutes>int</WorkingMinutes>
            <NonworkingMinutes>int</NonworkingMinutes>
            <RecordStamp xsi:nil="true" />
          </Crew>
          <SpecialInstructions xmlns="http://www.bartec-systems.com">string</SpecialInstructions>
          <RecordStamp xmlns="http://www.bartec-systems.com">
            <AddedBy>string</AddedBy>
            <DateAdded>dateTime</DateAdded>
            <Comments>string</Comments>
          </RecordStamp>
        </FeatureSchedule>
        <FeatureSchedule>
          <ID xmlns="http://www.bartec-systems.com">int</ID>
          <SequenceNo xmlns="http://www.bartec-systems.com">int</SequenceNo>
          <ActionType xmlns="http://www.bartec-systems.com">string</ActionType>
          <Feature xmlns="http://www.bartec-systems.com">
            <ID>int</ID>
            <FeatureCode>string</FeatureCode>
            <Name>string</Name>
            <Description>string</Description>
            <UPRN>decimal</UPRN>
            <Status xsi:nil="true" />
            <FeatureType xsi:nil="true" />
            <Manufacturer xsi:nil="true" />
            <Condition xsi:nil="true" />
            <Colour xsi:nil="true" />
            <QuantityVolume>decimal</QuantityVolume>
            <QuantityArea>decimal</QuantityArea>
            <QuantityLinear>decimal</QuantityLinear>
            <QuantityEach>decimal</QuantityEach>
            <QuantityWeight>decimal</QuantityWeight>
            <Longitude>decimal</Longitude>
            <Latitude>decimal</Latitude>
            <AssetTag>string</AssetTag>
            <RFIDTag>string</RFIDTag>
            <SerialNumber>string</SerialNumber>
            <RecordStamp xsi:nil="true" />
          </Feature>
          <JobName xmlns="http://www.bartec-systems.com">string</JobName>
          <JobDescription xmlns="http://www.bartec-systems.com">string</JobDescription>
          <From xmlns="http://www.bartec-systems.com">dateTime</From>
          <To xmlns="http://www.bartec-systems.com">dateTime</To>
          <StandardFrequency xmlns="http://www.bartec-systems.com">boolean</StandardFrequency>
          <Frequency xmlns="http://www.bartec-systems.com">string</Frequency>
          <Duration xmlns="http://www.bartec-systems.com">string</Duration>
          <Crew xmlns="http://www.bartec-systems.com">
            <ID>int</ID>
            <CrewNumber>int</CrewNumber>
            <WorkGroup xsi:nil="true" />
            <Description>string</Description>
            <DefaultSize>int</DefaultSize>
            <StartTime>time</StartTime>
            <EndTime>time</EndTime>
            <WorkingMinutes>int</WorkingMinutes>
            <NonworkingMinutes>int</NonworkingMinutes>
            <RecordStamp xsi:nil="true" />
          </Crew>
          <SpecialInstructions xmlns="http://www.bartec-systems.com">string</SpecialInstructions>
          <RecordStamp xmlns="http://www.bartec-systems.com">
            <AddedBy>string</AddedBy>
            <DateAdded>dateTime</DateAdded>
            <Comments>string</Comments>
          </RecordStamp>
        </FeatureSchedule>
        <Errors>
          <Result xmlns="http://www.bartec-systems.com">int</Result>
          <Message xmlns="http://www.bartec-systems.com">string</Message>
        </Errors>
      </Features_Schedules_Get2Result>
    </Features_Schedules_Get2Response>
  </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 /API-R1604/CollectiveAPI.asmx HTTP/1.1
Host: collectiveapi.bartec-systems.com
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>
    <Features_Schedules_Get2 xmlns="http://bartec-systems.com/">
      <token>string</token>
      <UPRN>decimal</UPRN>
      <Types>
        <int>int</int>
        <int>int</int>
      </Types>
      <IncludeRelated>boolean</IncludeRelated>
    </Features_Schedules_Get2>
  </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>
    <Features_Schedules_Get2Response xmlns="http://bartec-systems.com/">
      <Features_Schedules_Get2Result RecordCount="int" xmlns="http://www.bartec-systems.com/Features_Schedules_Get.xsd">
        <FeatureSchedule>
          <ID xmlns="http://www.bartec-systems.com">int</ID>
          <SequenceNo xmlns="http://www.bartec-systems.com">int</SequenceNo>
          <ActionType xmlns="http://www.bartec-systems.com">string</ActionType>
          <Feature xmlns="http://www.bartec-systems.com">
            <ID>int</ID>
            <FeatureCode>string</FeatureCode>
            <Name>string</Name>
            <Description>string</Description>
            <UPRN>decimal</UPRN>
            <Status xsi:nil="true" />
            <FeatureType xsi:nil="true" />
            <Manufacturer xsi:nil="true" />
            <Condition xsi:nil="true" />
            <Colour xsi:nil="true" />
            <QuantityVolume>decimal</QuantityVolume>
            <QuantityArea>decimal</QuantityArea>
            <QuantityLinear>decimal</QuantityLinear>
            <QuantityEach>decimal</QuantityEach>
            <QuantityWeight>decimal</QuantityWeight>
            <Longitude>decimal</Longitude>
            <Latitude>decimal</Latitude>
            <AssetTag>string</AssetTag>
            <RFIDTag>string</RFIDTag>
            <SerialNumber>string</SerialNumber>
            <RecordStamp xsi:nil="true" />
          </Feature>
          <JobName xmlns="http://www.bartec-systems.com">string</JobName>
          <JobDescription xmlns="http://www.bartec-systems.com">string</JobDescription>
          <From xmlns="http://www.bartec-systems.com">dateTime</From>
          <To xmlns="http://www.bartec-systems.com">dateTime</To>
          <StandardFrequency xmlns="http://www.bartec-systems.com">boolean</StandardFrequency>
          <Frequency xmlns="http://www.bartec-systems.com">string</Frequency>
          <Duration xmlns="http://www.bartec-systems.com">string</Duration>
          <Crew xmlns="http://www.bartec-systems.com">
            <ID>int</ID>
            <CrewNumber>int</CrewNumber>
            <WorkGroup xsi:nil="true" />
            <Description>string</Description>
            <DefaultSize>int</DefaultSize>
            <StartTime>time</StartTime>
            <EndTime>time</EndTime>
            <WorkingMinutes>int</WorkingMinutes>
            <NonworkingMinutes>int</NonworkingMinutes>
            <RecordStamp xsi:nil="true" />
          </Crew>
          <SpecialInstructions xmlns="http://www.bartec-systems.com">string</SpecialInstructions>
          <RecordStamp xmlns="http://www.bartec-systems.com">
            <AddedBy>string</AddedBy>
            <DateAdded>dateTime</DateAdded>
            <Comments>string</Comments>
          </RecordStamp>
        </FeatureSchedule>
        <FeatureSchedule>
          <ID xmlns="http://www.bartec-systems.com">int</ID>
          <SequenceNo xmlns="http://www.bartec-systems.com">int</SequenceNo>
          <ActionType xmlns="http://www.bartec-systems.com">string</ActionType>
          <Feature xmlns="http://www.bartec-systems.com">
            <ID>int</ID>
            <FeatureCode>string</FeatureCode>
            <Name>string</Name>
            <Description>string</Description>
            <UPRN>decimal</UPRN>
            <Status xsi:nil="true" />
            <FeatureType xsi:nil="true" />
            <Manufacturer xsi:nil="true" />
            <Condition xsi:nil="true" />
            <Colour xsi:nil="true" />
            <QuantityVolume>decimal</QuantityVolume>
            <QuantityArea>decimal</QuantityArea>
            <QuantityLinear>decimal</QuantityLinear>
            <QuantityEach>decimal</QuantityEach>
            <QuantityWeight>decimal</QuantityWeight>
            <Longitude>decimal</Longitude>
            <Latitude>decimal</Latitude>
            <AssetTag>string</AssetTag>
            <RFIDTag>string</RFIDTag>
            <SerialNumber>string</SerialNumber>
            <RecordStamp xsi:nil="true" />
          </Feature>
          <JobName xmlns="http://www.bartec-systems.com">string</JobName>
          <JobDescription xmlns="http://www.bartec-systems.com">string</JobDescription>
          <From xmlns="http://www.bartec-systems.com">dateTime</From>
          <To xmlns="http://www.bartec-systems.com">dateTime</To>
          <StandardFrequency xmlns="http://www.bartec-systems.com">boolean</StandardFrequency>
          <Frequency xmlns="http://www.bartec-systems.com">string</Frequency>
          <Duration xmlns="http://www.bartec-systems.com">string</Duration>
          <Crew xmlns="http://www.bartec-systems.com">
            <ID>int</ID>
            <CrewNumber>int</CrewNumber>
            <WorkGroup xsi:nil="true" />
            <Description>string</Description>
            <DefaultSize>int</DefaultSize>
            <StartTime>time</StartTime>
            <EndTime>time</EndTime>
            <WorkingMinutes>int</WorkingMinutes>
            <NonworkingMinutes>int</NonworkingMinutes>
            <RecordStamp xsi:nil="true" />
          </Crew>
          <SpecialInstructions xmlns="http://www.bartec-systems.com">string</SpecialInstructions>
          <RecordStamp xmlns="http://www.bartec-systems.com">
            <AddedBy>string</AddedBy>
            <DateAdded>dateTime</DateAdded>
            <Comments>string</Comments>
          </RecordStamp>
        </FeatureSchedule>
        <Errors>
          <Result xmlns="http://www.bartec-systems.com">int</Result>
          <Message xmlns="http://www.bartec-systems.com">string</Message>
        </Errors>
      </Features_Schedules_Get2Result>
    </Features_Schedules_Get2Response>
  </soap12:Body>
</soap12:Envelope>