Grants


Click here for a complete list of operations.

GrantAttachmentUpdate

Upravit přílohu žádosti o dotaci

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/Grants.asmx HTTP/1.1
Host: test-is.skaut.cz
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "https://is.skaut.cz/GrantAttachmentUpdate"

<?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>
    <GrantAttachmentUpdate xmlns="https://is.skaut.cz/">
      <grantAttachment>
        <ID_Login>guid</ID_Login>
        <ID>int</ID>
        <IsReal>boolean</IsReal>
        <ID_Grant>int</ID_Grant>
        <ID_User>int</ID_User>
        <ID_Person>int</ID_Person>
        <Person>string</Person>
        <Date>dateTime</Date>
        <Description>string</Description>
        <Size>int</Size>
        <FileName>string</FileName>
        <ID_FileType>string</ID_FileType>
        <FileType>string</FileType>
        <Extension>string</Extension>
        <Hash>string</Hash>
        <FileNameExtension>string</FileNameExtension>
        <ID_TempFile>guid</ID_TempFile>
        <TempFile>base64Binary</TempFile>
        <IconPath>string</IconPath>
        <ID_AttachmentType>string</ID_AttachmentType>
        <AttachmentType>string</AttachmentType>
        <BackupFileName>string</BackupFileName>
        <BackupExtension>string</BackupExtension>
        <ID_FileTypeBackup>string</ID_FileTypeBackup>
        <BackupFileType>string</BackupFileType>
        <BackupIconPath>string</BackupIconPath>
        <ID_GrantAttachment>int</ID_GrantAttachment>
        <IsAttached>boolean</IsAttached>
        <IsCentralInsurance>boolean</IsCentralInsurance>
        <IsDeposited>boolean</IsDeposited>
        <DepositYear>int</DepositYear>
        <Note>string</Note>
        <Code>string</Code>
        <ID_GrantType>string</ID_GrantType>
        <GrantType>string</GrantType>
        <Help>string</Help>
        <DisplayName>string</DisplayName>
        <ID_Document>int</ID_Document>
        <ID_DocumentBackup>int</ID_DocumentBackup>
      </grantAttachment>
    </GrantAttachmentUpdate>
  </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>
    <GrantAttachmentUpdateResponse xmlns="https://is.skaut.cz/" />
  </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/Grants.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>
    <GrantAttachmentUpdate xmlns="https://is.skaut.cz/">
      <grantAttachment>
        <ID_Login>guid</ID_Login>
        <ID>int</ID>
        <IsReal>boolean</IsReal>
        <ID_Grant>int</ID_Grant>
        <ID_User>int</ID_User>
        <ID_Person>int</ID_Person>
        <Person>string</Person>
        <Date>dateTime</Date>
        <Description>string</Description>
        <Size>int</Size>
        <FileName>string</FileName>
        <ID_FileType>string</ID_FileType>
        <FileType>string</FileType>
        <Extension>string</Extension>
        <Hash>string</Hash>
        <FileNameExtension>string</FileNameExtension>
        <ID_TempFile>guid</ID_TempFile>
        <TempFile>base64Binary</TempFile>
        <IconPath>string</IconPath>
        <ID_AttachmentType>string</ID_AttachmentType>
        <AttachmentType>string</AttachmentType>
        <BackupFileName>string</BackupFileName>
        <BackupExtension>string</BackupExtension>
        <ID_FileTypeBackup>string</ID_FileTypeBackup>
        <BackupFileType>string</BackupFileType>
        <BackupIconPath>string</BackupIconPath>
        <ID_GrantAttachment>int</ID_GrantAttachment>
        <IsAttached>boolean</IsAttached>
        <IsCentralInsurance>boolean</IsCentralInsurance>
        <IsDeposited>boolean</IsDeposited>
        <DepositYear>int</DepositYear>
        <Note>string</Note>
        <Code>string</Code>
        <ID_GrantType>string</ID_GrantType>
        <GrantType>string</GrantType>
        <Help>string</Help>
        <DisplayName>string</DisplayName>
        <ID_Document>int</ID_Document>
        <ID_DocumentBackup>int</ID_DocumentBackup>
      </grantAttachment>
    </GrantAttachmentUpdate>
  </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>
    <GrantAttachmentUpdateResponse xmlns="https://is.skaut.cz/" />
  </soap12:Body>
</soap12:Envelope>