Reference for http://www.webservice.aramis.admin.ch/Public/Service.svc/projectlist
Url: http://www.webservice.aramis.admin.ch/Public/Service.svc/projectlist
HTTP Method: POST
| Message direction | Format | Body |
|---|---|---|
| Request | Xml | Example,Schema |
| Request | Json | Example |
| Response | Xml | Example,Schema |
| Response | Json | Example |
The following is an example request Xml body:
<ProjectQuery xmlns="http://www.aramis.admin.ch/A2AWebservice/DataContracts">
<BudgetFullTextSearchKeywords>String content</BudgetFullTextSearchKeywords>
<CategoryIds>
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">2147483647</int>
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">2147483647</int>
</CategoryIds>
<ContractorFullTextSearchKeywords>String content</ContractorFullTextSearchKeywords>
<Count>2147483647</Count>
<DepartmentIds>
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">2147483647</int>
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">2147483647</int>
</DepartmentIds>
<EndDateRange>
<EndDate>1999-05-31T11:20:00</EndDate>
<StartDate>1999-05-31T11:20:00</StartDate>
</EndDateRange>
<FirstOrderSort>StartDateAscending</FirstOrderSort>
<FullTextSearchKeywords>String content</FullTextSearchKeywords>
<GrantedTotalCostsRange>
<LowerBound>12678967.543233</LowerBound>
<UpperBound>12678967.543233</UpperBound>
</GrantedTotalCostsRange>
<LabelIds>
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">2147483647</int>
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">2147483647</int>
</LabelIds>
<LabelsAndCategoriesLogicOperationSelection>LabelsOr_CategoriesOr</LabelsAndCategoriesLogicOperationSelection>
<Language>String content</Language>
<PrincipalIds>
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">2147483647</int>
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">2147483647</int>
</PrincipalIds>
<ProjectTypeIds>
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">2147483647</int>
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">2147483647</int>
</ProjectTypeIds>
<SecondOrderSort>StartDateAscending</SecondOrderSort>
<Skip>2147483647</Skip>
<StartDateRange>
<EndDate>1999-05-31T11:20:00</EndDate>
<StartDate>1999-05-31T11:20:00</StartDate>
</StartDateRange>
<StatusId>2147483647</StatusId>
<TopicIds>
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">2147483647</int>
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">2147483647</int>
</TopicIds>
</ProjectQuery>
The following is an example request Json body:
{
"BudgetFullTextSearchKeywords":"String content",
"CategoryIds":[2147483647],
"ContractorFullTextSearchKeywords":"String content",
"Count":2147483647,
"DepartmentIds":[2147483647],
"EndDateRange":{
"EndDate":"\/Date(928142400000+0200)\/",
"StartDate":"\/Date(928142400000+0200)\/"
},
"FirstOrderSort":0,
"FullTextSearchKeywords":"String content",
"GrantedTotalCostsRange":{
"LowerBound":12678967.543233,
"UpperBound":12678967.543233
},
"LabelIds":[2147483647],
"LabelsAndCategoriesLogicOperationSelection":0,
"Language":"String content",
"PrincipalIds":[2147483647],
"ProjectTypeIds":[2147483647],
"SecondOrderSort":0,
"Skip":2147483647,
"StartDateRange":{
"EndDate":"\/Date(928142400000+0200)\/",
"StartDate":"\/Date(928142400000+0200)\/"
},
"StatusId":2147483647,
"TopicIds":[2147483647]
}
The following is an example response Xml body:
<A2AResultSet xmlns="http://www.aramis.admin.ch/A2AWebservice/DataContracts">
<CountOfMatchedProjects>2147483647</CountOfMatchedProjects>
<Projects>
<ProjectListItem>
<Abstract>
<LanguageCode>String content</LanguageCode>
<Text>String content</Text>
</Abstract>
<Department>
<LanguageCode>String content</LanguageCode>
<Text>String content</Text>
</Department>
<EndDate>1999-05-31T11:20:00</EndDate>
<Id>2147483647</Id>
<ProjectNumber>String content</ProjectNumber>
<StartDate>1999-05-31T11:20:00</StartDate>
<Status>
<LanguageCode>String content</LanguageCode>
<Text>String content</Text>
</Status>
<Titel>
<LanguageCode>String content</LanguageCode>
<Text>String content</Text>
</Titel>
</ProjectListItem>
<ProjectListItem>
<Abstract>
<LanguageCode>String content</LanguageCode>
<Text>String content</Text>
</Abstract>
<Department>
<LanguageCode>String content</LanguageCode>
<Text>String content</Text>
</Department>
<EndDate>1999-05-31T11:20:00</EndDate>
<Id>2147483647</Id>
<ProjectNumber>String content</ProjectNumber>
<StartDate>1999-05-31T11:20:00</StartDate>
<Status>
<LanguageCode>String content</LanguageCode>
<Text>String content</Text>
</Status>
<Titel>
<LanguageCode>String content</LanguageCode>
<Text>String content</Text>
</Titel>
</ProjectListItem>
</Projects>
</A2AResultSet>
The following is an example response Json body:
{
"CountOfMatchedProjects":2147483647,
"Projects":[{
"Abstract":{
"LanguageCode":"String content",
"Text":"String content"
},
"Department":{
"LanguageCode":"String content",
"Text":"String content"
},
"EndDate":"\/Date(928142400000+0200)\/",
"Id":2147483647,
"ProjectNumber":"String content",
"StartDate":"\/Date(928142400000+0200)\/",
"Status":{
"LanguageCode":"String content",
"Text":"String content"
},
"Titel":{
"LanguageCode":"String content",
"Text":"String content"
}
}]
}
The following is the request Xml Schema:
<xs:schema xmlns:tns="http://www.aramis.admin.ch/A2AWebservice/DataContracts" elementFormDefault="qualified" targetNamespace="http://www.aramis.admin.ch/A2AWebservice/DataContracts" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
<xs:import namespace="http://schemas.datacontract.org/2004/07/Kaformatik.Aramis.Webservices.A2AWebservice.Contract" />
<xs:complexType name="ProjectQuery">
<xs:sequence>
<xs:element minOccurs="0" name="BudgetFullTextSearchKeywords" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="CategoryIds" nillable="true" xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q1:ArrayOfint" />
<xs:element minOccurs="0" name="ContractorFullTextSearchKeywords" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Count" nillable="true" type="xs:int" />
<xs:element minOccurs="0" name="DepartmentIds" nillable="true" xmlns:q2="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q2:ArrayOfint" />
<xs:element minOccurs="0" name="EndDateRange" nillable="true" type="tns:DateRange" />
<xs:element minOccurs="0" name="FirstOrderSort" nillable="true" type="tns:ProjectSort" />
<xs:element minOccurs="0" name="FullTextSearchKeywords" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="GrantedTotalCostsRange" nillable="true" type="tns:GrantedTotalCostsRange" />
<xs:element minOccurs="0" name="LabelIds" nillable="true" xmlns:q3="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q3:ArrayOfint" />
<xs:element minOccurs="0" name="LabelsAndCategoriesLogicOperationSelection" nillable="true" xmlns:q4="http://schemas.datacontract.org/2004/07/Kaformatik.Aramis.Webservices.A2AWebservice.Contract" type="q4:LabelsAndCategoriesSelectLogicOperation" />
<xs:element minOccurs="0" name="Language" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="PrincipalIds" nillable="true" xmlns:q5="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q5:ArrayOfint" />
<xs:element minOccurs="0" name="ProjectTypeIds" nillable="true" xmlns:q6="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q6:ArrayOfint" />
<xs:element minOccurs="0" name="SecondOrderSort" nillable="true" type="tns:ProjectSort" />
<xs:element minOccurs="0" name="Skip" nillable="true" type="xs:int" />
<xs:element minOccurs="0" name="StartDateRange" nillable="true" type="tns:DateRange" />
<xs:element minOccurs="0" name="StatusId" nillable="true" type="xs:int" />
<xs:element minOccurs="0" name="TopicIds" nillable="true" xmlns:q7="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q7:ArrayOfint" />
</xs:sequence>
</xs:complexType>
<xs:element name="ProjectQuery" nillable="true" type="tns:ProjectQuery" />
<xs:complexType name="DateRange">
<xs:sequence>
<xs:element minOccurs="0" name="EndDate" nillable="true" type="xs:dateTime" />
<xs:element minOccurs="0" name="StartDate" nillable="true" type="xs:dateTime" />
</xs:sequence>
</xs:complexType>
<xs:element name="DateRange" nillable="true" type="tns:DateRange" />
<xs:simpleType name="ProjectSort">
<xs:restriction base="xs:string">
<xs:enumeration value="StartDateAscending" />
<xs:enumeration value="StartDateDescending" />
<xs:enumeration value="EndDateAscending" />
<xs:enumeration value="EndDateDescending" />
</xs:restriction>
</xs:simpleType>
<xs:element name="ProjectSort" nillable="true" type="tns:ProjectSort" />
<xs:complexType name="GrantedTotalCostsRange">
<xs:sequence>
<xs:element minOccurs="0" name="LowerBound" nillable="true" type="xs:decimal" />
<xs:element minOccurs="0" name="UpperBound" nillable="true" type="xs:decimal" />
</xs:sequence>
</xs:complexType>
<xs:element name="GrantedTotalCostsRange" nillable="true" type="tns:GrantedTotalCostsRange" />
</xs:schema>
Additional request 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>
<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/Arrays" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:complexType name="ArrayOfint">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="int" type="xs:int" />
</xs:sequence>
</xs:complexType>
<xs:element name="ArrayOfint" nillable="true" type="tns:ArrayOfint" />
</xs:schema>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/Kaformatik.Aramis.Webservices.A2AWebservice.Contract" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/Kaformatik.Aramis.Webservices.A2AWebservice.Contract" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:simpleType name="LabelsAndCategoriesSelectLogicOperation">
<xs:restriction base="xs:string">
<xs:enumeration value="LabelsOr_CategoriesOr" />
<xs:enumeration value="LabelsAnd_CategoriesAnd" />
<xs:enumeration value="LabelsAnd_CategoriesOr" />
<xs:enumeration value="LabelsOr_CategoriesAnd" />
</xs:restriction>
</xs:simpleType>
<xs:element name="LabelsAndCategoriesSelectLogicOperation" nillable="true" type="tns:LabelsAndCategoriesSelectLogicOperation" />
</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>
The following is the response Xml Schema:
<xs:schema xmlns:tns="http://www.aramis.admin.ch/A2AWebservice/DataContracts" elementFormDefault="qualified" targetNamespace="http://www.aramis.admin.ch/A2AWebservice/DataContracts" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:complexType name="A2AResultSet">
<xs:sequence>
<xs:element minOccurs="0" name="CountOfMatchedProjects" type="xs:int" />
<xs:element minOccurs="0" name="Projects" nillable="true" type="tns:ArrayOfProjectListItem" />
</xs:sequence>
</xs:complexType>
<xs:element name="A2AResultSet" nillable="true" type="tns:A2AResultSet" />
<xs:complexType name="ArrayOfProjectListItem">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="ProjectListItem" nillable="true" type="tns:ProjectListItem" />
</xs:sequence>
</xs:complexType>
<xs:element name="ArrayOfProjectListItem" nillable="true" type="tns:ArrayOfProjectListItem" />
<xs:complexType name="ProjectListItem">
<xs:sequence>
<xs:element minOccurs="0" name="Abstract" nillable="true" type="tns:LocalizedText" />
<xs:element minOccurs="0" name="Department" nillable="true" type="tns:LocalizedText" />
<xs:element minOccurs="0" name="EndDate" nillable="true" type="xs:dateTime" />
<xs:element minOccurs="0" name="Id" type="xs:int" />
<xs:element minOccurs="0" name="ProjectNumber" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="StartDate" nillable="true" type="xs:dateTime" />
<xs:element minOccurs="0" name="Status" nillable="true" type="tns:LocalizedText" />
<xs:element minOccurs="0" name="Titel" nillable="true" type="tns:LocalizedText" />
</xs:sequence>
</xs:complexType>
<xs:element name="ProjectListItem" nillable="true" type="tns:ProjectListItem" />
<xs:complexType name="LocalizedText">
<xs:sequence>
<xs:element minOccurs="0" name="LanguageCode" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Text" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
<xs:element name="LocalizedText" nillable="true" type="tns:LocalizedText" />
</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>