UMS Webservice: Difference between revisions
Appearance
Created page with "The module UMS Webservice allows other providers to access the UMS database as a web service. Selected data can be retrieved securely through UMS Webservice. This is a soap s..." |
No edit summary |
||
| Line 4: | Line 4: | ||
=== ActivitiesInfo === | === ActivitiesInfo === | ||
< | The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values. | ||
POST /Webservices/DataExport.asmx HTTP/1.1 | |||
Host: localhost | |||
Content-Type: application/soap+xml; charset=utf-8 | |||
Content-Length: length | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<soap12:Envelope xmlns:xsi="<nowiki>http://www.w3.org/2001/XMLSchema-instance</nowiki>" xmlns:xsd="<nowiki>http://www.w3.org/2001/XMLSchema</nowiki>" xmlns:soap12="<nowiki>http://www.w3.org/2003/05/soap-envelope</nowiki>"> | |||
<soap12:Body> | |||
<ActivitiesInfo xmlns="<nowiki>http://DataExport.inlogic.dk/</nowiki>"> | |||
<UserName>string</UserName> | |||
<Password>string</Password> | |||
<Activities> | |||
<AllActivities>boolean</AllActivities> | |||
<AllDepartments>boolean</AllDepartments> | |||
<OnlyActiveActivities>boolean</OnlyActiveActivities> | |||
<OnlyActiveUsers>boolean</OnlyActiveUsers> | |||
<DepartmentNames> | |||
<string>string</string> | |||
<string>string</string> | |||
</DepartmentNames> | |||
<Activities> | |||
<string>string</string> | |||
<string>string</string> | |||
</Activities> | |||
</Activities> | |||
</ActivitiesInfo> | |||
</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="<nowiki>http://www.w3.org/2001/XMLSchema-instance</nowiki>" xmlns:xsd="<nowiki>http://www.w3.org/2001/XMLSchema</nowiki>" xmlns:soap12="<nowiki>http://www.w3.org/2003/05/soap-envelope</nowiki>"> | |||
<soap12:Body> | |||
<ActivitiesInfoResponse xmlns="<nowiki>http://DataExport.inlogic.dk/</nowiki>"> | |||
<ActivitiesInfoResult> | |||
<ErrorMessage>string</ErrorMessage> | |||
<ErrCode>int</ErrCode> | |||
<Activities> | |||
<Activity> | |||
<RowType>string</RowType> | |||
<Activity>string</Activity> | |||
<ActivityDisplayName>string</ActivityDisplayName> | |||
<Activity_ShortDescription>string</Activity_ShortDescription> | |||
<ActivityDescription>string</ActivityDescription> | |||
<ActivityDepartmentNumber>string</ActivityDepartmentNumber> | |||
<Activity_StartDate>dateTime</Activity_StartDate> | |||
<Activity_EndDate>dateTime</Activity_EndDate> | |||
<Participants xsi:nil="true" /> | |||
<Teachers xsi:nil="true" /> | |||
<Courses xsi:nil="true" /> | |||
</Activity> | |||
<Activity> | |||
<RowType>string</RowType> | |||
<Activity>string</Activity> | |||
<ActivityDisplayName>string</ActivityDisplayName> | |||
<Activity_ShortDescription>string</Activity_ShortDescription> | |||
<ActivityDescription>string</ActivityDescription> | |||
<ActivityDepartmentNumber>string</ActivityDepartmentNumber> | |||
<Activity_StartDate>dateTime</Activity_StartDate> | |||
<Activity_EndDate>dateTime</Activity_EndDate> | |||
<Participants xsi:nil="true" /> | |||
<Teachers xsi:nil="true" /> | |||
<Courses xsi:nil="true" /> | |||
</Activity> | |||
</Activities> | |||
</ActivitiesInfoResult> | |||
</ActivitiesInfoResponse> | |||
</soap12:Body> | |||
</soap12:Envelope> | |||
=== CheckLogin === | === CheckLogin === | ||
Revision as of 09:22, 10 August 2021
The module UMS Webservice allows other providers to access the UMS database as a web service. Selected data can be retrieved securely through UMS Webservice.
This is a soap service for more about soap
ActivitiesInfo
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /Webservices/DataExport.asmx HTTP/1.1
Host: localhost
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>
<ActivitiesInfo xmlns="http://DataExport.inlogic.dk/">
<UserName>string</UserName>
<Password>string</Password>
<Activities>
<AllActivities>boolean</AllActivities>
<AllDepartments>boolean</AllDepartments>
<OnlyActiveActivities>boolean</OnlyActiveActivities>
<OnlyActiveUsers>boolean</OnlyActiveUsers>
<DepartmentNames>
<string>string</string>
<string>string</string>
</DepartmentNames>
<Activities>
<string>string</string>
<string>string</string>
</Activities>
</Activities>
</ActivitiesInfo>
</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>
<ActivitiesInfoResponse xmlns="http://DataExport.inlogic.dk/">
<ActivitiesInfoResult>
<ErrorMessage>string</ErrorMessage>
<ErrCode>int</ErrCode>
<Activities>
<Activity>
<RowType>string</RowType>
<Activity>string</Activity>
<ActivityDisplayName>string</ActivityDisplayName>
<Activity_ShortDescription>string</Activity_ShortDescription>
<ActivityDescription>string</ActivityDescription>
<ActivityDepartmentNumber>string</ActivityDepartmentNumber>
<Activity_StartDate>dateTime</Activity_StartDate>
<Activity_EndDate>dateTime</Activity_EndDate>
<Participants xsi:nil="true" />
<Teachers xsi:nil="true" />
<Courses xsi:nil="true" />
</Activity>
<Activity>
<RowType>string</RowType>
<Activity>string</Activity>
<ActivityDisplayName>string</ActivityDisplayName>
<Activity_ShortDescription>string</Activity_ShortDescription>
<ActivityDescription>string</ActivityDescription>
<ActivityDepartmentNumber>string</ActivityDepartmentNumber>
<Activity_StartDate>dateTime</Activity_StartDate>
<Activity_EndDate>dateTime</Activity_EndDate>
<Participants xsi:nil="true" />
<Teachers xsi:nil="true" />
<Courses xsi:nil="true" />
</Activity>
</Activities>
</ActivitiesInfoResult>
</ActivitiesInfoResponse>
</soap12:Body>
</soap12:Envelope>