OrganizationUnit
Click here for a complete list of operations.
UnitUpdate
Upravit jednotku
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/OrganizationUnit.asmx HTTP/1.1 Host: is.skaut.cz Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "https://is.skaut.cz/UnitUpdate" <?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> <UnitUpdate xmlns="https://is.skaut.cz/"> <unit> <ID_Login>guid</ID_Login> <ID>int</ID> <ID_Group>int</ID_Group> <ID_Unit>int</ID_Unit> <ID_UnitType>string</ID_UnitType> <UnitType>string</UnitType> <ContainsMembers>boolean</ContainsMembers> <CommissionDeadline>int</CommissionDeadline> <DisplayName>string</DisplayName> <SortName>string</SortName> <RegistrationNumber>string</RegistrationNumber> <ShortRegistrationNumber>string</ShortRegistrationNumber> <Location>string</Location> <LocationNew>string</LocationNew> <IC>string</IC> <IsVatPayer>boolean</IsVatPayer> <DIC>string</DIC> <FileReference>string</FileReference> <Street>string</Street> <City>string</City> <Postcode>string</Postcode> <State>string</State> <PostalFirstLine>string</PostalFirstLine> <PostalStreet>string</PostalStreet> <PostalCity>string</PostalCity> <PostalPostcode>string</PostalPostcode> <PostalState>string</PostalState> <Note>string</Note> <ID_TroopArt>int</ID_TroopArt> <TroopArt>string</TroopArt> <CanUpdateRegistrationNumber>boolean</CanUpdateRegistrationNumber> <LogoContent>base64Binary</LogoContent> <LogoExtension>string</LogoExtension> <ID_DocumentLogo>int</ID_DocumentLogo> <IsUnitCancel>boolean</IsUnitCancel> <JournalParent>boolean</JournalParent> <ChangeFreeJournal>boolean</ChangeFreeJournal> <ID_UnitParent>int</ID_UnitParent> <OnlyValidate>boolean</OnlyValidate> <IsPostalAuthenticated>boolean</IsPostalAuthenticated> <IsAddressAuthenticated>boolean</IsAddressAuthenticated> <AddressDistrict>string</AddressDistrict> <PostalDistrict>string</PostalDistrict> <NewDisplayName>string</NewDisplayName> <CompleteDisplayName>string</CompleteDisplayName> <ID_PersonChangeName>int</ID_PersonChangeName> <PersonChangeName>string</PersonChangeName> <DateChangeName>dateTime</DateChangeName> <IsPropertyOwner>boolean</IsPropertyOwner> <PropertyAgreementExtension>string</PropertyAgreementExtension> <ID_TempFilePropertyAgreement>guid</ID_TempFilePropertyAgreement> <PropertyAgreementContent>base64Binary</PropertyAgreementContent> <TroopArtKey>string</TroopArtKey> <ID_JournalNovice>string</ID_JournalNovice> <ID_JournalDeliveryType>string</ID_JournalDeliveryType> <FullDisplayName>string</FullDisplayName> <ID_DocumentDecision>int</ID_DocumentDecision> <ID_DocumentPropertyAgreement>int</ID_DocumentPropertyAgreement> <DecisionSeatChangeExtension>string</DecisionSeatChangeExtension> <ShopDiscountBarcode>string</ShopDiscountBarcode> <ID_TempFileSeatChange>guid</ID_TempFileSeatChange> <ID_UnitFoundReason>string</ID_UnitFoundReason> <UnitFoundReason>string</UnitFoundReason> <UnitFoundDescription>string</UnitFoundDescription> <ID_TempFileUnitLogo>guid</ID_TempFileUnitLogo> </unit> </UnitUpdate> </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> <UnitUpdateResponse 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/OrganizationUnit.asmx HTTP/1.1 Host: 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> <UnitUpdate xmlns="https://is.skaut.cz/"> <unit> <ID_Login>guid</ID_Login> <ID>int</ID> <ID_Group>int</ID_Group> <ID_Unit>int</ID_Unit> <ID_UnitType>string</ID_UnitType> <UnitType>string</UnitType> <ContainsMembers>boolean</ContainsMembers> <CommissionDeadline>int</CommissionDeadline> <DisplayName>string</DisplayName> <SortName>string</SortName> <RegistrationNumber>string</RegistrationNumber> <ShortRegistrationNumber>string</ShortRegistrationNumber> <Location>string</Location> <LocationNew>string</LocationNew> <IC>string</IC> <IsVatPayer>boolean</IsVatPayer> <DIC>string</DIC> <FileReference>string</FileReference> <Street>string</Street> <City>string</City> <Postcode>string</Postcode> <State>string</State> <PostalFirstLine>string</PostalFirstLine> <PostalStreet>string</PostalStreet> <PostalCity>string</PostalCity> <PostalPostcode>string</PostalPostcode> <PostalState>string</PostalState> <Note>string</Note> <ID_TroopArt>int</ID_TroopArt> <TroopArt>string</TroopArt> <CanUpdateRegistrationNumber>boolean</CanUpdateRegistrationNumber> <LogoContent>base64Binary</LogoContent> <LogoExtension>string</LogoExtension> <ID_DocumentLogo>int</ID_DocumentLogo> <IsUnitCancel>boolean</IsUnitCancel> <JournalParent>boolean</JournalParent> <ChangeFreeJournal>boolean</ChangeFreeJournal> <ID_UnitParent>int</ID_UnitParent> <OnlyValidate>boolean</OnlyValidate> <IsPostalAuthenticated>boolean</IsPostalAuthenticated> <IsAddressAuthenticated>boolean</IsAddressAuthenticated> <AddressDistrict>string</AddressDistrict> <PostalDistrict>string</PostalDistrict> <NewDisplayName>string</NewDisplayName> <CompleteDisplayName>string</CompleteDisplayName> <ID_PersonChangeName>int</ID_PersonChangeName> <PersonChangeName>string</PersonChangeName> <DateChangeName>dateTime</DateChangeName> <IsPropertyOwner>boolean</IsPropertyOwner> <PropertyAgreementExtension>string</PropertyAgreementExtension> <ID_TempFilePropertyAgreement>guid</ID_TempFilePropertyAgreement> <PropertyAgreementContent>base64Binary</PropertyAgreementContent> <TroopArtKey>string</TroopArtKey> <ID_JournalNovice>string</ID_JournalNovice> <ID_JournalDeliveryType>string</ID_JournalDeliveryType> <FullDisplayName>string</FullDisplayName> <ID_DocumentDecision>int</ID_DocumentDecision> <ID_DocumentPropertyAgreement>int</ID_DocumentPropertyAgreement> <DecisionSeatChangeExtension>string</DecisionSeatChangeExtension> <ShopDiscountBarcode>string</ShopDiscountBarcode> <ID_TempFileSeatChange>guid</ID_TempFileSeatChange> <ID_UnitFoundReason>string</ID_UnitFoundReason> <UnitFoundReason>string</UnitFoundReason> <UnitFoundDescription>string</UnitFoundDescription> <ID_TempFileUnitLogo>guid</ID_TempFileUnitLogo> </unit> </UnitUpdate> </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> <UnitUpdateResponse xmlns="https://is.skaut.cz/" /> </soap12:Body> </soap12:Envelope>