OrganizationUnit


Click here for a complete list of operations.

MembershipApplicationInsert

Založit přihlášku

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

<?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>
    <MembershipApplicationInsert xmlns="https://is.skaut.cz/">
      <membershipApplication>
        <ID_Login>guid</ID_Login>
        <ID>int</ID>
        <ID_Unit>int</ID_Unit>
        <Unit>string</Unit>
        <UnitTitle>string</UnitTitle>
        <LogoExtension>string</LogoExtension>
        <RegistrationNumber>string</RegistrationNumber>
        <ID_Person>int</ID_Person>
        <ID_MembershipApplicationState>string</ID_MembershipApplicationState>
        <MembershipApplicationState>string</MembershipApplicationState>
        <ValidTo>dateTime</ValidTo>
        <AccessKey>guid</AccessKey>
        <IsValid>boolean</IsValid>
        <DateCreate>dateTime</DateCreate>
        <LastOpened>dateTime</LastOpened>
        <FirstName>string</FirstName>
        <LastName>string</LastName>
        <FirstNameParent>string</FirstNameParent>
        <LastNameParent>string</LastNameParent>
        <NoteParent>string</NoteParent>
        <ParentNote>string</ParentNote>
        <ParentType>string</ParentType>
        <ParentTypeCustom>string</ParentTypeCustom>
        <FirstNameParent2>string</FirstNameParent2>
        <LastNameParent2>string</LastNameParent2>
        <NoteParent2>string</NoteParent2>
        <Parent2Note>string</Parent2Note>
        <ParentType2>string</ParentType2>
        <ParentTypeCustom2>string</ParentTypeCustom2>
        <IsAdult>boolean</IsAdult>
        <DateFilled>dateTime</DateFilled>
        <DateFinished>dateTime</DateFinished>
        <Person>string</Person>
        <Birthday>dateTime</Birthday>
        <IdentificationCode>string</IdentificationCode>
        <PhoneMainHelp>string</PhoneMainHelp>
        <PhoneMainPlaceholder>string</PhoneMainPlaceholder>
        <EmailMainHelp>string</EmailMainHelp>
        <EmailMainPlaceholder>string</EmailMainPlaceholder>
        <DateState>dateTime</DateState>
        <Reason>string</Reason>
        <ID_Sex>string</ID_Sex>
        <Sex>string</Sex>
        <IsForeign>boolean</IsForeign>
        <MaidenName>string</MaidenName>
        <ID_Citizenship>string</ID_Citizenship>
        <Citizenship>string</Citizenship>
        <CitizenshipCustom>string</CitizenshipCustom>
        <ID_DistrictBirth>int</ID_DistrictBirth>
        <BirthCity>string</BirthCity>
        <DistrictBirth>string</DistrictBirth>
        <Degrees>string</Degrees>
        <ID_DegreeType1>string</ID_DegreeType1>
        <ID_DegreeType2>string</ID_DegreeType2>
        <ID_DegreeType3>string</ID_DegreeType3>
        <Street>string</Street>
        <City>string</City>
        <PostalFirstLine>string</PostalFirstLine>
        <State>string</State>
        <Postcode>string</Postcode>
        <PostalStreet>string</PostalStreet>
        <PostalState>string</PostalState>
        <PostalPostcode>string</PostalPostcode>
        <PostalCity>string</PostalCity>
        <PhoneParent>string</PhoneParent>
        <EmailParent>string</EmailParent>
        <PhoneParent2>string</PhoneParent2>
        <EmailParent2>string</EmailParent2>
        <Phone>string</Phone>
        <Email>string</Email>
        <InsuranceNumber>string</InsuranceNumber>
        <Allergy>string</Allergy>
        <Drugs>string</Drugs>
        <HealthLimitation>string</HealthLimitation>
        <BodySkills>string</BodySkills>
        <School />
        <AllowDataStorage>boolean</AllowDataStorage>
        <AllowAudiovisual>boolean</AllowAudiovisual>
        <AllowSocialNetwork>boolean</AllowSocialNetwork>
        <AllowMarketing>boolean</AllowMarketing>
        <ID_Assurance>int</ID_Assurance>
        <Assurance>string</Assurance>
      </membershipApplication>
    </MembershipApplicationInsert>
  </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>
    <MembershipApplicationInsertResponse xmlns="https://is.skaut.cz/">
      <MembershipApplicationInsertResult>
        <ID>int</ID>
      </MembershipApplicationInsertResult>
    </MembershipApplicationInsertResponse>
  </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: 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>
    <MembershipApplicationInsert xmlns="https://is.skaut.cz/">
      <membershipApplication>
        <ID_Login>guid</ID_Login>
        <ID>int</ID>
        <ID_Unit>int</ID_Unit>
        <Unit>string</Unit>
        <UnitTitle>string</UnitTitle>
        <LogoExtension>string</LogoExtension>
        <RegistrationNumber>string</RegistrationNumber>
        <ID_Person>int</ID_Person>
        <ID_MembershipApplicationState>string</ID_MembershipApplicationState>
        <MembershipApplicationState>string</MembershipApplicationState>
        <ValidTo>dateTime</ValidTo>
        <AccessKey>guid</AccessKey>
        <IsValid>boolean</IsValid>
        <DateCreate>dateTime</DateCreate>
        <LastOpened>dateTime</LastOpened>
        <FirstName>string</FirstName>
        <LastName>string</LastName>
        <FirstNameParent>string</FirstNameParent>
        <LastNameParent>string</LastNameParent>
        <NoteParent>string</NoteParent>
        <ParentNote>string</ParentNote>
        <ParentType>string</ParentType>
        <ParentTypeCustom>string</ParentTypeCustom>
        <FirstNameParent2>string</FirstNameParent2>
        <LastNameParent2>string</LastNameParent2>
        <NoteParent2>string</NoteParent2>
        <Parent2Note>string</Parent2Note>
        <ParentType2>string</ParentType2>
        <ParentTypeCustom2>string</ParentTypeCustom2>
        <IsAdult>boolean</IsAdult>
        <DateFilled>dateTime</DateFilled>
        <DateFinished>dateTime</DateFinished>
        <Person>string</Person>
        <Birthday>dateTime</Birthday>
        <IdentificationCode>string</IdentificationCode>
        <PhoneMainHelp>string</PhoneMainHelp>
        <PhoneMainPlaceholder>string</PhoneMainPlaceholder>
        <EmailMainHelp>string</EmailMainHelp>
        <EmailMainPlaceholder>string</EmailMainPlaceholder>
        <DateState>dateTime</DateState>
        <Reason>string</Reason>
        <ID_Sex>string</ID_Sex>
        <Sex>string</Sex>
        <IsForeign>boolean</IsForeign>
        <MaidenName>string</MaidenName>
        <ID_Citizenship>string</ID_Citizenship>
        <Citizenship>string</Citizenship>
        <CitizenshipCustom>string</CitizenshipCustom>
        <ID_DistrictBirth>int</ID_DistrictBirth>
        <BirthCity>string</BirthCity>
        <DistrictBirth>string</DistrictBirth>
        <Degrees>string</Degrees>
        <ID_DegreeType1>string</ID_DegreeType1>
        <ID_DegreeType2>string</ID_DegreeType2>
        <ID_DegreeType3>string</ID_DegreeType3>
        <Street>string</Street>
        <City>string</City>
        <PostalFirstLine>string</PostalFirstLine>
        <State>string</State>
        <Postcode>string</Postcode>
        <PostalStreet>string</PostalStreet>
        <PostalState>string</PostalState>
        <PostalPostcode>string</PostalPostcode>
        <PostalCity>string</PostalCity>
        <PhoneParent>string</PhoneParent>
        <EmailParent>string</EmailParent>
        <PhoneParent2>string</PhoneParent2>
        <EmailParent2>string</EmailParent2>
        <Phone>string</Phone>
        <Email>string</Email>
        <InsuranceNumber>string</InsuranceNumber>
        <Allergy>string</Allergy>
        <Drugs>string</Drugs>
        <HealthLimitation>string</HealthLimitation>
        <BodySkills>string</BodySkills>
        <School />
        <AllowDataStorage>boolean</AllowDataStorage>
        <AllowAudiovisual>boolean</AllowAudiovisual>
        <AllowSocialNetwork>boolean</AllowSocialNetwork>
        <AllowMarketing>boolean</AllowMarketing>
        <ID_Assurance>int</ID_Assurance>
        <Assurance>string</Assurance>
      </membershipApplication>
    </MembershipApplicationInsert>
  </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>
    <MembershipApplicationInsertResponse xmlns="https://is.skaut.cz/">
      <MembershipApplicationInsertResult>
        <ID>int</ID>
      </MembershipApplicationInsertResult>
    </MembershipApplicationInsertResponse>
  </soap12:Body>
</soap12:Envelope>