Reference for http://data.goteborg.se/StartPermissionService/v1.3/StartPermissions/{APPID}?affectsbikelane={AFFECTSBIKELANE}&onlyLive={ONLYLIVE}&latitude={LATITUDE}&longitude={LONGITUDE}&radius={RADIUS}&format={FORMAT}&severityCodes={SEVERITYCODES}&bikeSeverityCodes={BIKESEVERITYCODES}

Returns start permissions currently ongoing.

Url: http://data.goteborg.se/StartPermissionService/v1.3/StartPermissions/{APPID}?affectsbikelane={AFFECTSBIKELANE}&onlyLive={ONLYLIVE}&latitude={LATITUDE}&longitude={LONGITUDE}&radius={RADIUS}&format={FORMAT}&severityCodes={SEVERITYCODES}&bikeSeverityCodes={BIKESEVERITYCODES}

HTTP Method: GET

This operation supports JSONP responses. The callback function can be specified using the "callback" Url query parameter.

Message direction Format Body
Request N/A The Request body is empty.
Response Xml Example,Schema
Response Json Example

The following is an example response Xml body:

<StartPermissions xmlns="TK.DevServer.Services.StartPermissionService">
  <StartPermission>
    <StartPermissionNumber>2147483647</StartPermissionNumber>
    <Address>String content</Address>
    <StartPermissionStartDate>String content</StartPermissionStartDate>
    <StartPermissionEndDate>String content</StartPermissionEndDate>
    <PromoterContact>String content</PromoterContact>
    <PromoterContactPhone>String content</PromoterContactPhone>
    <Contractor>String content</Contractor>
    <ContractorContact>String content</ContractorContact>
    <ContractorContactPhone>String content</ContractorContactPhone>
    <Lat>1.26743233E+15</Lat>
    <Long>1.26743233E+15</Long>
    <WorkPhases>
      <WorkPhase>
        <Status>String content</Status>
        <WorkPhaseNumber>2147483647</WorkPhaseNumber>
        <WorkPhaseDescription>String content</WorkPhaseDescription>
        <WorkPhaseStartDate>String content</WorkPhaseStartDate>
        <WorkType>String content</WorkType>
        <WorkTimeStart>String content</WorkTimeStart>
        <WorkPhaseEndDate>String content</WorkPhaseEndDate>
        <WorkTimeEnd>String content</WorkTimeEnd>
        <WorkTimeDeviation>String content</WorkTimeDeviation>
        <SeverityCode>32767</SeverityCode>
        <SeverityText>String content</SeverityText>
        <AffectsBikeLane>true</AffectsBikeLane>
        <IsOngoing>true</IsOngoing>
        <WKT>String content</WKT>
        <Lat>1.26743233E+15</Lat>
        <Long>1.26743233E+15</Long>
        <CreatedDate>String content</CreatedDate>
        <UpdatedDate>String content</UpdatedDate>
        <Addition>String content</Addition>
        <BikeAddition>String content</BikeAddition>
        <BikeSeverityCode>32767</BikeSeverityCode>
        <BikeSeverityText>String content</BikeSeverityText>
      </WorkPhase>
      <WorkPhase>
        <Status>String content</Status>
        <WorkPhaseNumber>2147483647</WorkPhaseNumber>
        <WorkPhaseDescription>String content</WorkPhaseDescription>
        <WorkPhaseStartDate>String content</WorkPhaseStartDate>
        <WorkType>String content</WorkType>
        <WorkTimeStart>String content</WorkTimeStart>
        <WorkPhaseEndDate>String content</WorkPhaseEndDate>
        <WorkTimeEnd>String content</WorkTimeEnd>
        <WorkTimeDeviation>String content</WorkTimeDeviation>
        <SeverityCode>32767</SeverityCode>
        <SeverityText>String content</SeverityText>
        <AffectsBikeLane>true</AffectsBikeLane>
        <IsOngoing>true</IsOngoing>
        <WKT>String content</WKT>
        <Lat>1.26743233E+15</Lat>
        <Long>1.26743233E+15</Long>
        <CreatedDate>String content</CreatedDate>
        <UpdatedDate>String content</UpdatedDate>
        <Addition>String content</Addition>
        <BikeAddition>String content</BikeAddition>
        <BikeSeverityCode>32767</BikeSeverityCode>
        <BikeSeverityText>String content</BikeSeverityText>
      </WorkPhase>
    </WorkPhases>
  </StartPermission>
  <StartPermission>
    <StartPermissionNumber>2147483647</StartPermissionNumber>
    <Address>String content</Address>
    <StartPermissionStartDate>String content</StartPermissionStartDate>
    <StartPermissionEndDate>String content</StartPermissionEndDate>
    <PromoterContact>String content</PromoterContact>
    <PromoterContactPhone>String content</PromoterContactPhone>
    <Contractor>String content</Contractor>
    <ContractorContact>String content</ContractorContact>
    <ContractorContactPhone>String content</ContractorContactPhone>
    <Lat>1.26743233E+15</Lat>
    <Long>1.26743233E+15</Long>
    <WorkPhases>
      <WorkPhase>
        <Status>String content</Status>
        <WorkPhaseNumber>2147483647</WorkPhaseNumber>
        <WorkPhaseDescription>String content</WorkPhaseDescription>
        <WorkPhaseStartDate>String content</WorkPhaseStartDate>
        <WorkType>String content</WorkType>
        <WorkTimeStart>String content</WorkTimeStart>
        <WorkPhaseEndDate>String content</WorkPhaseEndDate>
        <WorkTimeEnd>String content</WorkTimeEnd>
        <WorkTimeDeviation>String content</WorkTimeDeviation>
        <SeverityCode>32767</SeverityCode>
        <SeverityText>String content</SeverityText>
        <AffectsBikeLane>true</AffectsBikeLane>
        <IsOngoing>true</IsOngoing>
        <WKT>String content</WKT>
        <Lat>1.26743233E+15</Lat>
        <Long>1.26743233E+15</Long>
        <CreatedDate>String content</CreatedDate>
        <UpdatedDate>String content</UpdatedDate>
        <Addition>String content</Addition>
        <BikeAddition>String content</BikeAddition>
        <BikeSeverityCode>32767</BikeSeverityCode>
        <BikeSeverityText>String content</BikeSeverityText>
      </WorkPhase>
      <WorkPhase>
        <Status>String content</Status>
        <WorkPhaseNumber>2147483647</WorkPhaseNumber>
        <WorkPhaseDescription>String content</WorkPhaseDescription>
        <WorkPhaseStartDate>String content</WorkPhaseStartDate>
        <WorkType>String content</WorkType>
        <WorkTimeStart>String content</WorkTimeStart>
        <WorkPhaseEndDate>String content</WorkPhaseEndDate>
        <WorkTimeEnd>String content</WorkTimeEnd>
        <WorkTimeDeviation>String content</WorkTimeDeviation>
        <SeverityCode>32767</SeverityCode>
        <SeverityText>String content</SeverityText>
        <AffectsBikeLane>true</AffectsBikeLane>
        <IsOngoing>true</IsOngoing>
        <WKT>String content</WKT>
        <Lat>1.26743233E+15</Lat>
        <Long>1.26743233E+15</Long>
        <CreatedDate>String content</CreatedDate>
        <UpdatedDate>String content</UpdatedDate>
        <Addition>String content</Addition>
        <BikeAddition>String content</BikeAddition>
        <BikeSeverityCode>32767</BikeSeverityCode>
        <BikeSeverityText>String content</BikeSeverityText>
      </WorkPhase>
    </WorkPhases>
  </StartPermission>
</StartPermissions>

The following is an example response Json body:

[{
	"StartPermissionNumber":2147483647,
	"Address":"String content",
	"StartPermissionStartDate":"String content",
	"StartPermissionEndDate":"String content",
	"PromoterContact":"String content",
	"PromoterContactPhone":"String content",
	"Contractor":"String content",
	"ContractorContact":"String content",
	"ContractorContactPhone":"String content",
	"Lat":1.26743233E+15,
	"Long":1.26743233E+15,
	"WorkPhases":[{
		"Status":"String content",
		"WorkPhaseNumber":2147483647,
		"WorkPhaseDescription":"String content",
		"WorkPhaseStartDate":"String content",
		"WorkType":"String content",
		"WorkTimeStart":"String content",
		"WorkPhaseEndDate":"String content",
		"WorkTimeEnd":"String content",
		"WorkTimeDeviation":"String content",
		"SeverityCode":32767,
		"SeverityText":"String content",
		"AffectsBikeLane":true,
		"IsOngoing":true,
		"WKT":"String content",
		"Lat":1.26743233E+15,
		"Long":1.26743233E+15,
		"CreatedDate":"String content",
		"UpdatedDate":"String content",
		"Addition":"String content",
		"BikeAddition":"String content",
		"BikeSeverityCode":32767,
		"BikeSeverityText":"String content"
	}]
}]

The following is the response Xml Schema:

<xs:schema xmlns:tns="TK.DevServer.Services.StartPermissionService" elementFormDefault="qualified" targetNamespace="TK.DevServer.Services.StartPermissionService" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="StartPermissions">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="StartPermission" nillable="true" type="tns:StartPermission" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="StartPermissions" nillable="true" type="tns:StartPermissions" />
  <xs:complexType name="StartPermission">
    <xs:sequence>
      <xs:element minOccurs="0" name="StartPermissionNumber" type="xs:int">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="Address" nillable="true" type="xs:string">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="StartPermissionStartDate" nillable="true" type="xs:string">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="StartPermissionEndDate" nillable="true" type="xs:string">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="PromoterContact" nillable="true" type="xs:string">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="PromoterContactPhone" nillable="true" type="xs:string">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="Contractor" nillable="true" type="xs:string">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="ContractorContact" nillable="true" type="xs:string">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="ContractorContactPhone" nillable="true" type="xs:string">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="Lat" type="xs:double">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="Long" type="xs:double">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="WorkPhases" nillable="true" type="tns:ArrayOfWorkPhase">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:element name="StartPermission" nillable="true" type="tns:StartPermission" />
  <xs:complexType name="ArrayOfWorkPhase">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="WorkPhase" nillable="true" type="tns:WorkPhase" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfWorkPhase" nillable="true" type="tns:ArrayOfWorkPhase" />
  <xs:complexType name="WorkPhase">
    <xs:sequence>
      <xs:element minOccurs="0" name="Status" nillable="true" type="xs:string">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="WorkPhaseNumber" type="xs:int">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="WorkPhaseDescription" nillable="true" type="xs:string">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="WorkPhaseStartDate" nillable="true" type="xs:string">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="WorkType" nillable="true" type="xs:string">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="WorkTimeStart" nillable="true" type="xs:string">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="WorkPhaseEndDate" nillable="true" type="xs:string">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="WorkTimeEnd" nillable="true" type="xs:string">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="WorkTimeDeviation" nillable="true" type="xs:string">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="SeverityCode" nillable="true" type="xs:short">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="SeverityText" nillable="true" type="xs:string">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="AffectsBikeLane" nillable="true" type="xs:boolean">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="IsOngoing" type="xs:boolean" />
      <xs:element minOccurs="0" name="WKT" nillable="true" type="xs:string">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="Lat" type="xs:double">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="Long" type="xs:double">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="CreatedDate" nillable="true" type="xs:string">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="UpdatedDate" nillable="true" type="xs:string">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="Addition" nillable="true" type="xs:string">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="BikeAddition" nillable="true" type="xs:string">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="BikeSeverityCode" nillable="true" type="xs:short">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="BikeSeverityText" nillable="true" type="xs:string">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:element name="WorkPhase" nillable="true" type="tns:WorkPhase" />
</xs:schema>

Additional response Xml Schemas:

<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="anyType" nillable="true" type="xs:anyType" />
  <xs:element name="anyURI" nillable="true" type="xs:anyURI" />
  <xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
  <xs:element name="boolean" nillable="true" type="xs:boolean" />
  <xs:element name="byte" nillable="true" type="xs:byte" />
  <xs:element name="dateTime" nillable="true" type="xs:dateTime" />
  <xs:element name="decimal" nillable="true" type="xs:decimal" />
  <xs:element name="double" nillable="true" type="xs:double" />
  <xs:element name="float" nillable="true" type="xs:float" />
  <xs:element name="int" nillable="true" type="xs:int" />
  <xs:element name="long" nillable="true" type="xs:long" />
  <xs:element name="QName" nillable="true" type="xs:QName" />
  <xs:element name="short" nillable="true" type="xs:short" />
  <xs:element name="string" nillable="true" type="xs:string" />
  <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
  <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
  <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
  <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
  <xs:element name="char" nillable="true" type="tns:char" />
  <xs:simpleType name="char">
    <xs:restriction base="xs:int" />
  </xs:simpleType>
  <xs:element name="duration" nillable="true" type="tns:duration" />
  <xs:simpleType name="duration">
    <xs:restriction base="xs:duration">
      <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
      <xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
      <xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="guid" nillable="true" type="tns:guid" />
  <xs:simpleType name="guid">
    <xs:restriction base="xs:string">
      <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
    </xs:restriction>
  </xs:simpleType>
  <xs:attribute name="FactoryType" type="xs:QName" />
  <xs:attribute name="Id" type="xs:ID" />
  <xs:attribute name="Ref" type="xs:IDREF" />
</xs:schema>

<tns:schema targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.w3.org/2001/XMLSchema">
  <tns:element name="schema">
    <tns:complexType />
  </tns:element>
</tns:schema>