GoogleApps
Click here for a complete list of operations.
SharedDriveInsert
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 /JunakWebservice/GoogleApps.asmx HTTP/1.1
Host: test-is.skaut.cz
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "https://is.skaut.cz/SharedDriveInsert"
<?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>
<SharedDriveInsert xmlns="https://is.skaut.cz/">
<sharedDrive>
<ID_Login>guid</ID_Login>
<ID>int</ID>
<DriveId>string</DriveId>
<ID_Unit>int</ID_Unit>
<Unit>string</Unit>
<ID_SharedDriveType>string</ID_SharedDriveType>
<SharedDriveType>string</SharedDriveType>
<DisplayName>string</DisplayName>
<EventName>string</EventName>
<DateCreated>dateTime</DateCreated>
<ID_UserCreated>int</ID_UserCreated>
<UserCreated>string</UserCreated>
<SpaceUsed>decimal</SpaceUsed>
<ID_PersonAdmin>int</ID_PersonAdmin>
<AdminEmail>string</AdminEmail>
<DateUpdated>dateTime</DateUpdated>
<Note>string</Note>
<OrgUnitPath>string</OrgUnitPath>
<CheckConditions>boolean</CheckConditions>
<ID_PersonCreated>int</ID_PersonCreated>
<ShowEventName>boolean</ShowEventName>
<DateUpdatedClass>string</DateUpdatedClass>
<ShowAdminLink>boolean</ShowAdminLink>
<SyncError>string</SyncError>
<DateSyncError>dateTime</DateSyncError>
</sharedDrive>
</SharedDriveInsert>
</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>
<SharedDriveInsertResponse xmlns="https://is.skaut.cz/">
<SharedDriveInsertResult>
<ID>int</ID>
</SharedDriveInsertResult>
</SharedDriveInsertResponse>
</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 /JunakWebservice/GoogleApps.asmx HTTP/1.1
Host: test-is.skaut.cz
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>
<SharedDriveInsert xmlns="https://is.skaut.cz/">
<sharedDrive>
<ID_Login>guid</ID_Login>
<ID>int</ID>
<DriveId>string</DriveId>
<ID_Unit>int</ID_Unit>
<Unit>string</Unit>
<ID_SharedDriveType>string</ID_SharedDriveType>
<SharedDriveType>string</SharedDriveType>
<DisplayName>string</DisplayName>
<EventName>string</EventName>
<DateCreated>dateTime</DateCreated>
<ID_UserCreated>int</ID_UserCreated>
<UserCreated>string</UserCreated>
<SpaceUsed>decimal</SpaceUsed>
<ID_PersonAdmin>int</ID_PersonAdmin>
<AdminEmail>string</AdminEmail>
<DateUpdated>dateTime</DateUpdated>
<Note>string</Note>
<OrgUnitPath>string</OrgUnitPath>
<CheckConditions>boolean</CheckConditions>
<ID_PersonCreated>int</ID_PersonCreated>
<ShowEventName>boolean</ShowEventName>
<DateUpdatedClass>string</DateUpdatedClass>
<ShowAdminLink>boolean</ShowAdminLink>
<SyncError>string</SyncError>
<DateSyncError>dateTime</DateSyncError>
</sharedDrive>
</SharedDriveInsert>
</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>
<SharedDriveInsertResponse xmlns="https://is.skaut.cz/">
<SharedDriveInsertResult>
<ID>int</ID>
</SharedDriveInsertResult>
</SharedDriveInsertResponse>
</soap12:Body>
</soap12:Envelope>