OrganizationUnit
Click here for a complete list of operations.
PersonInsert
Založení osoby
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/PersonInsert"
<?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>
<PersonInsert xmlns="https://is.skaut.cz/">
<person>
<ID_Login>guid</ID_Login>
<IdentificationCode>string</IdentificationCode>
<FirstName>string</FirstName>
<LastName>string</LastName>
<NickName>string</NickName>
<Address>string</Address>
<Street>string</Street>
<City>string</City>
<Postcode>string</Postcode>
<State>string</State>
<PostalFirstLine>string</PostalFirstLine>
<PostalAddress>string</PostalAddress>
<PostalStreet>string</PostalStreet>
<PostalCity>string</PostalCity>
<PostalPostcode>string</PostalPostcode>
<PostalState>string</PostalState>
<Note>string</Note>
<ID_Sex>string</ID_Sex>
<Birthday>dateTime</Birthday>
<BirthdayYear>int</BirthdayYear>
<IsForeign>boolean</IsForeign>
<YearFrom>int</YearFrom>
<RegistrationNumber>string</RegistrationNumber>
<ID_User>int</ID_User>
<OnlyValidate>boolean</OnlyValidate>
<PhotoExtension>string</PhotoExtension>
<MaidenName>string</MaidenName>
<IsPostalAuthenticated>boolean</IsPostalAuthenticated>
<IsAddressAuthenticated>boolean</IsAddressAuthenticated>
<AddressDistrict>string</AddressDistrict>
<PostalDistrict>string</PostalDistrict>
<UnitEnrollExtension>string</UnitEnrollExtension>
<UnitEnroll>base64Binary</UnitEnroll>
<AllowDataStorage>boolean</AllowDataStorage>
<AllowAudiovisual>boolean</AllowAudiovisual>
<AllowSocialNetwork>boolean</AllowSocialNetwork>
<AllowMarketing>boolean</AllowMarketing>
<IdentificationCodeForce>boolean</IdentificationCodeForce>
<ID_UnitEnrollTempFile>guid</ID_UnitEnrollTempFile>
</person>
</PersonInsert>
</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>
<PersonInsertResponse xmlns="https://is.skaut.cz/">
<PersonInsertResult>
<ID>int</ID>
</PersonInsertResult>
</PersonInsertResponse>
</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>
<PersonInsert xmlns="https://is.skaut.cz/">
<person>
<ID_Login>guid</ID_Login>
<IdentificationCode>string</IdentificationCode>
<FirstName>string</FirstName>
<LastName>string</LastName>
<NickName>string</NickName>
<Address>string</Address>
<Street>string</Street>
<City>string</City>
<Postcode>string</Postcode>
<State>string</State>
<PostalFirstLine>string</PostalFirstLine>
<PostalAddress>string</PostalAddress>
<PostalStreet>string</PostalStreet>
<PostalCity>string</PostalCity>
<PostalPostcode>string</PostalPostcode>
<PostalState>string</PostalState>
<Note>string</Note>
<ID_Sex>string</ID_Sex>
<Birthday>dateTime</Birthday>
<BirthdayYear>int</BirthdayYear>
<IsForeign>boolean</IsForeign>
<YearFrom>int</YearFrom>
<RegistrationNumber>string</RegistrationNumber>
<ID_User>int</ID_User>
<OnlyValidate>boolean</OnlyValidate>
<PhotoExtension>string</PhotoExtension>
<MaidenName>string</MaidenName>
<IsPostalAuthenticated>boolean</IsPostalAuthenticated>
<IsAddressAuthenticated>boolean</IsAddressAuthenticated>
<AddressDistrict>string</AddressDistrict>
<PostalDistrict>string</PostalDistrict>
<UnitEnrollExtension>string</UnitEnrollExtension>
<UnitEnroll>base64Binary</UnitEnroll>
<AllowDataStorage>boolean</AllowDataStorage>
<AllowAudiovisual>boolean</AllowAudiovisual>
<AllowSocialNetwork>boolean</AllowSocialNetwork>
<AllowMarketing>boolean</AllowMarketing>
<IdentificationCodeForce>boolean</IdentificationCodeForce>
<ID_UnitEnrollTempFile>guid</ID_UnitEnrollTempFile>
</person>
</PersonInsert>
</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>
<PersonInsertResponse xmlns="https://is.skaut.cz/">
<PersonInsertResult>
<ID>int</ID>
</PersonInsertResult>
</PersonInsertResponse>
</soap12:Body>
</soap12:Envelope>