Grants


Click here for a complete list of operations.

GrantAdvanceUpdatePayments

Upravit zálohu na 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/GrantAdvanceUpdatePayments"

<?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>
    <GrantAdvanceUpdatePayments xmlns="https://is.skaut.cz/">
      <grantAdvance>
        <ID_Login>guid</ID_Login>
        <ID>int</ID>
        <ID_Grant>int</ID_Grant>
        <ID_EventEducationTerm>int</ID_EventEducationTerm>
        <EventEducationTerm>string</EventEducationTerm>
        <Amount>decimal</Amount>
        <PaidDate>dateTime</PaidDate>
        <IssueDate>dateTime</IssueDate>
        <ID_AdvancePeriod>string</ID_AdvancePeriod>
        <AdvancePeriod>string</AdvancePeriod>
        <ID_AdvanceState>string</ID_AdvanceState>
        <AdvanceState>string</AdvanceState>
        <InsertedDate>dateTime</InsertedDate>
        <Year>int</Year>
        <Note>string</Note>
        <RequestedAmount>decimal</RequestedAmount>
        <TermDays>int</TermDays>
        <Key>string</Key>
        <MoneyNumber>string</MoneyNumber>
        <ID_Event>int</ID_Event>
        <ID_EventEducation>int</ID_EventEducation>
        <ID_Unit>int</ID_Unit>
        <Unit>string</Unit>
        <RegistrationNumber>string</RegistrationNumber>
        <Code>string</Code>
        <ID_GrantAdvanceType>string</ID_GrantAdvanceType>
        <GrantAdvanceType>string</GrantAdvanceType>
        <GrantAdvanceTypeShort>string</GrantAdvanceTypeShort>
        <GrantAdvanceTypeNote>string</GrantAdvanceTypeNote>
        <AdvanceStateShort>string</AdvanceStateShort>
        <ID_GrantType>string</ID_GrantType>
        <GrantType>string</GrantType>
        <DisplayName>string</DisplayName>
        <ID_GrantProject>int</ID_GrantProject>
      </grantAdvance>
    </GrantAdvanceUpdatePayments>
  </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>
    <GrantAdvanceUpdatePaymentsResponse 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>
    <GrantAdvanceUpdatePayments xmlns="https://is.skaut.cz/">
      <grantAdvance>
        <ID_Login>guid</ID_Login>
        <ID>int</ID>
        <ID_Grant>int</ID_Grant>
        <ID_EventEducationTerm>int</ID_EventEducationTerm>
        <EventEducationTerm>string</EventEducationTerm>
        <Amount>decimal</Amount>
        <PaidDate>dateTime</PaidDate>
        <IssueDate>dateTime</IssueDate>
        <ID_AdvancePeriod>string</ID_AdvancePeriod>
        <AdvancePeriod>string</AdvancePeriod>
        <ID_AdvanceState>string</ID_AdvanceState>
        <AdvanceState>string</AdvanceState>
        <InsertedDate>dateTime</InsertedDate>
        <Year>int</Year>
        <Note>string</Note>
        <RequestedAmount>decimal</RequestedAmount>
        <TermDays>int</TermDays>
        <Key>string</Key>
        <MoneyNumber>string</MoneyNumber>
        <ID_Event>int</ID_Event>
        <ID_EventEducation>int</ID_EventEducation>
        <ID_Unit>int</ID_Unit>
        <Unit>string</Unit>
        <RegistrationNumber>string</RegistrationNumber>
        <Code>string</Code>
        <ID_GrantAdvanceType>string</ID_GrantAdvanceType>
        <GrantAdvanceType>string</GrantAdvanceType>
        <GrantAdvanceTypeShort>string</GrantAdvanceTypeShort>
        <GrantAdvanceTypeNote>string</GrantAdvanceTypeNote>
        <AdvanceStateShort>string</AdvanceStateShort>
        <ID_GrantType>string</ID_GrantType>
        <GrantType>string</GrantType>
        <DisplayName>string</DisplayName>
        <ID_GrantProject>int</ID_GrantProject>
      </grantAdvance>
    </GrantAdvanceUpdatePayments>
  </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>
    <GrantAdvanceUpdatePaymentsResponse xmlns="https://is.skaut.cz/" />
  </soap12:Body>
</soap12:Envelope>