OrganizationUnit
Click here for a complete list of operations.
MembershipAllUnitUpdate
Načíst seznam členství osob v jednotce k aktualizaci
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/MembershipAllUnitUpdate" <?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> <MembershipAllUnitUpdate xmlns="https://is.skaut.cz/"> <membershipAllUnitUpdateInput> <ID_Login>guid</ID_Login> <ID_Unit>int</ID_Unit> <OnlyDirectMember>boolean</OnlyDirectMember> <LastValidOnly>boolean</LastValidOnly> </membershipAllUnitUpdateInput> </MembershipAllUnitUpdate> </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> <MembershipAllUnitUpdateResponse xmlns="https://is.skaut.cz/"> <MembershipAllUnitUpdateResult> <MembershipAllUnitUpdateOutput> <ID>int</ID> <ID_Unit>int</ID_Unit> <Unit>string</Unit> <RegistrationNumber>string</RegistrationNumber> <ID_Person>int</ID_Person> <Person>string</Person> <Birthday>dateTime</Birthday> <ID_MembershipType>string</ID_MembershipType> <MembershipType>string</MembershipType> <ID_MembershipCategory>string</ID_MembershipCategory> <MembershipCategory>string</MembershipCategory> <ValidFrom>dateTime</ValidFrom> <ValidTo>dateTime</ValidTo> <Sent>dateTime</Sent> <Finished>dateTime</Finished> <Changed>dateTime</Changed> <UpdateRequestStateClass>string</UpdateRequestStateClass> <UpdateRequestState>string</UpdateRequestState> <ID_PersonChangeState>string</ID_PersonChangeState> <ID_PersonChange>int</ID_PersonChange> <ID_PersonChangeRequest>int</ID_PersonChangeRequest> <HasValidParent>boolean</HasValidParent> </MembershipAllUnitUpdateOutput> <MembershipAllUnitUpdateOutput> <ID>int</ID> <ID_Unit>int</ID_Unit> <Unit>string</Unit> <RegistrationNumber>string</RegistrationNumber> <ID_Person>int</ID_Person> <Person>string</Person> <Birthday>dateTime</Birthday> <ID_MembershipType>string</ID_MembershipType> <MembershipType>string</MembershipType> <ID_MembershipCategory>string</ID_MembershipCategory> <MembershipCategory>string</MembershipCategory> <ValidFrom>dateTime</ValidFrom> <ValidTo>dateTime</ValidTo> <Sent>dateTime</Sent> <Finished>dateTime</Finished> <Changed>dateTime</Changed> <UpdateRequestStateClass>string</UpdateRequestStateClass> <UpdateRequestState>string</UpdateRequestState> <ID_PersonChangeState>string</ID_PersonChangeState> <ID_PersonChange>int</ID_PersonChange> <ID_PersonChangeRequest>int</ID_PersonChangeRequest> <HasValidParent>boolean</HasValidParent> </MembershipAllUnitUpdateOutput> </MembershipAllUnitUpdateResult> </MembershipAllUnitUpdateResponse> </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> <MembershipAllUnitUpdate xmlns="https://is.skaut.cz/"> <membershipAllUnitUpdateInput> <ID_Login>guid</ID_Login> <ID_Unit>int</ID_Unit> <OnlyDirectMember>boolean</OnlyDirectMember> <LastValidOnly>boolean</LastValidOnly> </membershipAllUnitUpdateInput> </MembershipAllUnitUpdate> </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> <MembershipAllUnitUpdateResponse xmlns="https://is.skaut.cz/"> <MembershipAllUnitUpdateResult> <MembershipAllUnitUpdateOutput> <ID>int</ID> <ID_Unit>int</ID_Unit> <Unit>string</Unit> <RegistrationNumber>string</RegistrationNumber> <ID_Person>int</ID_Person> <Person>string</Person> <Birthday>dateTime</Birthday> <ID_MembershipType>string</ID_MembershipType> <MembershipType>string</MembershipType> <ID_MembershipCategory>string</ID_MembershipCategory> <MembershipCategory>string</MembershipCategory> <ValidFrom>dateTime</ValidFrom> <ValidTo>dateTime</ValidTo> <Sent>dateTime</Sent> <Finished>dateTime</Finished> <Changed>dateTime</Changed> <UpdateRequestStateClass>string</UpdateRequestStateClass> <UpdateRequestState>string</UpdateRequestState> <ID_PersonChangeState>string</ID_PersonChangeState> <ID_PersonChange>int</ID_PersonChange> <ID_PersonChangeRequest>int</ID_PersonChangeRequest> <HasValidParent>boolean</HasValidParent> </MembershipAllUnitUpdateOutput> <MembershipAllUnitUpdateOutput> <ID>int</ID> <ID_Unit>int</ID_Unit> <Unit>string</Unit> <RegistrationNumber>string</RegistrationNumber> <ID_Person>int</ID_Person> <Person>string</Person> <Birthday>dateTime</Birthday> <ID_MembershipType>string</ID_MembershipType> <MembershipType>string</MembershipType> <ID_MembershipCategory>string</ID_MembershipCategory> <MembershipCategory>string</MembershipCategory> <ValidFrom>dateTime</ValidFrom> <ValidTo>dateTime</ValidTo> <Sent>dateTime</Sent> <Finished>dateTime</Finished> <Changed>dateTime</Changed> <UpdateRequestStateClass>string</UpdateRequestStateClass> <UpdateRequestState>string</UpdateRequestState> <ID_PersonChangeState>string</ID_PersonChangeState> <ID_PersonChange>int</ID_PersonChange> <ID_PersonChangeRequest>int</ID_PersonChangeRequest> <HasValidParent>boolean</HasValidParent> </MembershipAllUnitUpdateOutput> </MembershipAllUnitUpdateResult> </MembershipAllUnitUpdateResponse> </soap12:Body> </soap12:Envelope>